]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update hppa ulps.
[thirdparty/glibc.git] / ChangeLog
1 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
2
3 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4
5 [BZ #21016]
6 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7 Fix typo.
8 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
9 bits/types/struct_timespec.h.
10 (PTHREAD_MUTEX_INITIALIZER): Revise define.
11 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
12 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
13 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
14 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
15 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
16 (PTHREAD_COND_INITIALIZER): Likewise.
17 Remove old definitions.
18 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
19 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
20 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
21 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
22 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
23 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
24
25 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
26
27 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
28 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
30 * sysdeps/x86_64/multiarch/memset.c: Likewise.
31 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
32 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
33 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
34 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
35 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
36 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
37 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
38 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
39 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
40 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
41 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
42 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
43
44 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
45
46 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
47
48 2017-07-09 Helge Deller <deller@gmx.de>
49
50 [BZ #21049]
51 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
52 up to avoid clobbering r26.
53
54 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
55
56 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
57 profiled objects.
58
59 2017-07-06 DJ Delorie <dj@redhat.com>
60
61 * manual/tunables.texi: Add missing @end deftp.
62
63 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
64
65 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
66 (do_test): Call it.
67
68 2017-07-06 DJ Delorie <dj@redhat.com>
69
70 * config.make.in: Enable experimental malloc option.
71 * configure.ac: Likewise.
72 * configure: Regenerate.
73 * manual/install.texi: Document it.
74 * INSTALL: Regenerate.
75 * malloc/Makefile: Likewise.
76 * malloc/malloc.c: Add per-thread cache (tcache).
77 (tcache_put): New.
78 (tcache_get): New.
79 (tcache_thread_freeres): New.
80 (tcache_init): New.
81 (__libc_malloc): Use cached chunks if available.
82 (__libc_free): Initialize tcache if needed.
83 (__libc_realloc): Likewise.
84 (__libc_calloc): Likewise.
85 (_int_malloc): Prefill tcache when appropriate.
86 (_int_free): Likewise.
87 (do_set_tcache_max): New.
88 (do_set_tcache_count): New.
89 (do_set_tcache_unsorted_limit): New.
90 * manual/probes.texi: Document new probes.
91 * malloc/arena.c: Add new tcache tunables.
92 * elf/dl-tunables.list: Likewise.
93 * manual/tunables.texi: Document them.
94 * NEWS: Mention the per-thread cache.
95
96 2017-07-06 Joseph Myers <joseph@codesourcery.com>
97
98 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
99 * misc/tst-tsearch.c (TIMEOUT): Remove.
100 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
101 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
102 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
103 * string/tst-cmp.c (TIMEOUT): Define to 600.
104
105 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
106
107 [BZ #21715]
108 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
109 on definition.
110
111 2017-07-06 Florian Weimer <fweimer@redhat.com>
112 H.J. Lu <hongjiu.lu@intel.com>
113
114 [BZ #21609]
115 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
116 (gen-as-const-headers): Add rtld-offsets.sym.
117 * sysdeps/x86_64/dl-tls.c: New file.
118 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
119 * sysdeps/x86_64/tls_get_addr.S: Likewise.
120 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
121 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
122 (TI_OFFSET_OFFSET): Likwise.
123
124 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
125
126 [BZ# 21697]
127 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
128
129 2017-07-05 Florian Weimer <fweimer@redhat.com>
130
131 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
132 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
133 * resolv/tst-resolv-threads.c: New file.
134
135 2017-07-05 Florian Weimer <fweimer@redhat.com>
136
137 support: Add resolver testing mode which does not patch _res.
138 * support/resolv_test.h (struct resolv_redirect_config): Add
139 disable_redirect, server_address_overrides.
140 * support/resolv_test.c (make_server_sockets_for_address): New
141 function.
142 (resolv_test_start): Call it.
143
144 2017-07-05 Florian Weimer <fweimer@redhat.com>
145
146 * support/namespace.h (struct support_chroot_configuration)
147 (struct support_chroot): Define.
148 (support_chroot_create, support_chroot_free): New functions.
149 * support/support_chroot.c: New file.
150 * support/Makefile (libsupport-routines): Add support_chroot.
151 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
152 (path_resolv_conf): Remove definitions.
153 (chroot_env): New variable.
154 (prepare): Call support_chroot_create.
155 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
156 (special_test_callback, do_test): Likewise.
157
158 2017-07-05 Florian Weimer <fweimer@redhat.com>
159
160 Add subtest to check isolation of multiple loopback addresses.
161 * support/tst-support-namespace.c (test_localhost_bind): New function.
162 (do_test): Call it.
163
164 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
165
166 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
167 * libio/libioP.h (_IO_enable_locks): Declare.
168 * libio/Versions (_IO_enable_locks): New symbol.
169 * libio/genops.c (_IO_enable_locks): Define.
170 (_IO_old_init): Initialize flags2.
171 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
172 * libio/ferror.c (_IO_ferror): Likewise.
173 * libio/fputc.c (fputc): Likewise.
174 * libio/putc.c (_IO_putc): Likewise.
175 * libio/getc.c (_IO_getc): Likewise.
176 * libio/getchar.c (getchar): Likewise.
177 * libio/ioungetc.c (_IO_ungetc): Likewise.
178 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
179 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
180 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
181
182 2017-07-04 Florian Weimer <fweimer@redhat.com>
183
184 [BZ #21542]
185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
186 two if no accurate information is available.
187 * posix/tst-sysconf-empty-chroot.c: New file.
188 * posix/Makefile (tests): Add it.
189
190 2017-07-04 Florian Weimer <fweimer@redhat.com>
191
192 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
193 server and sort list counts. Fix improper check for empty search
194 path (completely missing domain name) leading to assertion failure
195 in update_from_conf.
196 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
197 hostname member.
198 (run_res_init): Set host name if requested.
199 (test_cases): Update.
200
201 2017-07-04 Joseph Myers <joseph@codesourcery.com>
202
203 * scripts/build-many-glibcs.py (Context.checkout): Default
204 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
205 kernel version to 4.12.
206
207 2017-07-04 Florian Weimer <fweimer@redhat.com>
208
209 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
210 list management and the role of free_list_start.
211 (decrement_at_index): Put zero at the end of the free list.
212 (__resolv_conf_attach): Fix bogus assert.
213 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
214 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
215
216 2017-07-03 Florian Weimer <fweimer@redhat.com>
217
218 resolv: Introduce free list for resolv_conf index slosts.
219 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
220 type to uintptr_t.
221 (struct resolv_conf_global): Add free_list_start member.
222 (resolv_conf_get_1): Check for free list entry.
223 (decrement_at_index): Put freed slot on the free list.
224 (__resolv_conf_attach): Obtain new slot from the free list.
225 * resolv/tst-resolv-res_ninit.c: New file.
226 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
227 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
228 (generated): Add mtrace-tst-resolv-res_ninit.out,
229 tst-resolv-res_ninit.mtrace.
230 (mtrace-tst-resolv-res_ninit.out): Add target.
231
232 2017-06-30 Florian Weimer <fweimer@redhat.com>
233
234 [BZ #984]
235 Reload /etc/resolv.conf if has been changed on disk.
236 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
237 (__resolv_conf_load, __resolv_conf_get_current): Declare.
238 * resolv/resolv_conf.c (struct resolv_conf_global): Add
239 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
240 (__resolv_conf_get_current): New function.
241 (__resolv_conf_allocate): Do not initialize initstamp.
242 (freeres): Deallocate global->conf_current.
243 * resolv/resolv.h (RES_NORELOAD): Define.
244 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
245 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
246 * resolv/resolv_context.c (replicated_configuration_matches): New.
247 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
248 the current configration.
249 * resolv/res_init.c (__res_initstamp): Remove variable definition.
250 (has_preinit_values): New function.
251 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
252 parameter and do not call __resolv_conf_attach.
253 (__res_vinit): Reimplement based __resolv_conf_load.
254 (res_options): Handle no-reload.
255 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
256 (lock): Remove.
257 (res_int): Do not update __res_initstamp.
258 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
259 RES_NORELOAD.
260 (test_cases): Test no-reload.
261 (special_test_call_res_init): Remove.
262 (special_test_callback): Rely on automated reloading. Add tests
263 for no-reload.
264
265 2017-06-30 Florian Weimer <fweimer@redhat.com>
266
267 Mirror the entire resolver configuration in struct resolv_conf.
268 * resolv/resolv_context.h (__resolv_context_nameserver_count)
269 (__resolv_context_nameserver): New functions.
270 (__resolv_context_sort_count, __resolv_context_sort_entry):
271 Likewise.
272 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
273 resolv_context parameter.
274 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
275 (addrsort): Switch to struct resolv_context.
276 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
277 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
278 sort_list, sort_list_size, options, retrans, retry, ndots members.
279 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
280 (same_address): New functions.
281 (resolv_conf_matches): Compare the new array members.
282 (__resolv_conf_allocate): Allocate and copy the new array members.
283 (update_from_conf): Copy the entire configuration.
284 * resolv/res_init.c (struct nameserver_list, struct sort_list):
285 Define using dynarray.
286 (struct resolv_conf_parser): Add nameserver_list, sort_list,
287 template members.
288 (resolv_conf_parser_init): Add preinit argument. Initialize the
289 new members.
290 (resolv_conf_parser_free): Deallocate the new arrays.
291 (allocate_address_v4): New function.
292 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
293 (res_vinit_1): Drop res_state parameter. Write all parsed date to
294 the parser object instead. Use allocate_address_v4 to allocate
295 IPv4 addresses.
296 (__res_vinit): Adjust.
297 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
298 extended name server list.
299 (test_cases): Adjust.
300
301 2017-06-30 Florian Weimer <fweimer@redhat.com>
302
303 [BZ #19569]
304 [BZ #21475]
305 Support an arbitrary number of search domains.
306 * resolv/resolv_context.h (__resolv_context_search_list): New.
307 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
308 search_list_size members.
309 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
310 (__resolv_conf_allocate): Allocate and and copy search list.
311 (update_from_conf): Copy the search list.
312 * resolv/res_init.c (struct search_list): Define using dynarray.
313 (struct resolv_conf_parser): Define.
314 (resolv_conf_parser_init, resolv_conf_parser_free)
315 (domain_from_hostname): New functions.
316 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
317 struct search_list to collect search list entries. Call
318 domain_from_hostname to obtain the fallback domain name.
319 (__res_vinit): Create and destroy parser object. Pass search list
320 to __resolv_conf_allocate.
321 * resolv/res_query.c (__res_context_search): Use
322 __resolv_context_search_list to obtain search list entries.
323 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
324 from extended resolver context.
325 (test_cases): Update.
326
327 2017-06-30 Florian Weimer <fweimer@redhat.com>
328
329 Add extended resolver state/configuration (struct resolv_conf).
330 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
331 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
332 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
333 (__res_vinit): Call __resolv_conf_allocate and
334 __resolv_conf_attach.
335 * resolv/resolv_context.h (struct resolv_context): Add conf member
336 of type struct resolv_conf.
337 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
338 resolv_conf. Update conf member after initialization.
339 * resolv/Makefile (routines): Add resolv_conf.
340 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
341 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
342 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
343 _u._ext.__glibc_reserved.
344
345 2017-06-30 Florian Weimer <fweimer@redhat.com>
346
347 [BZ #21668]
348 Introduce temporary resolver contexts (struct resolv_conf).
349 * resolv/resolv-internal.h (__res_context_mkquery)
350 (__res_context_searchl __res_context_query, __res_context_send)
351 (__res_context_hostalias): Declare.
352 (__res_nopt): Switch to struct resolv_context.
353 * resolv/res_use_inet6.h: New file.
354 * resolv/resolv_context.h: Likewise.
355 * resolv/resolv_context.c: Likewise.
356 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
357 Renamed from res_gethostbyname2. Use struct resolv_context.
358 (res_gethostbyname2): New function. Implement using
359 res_gethostbyname2_context.
360 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
361 struct resolv_context.
362 (res_gethostbyaddr): New function. Implement using
363 res_gethostbyaddr_context.
364 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
365 resolv_context.
366 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
367 _nss_dns_gethostbyname3_r. Use struct resolv_context.
368 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
369 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
370 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
371 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
372 (_nss_dns_getnetbyaddr_r): Likewise.
373 * resolv/res-close.c (res_thread_freeres): Call
374 __resolv_context_freeres.
375 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
376 maybe_init in resolv/resolv_context.c.
377 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
378 res_nmkquery. Use struct resolv_context.
379 (context_mkquery_common): New function.
380 (res_nmkquery, res_mkquery): Use it.
381 (res_nopt): Switch to struct resolv_context.
382 * resolv/res_query.c (__res_context_querydomain): Renamed from
383 __libc_res_nquerydomain. Use struct resolv_context.
384 (__res_context_query): Renamed from __libc_res_nquery. Use struct
385 resolv_context.
386 (context_query_common): New function.
387 (res_nquery, res_query): Use it.
388 (__res_context_search): Renamed from __libc_res_nsearch. Use
389 struct resolv_context.
390 (context_search_common): New function.
391 (res_nsearch, res_search): Use it.
392 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
393 Use struct resolv_context.
394 (context_querydomain_common): New function.
395 (res_nquerydomain, res_querydomain): Use it.
396 (__res_context_hostalias): Rename from res_hostalias. Use struct
397 resolv_context.
398 (context_hostalias_common): New function.
399 (res_hostalias, hostalias): Use it.
400 * resolv/res_send.c (__res_context_send): Renamed from
401 __libc_res_nsend. Use struct resolv_context.
402 (context_send_common): New function.
403 (res_nsend, res_send): Use it.
404 * resolv/Makefile (routines): Add resolv_context.
405 * resolv/Versions (libc): Export __resolv_context_get,
406 __resolv_context_get_preinit, __resolv_context_get_override,
407 __resolv_context_put. Remove __res_maybe_init.
408 (libresolv): Export __res_context_query, __res_context_search,
409 __res_context_hostalias. Remove __libc_res_nquery,
410 __libc_res_nsearch.
411 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
412 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
413 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
414 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
415 prototypes.
416 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
417 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
418 from __nss_hostname_digits_dots. Use struct resolv_context.
419 (__nss_hostname_digits_dots): New function.
420 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
421 struct resolv_context object. Call new function
422 __nss_hostname_digits_dots_context.
423 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
424 * nss/getnssent_r.c (__nss_setent): Likewise.
425 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
426 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
427 instead of direct _res manipulation.
428 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
429
430 2017-07-03 Florian Weimer <fweimer@redhat.com>
431
432 * resolv/tst-resolv-res_init-skeleton.c
433 (special_tests_count, special_test_call_res_init)
434 (special_test_callback, special_test_thread_func)
435 (run_special_test_on_thread, special_test): Define.
436 (do_test): call special_test.
437 (test_init_names): Fix typo.
438
439 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
440
441 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
442 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
443
444 2017-07-01 Florian Weimer <fweimer@redhat.com>
445 H.J. Lu <hongjiu.lu@intel.com>
446
447 [BZ #21696]
448 * posix/sched_cpucount.c: Don't include <limits.h>.
449 (__sched_cpucount): Use __builtin_popcount.
450
451 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
452
453 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
454 Fix typo.
455
456 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
457
458 * include/math.h (__signbitf128): Define as hidden.
459 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
460 Reimplement without builtins.
461 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
462 (__builtin_signbitf128): Define to __signbitf128.
463 * sysdeps/powerpc/bits/floatn.h: Likewise.
464 * sysdeps/x86/bits/floatn.h: Likewise.
465
466 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
467
468 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
469 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
470 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
471 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
472 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
473 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
474 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
475 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
477 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
478 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
479 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
480 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
481 fcntl_common and add check for F_GETOWN.
482 (__libc_fcntl): Use SYSCALL_CANCEL macro.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
484 use default implementation.
485
486 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
487
488 * elf/dl-tunables.h (tunable_is_name): Move from...
489 * elf/dl-tunables.c (is_name): ... here.
490 (parse_tunables, __tunables_init): Adjust.
491 * manual/tunables.texi: Document glibc.tune.cpu.
492 * sysdeps/aarch64/dl-tunables.list: New file.
493 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
494 cpu_list): New type.
495 (cpu_list): New list of CPU names and their MIDR.
496 (get_midr_from_mcpu): New function.
497 (init_cpu_features): Override MIDR if necessary.
498
499 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
500 (__libc_ifunc_impl_list): Unconditionally select thunderx
501 routine for testing.
502
503 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
504
505 [BZ #21120]
506 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
507 * sysdeps/generic/malloc-alignment.h: Here. New file.
508 * sysdeps/i386/malloc-alignment.h: Likewise.
509 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
510
511 2017-06-30 Florian Weimer <fweimer@redhat.com>
512
513 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
514 variable.
515 (test_file_contents): Use it.
516
517 2017-06-30 Florian Weimer <fweimer@redhat.com>
518
519 * resolv/res_init.c (res_setoptions): Remove source argument.
520 (res_vinit_1): Adjust.
521
522 2017-06-30 Florian Weimer <fweimer@redhat.com>
523
524 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
525
526 2017-06-30 Florian Weimer <fweimer@redhat.com>
527
528 * resolv/res_data.c: Reformat to GNU style.
529 (res_close): Update comments.
530
531 2017-06-30 Florian Weimer <fweimer@redhat.com>
532
533 * resolv/res_data.c (res_query, res_search, res_querydomain)
534 (hostalias): Move to ...
535 * resolv/res_Send.c (res_query, res_search, res_querydomain)
536 (hostalias): here.
537
538 2017-06-30 Florian Weimer <fweimer@redhat.com>
539
540 * resolv/res_data.c (res_isourserver, res_send): Move to ...
541 * resolv/res_send.c (res_isourserver, res_send): here.
542
543 2017-06-30 Florian Weimer <fweimer@redhat.com>
544
545 * resolv/res_debug.c (_res_opcodes): Rename ...
546 (res_opcodes): ... as compatibility symbol.
547 (fp_nquery): Use res_opcodes.
548 * include/resolv.h (_res_opcodes): Remove declaration.
549
550 2017-06-30 Florian Weimer <fweimer@redhat.com>
551
552 * include/resolv.h (res_pquery): Remove declaration.
553 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
554 functions.
555 (_res_opcodes): Remove variable.
556 * resolv/res_debug.c (do_section): Receive pfcode instead of
557 statp.
558 (res_pquery): Rename ...
559 (fp_nquery): to this function. Skip unnecessary _res
560 initialization.
561 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
562
563 2017-06-30 Florian Weimer <fweimer@redhat.com>
564
565 * resolv/res_debug.h: Remove file.
566 * resolv/README: Adjust.
567
568 2017-06-30 Florian Weimer <fweimer@redhat.com>
569
570 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
571 conditionals.
572 (Aerror, Perror): Remove function definitions.
573
574 2017-06-30 Florian Weimer <fweimer@redhat.com>
575
576 * resolv/res_data.c (res_mkquery): Move ...
577 * resolv/res_mkquery.c (res_mkquery): to here.
578
579 2017-06-30 Florian Weimer <fweimer@redhat.com>
580
581 * resolv/res_mkquery.c: Reformat to GNU style.
582 (T_OPT): Remove definition. It is present in the header file.
583
584 2017-06-30 Florian Weimer <fweimer@redhat.com>
585
586 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
587 conditionals.
588
589 2017-06-30 Florian Weimer <fweimer@redhat.com>
590
591 * support/support_capture_subprocess_check.c
592 (support_capture_subprocess_check): Report actual exit status.
593
594 2017-06-30 Florian Weimer <fweimer@redhat.com>
595
596 [BZ #19570]
597 * resolv/res_send.c (nameserver_offset): New function.
598 (__libc_res_nsend): Use it to implement RES_ROTATE.
599 (get_nsaddr): Add assert with name server
600 range check.
601 * resolv/Makefile (xtests): Add tst-resolv-rotate.
602 (tst-resolv-rotate): Link against libpthread.
603 * resolv/tst-resolv-rotate.c: New file.
604
605 2017-06-29 Joseph Myers <joseph@codesourcery.com>
606
607 [BZ #21457]
608 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
609 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
610 [__WORDSIZE == 64] (MC_PC): Likewise.
611 [__WORDSIZE == 64] (MC_NPC): Likewise.
612 [__WORDSIZE == 64] (MC_Y): Likewise.
613 [__WORDSIZE == 64] (MC_G1): Likewise.
614 [__WORDSIZE == 64] (MC_G2): Likewise.
615 [__WORDSIZE == 64] (MC_G3): Likewise.
616 [__WORDSIZE == 64] (MC_G4): Likewise.
617 [__WORDSIZE == 64] (MC_G5): Likewise.
618 [__WORDSIZE == 64] (MC_G6): Likewise.
619 [__WORDSIZE == 64] (MC_G7): Likewise.
620 [__WORDSIZE == 64] (MC_O0): Likewise.
621 [__WORDSIZE == 64] (MC_O1): Likewise.
622 [__WORDSIZE == 64] (MC_O2): Likewise.
623 [__WORDSIZE == 64] (MC_O3): Likewise.
624 [__WORDSIZE == 64] (MC_O4): Likewise.
625 [__WORDSIZE == 64] (MC_O5): Likewise.
626 [__WORDSIZE == 64] (MC_O6): Likewise.
627 [__WORDSIZE == 64] (MC_O7): Likewise.
628 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
629 __MC_NGREG if [__USE_MISC].
630 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
631 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
632 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
633 Define fields using __ctx.
634 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
635 using __ctx.
636 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
637 (REG_PSR): Define only for [__USE_MISC].
638 (REG_PC): Likewise.
639 (REG_nPC): Likewise.
640 (REG_Y): Likewise.
641 (REG_G1): Likewise.
642 (REG_G2): Likewise.
643 (REG_G3): Likewise.
644 (REG_G4): Likewise.
645 (REG_G5): Likewise.
646 (REG_G6): Likewise.
647 (REG_G7): Likewise.
648 (REG_O0): Likewise.
649 (REG_O1): Likewise.
650 (REG_O2): Likewise.
651 (REG_O3): Likewise.
652 (REG_O4): Likewise.
653 (REG_O5): Likewise.
654 (REG_O6): Likewise.
655 (REG_O7): Likewise.
656 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
657 [__WORDSIZE == 64] (REG_FPRS): Likewise.
658 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
659 (gregset_t): Define using __NGREG.
660 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
661 __SPARC_MAXREGWINDOW if [__USE_MISC].
662 (struct rwindow): Rename to struct __rwindow. Define fields using
663 __ctx.
664 (rw_fp): Define only for [__USE_MISC].
665 (rw_rtn): Likewise.
666 (gwindows_t): Remove struct tag. Define fields using __ctx and
667 __SPARC_MAXREGWINDOW.
668 (MAXFPQ): Define only for [__USE_MISC].
669 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
670 (struct fq): Rename to struct __fq. Define fields using __ctx.
671 (FPU_REGS_TYPE): Define only for [__USE_MISC].
672 (FPU_DREGS_TYPE): Likewise.
673 (V7_FPU_FSR_TYPE): Likewise.
674 (V9_FPU_FSR_TYPE): Likewise.
675 (V9_FPU_FPRS_TYPE): Likewise.
676 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
677 using __ctx.
678 [__WORDSIZE != 64] (fpregset_t): Likewise.
679 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
680 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
681 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
682 Rename field filler to __glibc_reserved1.
683 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
684 (MC_FILLER): Remove.
685
686 2017-06-29 Florian Weimer <fweimer@redhat.com>
687
688 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
689 Adjust format string.
690 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
691 dependency.
692
693 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
694
695 * sysdeps/posix/spawni.c (__spawni_child): New function.
696 (__spawni): Rename to __spawnix.
697
698 2017-06-29 Florian Weimer <fweimer@redhat.com>
699
700 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
701 Use it to make the temporary copy at the start of the work buffer.
702 (process_arg): Adjust call to group_number.
703
704 2017-06-29 Florian Weimer <fweimer@redhat.com>
705
706 * stdio-common/vfprintf.c (printf_positional): Use struct
707 scratch_buffer to allocate backing storage for the args_value,
708 args_size, args_type arrays.
709
710 2017-06-29 Florian Weimer <fweimer@redhat.com>
711
712 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
713 scratch_buffer.
714
715 2017-06-29 Florian Weimer <fweimer@redhat.com>
716
717 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
718 wchar_t builds.
719
720 2017-06-29 Florian Weimer <fweimer@redhat.com>
721
722 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
723 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
724
725 2017-06-29 Florian Weimer <fweimer@redhat.com>
726
727 * stdio-common/tst-vfprintf-user-type.c: New file.
728 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
729
730 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
731
732 * posix/tst-spawn2.c (do_test): Use libsupport.
733 * posix/tst-spawn3.c (do_test): Likewise.
734
735 2017-06-28 Joseph Myers <joseph@codesourcery.com>
736
737 * math/gen-tgmath-tests.py (Tests.__init__): Define
738 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
739
740 * math/tgmath.h: Include <bits/libc-header-start.h> and
741 <bits/floatn.h>.
742 (__TGMATH_F128): New macro.
743 (__TGMATH_CF128): Likewise.
744 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
745 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
746 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
747 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
748 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
749 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
750 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
751 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
752 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
753 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
754 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
755 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
756 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
757 (__TGMATH_BINARY_REAL_IMAG): Likewise.
758 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
759 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
760 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
761 _FloatNx types if the corresponding HUGE_VAL macros are defined.
762
763 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
764 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
765 complex arguments.
766
767 [BZ #21687]
768 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
769 (totalorder): Use it.
770 (totalordermag): Likewise.
771 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
772 totalorder and totalordermag.
773 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
774 totalordermag in arguments of calls to those functions.
775 (NCALLS): Change to 134.
776
777 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
778 cast to return type argument.
779 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
780 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
781 (llrint): Likewise.
782 (lround): Likewise.
783 (llround): Likewise.
784 (ilogb): Likewise.
785 (llogb): Likewise.
786 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
787 (ufromfp): Likewise.
788 (fromfpx): Likewise.
789 (ufromfpx): Likewise.
790
791 [BZ #21607]
792 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
793 [LDBL_MANT_DIG > DBL_MANT_DIG].
794 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
795 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
796 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
797 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
798 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
799 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
800 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
801 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
802 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
803 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
804 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
805 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
806 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
807 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
808 * math/test-tgmath.c: Include <float.h>.
809 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
810 DBL_MANT_DIG].
811 * math/test-tgmath2.c: Include <float.h>.
812 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
813 DBL_MANT_DIG].
814
815 * math/gen-tgmath-tests.py: New file.
816 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
817 [PYTHON] (generated): Add test-tgmath3.c.
818 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
819 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
820
821 * configure.ac (AS): Require binutils 2.25 or later.
822 (LD): Likewise.
823 * configure: Regenerated.
824 * sysdeps/s390/configure.ac (AS): Remove version check.
825 * sysdeps/s390/configure: Regenerated.
826 * sysdeps/x86_64/configure.ac (AS): Remove version check.
827 * sysdeps/x86_64/configure: Regenerated.
828 * manual/install.texi (Tools for Compilation): Document
829 requirement for binutils 2.25 or later.
830 * INSTALL: Regenerated.
831
832 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
833
834 [BZ #14995]
835 * configure.ac: Allow gold 1.14 or above to configire glibc
836 * configure: Regenerated.
837
838 2017-06-28 Joseph Myers <joseph@codesourcery.com>
839
840 [BZ #21457]
841 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
842 struct tag.
843 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
844 Likewise.
845 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
846 Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
848 Declare struct type with __ctx.
849 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
850 tag.
851 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
852 and regs field name.
853
854 2017-06-27 Joseph Myers <joseph@codesourcery.com>
855
856 * elf/loadtest.c (OUT): Define using do { } while (0).
857
858 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
859 (DO_NUMBER_SPACEPAD): Likewise.
860
861 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
862
863 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
864 sysdep_routines.
865 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
866 __memchr_neon.
867 Add ifunc definitions for __memchr_neon and __memchr_noneon.
868 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
869 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
870 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
871
872 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
873
874 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
875 Use vector and cu21 instruction.
876 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
877 Add __to_utf8_loop_vx_cu in ifunc resolver.
878
879 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
880
881 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
882 Use vector and cu24 instruction.
883
884 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
885
886 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
887 Use vector and cu42 instruction.
888 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
889 Add __to_utf16_loop_vx_cu in ifunc resolver.
890
891 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
892
893 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
894 Use vector and cu41 instruction.
895 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
896 in ifunc resolver.
897
898 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
899
900 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
901 Add vxd, vxe, gs flag.
902 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
903 HWCAP_S390_GS capability.
904 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
905 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
906
907 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
908
909 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
910 the first 32 bytes before checking size when size >= 32 bytes.
911 Replace vpmovmskb/subl/jnz with vptest/jnc.
912
913 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
914
915 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
916 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
917
918 2017-06-27 Florian Weimer <fweimer@redhat.com>
919
920 Work around test timeouts with ICMP rate limiting on localhost.
921 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
922 function.
923 (do_test): Call it.
924
925 2017-06-27 Florian Weimer <fweimer@redhat.com>
926
927 Call _res_hconf_init from __res_vinit.
928 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
929 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
930 (NEED__RES): Define.
931 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
932 (NEED__RES): Define.
933 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
934 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
935 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
936 (NEED__RES): Define.
937 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
938 _res_hconf_init.
939 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
940 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
942 _res_hconf_init.
943
944 2017-06-26 Joseph Myers <joseph@codesourcery.com>
945
946 * sysdeps/ia64/Implies: Add ieee754/float128.
947 * sysdeps/ia64/bits/floatn.h: New file.
948 * sysdeps/ia64/float128-abi.h: Likewise.
949 * manual/math.texi (Mathematics): Document support for _Float128
950 on ia64.
951 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
952 Makefile variable.
953 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
954 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
955 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
956 * sysdeps/ia64/math-tests.h: New file.
957 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
958 based on TEST_COND_binary128 for [__ia64__].
959 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
960 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
961
962 [BZ #21457]
963 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
964 ucontext_t.
965 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
966 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
967 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
968 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
969 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
970 ucontext): Likewise.
971 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
972 Likewise.
973 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
974 Likewise.
975 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
976 Likewise.
977 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
978 Likewise.
979 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
980 Likewise.
981 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
982 Likewise.
983 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
984 Likewise.
985 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
986 ucontext): Likewise.
987 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
988 Likewise.
989 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
990 Likewise.
991 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
992 Likewise.
993 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
994 Likewise.
995 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
996 Likewise.
997 * sysdeps/powerpc/powerpc32/backtrace.c (struct
998 rt_signal_frame_32): Likewise.
999 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1000 Likewise.
1001 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1002 kernel_rt_sigframe): Likewise.
1003 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1004 Likewise.
1005 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1006 Likewise.
1007 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1008 Likewise.
1009 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1010 (__profil_counter): Likewise.
1011 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1012 (SIGCONTEXT): Likewise.
1013 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1014 kernel_rt_sigframe): Likewise.
1015 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1016 kernel_rt_sigframe): Likewise.
1017 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1018 Likewise.
1019 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1020 Likewise.
1021 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1022 (__start_context): Likewise.
1023 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1024 Likewise.
1025 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1026 Likewise.
1027 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1028 Likewise.
1029
1030 * sysdeps/i386/Implies: Add ieee754/float128.
1031 * sysdeps/x86_64/Implies: Likewise.
1032 * sysdeps/x86/bits/floatn.h: New file.
1033 * sysdeps/x86/float128-abi.h: Likewise.
1034 * manual/math.texi (Mathematics): Document support for _Float128
1035 on x86_64 and x86.
1036 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1037 (math_opt_barrier): Do not put _Float128 values in floating-point
1038 registers.
1039 (math_force_eval): Likewise.
1040 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1041 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1042 to Makefile variable.
1043 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1044 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1045 * sysdeps/x86/math-tests.h: New file.
1046 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1047 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1048 XFAIL_FLOAT128_PAYLOAD.
1049 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1050 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1051 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1052 Likewise.
1053 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1054 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1055 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1056 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1057 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1058 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1059 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1060 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1062
1063 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1064
1065 [BZ #21512]
1066 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1067 syscall instead of jump to _exit.
1068 (CLONE_VM_BIT): Remove unused define.
1069 (CLONE_VM): Likewise.
1070 (CLONE_THREAD_BIT): Likewise.
1071 (CLONE_THREAD): Likewise.
1072 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1073 (CLONE_VM): Remove unused define.
1074 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1075 (CLONE_VM): Remove unused define.
1076 (CLONE_THREAD): Likewise.
1077 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1078 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1079 syscall instead of jump to _exit.
1080 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1081 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1082 (CLONE_VM): Remove unused define.
1083 (CLONE_THREAD): Likewise.
1084 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1085 (CLONE_VM): Remove unused define.
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1087 Likewise.
1088 (CLONE_VM): Remove unused define.
1089 (CLONE_THREAD): Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1091 Likewise.
1092 (CLONE_VM): Remove unused define.
1093 (CLONE_THREAD): Likewise.
1094 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1095 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1096 (CLONE_VM): Remove unused define.
1097 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1098 (CLONE_VM): Remove unused define.
1099 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1100 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1101 (CLONE_VM): Remove unused define.
1102 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1103 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1104
1105 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1106 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1107
1108 * manual/math.texi (Mathematics): Mention the enabling of float128
1109 for powerpc64le.
1110 * sysdeps/powerpc/bits/floatn.h: New file.
1111 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1112 * sysdeps/powerpc/fpu/math_private.h:
1113 (__ieee754_sqrtf128): New inline override.
1114 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1115 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1116 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1117 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1118 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1120 Updated.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1122 Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1124 New file.
1125
1126 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1127
1128 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1129 * sysdeps/powerpc/powerpc64le/configure: Update.
1130
1131 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1132 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1133
1134 * INSTALL: Regenerate.
1135 * manual/install.texi (Recommended Tools for Compilation): Mention
1136 the powerpc64le-specific requirement in the manual.
1137 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1138 for the compiler features required for building float128.
1139 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1140
1141 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1142
1143 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1144 before comparing with another char.
1145
1146 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1147
1148 * manual/math.texi: Fix a grammatical error.
1149
1150 2017-06-24 Florian Weimer <fweimer@redhat.com>
1151
1152 [BZ #21295]
1153 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1154
1155 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1156
1157 [BZ #21295]
1158 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1159 Append addresses at the end of the list.
1160
1161 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 [BZ #21666]
1164 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1165 (loc2): Likewise.
1166 (locs): Likewise.
1167
1168 2017-06-23 Florian Weimer <fweimer@redhat.com>
1169
1170 [BZ #16637]
1171 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1172 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1173 digits between colons.
1174 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1175
1176 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1177 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1178
1179 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1180 (__sched_get_prioriry_min): Likewise.
1181 * include/sys/mman.h (__mmap): Likewise.
1182 (__mmap64): Likewise.
1183 (__munmap): Likewise.
1184 (__mprotect): Likewise.
1185 * include/termios.h (__tcsetattr): Likewise.
1186 * include/time.h (__nanosleep): Use hidden_proto instead of
1187 libc_hidden_proto.
1188 * posix/nanosleep.c (__nanosleep): Likewise.
1189 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1190 __sched_get_priority_min, and __sched_get_priority_max under
1191 GLIBC_PRIVATE.
1192 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1193 libc symbols.
1194 (change_stack_perm): Likewise.
1195 (change_stack_perm): Likewise.
1196 (allocate_stack): Likewise.
1197 * sysdeps/posix/gethostname.c: Likewise.
1198 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1199 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1200 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1201 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1202 (__pthread_key_delete): Likewise.
1203 (__pthread_detach): Likewise.
1204 (__pthread_cancel): Likewise.
1205 (__pthread_mutex_trylock): Likewise.
1206 (__pthread_mutexattr_init): Likewise.
1207 (__pthread_mutexattr_settype): Likewise.
1208 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1209 create alias for exported one.
1210 * nptl/pthread_join.c (pthread_join): Likewise.
1211 * nptl/pthread_detach.c (pthread_detach): Likewise.
1212 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1213 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1214 * nptl/pthread_create.c: Change static requirements for pthread
1215 symbols.
1216 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1217 for internal definition.
1218 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1219 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1220 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1221 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1222 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1223 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1224 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1225 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1226 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1227 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1228 Likewise.
1229 * nptl/pthread_self.c (__pthread_self): Likewise.
1230 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1231 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1232 * misc/mmap.c (__mmap): Add internal symbol definition.
1233 * misc/mmap.c (__mmap64): Likewise.
1234 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1235 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1236 (__mmap64): Likewise.
1237 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1238 Add __uname.
1239
1240 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1241
1242 * sysdeps/i386/fpu/libm-test-ulps: Update.
1243 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1244
1245 * libm-test-support.c (check_float_internal): Clear exceptions at
1246 end of function.
1247 (check_int): Likewise.
1248 (check_long): Likewise.
1249 (check_bool): Likewise.
1250 (check_longlong): Likewise.
1251 (check_intmax_t): Likewise.
1252 (check_uintmax_t): Likewise.
1253
1254 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1255 Do not declare.
1256 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1257 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1258 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1259
1260 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1261
1262 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1263 Replace movzbl and orl with movb.
1264
1265 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1266
1267 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1268 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1269 and HUGE_VAL_FNx.
1270 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1271 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1272 are in math.h, to avoid having to list the _FloatN and _FloatNx
1273 variants as well. Likewise for the cabs functions.
1274 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1275 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1276 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1277 come from TS 18661-3, since this section explicitly states that
1278 these functions come from BSD.
1279 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1280 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1281 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1282 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1283 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1284 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1285 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1286 remainderfNx.
1287 (Setting and modifying single bits of FP values): Document
1288 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1289 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1290 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1291 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1292 (Floating-Point Comparison Functions): Document totalorderfN,
1293 totalorderfNx, totalordermagfN, totalordermagfNx.
1294 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1295 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1296 fdimfN, fdimfNx, fmafN, fmafNx.
1297 (Complex Numbers): Document the complex types: _FloatN complex and
1298 _FloatNx complex.
1299 (rojections, Conjugates, and Decomposing of Complex Numbers):
1300 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1301 cargfN, cargfNx, cprojfN, cprojfNx.
1302 * manual/math.texi (Mathematics): Mention that the _FloatN and
1303 _FloatNx variants of the math functions come from TS 18661-3,
1304 unless otherwise stated.
1305 (Predefined Mathematical Constants): Document the _FloatN and
1306 _FloatNx variants of the macros prefixed with M_.
1307 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1308 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1309 ccosfNx, ctanfN, ctanfNx.
1310 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1311 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1312 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1313 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1314 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1315 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1316 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1317 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1318 cpowfNx.
1319 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1320 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1321 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1322 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1323 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1324 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1325 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1326 ynfN, ynfNx.
1327
1328 2017-06-23 Florian Weimer <fweimer@redhat.com>
1329
1330 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1331
1332 2017-06-23 Florian Weimer <fweimer@redhat.com>
1333
1334 * resolv/res_libc.c: Reformat to GNU style.
1335
1336 2017-06-23 Florian Weimer <fweimer@redhat.com>
1337
1338 * resolv/resolv-internal.h (__res_initstamp): Declare.
1339 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1340 It is implied by the declaration.
1341 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1342
1343 2017-06-23 Florian Weimer <fweimer@redhat.com>
1344
1345 [BZ #21662]
1346 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1347 Use only 24 bits of the register before the subtraction.
1348 * string/test-memcmp.c (check1): Check with different lengths.
1349
1350 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1351
1352 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1353 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1354
1355 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1356
1357 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1358 Enable generation of float128 entries on the error table.
1359
1360 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1361
1362 * include/float.h: Include libc-header-start.h to get the
1363 definition of __GLIBC_USE.
1364
1365 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1366
1367 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1368 rearranged code and doubles float types.
1369
1370 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1371
1372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1373 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1374
1375 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1376
1377 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1378 to errno, and simplify remaining related code.
1379
1380 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1381
1382 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1383 PPC_FEATURE2_SCV.
1384 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1385 and darn.
1386
1387 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1390 the implementation-specific function name and remove unneeded macros
1391 definition.
1392 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1393 function name if not defined and pass as parameter to macros
1394 accordingly.
1395
1396 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1397
1398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1399 (libm-sysdep_routines): Add s_llroundf-ppc64.
1400 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1401 (__llroundf): Define as strong alias of __llround.
1402 (llroundf): Define as weak alias of __llround.
1403 (__lroundf): Define as strong alias of __llround.
1404 (lroundf): Define as weak alias of __llround.
1405 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1406 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1409 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1410 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1411 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1412
1413 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1414
1415 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1416 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1417
1418 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1419 (MATH_TESTS_TG): New macro.
1420 (SNAN_TESTS_float128): Likewise.
1421 (ROUNDING_TESTS_float128): Likewise.
1422 (EXCEPTION_TESTS_float128): Likewise.
1423 (SNAN_TESTS): Define using MATH_TESTS_TG.
1424 (ROUNDING_TESTS): Likewise.
1425 (EXCEPTION_TESTS): Likewise.
1426
1427 * sysdeps/ieee754/float128/float128_private.h
1428 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1429 pass it to SET_RESTORE_ROUNDF128.
1430
1431 * sysdeps/ieee754/float128/float128_private.h: Include
1432 <ieee754.h>.
1433
1434 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1435 typeof to argument passed to __builtin_types_compatible_p.
1436 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1437
1438 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1439 <errno.h>.
1440 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1441 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1442 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1443 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1444 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1445 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1446 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1447 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1448 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1449 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1450 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1451 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1452 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1453 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1454 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1455 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1456 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1457 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1458 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1459 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1460 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1461 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1462
1463 * sysdeps/ieee754/float128/strtof128_l.c: Include
1464 <bits/types/locale_t.h> instead of <xlocale.h>.
1465 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1466 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1467
1468 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1469
1470 * benchtests/scripts/benchout_strings.schema.json: New file.
1471 * benchtests/scripts/compare_strings.py: New file.
1472
1473 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1474 (do_one_test): Print json.
1475 (do_test): Likewise.
1476 (test_main): Likewise.
1477 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1478 (do_one_test): Print json.
1479 (do_test): Likewise.
1480 (test_main): Likewise.
1481 * benchtests/bench-memcpy.c: Include json-lib.h.
1482 (do_one_test): Print json.
1483 (do_test): Likewise.
1484 (test_main): Likewise.
1485
1486 * benchtests/json-lib.h: Include inttypes.h.
1487 (json_attr_int, json_attr_int, json_element_string,
1488 json_element_int, json_element_uint): New functions.
1489 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1490 json_element_string, json_element_int, json_element_uint): New
1491 functions.
1492
1493 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1494
1495 * manual/arith.texi (Remainder Functions): Describe remainder as
1496 primary and drem as an alternative name. Change the comment on
1497 remainder to ISO, since it is defined in ISO C99.
1498
1499 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1500
1501 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1502 macro expansion.
1503 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1504
1505 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1506
1507 [BZ #21533]
1508 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1509 201706L for Unicode 10.0.
1510
1511 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1512
1513 [BZ #21657]
1514 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1515 on node-local addresses.
1516 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1517
1518 2017-06-21 Florian Weimer <fweimer@redhat.com>
1519
1520 * intl/loadmsgcat.c: Remove alloca support.
1521 (_nl_load_domain): Use calloc instead of alloca.
1522
1523 2017-04-21 Florian Weimer <fweimer@redhat.com>
1524
1525 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1526 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1527 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1528 alloc_buffer_create_failure.
1529 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1530 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1531 (__libc_alloc_buffer_copy_string)
1532 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1533 * malloc/alloc_buffer_alloc_array.c: New file.
1534 * malloc/alloc_buffer_allocate.c: Likewise.
1535 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1536 * malloc/alloc_buffer_copy_string.c: Likewise.
1537 * malloc/alloc_buffer_create_failure.c: Likewise.
1538 * malloc/tst-alloc_buffer.c: Likewise.
1539
1540 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1543 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1544 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1545 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1546 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1547 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1548 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1549 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1550 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1551 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1552 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1553 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1554 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1555 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1556 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1557 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1558 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1559 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1560 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1561 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1562 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1563 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1564 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1565 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1566 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1567 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1568 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1569 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1570 "locale-defines.h".
1571 (UPDATE_STRNCMP_COUNTER): New.
1572 (SECTION): Likewise.
1573 (GLABEL): Likewise.
1574 (LABEL): Likewise.
1575 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1576 for libc.a.
1577
1578 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1579
1580 [BZ #21622]
1581 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1582 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1583 __USE_MISC].
1584 (SA_NODEFER): Likewise.
1585 (SA_RESETHAND): Likewise.
1586
1587 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1590 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1591 Remove security_level on all fields.
1592 * manual/tunables.texi: Replace ifunc with hwcaps.
1593 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1594 Renamed to ..
1595 (TUNABLE_CALLBACK (set_hwcaps)): This.
1596 (init_cpu_features): Updated.
1597 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1598 data_cache_size, data_cache_size and non_temporal_threshold to
1599 unsigned long int.
1600 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1601 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1602 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1603 use DEFAULT_STRLEN.
1604
1605 2017-06-21 Florian Weimer <fweimer@redhat.com>
1606
1607 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1608 asprintf to construct an absolute pathname.
1609
1610 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1611
1612 * misc/tst-preadvwritev2-common.c: New file.
1613 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1614 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1615
1616 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1617
1618 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1619 annotation.
1620 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1621
1622 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1623
1624 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1625 hidden __GI__dl_argv symbol.
1626
1627 2017-06-21 Florian Weimer <fweimer@redhat.com>
1628
1629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1630 to parse addresses with IPv6 scope IDs.
1631
1632 2017-06-21 Florian Weimer <fweimer@redhat.com>
1633
1634 Add the __inet_pton_length helper function.
1635 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1636 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1637 Add length argument.
1638 (__inet_pton): New function.
1639 (inet_pton4): Add length argument.
1640 (hex_digit_value): New function.
1641 (inet_pton6): Add length argument. Call hex_digit_value. Use
1642 memmove and memset to fill :: gap.
1643 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1644 tst-inet_pton.
1645 * resolv/tst-inet_pton.c: New file.
1646 * support/Makefile (libsupport-routines): Add xmprotect.
1647 * support/xunistd.h (xmprotect): Declare.
1648 * support/xmprotect.c: New file.
1649
1650 2017-06-21 Florian Weimer <fweimer@redhat.com>
1651
1652 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1653 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1654 (call_gai, check_ai): New functions.
1655 (expect_failure, expect_success): Use them. Add logging.
1656
1657 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1658
1659 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1660 (sysdep_routines): Add memchr_power8.
1661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1662 (memchr): Add __memchr_power8 to list of memchr functions.
1663 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1664 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1665 (memchr): Add __memchr_power8 to ifunc list.
1666 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1667
1668 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1669
1670 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1671 (__llrintf): Define as strong alias of __llrint.
1672 (llrintf): Define as weak alias of __llrint.
1673 (__lrintf): Define as strong alias of __llrint.
1674 (lrintf): Define as weak alias of __llrint.
1675 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1676 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1677 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1679
1680 2017-06-20 Zack Weinberg <zackw@panix.com>
1681
1682 * bits/signum-generic.h: Renamed from bits/signum.h.
1683 Add proper multiple include guard and misuse check.
1684 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1685 Move definition of SIGIO to "archaic names for compatibility" section.
1686 * bits/signum.h: New file which just includes bits/signum-generic.h.
1687 * sysdeps/unix/bsd/bits/signum.h
1688 * sysdeps/unix/sysv/linux/bits/signum.h
1689 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1690 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1691 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1692 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1693 Just include <bits/signum-generic.h> and then add or adjust
1694 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1695
1696 * signal/Makefile: Install bits/signum-generic.h.
1697 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1698
1699 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1700 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1701
1702 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1703 * sysdeps/unix/sysv/linux/Makefile: Run it.
1704
1705 2017-06-20 Zack Weinberg <zackw@panix.com>
1706
1707 * locale/xlocale.h: Rename to...
1708 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1709 Only define struct __locale_struct and __locale_t, not locale_t.
1710 * locale/bits/types/locale_t.h: New file; define locale_t here.
1711 * locale/Makefile (headers): Update to match.
1712
1713 * include/xlocale.h: Delete wrapper.
1714 * include/bits/types/__locale_t.h: New wrapper.
1715 * include/bits/types/locale_t.h: New wrapper.
1716
1717 * ctype/ctype.h, include/printf.h, include/time.h
1718 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1719 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1720 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1721 Correct outdated comments regarding the standardization status of
1722 the functions that take locale_t arguments.
1723
1724 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1725 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1726 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1727 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1728 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1729 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1730 Don't include xlocale.h. If necessary, include locale.h instead.
1731
1732 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1733
1734 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1735 * include/monetary.h, include/stdlib.h, include/time.h
1736 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1737 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1738 * locale/localeinfo.h, locale/newlocale.c
1739 * locale/nl_langinfo_l.c, locale/uselocale.c
1740 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1741 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1742 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1743 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1744 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1745 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1746 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1747 * sysdeps/ieee754/float128/strtof128_l.c
1748 * sysdeps/ieee754/float128/wcstof128.c
1749 * sysdeps/ieee754/float128/wcstof128_l.c
1750 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1751 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1752 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1753 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1754 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1755 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1756 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1757 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1758 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1759 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1760 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1761 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1762 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1763 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1764 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1765 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1766 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1767 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1768 Change all uses of __locale_t to locale_t.
1769
1770 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1771
1772 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1773 for !__OFF_T_MATCHES_OFF64_T.
1774 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1775 implementation based on open64.
1776 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1777 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1778
1779 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1780
1781 * elf/dl-tunables.list: Move x86 specific tunables to ...
1782 * sysdeps/x86/dl-tunables.list: Here. New file.
1783
1784 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1785
1786 [BZ #21635]
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1788 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1789 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1790 powerpc32-linux.
1791 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1792
1793 [BZ #21634]
1794 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1795 (conformtest-xfail-conds): New variable.
1796 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1797 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1798
1799 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1800
1801 * benchtests/powf-inputs: Add reduced trace from wrf.
1802
1803 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1804 Erich Elsen <eriche@google.com>
1805
1806 * elf/dl-tunables.list (tune): Add ifunc,
1807 x86_non_temporal_threshold,
1808 x86_data_cache_size and x86_shared_cache_size.
1809 * manual/tunables.texi: Document glibc.tune.ifunc,
1810 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1811 and glibc.tune.x86_non_temporal_threshold.
1812 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1813 * sysdeps/x86/cpu-tunables.c: Likewise.
1814 * sysdeps/x86/cacheinfo.c
1815 (init_cacheinfo): Check and get data cache size, shared cache
1816 size and non temporal threshold from cpu_features.
1817 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1818 New.
1819 [HAVE_TUNABLES] Include <unistd.h>.
1820 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1821 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1822 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1823 IFUNC selection, data cache size, shared cache size and non
1824 temporal threshold.
1825 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1826 shared_cache_size and non_temporal_threshold.
1827
1828 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1829
1830 * benchtests/README: Describe workload feature.
1831 * benchtests/bench-skeleton.c (main): Add support for
1832 benchmarking traces from workloads.
1833
1834 2017-06-20 Zack Weinberg <zackw@panix.com>
1835
1836 * string/string.h (__mempcpy_inline): Delete.
1837 * sysdeps/x86_64/multiarch/mempcpy.c
1838 * sysdeps/x86_64/multiarch/stpcpy.c:
1839 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1840 before including string.h.
1841
1842 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
1843
1844 * benchtests/Makefile (bench-math): Add powf.
1845 * benchtests/powf-inputs: New file.
1846
1847 2017-06-20 Zack Weinberg <zackw@panix.com>
1848
1849 * bits/string.h, string/bits/string.h
1850 * sysdeps/aarch64/bits/string.h
1851 * sysdeps/m68k/m680x0/m68020/bits/string.h
1852 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1853 * sysdeps/x86/bits/string.h: Delete file.
1854
1855 * string/string.h: Don't include bits/string.h.
1856 * string/bits/string3.h: Rename to bits/string_fortified.h.
1857 No need to undef various symbols that the removed headers
1858 might have defined as macros.
1859 * string/Makefile (headers): Remove bits/string.h, change
1860 bits/string3.h to bits/string_fortified.h.
1861 * string/string-inlines.c: Update commentary. Remove definitions
1862 of various macros that nothing looks at anymore. Don't directly
1863 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1864 compiler-predefined macros.
1865 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1866 _is_ defined, provide internal hidden alias __strncat.
1867 * include/string.h: Declare internal hidden alias __strncat.
1868 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1869 not defined.
1870 * include/bits/string3.h: Rename to bits/string_fortified.h,
1871 update to match above.
1872
1873 * sysdeps/i386/string-inlines.c: Define compat symbols for
1874 everything formerly defined by sysdeps/x86/bits/string.h.
1875 Make existing definitions into compat symbols as well.
1876 Remove some no-longer-necessary messing around with macros.
1877
1878 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1879 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1880 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1881 * sysdeps/s390/multiarch/mempcpy.c
1882 No need to define _HAVE_STRING_ARCH_mempcpy.
1883 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1884
1885 * sysdeps/i386/i686/multiarch/strncat-c.c
1886 * sysdeps/s390/multiarch/strncat-c.c
1887 * sysdeps/x86_64/multiarch/strncat-c.c
1888 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
1889
1890 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
1891
1892 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1893 (LDBL_DIG): Likewise.
1894 (LDBL_MIN_EXP): Likewise.
1895 (LDBL_MIN_10_EXP): Likewise.
1896 (LDBL_MAX_EXP): Likewise.
1897 (LDBL_MAX_10_EXP): Likewise.
1898 (LDBL_MAX): Likewise.
1899 (LDBL_MIN): Likewise.
1900 (LDBL_EPSILON): Likewise.
1901 (FLT_ROUNDS): Change standard from ISO to C90.
1902 (FLT_RADIX): Likewise.
1903 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1904 (FLT_DIG, DBL_DIG): Likewise.
1905 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1906 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1907 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1908 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1909 (FLT_MAX, DBL_MAX): Likewise.
1910 (FLT_MIN, DBL_MIN): Likewise.
1911 (FLT_EPSILON, DBL_EPSILON): Likewise.
1912
1913 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1914
1915 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1916 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1917 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1918 * sysdeps/mips/math-tests.h
1919 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1920 conditional code.
1921
1922 2017-06-19 Florian Weimer <fweimer@redhat.com>
1923
1924 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1925 It cannot change while __libc_setlocale_lock is acquired.
1926
1927 2017-06-19 Florian Weimer <fweimer@redhat.com>
1928
1929 * elf/rtld.c (audit_list_string): New variable.
1930 (audit_list): Update comment.
1931 (struct audit_list_iter): Define.
1932 (audit_list_iter_init, audit_list_iter_next): New function.
1933 (dl_main): Use struct audit_list_iter to process audit modules.
1934 (process_dl_audit): Call dso_name_valid_for_suid.
1935 (process_envvars): Set audit_list_string instead of calling
1936 process_dl_audit.
1937
1938 2017-06-19 Florian Weimer <fweimer@redhat.com>
1939
1940 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1941 (dso_name_valid_for_suid): New function.
1942 (handle_ld_preload): Likewise.
1943 (dl_main): Call it. Remove alloca.
1944
1945 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1946
1947 [BZ #21625]
1948 * posix/sys/wait.h (strust rusage forward declaration): Change
1949 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1950 !__USE_XOPEN2K].
1951 (wait3): Likewise.
1952
1953 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1954 * configure: Regenerated.
1955 * manual/install.texi (Tools for Compilation): Document
1956 requirement for GCC 4.9 or later.
1957 * INSTALL: Regenerated.
1958
1959 2017-06-19 Florian Weimer <fweimer@redhat.com>
1960
1961 [BZ #21624]
1962 CVE-2017-1000366
1963 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1964 __libc_enable_secure.
1965
1966 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1967
1968 [BZ #21539]
1969 * NEWS: Mention s390 ptrace request changes.
1970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1971 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1972 PTRACE_SETFPREGS): Remove enum constant.
1973 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1974 Remove defines.
1975 (PTRACE_SINGLEBLOCK): New enum constant.
1976 (PT_STEPBLOCK): New define.
1977 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1978 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1979 PTRACE_TE_ABORT_RAND): New enum constant and define.
1980 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1981 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1982 New file.
1983 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1984
1985 2017-06-16 Florian Weimer <fweimer@redhat.com>
1986
1987 * resolv/res_init.c (res_vinit_1): Use getline to read from the
1988 configuration file.
1989 (__res_vinit): Adjust.
1990
1991 2017-06-19 Florian Weimer <fweimer@redhat.com>
1992
1993 * resolv/res_init.c (res_vinit_1): New function.
1994 (__res_vinit): Call it. Handle file open and memory allocation
1995 failures.
1996 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1997 erno from __res_maybe_init failure.
1998 (_nss_dns_gethostbyname4_r): Likewise.
1999 (_nss_dns_gethostbyaddr2_r): Likewise.
2000 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2001 (_nss_dns_getnetbyaddr_r): Likewise.
2002
2003 2017-06-19 Florian Weimer <fweimer@redhat.com>
2004
2005 * resolv/res_init.c: Reformat to GNU style.
2006
2007 2017-06-19 Florian Weimer <fweimer@redhat.com>
2008
2009 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2010 (is_sort_mask): New function.
2011 (__res_vinit): Use it.
2012
2013 2017-06-19 Florian Weimer <fweimer@redhat.com>
2014
2015 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2016 conditionals.
2017
2018 2017-06-19 Florian Weimer <fweimer@redhat.com>
2019
2020 * resolv/res-close.c: New file.
2021 * resolv/res_init.c (__res_iclose, res_nclose)
2022 (res_thread_freeres): Remove definitions.
2023 * resolv/Makefile (routines): Add res-close.
2024
2025 2017-06-19 Florian Weimer <fweimer@redhat.com>
2026
2027 * resolv/res_randomid.c: New file.
2028 * resolv/res_init.c (res_randomid): Remove definition.
2029 * resolv/Makefile (routines): Add res_randomid.
2030
2031 2017-06-19 Florian Weimer <fweimer@redhat.com>
2032
2033 * include/resolv.h (__res_vinit): Declare as hidden.
2034 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2035 * resolv/res_libc.c (res_init): Likewise.
2036
2037 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2038
2039 [BZ #21457]
2040 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2041 _libc_xmmreg): Use __ctx in defining field.
2042
2043 [BZ #21597]
2044 * signal/signal.h (siginterrupt): Make declaration conditional on
2045 [__USE_XOPEN_EXTENDED || __USE_MISC].
2046
2047 [BZ #21584]
2048 * signal/signal.h: Make includes of <bits/sigstack.h> and
2049 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2050 __USE_MISC].
2051 (sigaltstack): Make declaration conditional on
2052 [__USE_XOPEN_EXTENDED || __USE_MISC].
2053
2054 [BZ #21575]
2055 * resource/bits/types/struct_rusage.h: New file.
2056 * include/bits/types/struct_rusage.h: Likewise.
2057 * bits/resource.h (struct rusage): Include
2058 <bits/types/struct_rusage.h> instead of defining here.
2059 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2060 Likewise.
2061 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2062 Likewise.
2063 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2064 Likewise.
2065 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2066 Likewise.
2067 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2068 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2069 Include <bits/types/struct_rusage.h>
2070
2071 2017-06-19 Florian Weimer <fweimer@redhat.com>
2072
2073 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2074
2075 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2076
2077 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2078
2079 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2080
2081 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2082
2083 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2084
2085 [BZ #21537]
2086 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2087 Check SHARED instead of PIC.
2088 (SYSCALL_PIC_SETUP): Add missing semicolons.
2089 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2090 Check SHARED instead of PIC.
2091 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2092 (__makecontext_ret): Adjust code to jump to exit.
2093
2094 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2095
2096 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2097 Simplify code by always using SVC 0 instead of EX.
2098 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2099
2100 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2101
2102 * elf/Versions (ld): Remove _dl_out_of_memory.
2103
2104 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2105
2106 * timezone/private.h: Update from tzcode 2017b.
2107 * timezone/tzfile.h: Likewise.
2108 * timezone/tzselect.ksh: Likewise.
2109 * timezone/zdump.c: Likewise.
2110 * timezone/zic.c: Likewise.
2111 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2112 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2113 * time/tzset.c (SECSPERDAY): New macro.
2114
2115 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2116
2117 * manual/string.texi (strdup): Complete header and standards
2118 annotation.
2119 (strncpy): Likewise.
2120
2121 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2122
2123 * manual/arith.texi (FP_NAN): Add or complete header and standard
2124 annotations.
2125 (FP_INFINITE): Likewise.
2126 (FP_ZERO): Likewise.
2127 (FP_SUBNORMAL): Likewise.
2128 (FP_NORMAL): Likewise.
2129 (SNAN): Likewise.
2130 (SNANL): Likewise.
2131 (totalorderf): Likewise.
2132 (totalorderl): Likewise.
2133 (totalordermagf): Likewise.
2134 (totalordermagl): Likewise.
2135 (_Complex_I): Likewise.
2136 (I): Likewise.
2137
2138 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2139
2140 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2141 standard annotation.
2142 (ARGP_HELP_SHORT_USAGE): Likewise.
2143 (ARGP_HELP_SEE): Likewise.
2144 (ARGP_HELP_LONG): Likewise.
2145 (ARGP_HELP_PRE_DOC): Likewise.
2146 (ARGP_HELP_POST_DOC): Likewise.
2147 (ARGP_HELP_DOC): Likewise.
2148 (ARGP_HELP_BUG_ADDR): Likewise.
2149 (ARGP_HELP_LONG_ONLY): Likewise.
2150 (ARGP_HELP_EXIT_ERR): Likewise.
2151 (ARGP_HELP_EXIT_OK): Likewise.
2152 (ARGP_HELP_STD_ERR): Likewise.
2153 (ARGP_HELP_STD_USAGE): Likewise.
2154 (ARGP_HELP_STD_HELP): Likewise.
2155
2156 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2157
2158 * manual/Makefile: Generate summary.texi with summary.pl. Force
2159 use of the C locale. Update Perl dependency comment.
2160 * manual/header.texi: Update reference to summary.awk.
2161 * manual/macros.texi: Refer authors to `summary.pl --help'.
2162 * manual/summary.awk: Remove file.
2163 * manual/summary.pl: New file. Generate summary.texi, and check
2164 for @standards-related syntax errors.
2165 * manual/argp.texi: Convert header and standards @comments to
2166 @standards.
2167 * manual/arith.texi: Likewise.
2168 * manual/charset.texi: Likewise.
2169 * manual/conf.texi: Likewise.
2170 * manual/creature.texi: Likewise.
2171 * manual/crypt.texi: Likewise.
2172 * manual/ctype.texi: Likewise.
2173 * manual/debug.texi: Likewise.
2174 * manual/errno.texi: Likewise.
2175 * manual/filesys.texi: Likewise.
2176 * manual/getopt.texi: Likewise.
2177 * manual/job.texi: Likewise.
2178 * manual/lang.texi: Likewise.
2179 * manual/llio.texi: Likewise.
2180 * manual/locale.texi: Likewise.
2181 * manual/math.texi: Likewise.
2182 * manual/memory.texi: Likewise.
2183 * manual/message.texi: Likewise.
2184 * manual/pattern.texi: Likewise.
2185 * manual/pipe.texi: Likewise.
2186 * manual/process.texi: Likewise.
2187 * manual/resource.texi: Likewise.
2188 * manual/search.texi: Likewise.
2189 * manual/setjmp.texi: Likewise.
2190 * manual/signal.texi: Likewise.
2191 * manual/socket.texi: Likewise.
2192 * manual/startup.texi: Likewise.
2193 * manual/stdio.texi: Likewise.
2194 * manual/string.texi: Likewise.
2195 * manual/sysinfo.texi: Likewise.
2196 * manual/syslog.texi: Likewise.
2197 * manual/terminal.texi: Likewise.
2198 * manual/threads.texi: Likewise.
2199 * manual/time.texi: Likewise.
2200 * manual/users.texi: Likewise.
2201
2202 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2203
2204 * manual/macros.texi (@standards): New macro. Provide placeholder
2205 for header and standards annotations.
2206 (@standardsx): New macro. Likewise, for lists of @*x elements.
2207
2208 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2209
2210 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2211 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2212 rule.
2213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2214 sync_file_range.
2215
2216 * support/support_test_main.c (support_test_main): Use optstring
2217 member for option string in getopt_long.
2218 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2219 (CMDLINE_OPTSTRING): New define.
2220 * support/test-driver.h (test_config): Add optstring member.
2221
2222 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2223
2224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2225 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2226 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2227 Check USE_AS_STRPBRK instead of STRPBRK_P.
2228 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2229 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2230 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2231 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2232 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2233 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2234 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2235 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2236 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2237 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2238 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2239 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2240 and "#endif".
2241
2242 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2243
2244 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2245 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2246
2247 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2248
2249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2250 strcat-sse2.
2251 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2252 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2253 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2254 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2255 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2256
2257 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2258 Erich Elsen <eriche@google.com>
2259
2260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2261 memcmp-sse2.
2262 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2263 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2264 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2265 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2266 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2267 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2268
2269 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2270 Erich Elsen <eriche@google.com>
2271
2272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2273 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2275 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2276 Update comments.
2277 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2278 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2279 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2280 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2281 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2282 * sysdeps/x86_64/multiarch/memset.S: Removed.
2283 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2284 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2285 (__memset_chk_erms): New function.
2286
2287 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2288
2289 * configure.ac(--enable-tunables): Enable by default.
2290 * configure: Regenerate.
2291 * NEWS: Mention change.
2292 * manual/install.texi (enable-tunables): Adjust documentation.
2293 * INSTALL: Regenerate.
2294
2295 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2296
2297 [BZ #18988]
2298 * benchtests/thread_create-inputs: New file.
2299 * benchtests/thread_create-source.c: Likewise.
2300 * support/xpthread_attr_setguardsize.c: Likewise.
2301 * support/Makefile (libsupport-routines): Add
2302 xpthread_attr_setguardsize object.
2303 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2304 * benchtests/Makefile (bench-pthread): Add thread_create.
2305 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2306 then mprotect the required area.
2307 (guard_position): New function.
2308 (setup_stack_prot): Likewise.
2309
2310 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2311 Erich Elsen <eriche@google.com>
2312 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2313
2314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2315 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2316 mempcpy_chk-nonshared and memmove_chk-nonshared.
2317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2318 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2319 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2320 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2321 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2322 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2323 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2324 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2325 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2326 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2327 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2328 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2329 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2330 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2331 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2332 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2333 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2334 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2335 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2336 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2337 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2338 (__mempcpy_chk_erms): New function.
2339 (__memmove_chk_erms): Likewise.
2340 (__memcpy_chk_erms): New alias.
2341
2342 2017-06-14 Florian Weimer <fweimer@redhat.com>
2343
2344 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2345 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2346
2347 2017-06-14 Zack Weinberg <zackw@panix.com>
2348
2349 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2350 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2351 defined, don't declare anything other than the E-constants.
2352
2353 * include/errno.h: Change conditional for exposing internal
2354 declarations to (not _ISOMAC and not __ASSEMBLER__).
2355 * bits/errno.h: Remove logic for __need_Emath. Document
2356 requirements for a port-specific bits/errno.h.
2357
2358 * sysdeps/unix/sysv/linux/bits/errno.h
2359 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2360 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2361 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2362 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2363 Add multiple-include guard and check against improper inclusion.
2364 Remove __need_Emath logic. Don't declare errno here. Ensure all
2365 constants are defined as simple integer literals. Consistent
2366 formatting.
2367 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2368 enum __error_t_codes if __ASSEMBLER__ is not defined.
2369 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2370
2371 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2372 including errno.h.
2373 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2374 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2375 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2376 * sysdeps/x86_64/fpu/s_cosf.S
2377 * sysdeps/x86_64/fpu/s_sincosf.S
2378 * sysdeps/x86_64/fpu/s_sinf.S:
2379 Just include errno.h; don't define __need_Emath or include
2380 bits/errno.h directly.
2381
2382 2017-06-14 Zack Weinberg <zackw@panix.com>
2383
2384 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2385 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2386 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2387
2388 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2389 for IOV_MAX.
2390 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2391 Don't install bits/uio.h.
2392 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2393 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2394 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2395
2396 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2397 and __need_IOV_MAX. Don't define IOV_MAX at all.
2398 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2399
2400 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2401 Include bits/types/struct_iovec.h, not bits/uio.h.
2402 Use __ssize_t, not ssize_t, in function prototypes.
2403 Don't use hard TAB for double space after period in comments.
2404
2405 2017-06-14 Alan Modra <amodra@gmail.com>
2406
2407 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2408 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2409 refsym and sym parameters. Adjust callers.
2410 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2411 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2412 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2413 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2414 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2415 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2416 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2417 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2418 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2419 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2420 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2421 Likewise.
2422 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2423 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2424 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2425 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2426 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2427 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2428 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2429 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2430 (_dl_reloc_overflow): Increase buffser size. Formatting.
2431 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2432 Delete reloc param, add refsym and sym. Check optimized plt
2433 call stubs for localentry:0 functions. Adjust callers.
2434 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2435 and sym parameters. Adjust callers.
2436 (_dl_reloc_overflow): Move attribute.
2437 (_dl_error_localentry): Declare.
2438 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2439 refsym and sym to elf_machine_fixup_plt.
2440 * elf/testobj6.c (preload): Call printf.
2441
2442 2017-06-14 Alan Modra <amodra@gmail.com>
2443
2444 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2445 (NOPS, ENTRY_3): New macros.
2446 (ENTRY): Rewrite.
2447 (ENTRY_TOCLESS): Define.
2448 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2449 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2450 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2451 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2452 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2453 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2454 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2455 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2456 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2459 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2463 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2464 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2469 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2470 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2471 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2472 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2473 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2474 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2475 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2477 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2478 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2479 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2480 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2481 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2482 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2483 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2484 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2485 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2486 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2488 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2489 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2490 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2491 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2492 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2493 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2495 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2496 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2497 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2498 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2499 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2501 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2502 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2503 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2504 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2506 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2507 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2508 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2509 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2510 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2513 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2514 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2515 Likewise.
2516 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2518 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2520 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2522 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2527 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2528 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2529 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2530 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2531 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2533 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2534 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2535 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2536 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2539 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2540 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2541 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2542 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2543 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2544 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2545 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2546 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2547 add nop when SHARED.
2548 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2549 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2550 define.
2551 (ENTRY_TOCLESS): Define.
2552 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2553 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2554 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2555
2556 2017-06-14 Alan Modra <amodra@gmail.com>
2557
2558 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2559 MEMSET_is_local.
2560 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2561 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2562 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2563 Define MEMSET.
2564 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2565 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2566 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2567 nop after local calls.
2568 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2569 Don't add nop after local call.
2570 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2571 CALL_MCOUNT.
2572
2573 2017-06-14 Alan Modra <amodra@gmail.com>
2574
2575 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2576 (FUNC_LABEL): Rename from DOT_LABEL.
2577 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2578 Use .p2align rather than .align.
2579 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2580 (ABORT_TRANSACTION): Likewise.
2581 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2582 particularly at end. Add semicolon at invocation as necessary.
2583 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2584 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2585 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2586 END): Adjust to suit.
2587
2588 2017-06-14 Alan Modra <amodra@gmail.com>
2589
2590 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2591 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2592 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2593 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2594 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2596 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2597
2598 2017-06-14 Alan Modra <amodra@gmail.com>
2599
2600 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2601 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2602
2603 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2604
2605 [BZ #21548]
2606 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2607 8 and use it when copying general purpose registers.
2608 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2609 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2610 mips o32.
2611 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2612 new test for mips o32.
2613 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2614 8 and use it when copying general purpose registers.
2615 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2616
2617 2017-06-13 Florian Weimer <fweimer@redhat.com>
2618
2619 * configure.ac (find_cxx_header): Suppress compiler error message.
2620
2621 2017-06-13 Florian Weimer <fweimer@redhat.com>
2622
2623 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2624 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2625 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2626 begin/end.
2627 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2628 dynarray_int_end.
2629 (test_str): Test dynarray_str_begin, dynarray_str_end.
2630
2631 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 [BZ #21573]
2634 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2635 $(common-objpfx)bits/std_abs.h.
2636 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2637 New target.
2638 * config.make.in (c++-bits-std_abs-h): New.
2639 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2640 (CXX_BITS_STD_ABS_H): New.
2641 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2642 * configure: Regenerated.
2643
2644 2017-06-13 Zack Weinberg <zackw@panix.com>
2645
2646 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2647 directives.
2648
2649 2017-06-12 Zack Weinberg <zackw@panix.com>
2650
2651 * bits/sched.h: Remove __need_schedparam logic and replace with a
2652 normal multiple-include guard. Change field name in struct
2653 sched_param from __sched_priority to sched_priority. Delete
2654 everything under #ifndef __cpu_set_t_defined.
2655 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2656 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2657
2658 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2659 For compatibility, #define sched_priority to itself, and #define
2660 __sched_priority as sched_priority.
2661 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2662 that was under #ifndef __cpu_set_t_defined in
2663 sysdeps/unix/sysv/linux/bits/sched.h.
2664 * include/bits/cpu-set.h: New wrapper.
2665 * posix/Makefile: Install bits/cpu-set.h.
2666
2667 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2668 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2669 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2670
2671 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2672 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2673 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2674 * math/libm-test-isfinite.inc (finite_test): Likewise.
2675 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2676 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2677 (nexttoward_test_data}: Likewise.
2678 * math/libm-test-remainder.inc (drem_test): Likewise.
2679 * math/libm-test-scalb.inc (scalb_test): Likewise.
2680 (scalb_test_data): Likewise.
2681 * math/libm-test-significand.inc (significand_test): Likewise.
2682 (significand_test_data): Likewise.
2683 * math/libm-test-support.c (check_complex): Replace __complex__
2684 FLOAT with CFLOAT to get the support for old compiler.
2685 * math/libm-test-support.h (check_complex): Likewise.
2686 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2687 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2688 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2689 * math/test-float128.h: New file.
2690 * math/test-math-floatn.h: New file.
2691
2692 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2693
2694 * include/float.h: Allow the definition of macros prefixed with
2695 FLT128 even if _ISOMAC is defined, but provided that
2696 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2697
2698 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2699
2700 * manual/math.texi (Mathematics): Add description for _FloatN and
2701 _FloatNx types and mentions that they are not support in glibc for
2702 any architecture, so far.
2703 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2704 stdlib.h with wchar.h.
2705 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2706 (Printing of Floats): Add description for strfromfN.
2707
2708 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2709 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2710 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2711
2712 * include/gmp.h (__mpn_construct_float128): New declaration.
2713 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2714 (__strtof128_l): New declaration.
2715 (__strtof128_nan): Likewise.
2716 (__wcstof128_nan): Likewise.
2717 (__strtof128_internal): Likewise.
2718 (____strtof128_l_internal): Likewise.
2719 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2720 (__wcstof128_l): New declaration.
2721 (__wcstof128_internal): Likewise.
2722
2723 * stdlib/Makefile (bug-strtod2): Link libm too.
2724
2725 * stdlib/stdlib.h (strtof128): New declaration.
2726 (strtof128_l): Likewise.
2727
2728 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2729 tst-strtod.h macros to ensure float128 gets tested too.
2730
2731 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2732
2733 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2734 tests.
2735 (IF_FLOAT128): New macro.
2736 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2737 the tests.
2738 (STRTOD_TEST_FOREACH): Likewise.
2739
2740 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2741 wcstof128 functions into libc.
2742
2743 * sysdeps/ieee754/float128/Versions: Add exports for the above
2744 new functions.
2745
2746 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2747 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2748 * sysdeps/ieee754/float128/strtof128.c: New file.
2749 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2750 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2751 * sysdeps/ieee754/float128/wcstof128.c: New file.
2752 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2753 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2754 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2755 (CFLAGS-wcstof128_l): Likewise.
2756
2757 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2758 (wcstof128): New declaration.
2759 (wcstof128_l): Likewise.
2760
2761 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2762
2763 [BZ #21552]
2764 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2765 not [__USE_XOPEN].
2766 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2767
2768 [BZ #21550]
2769 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2770
2771 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2772
2773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2774 strcpy-sse2 and stpcpy-sse2.
2775 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2776 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2777 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2778 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2779 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2780 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2781 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2782 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2783 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2784 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2785 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2786 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2787 (libc_hidden_def): Always defined as empty.
2788 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2789 Always Defined as empty.
2790
2791 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2792
2793 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2794
2795 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2796
2797 [BZ #15105]
2798 [BZ #19463]
2799 * include/string.h: Add internal redirect for __stpcpy.
2800 * string/Makefile: Remove bits/string2.h.
2801 * string/string.h: Update comment.
2802 * string/string-inlines.c: Remove bits/string2.h include and comment.
2803 * string/bits/string2.h: Remove file.
2804
2805 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2806
2807 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2808 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2809 * sunrpc/des_impl.c (_des_crypt): Likewise.
2810 * sunrpc/key_call.c (key_gendes): Likewise.
2811 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2812 * sunrpc/svc_simple.c (universal): Likewise.
2813 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2814 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2815 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2816
2817 2017-06-10 Zack Weinberg <zackw@panix.com>
2818
2819 * stdlib/errno.h: Correct an outdated comment.
2820
2821 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
2822
2823 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2824 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2825 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2826 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2827 New file. Invoke newly supported sysconf values for powerpc,
2828 and report results. If none are supported, report so.
2829 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
2830 tst-sysconf.
2831
2832 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2833
2834 * include/sys/auxv.h (__getauxval): Add a prototype and its
2835 libc_hidden_proto.
2836 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2837
2838 2017-06-09 Joseph Myers <joseph@codesourcery.com>
2839
2840 [BZ #21561]
2841 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2842 [__USE_XOPEN_EXTENDED].
2843 (id_t): Likewise.
2844 (include of <bits/types/siginfo_t.h): Likewise.
2845 (waitid): Likewise.
2846 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2847 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2848 (WEXITED): Likewise.
2849 (WCONTINUED): Likewise.
2850 (WNOWAIT): Likewise.
2851 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2852 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2853 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2854
2855 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2856 libc.so PLT entry optional.
2857 (__gtsf2): Likewise.
2858 (__unorddf2): Likewise.
2859 (__unordsf2): Likewise.
2860 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2861 New optional libc.so PLT entry.
2862
2863 [BZ #21554]
2864 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2865 not [__USE_XOPEN].
2866
2867 [BZ #21560]
2868 * posix/sys/wait.h: Condition include of <signal.h> on
2869 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
2870 unconditionally.
2871 [!__pid_t_defined] (pid_t): Define typedef.
2872
2873 2017-06-09 Zack Weinberg <zackw@panix.com>
2874
2875 * include/errno.h (__errno_location): Use __attribute_const__
2876 instead of bare __attribute__.
2877
2878 2017-06-09 Zack Weinberg <zackw@panix.com>
2879
2880 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2881 (common-generated): Add libc-modules.h and libc-modules.stmp in a
2882 more appropriate location. Also add dl-tunable-list.h and
2883 dl-tunable-list.stmp.
2884
2885 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2886
2887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2888
2889 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2890
2891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2892 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2894 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2895 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2896 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2897 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2898 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2899 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2900 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2901 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2902
2903 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2904
2905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2906 memrchr-sse2 and memrchr-avx2.
2907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2908 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2909 __memrchr_sse2.
2910 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2911 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2912 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2913
2914 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2917 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2918 wcschr-sse2 and wcschr-avx2.
2919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2920 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2921 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2922 __wcschr_sse2.
2923 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2924 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2925 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2926 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2927 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2928 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2929 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2930 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2931 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2932 * sysdeps/x86_64/multiarch/strchr.S: Removed.
2933
2934 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2935
2936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2937 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2938 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2939 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2940 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2941 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2942 __wcslen_sse2 and __wcsnlen_avx2.
2943 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2944 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2945 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2946 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2947 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2948 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2949 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2950 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2951 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2952 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2953 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2954 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2955 vzeroupper is preferred and AVX unaligned load is fast.
2956
2957 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
2960 USE_AS_WMEMCHR is defined.
2961 (PCMPEQ): Likewise.
2962 (memchr): Renamed to ...
2963 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
2964 Replace pcmpeqb with PCMPEQ.
2965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2966 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2967 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2968 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2969 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2970 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2971 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2972 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2973 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2974 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2975 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2976 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2977 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2979 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2980 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2981 __wmemchr_sse2.
2982
2983 2017-06-09 Florian Weimer <fweimer@redhat.com>
2984
2985 * malloc/Makefile (test-srcs): Remove tst-dynarray,
2986 tst-dynarray-fail.
2987
2988 2017-06-09 Florian Weimer <fweimer@redhat.com>
2989
2990 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2991 * support/support_test_verify_impl.c
2992 (support_test_verify_exit_impl): Split from
2993 support_test_verify_impl.
2994 * support/check.h (TEST_VERIFY): Drop status argument from
2995 support_test_verify_impl call.
2996 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2997 (support_test_verify_impl): Remove status argument.
2998 (support_test_verify_exit_impl): Declare.
2999
3000 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3001
3002 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3003 mention of magic numbers in comments.
3004 (_dl_procinfo): Fix undefined behavior
3005
3006 2017-06-08 Joseph Myers <joseph@codesourcery.com>
3007
3008 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3009 [XPG4].
3010 (WEXITED): Likewise.
3011 (WSTOPPED): Likewise.
3012 (WCONTINUED): Likewise.
3013 (WNOHANG): Likewise.
3014 (WNOWAIT): Likewise.
3015 (idtype_t): Likewise.
3016 (P_ALL): Likewise.
3017 (P_PID): Likewise.
3018 (P_PGID): Likewise.
3019 (id_t): Likewise.
3020 (siginfo_t): Likewise.
3021 (wait3): Likewise.
3022 (waitid): Likewise.
3023 (signal.h): Do not allow header for [XPG4].
3024 (sys/resource.h): Likewise.
3025 (si_*): Do not allow for [XPG4].
3026 (W*): Likewise.
3027 (P_*): Likewise.
3028 (BUS_): Likewise.
3029 (CLD_): Likewise.
3030 (FPE_): Likewise.
3031 (ILL_): Likewise.
3032 (POLL_): Likewise.
3033 (SEGV_): Likewise.
3034 (SI_): Likewise.
3035 (TRAP_): Likewise.
3036 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3037 variable.
3038
3039 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3040
3041 [BZ #21528]
3042 * elf/dl-minimal.c (__strtoul_internal): Removed.
3043 (strtoul): Likewise.
3044 * elf/dl-misc.c (_dl_strtoul): New function.
3045 * elf/dl-tunables.c (tunables_strtoul): Removed.
3046 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3047 * elf/rtld.c (process_envvars): Likewise.
3048 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3049 Likewise.
3050 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3051
3052 2017-06-08 Zack Weinberg <zackw@panix.com>
3053
3054 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3055 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3056 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3057 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3058 between wctype.h and wchar.h.
3059
3060 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3061 Install them.
3062
3063 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3064 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3065 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3066 New wrappers.
3067 * include/stdio.h, include/wchar.h, include/wctype.h:
3068 No need to handle __need macros.
3069
3070 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3071 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3072 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3073 * wcsmbs/wchar.h, wctype/wctype.h
3074 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3075 Use the new files instead of __need macros.
3076
3077 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3078
3079 * string/test-memrchr.c (test_main): Add tests for len == 0
3080 and tests for positions close to the beginning, which are
3081 equivalent to positions close to the end for memchr.
3082
3083 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3084
3085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3086 comments.
3087 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3088 instead of wmemset.h.
3089 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3090 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3091 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3092
3093 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3094
3095 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3096 spec->info.is_binary128 to zero.
3097 * stdio-common/printf.h (printf_info): Add new member is_binary128
3098 to indicate that the number being converted to string is compatible
3099 with the IEC 60559 binary128 format.
3100 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3101 _Float128 numbers.
3102 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3103 ldbl-128/printf_fphex_macros.h
3104 (__printf_fphex): Add code to deal with _Float128 numbers.
3105 * stdio-common/printf_size.c (__printf_size): Likewise.
3106 * stdio-common/vfprintf.c (process_arg): Initialize member
3107 info.is_binary128 to zero.
3108 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3109 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3110 (strfromf128): New declaration.
3111 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3112 to one.
3113 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3114 * sysdeps/ieee754/float128/Versions: Likewise.
3115 * sysdeps/ieee754/float128/strfromf128.c: New file.
3116
3117 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3118
3119 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3120 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3121 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3122 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3123 (PRINT_FPHEX): New function-like macro that can be used for long
3124 double, as well as for _Float128
3125
3126 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3127
3128 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3129 (__printf_fp_l): Use the new macro to avoid duplicating code.
3130 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3131 (__printf_fphex): Use the new macro to avoid duplicating code.
3132 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3133 (__printf_size): Use the new macro to avoid duplicating code.
3134
3135 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3136
3137 * include/gmp.h: Include bits/floatn.h
3138 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3139 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3140 including stack-alloc.h. It could have been defined by other header
3141 which not necessarily defines HAVE_ALLOCA.
3142 * sysdeps/ieee754/float128/Makefile: New file.
3143 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3144 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3145 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3146 redefine __mpn_extract_long_double to __mpn_extract_float128.
3147 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3148 _Float128 to allow float128_private.h overrides.
3149
3150 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3151
3152 * stdlib/fpioconst.h: Include bits/floatn.h.
3153 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3154 power of ten table should be.
3155 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3156 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3157 to include larger tables when _Float128 support is enabled.
3158 (_fpioconst_pow10): Likewise.
3159
3160 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3161
3162 * include/bits/types/clock_t.h: Use #include <path> instead of
3163 #include "../../path".
3164 * include/bits/types/clockid_t.h: Likewise.
3165 * include/bits/types/struct_iovec.h: Likewise.
3166 * include/bits/types/struct_itimerspec.h: Likewise.
3167 * include/bits/types/struct_osockaddr.h: Likewise.
3168 * include/bits/types/struct_sigstack.h: Likewise.
3169 * include/bits/types/struct_timespec.h: Likewise.
3170 * include/bits/types/struct_timeval.h: Likewise.
3171 * include/bits/types/struct_tm.h: Likewise.
3172 * include/bits/types/time_t.h: Likewise.
3173 * include/bits/types/timer_t.h: Likewise.
3174
3175 [BZ #14096]
3176 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3177 America/New_York.
3178
3179 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3180
3181 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3182 into ...
3183 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3184 ifunc-sse4_1.h.
3185
3186 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3187
3188 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3189 Remove check for NULL 'buf'.
3190 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3191
3192 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3193
3194 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3195 include test-skeleton.c.
3196 Include support/check.h and support/test-driver.c.
3197
3198 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3199
3200 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3201 (_dl_aarch64_cap_flags): New array.
3202 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3203 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3204 functions.
3205
3206 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3207 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3208 Likewise.
3209 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3210 up hwcap and hwcap_mask.
3211
3212 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3213 (init_cpu_features): Use glibc.tune.hwcap_mask.
3214 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3215
3216 * elf/dl-hwcaps.h: New file.
3217 * elf/dl-hwcaps.c: Include it.
3218 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3219 glibc.tune.hwcap_mask.
3220 * elf/dl-cache.c: Include dl-hwcaps.h.
3221 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3222 glibc.tune.hwcap_mask.
3223 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3224 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3225 _dl_hwcap_mask.
3226 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3227 _dl_hwcap_mask.
3228 (process_envvars)[HAVE_TUNABLES]: Likewise.
3229 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3230 Likewise.
3231 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3232 initialize dl_hwcap_mask when tunables are enabled.
3233
3234 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3235 guard.
3236 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3237
3238 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3239 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3240 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3241
3242 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3243 * elf/dl-tunables.c: Likewise.
3244 (do_tunable_update_val): New function.
3245 (__tunable_set_val): New function.
3246 (__tunable_get_val): Call CB only if the tunable was externally
3247 initialized.
3248 (tunables_strtoul): Replace strval with initialized.
3249 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3250 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3251 prevent collision.
3252 (__tunable_set_val): New function.
3253 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3254 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3255 (TUNABLE_SET_VAL): Remove.
3256 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3257 * README.tunables: Document the new macros.
3258 * malloc/arena.c (ptmalloc_init): Adjust.
3259
3260 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3261
3262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3263 wcsnlen-sse4_1 and wcsnlen-c.
3264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3265 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3266 __wcsnlen_sse2.
3267 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3268 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3269 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3270 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3271 * sysdeps/x86_64/wcsnlen.S: Removed.
3272
3273 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3274
3275 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3276 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3277 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3278 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3279
3280 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3281
3282 * NEWS: Mention new spinlock implementation.
3283 * include/atomic.h:
3284 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3285 (atomic_exchange_acq): Likewise.
3286 (atomic_load_relaxed): Likewise.
3287 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3288 * nptl/pthread_spin_init.c (pthread_spin_init):
3289 Use atomic_store_relaxed.
3290 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3291 Use C11-like atomic macros.
3292 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3293 Likewise.
3294 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3295 Use atomic_store_release.
3296 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3297 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3298 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3299 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3300 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3301 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3302 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3303 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3304 * sysdeps/alpha/atomic-machine.h: Likewise.
3305 * sysdeps/arm/atomic-machine.h: Likewise.
3306 * sysdeps/i386/atomic-machine.h: Likewise.
3307 * sysdeps/ia64/atomic-machine.h: Likewise.
3308 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3309 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3310 * sysdeps/microblaze/atomic-machine.h: Likewise.
3311 * sysdeps/mips/atomic-machine.h: Likewise.
3312 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3313 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3314 * sysdeps/s390/atomic-machine.h: Likewise.
3315 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3316 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3317 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3318 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3319 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3320 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3321 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3322 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3323 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3324 * sysdeps/x86_64/atomic-machine.h: Likewise.
3325
3326 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3327
3328 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3329 and use it instead of dl_x86_cpu_features.
3330 (handle_intel): Replace maxidx with cpu_features. Pass
3331 cpu_features to intel_check_word.
3332 (__cache_sysconf): Pass cpu_features to handle_intel.
3333 (init_cacheinfo): Likewise. Use cpu_features instead of
3334 dl_x86_cpu_features.
3335
3336 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3340 memcmp-avx2 and wmemcmp-avx2.
3341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3342 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3343 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3344 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3345 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3346 2 machines if AVX unaligned load is fast and vzeroupper is
3347 preferred.
3348 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3349 2 machines if AVX unaligned load is fast and vzeroupper is
3350 preferred.
3351
3352 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3353
3354 * include/wchar.h (__wmemset_chk): New.
3355 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3356 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3357 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3358 (WMEMSET_CHK_SYMBOL): Likewise.
3359 (WMEMSET_SYMBOL): Likewise.
3360 (__wmemset): Add hidden definition.
3361 (wmemset): Add weak hidden definition.
3362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3363 wmemset_chk-nonshared.
3364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3365 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3366 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3367 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3368 and __wmemset_chk_avx512_unaligned.
3369 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3370 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3371 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3372 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3373 (WMEMSET_SYMBOL): Likewise.
3374 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3375 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3376 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3377 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3378 (WMEMSET_SYMBOL): Likewise.
3379 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3380 (WMEMSET_CHK_SYMBOL): New.
3381 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3382 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3383 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3384 (libc_hidden_builtin_def): Also define __GI_wmemset and
3385 __GI___wmemset.
3386 (weak_alias): New.
3387 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3388 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3389 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3390 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3391 * sysdeps/x86_64/wmemset.c: Likewise.
3392 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3393
3394 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3395 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 * sysdeps/x86/init-arch.h (PASTER1): New.
3398 (EVALUATOR1): Likewise.
3399 (PASTER2): Likewise.
3400 (EVALUATOR2): Likewise.
3401 (REDIRECT_NAME): Likewise.
3402 (OPTIMIZE): Likewise.
3403 (IFUNC_SELECTOR): Likewise.
3404
3405 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * sysdeps/x86_64/strlen.S (PMINU): New.
3408 (PCMPEQ): Likewise.
3409 (SHIFT_RETURN): Likewise.
3410 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3411 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3412 pminub with PCMPEQ and PMINU.
3413 * sysdeps/x86_64/wcsnlen.S: New file.
3414
3415 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3416
3417 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3418 the lower 32 bits. Remove redundant instructions.
3419
3420 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3423 0 as the high part of offset.
3424 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3425
3426 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3427
3428 [BZ #21538]
3429 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3430 [__USE_UNIX98].
3431 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3432 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3433 Likewise.
3434 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3435 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3436 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3437 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3438 Likewise.
3439
3440 [BZ #21517]
3441 * bits/types/stack_t.h (stack_t): Remove struct tag.
3442 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3443 Likewise.
3444 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3445 Likewise.
3446 * debug/segfault.c (install_handler): Use stack_t instead of
3447 struct sigaltstack.
3448 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3449 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3450 * include/signal.h (__sigaltstack): Likwise.
3451 * signal/sigaltstack.c (__sigaltstack): Likewise.
3452 * signal/signal.h (sigaltstack): Likewise.
3453 * sysdeps/mach/hurd/i386/signal-defines.sym
3454 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3455 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3456 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3457 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3458 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3459 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3460 elf_prstatus): Likewise.
3461 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3462 Likewise.
3463 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3464 Likewise.
3465 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3466 Likewise.
3467 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3468 elf_prstatus): Likewise.
3469 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3470 Likewise.
3471 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3472 Likewise.
3473
3474 2017-06-04 Zack Weinberg <zackw@panix.com>
3475
3476 * sysdeps/gnu/errlist.c: Regenerate.
3477
3478 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * benchtests/bench-memchr.c (do_test): Print out both length
3481 and position.
3482 (test_main): Also test the position close to the beginning for
3483 memrchr.
3484
3485 2017-06-04 Zack Weinberg <zackw@panix.com>
3486
3487 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3488 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3489 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3490 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3491 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3492 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3493 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3494 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3495 * nis/nis_print_group_entry.c, nis/nis_remove.c
3496 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3497 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3498 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3499 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3500 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3501 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3502 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3503 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3504 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3505 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3506 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3507 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3508 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3509 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3510 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3511 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3512 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3513 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3514 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3515 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3516
3517 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3518 abi-versions.h as well as shlib-compat.h.
3519 * sunrpc/get_myaddr.c: Remove obsolete comment.
3520 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3521 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3522 * resolv/res_libc.c: Include shlib-compat.h only once.
3523
3524 2017-06-03 Florian Weimer <fweimer@redhat.com>
3525
3526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3527 of strdup.
3528
3529 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3530
3531 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3532 Set to the 3/4 of the total shared cache size.
3533
3534 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3535
3536 * manual/errno.texi: Remove redundant error strings.
3537 * manual/macros.texi (@errno): Render the error string in every
3538 description.
3539
3540 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3541
3542 [BZ #21543]
3543 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3544 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3545 [__USE_XOPEN_EXTENDED].
3546
3547 2017-06-02 Florian Weimer <fweimer@redhat.com>
3548
3549 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3550 strdupa.
3551 (getcanonname): Use __strdup instead of strdup.
3552
3553 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3554
3555 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3556 (CFLAGS-preadv64v2.c): Likewise.
3557 (CFLAGS-pwritev2.c): Likewise.
3558 (CFLAGS-pwritev64v2.c): Likewise.
3559
3560 2017-06-02 Florian Weimer <fweimer@redhat.com>
3561
3562 Test res_init with several configuration files.
3563 * resolv/Makefile [build-shared] (tests-internal): Add
3564 tst-resolv-res_init, tst-resolv-res_init-thread.
3565 (tst-resolv-res_init): Link against libdl, libresolv.
3566 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3567 libpthread.
3568 * resolv/tst-resolv-res_init.c: New file.
3569 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3570 * resolv/tst-resolv-res_init-thread.c: Likewise.
3571 * support/Makefile (libsupport-routines): Add support-xstat,
3572 support_can_chroot, support_capture_subprocess_check,
3573 support_isolate_in_subprocess, support_shared_allocate,
3574 support_write_file_string, xchroot, xmkdir, xopen.
3575 * support/capture_subprocess.h (enum support_capture_allow): Define.
3576 (support_capture_subprocess_check): Declare.
3577 * support/namespace.h (support_can_chroot)
3578 (support_isolate_in_subprocess): Declare.
3579 * support/support-xstat.c: New file.
3580 * support/support.h (support_shared_allocate, support_shared_free)
3581 (support_write_file_string): Declare.
3582 * support/support_can_chroot.c: New file.
3583 * support/support_capture_subprocess_check.c: Likewise.
3584 * support/support_isolate_in_subprocess.c: Likewise.
3585 * support/support_shared_allocate.c: Likewise.
3586 * support/support_write_file_string.c: Likewise.
3587 * support/xchroot.c: Likwise.
3588 * support/xmkdir.c: Likwise.
3589 * support/xopen.c: Likwise.
3590 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3591
3592 2017-06-02 Florian Weimer <fweimer@redhat.com>
3593
3594 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3595 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3596
3597 2017-06-02 Florian Weimer <fweimer@redhat.com>
3598
3599 * malloc/Makefile (routines): Add dynarray_at_failure,
3600 dynarray_emplace_enlarge, dynarray_finalize.
3601 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3602 tst-dynarray-at-fail.
3603 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3604 (tests-special): Add tst-dynarray-mem.out,
3605 tst-dynarray-mem-fail.out.
3606 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3607 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3608 mtrace.
3609 * malloc/Versions (__libc_dynarray_at_failure)
3610 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3611 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3612 GLIBC_PRIVATE.
3613 * malloc/dynarray.h: New file.
3614 * malloc/dynarray-skeleton.c: Likewise.
3615 * malloc/dynarray_at_failure.c: Likewise.
3616 * malloc/dynarray_emplace_enlarge.c: Likewise.
3617 * malloc/dynarray_finalize.c: Likewise.
3618 * malloc/dynarray_resize.c: Likewise.
3619 * malloc/dynarray_resize_clear.c: Likewise.
3620 * malloc/tst-dynarray.c: Likewise.
3621 * malloc/tst-dynarray-fail.c: Likewise.
3622 * malloc/tst-dynarray-at-fail.c: Likewise.
3623 * malloc/tst-dynarray-shared.h: Likewise.
3624 * support/Makefile (libsupport-routines): Add
3625 support_capture_subprocess, xdup2, xpipe.
3626 (tests): Add tst-support_capture_subprocess.
3627 * support/capture_subprocess.h: New file.
3628 * support/support_capture_subprocess.c: Likewise.
3629 * support/tst-support_capture_subprocess.c: Likewise.
3630 * support/xdup2.c: Likewise.
3631 * support/xpipe.c: Likewise.
3632 * support/xunistd.h (xdup2, xpipe): Declare.
3633
3634 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3635
3636 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3637 macros MAX and MIN.
3638
3639 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3640
3641 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3642 [XPG4].
3643 (SA_SIGINFO): Likewise.
3644 (SA_ONSTACK): Likewise.
3645 (SA_RESETHAND): Likewise.
3646 (SA_RESTART): Likewise.
3647 (SA_NOCLDWAIT): Likewise.
3648 (SA_NODEFER): Likewise.
3649 (SS_ONSTACK): Likewise.
3650 (SS_DISABLE): Likewise.
3651 (MINSIGSTKSZ): Likewise.
3652 (SIGSTKSZ): Likewise.
3653 (ucontext_t): Likewise.
3654 (stack_t): Likewise.
3655 (struct sigstack): Likewise.
3656 (SI_USER): Do not expect for [XPG4 || XPG42].
3657 (SI_QUEUE): Likewise.
3658 (SI_TIMER): Likewise.
3659 (SI_ASYNCIO): Likewise.
3660 (SI_MESGQ): Likewise.
3661 (bsd_signal): Do not expect for [XPG4].
3662 (killpg): Likewise.
3663 (sigaltstack): Likewise.
3664 (sighold): Likewise.
3665 (sigignore): Likewise.
3666 (siginterrupt): Likewise.
3667 (sigpause): Likewise.
3668 (sigrelse): Likewise.
3669 (sigset): Likewise.
3670 (sigwait): Do not expect for [XPG4 || XPG42].
3671
3672 2017-06-01 Zack Weinberg <zackw@panix.com>
3673
3674 [BZ #21514]
3675 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3676 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3677
3678 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3679
3680 [BZ #21457]
3681 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3682 NGREG to __NGREG if [__USE_MISC].
3683 (gregset_t): Define using __NGREG.
3684 (__ctx): New macro.
3685 (mcontext_t): Use __ctx in defining fields.
3686 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3687 define NGREG to __NGREG if [__USE_MISC].
3688 (gregset_t): Define using __NGREG.
3689 (__ctx): New macro.
3690 (__ctxt): Likewise.
3691 (fpregset_t): Use __ctx and __ctxt in defining fields.
3692 (mcontext_t): Likewise.
3693 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3694 define NGREG to __NGREG if [__USE_MISC].
3695 (gregset_t): Define using __NGREG.
3696 (__ctx): New macro.
3697 (mcontext_t): Use __ctx in defining fields.
3698 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3699 define NGREG to __NGREG if [__USE_MISC].
3700 (gregset_t): Define using __NGREG.
3701 (__ctx): New macro.
3702 (fpregset_t): Use __ctx in defining fields.
3703 (mcontext_t): Likewise.
3704 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3705 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3706 (gregset_t): Define using __NGREG.
3707 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3708 [__USE_MISC].
3709 (fpregset_t): Define using __NFPREG.
3710 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3711 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3712 (gregset_t): Define using __NGREG.
3713 (__ctx): New macro.
3714 (fpregset_t): Use __ctx in defining fields.
3715 (mcontext_t): Likewise.
3716 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3717 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3718 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3719 [__USE_MISC].
3720 (gregset_t): Define using __NGREG.
3721 (__ctx): New macro.
3722 (fpregset_t): Use __ctx in defining fields.
3723 (mcontext_t): Likewise.
3724 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3725 (mcontext_t): Use __ctx in defining fields.
3726 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3727 macro.
3728 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3729 __NGREG if [__USE_MISC].
3730 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3731 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3732 (mcontext_t): Likewise.
3733 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3734 __NGREG if [__USE_MISC].
3735 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3736 to __NFPREG if [__USE_MISC].
3737 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3738 to __NVRREG if [__USE_MISC].
3739 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3740 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3741 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3742 [__WORDSIZE != 32] (vrregset_t): Likewise.
3743 [__WORDSIZE != 32] (mcontext_t): Likewise.
3744 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3745 (__psw_t): Use __ctx in defining fields.
3746 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3747 [__USE_MISC].
3748 (gregset_t): Define using __NGREG.
3749 (fpreg_t): Use __ctx in defining fields.
3750 (fpregset_t): Likewise.
3751 (mcontext_t): Likewise.
3752 * sysdeps/unix/sysv/linux/sh/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 (__ctx): New macro.
3759 (mcontext_t): Use __ctx in defining fields.
3760 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3761 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3762 __NGREG if [__USE_MISC].
3763 [__x86_64__] (gregset_t): Define using __NGREG.
3764 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3765 [__x86_64__] (struct _libc_fpstate): Likewise.
3766 [__x86_64__] (mcontext_t): Likewise.
3767 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3768 __NGREG if [__USE_MISC].
3769 [!__x86_64__] (gregset_t): Define using __NGREG.
3770 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3771 [!__x86_64__] (struct _libc_fpstate): Likewise.
3772 [!__x86_64__] (mcontext_t): Likewise.
3773
3774 2017-06-01 Zack Weinberg <zackw@panix.com>
3775
3776 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3777 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3778 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3779 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3780 libpthread.so no longer references __errno_location.
3781
3782 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3783
3784 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3785 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3786 pwritev64v2.
3787 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3788 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3789 pwritev64v2.
3790 * misc/preadv2.c: New file.
3791 * misc/preadv64v2.c: Likewise.
3792 * misc/pwritev2.c: Likewise.
3793 * misc/pwritev64v2.c: Likewise.
3794 * misc/tst-preadvwritev2.c: Likewise.
3795 * misc/tst-preadvwritev64v2.c: Likewise.
3796 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3797 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3798 prototype.
3799 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3800 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3801 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3802 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3803 (PWRITEV): Likewise.
3804 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3805 ENOSYS.
3806 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3807 (tf_preadv2): Likewise.
3808 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3809 * sysdeps/posix/preadv2.c: Likewise.
3810 * sysdeps/posix/preadv64v2.c: Likewise.
3811 * sysdeps/posix/pwritev2.c: Likewise.
3812 * sysdeps/posix/pwritev64v2.c: Likewise.
3813 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3814 support in kernel.
3815 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3816 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3817 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3818 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3819 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3820 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3821 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3822 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3823 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3824 support flags on Linux.
3825 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3826 preadv2, preadv64v2, pwritev2, pwritev64v2.
3827 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3828 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3829 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3830 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3831 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3832 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3833 Likewise.
3834 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3835 Likewise.
3836 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3837 Likewise.
3838 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3839 Likewise.
3840 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3841 Likewise.
3842 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3843 Likewise.
3844 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3845 Likewise.
3846 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3848 (GLIBC_2.26): Likewise.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3850 (GLIBC_2.26): Likewise.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3852 Likewise.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3854 (GLIBC_2.26): Likewise.
3855 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3856 Likewise.
3857 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3858 Likewise.
3859 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3860 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3861 Likewise.
3862 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3863 Likewise.
3864 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3865 Likewise.
3866 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3867 Likewise.
3868 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3869 Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3871 Likewise.
3872 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3873 Likewise.
3874
3875 2017-05-31 Andreas Schwab <schwab@suse.de>
3876
3877 * nptl/tst-fork3.c: Include <support/test-driver.c>.
3878 (main): Rename to do_test and make static.
3879
3880 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3881
3882 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3883 ARCH_INIT_CPU_FEATURES.
3884 (LIBC_START_MAIN): Call it.
3885 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3886 (__libc_start_main): Remove.
3887 (ARCH_INIT_CPU_FEATURES): New macro.
3888 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3889 (ARCH_INIT_CPU_FEATURES): New macro.
3890
3891 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
3892 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3893
3894 * include/stdlib.h (__libc_reallocarray): New declaration.
3895 * malloc/Makefile (routines): Add reallocarray.
3896 (tests): Add tst-reallocarray.c.
3897 * malloc/Versions: Add reallocarray and __libc_reallocarray.
3898 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3899 function.
3900 * malloc/malloc.h (reallocarray): New declaration.
3901 * stdlib/stdlib.h (reallocarray): Likewise.
3902 * malloc/reallocarray.c: New file.
3903 * malloc/tst-reallocarray.c: New test file.
3904 * manual/memory.texi: Document reallocarray.
3905 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3906 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3907 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3908 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3909 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3910 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3911 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3912 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3913 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3914 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3915 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3916 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3918 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3920 Likewise.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3922 Likewise.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3925 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3926 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3927 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3928 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3929 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3932 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3933 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3934 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3935
3936 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
3937
3938 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3939 the lower 32 bits.
3940
3941 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
3942
3943 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3944 $(build-pie-default) = yes]: Define.
3945
3946 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3947
3948 * string/test-memchr.c (test_main): Add tests for n == 0.
3949
3950 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3951
3952 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3953 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3954 (tests-internal): ... here.
3955
3956 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3957 H.J. Lu <hongjiu.lu@intel.com>
3958
3959 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3960 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3961 (__tunable_set_val): Likewise.
3962
3963 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3964
3965 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3966 dl-tunables.list in subdirectories.
3967
3968 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3969 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3970 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3971
3972 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3973 (SNANF128): New macro.
3974 * math/e_sqrtf128.c: New file.
3975 * math/s_fmaxmag_template.c: Include math_private.h in order to
3976 make inline expansion of fabs128().
3977 * math/s_fminmag_template.c: Likewise.
3978
3979 * sysdeps/ieee754/float128/e_acosf128.c: New file.
3980 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3981 * sysdeps/ieee754/float128/e_asinf128.c: New file.
3982 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3983 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3984 * sysdeps/ieee754/float128/e_coshf128.c: New file.
3985 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3986 * sysdeps/ieee754/float128/e_expf128.c: New file.
3987 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3988 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3989 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3990 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3991 * sysdeps/ieee754/float128/e_j0f128.c: New file.
3992 * sysdeps/ieee754/float128/e_j1f128.c: New file.
3993 * sysdeps/ieee754/float128/e_jnf128.c: New file.
3994 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3995 * sysdeps/ieee754/float128/e_log10f128.c: New file.
3996 * sysdeps/ieee754/float128/e_log2f128.c: New file.
3997 * sysdeps/ieee754/float128/e_logf128.c: New file.
3998 * sysdeps/ieee754/float128/e_powf128.c: New file.
3999 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4000 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4001 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4002 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4003 * sysdeps/ieee754/float128/float128_private.h: New file.
4004 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4005 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4006 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4007 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4008 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4009 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4010 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4011 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4012 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4013 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4014 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4015 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4016 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4017 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4018 * sysdeps/ieee754/float128/s_erff128.c: New file.
4019 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4020 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4021 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4022 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4023 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4024 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4025 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4026 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4027 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4028 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4029 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4030 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4031 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4032 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4033 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4034 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4035 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4036 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4037 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4038 * sysdeps/ieee754/float128/s_modff128.c: New file.
4039 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4040 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4041 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4042 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4043 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4044 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4045 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4046 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4047 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4048 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4049 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4050 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4051 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4052 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4053 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4054 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4055 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4056 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4057 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4058 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4059 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4060 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4061 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4062 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4063 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4064
4065 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4066 (__iscanonicalf128): Define as a macro.
4067
4068 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4069
4070 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4071 (memmove): Use MEMMOVE for name.
4072 (memcpy): Use MEMCPY for name. Change internal labels
4073 to external labels.
4074 * sysdeps/aarch64/multiarch/Makefile: New file.
4075 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4076 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4077 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4078 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4079 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4080 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4081
4082 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4083
4084 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4085 (_dl_arm_cap_flags): Fix array subscript.
4086 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4087 Fix count.
4088
4089 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4090
4091 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4092
4093 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4094
4095 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4096 (is_amd): Likewise.
4097 (max_cpuid): Likewise.
4098 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4099 (init_cacheinfo): Likewise.
4100
4101 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4102
4103 [BZ #21511]
4104 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4105 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4106 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4107 !__USE_XOPEN2K) || __USE_MISC].
4108 * conform/data/signal.h-data (struct sigstack): Expect type only
4109 if [!XOPEN2K8 && !POSIX2008].
4110 (sigstack): Expect function only if [XPG42 || UNIX98].
4111
4112 [BZ #21457]
4113 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4114 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4115 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4116 <bits/types/__sigset_t.h>.
4117 (ucontext_t): Use sigset_t instead of __sigset_t.
4118 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4119 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4120 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4121 <bits/types/__sigset_t.h>.
4122 (ucontext_t): Use sigset_t instead of __sigset_t.
4123 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4124 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4125 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4126 <bits/types/__sigset_t.h>.
4127 (ucontext_t): Use sigset_t instead of __sigset_t.
4128 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4129 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4130 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4131 <bits/types/__sigset_t.h>.
4132 (ucontext_t): Use sigset_t instead of __sigset_t.
4133 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4134 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4135 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4136 <bits/types/__sigset_t.h>.
4137 (ucontext_t): Use sigset_t instead of __sigset_t.
4138 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4139 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4140 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4141 <bits/types/__sigset_t.h>.
4142 (ucontext_t): Use sigset_t instead of __sigset_t.
4143 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4144 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4145 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4146 <bits/types/__sigset_t.h>.
4147 (ucontext_t): Use sigset_t instead of __sigset_t.
4148 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4149 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4150 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4151 <bits/types/__sigset_t.h>.
4152 (ucontext_t): Use sigset_t instead of __sigset_t.
4153 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4154 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4155 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4156 <bits/types/__sigset_t.h>.
4157 (ucontext_t): Use sigset_t instead of __sigset_t.
4158 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4159 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4160 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4161 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4162 <signal.h>, <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/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4167 <signal.h>, <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/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4172 <signal.h>, <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/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4177 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4178 <bits/ss_flags.h>.
4179 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4180 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4181 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4182 <bits/types/__sigset_t.h>.
4183 (ucontext_t): Use sigset_t instead of __sigset_t.
4184 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4185 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4186 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4187 <bits/types/__sigset_t.h>.
4188 (ucontext_t): Use sigset_t instead of __sigset_t.
4189 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4190 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4191 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4192 <bits/types/__sigset_t.h>.
4193 (ucontext_t): Use sigset_t instead of __sigset_t.
4194 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4195 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4196 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4197 <bits/types/__sigset_t.h>.
4198 (ucontext_t): Use sigset_t instead of __sigset_t.
4199 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4200 <bits/types.h>.
4201 * sysdeps/unix/sysv/linux/x86/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
4207 2017-05-22 Zack Weinberg <zackw@panix.com>
4208
4209 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4210 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4211 bits/siginfo-arch.h, only if not already defined.
4212 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4213 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4214 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4215 Likewise.
4216
4217 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4218 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4219 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4220 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4221 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4222 Unconditionally define __SI_* macros.
4223
4224 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4225
4226 [BZ #21393]
4227 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4228 and add a check for dup3 failure.
4229 * libio/freopen64.c (freopen64): Likewise.
4230 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4231 libsupport.
4232 (do_test_bz21398): New test.
4233 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4234
4235 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4236
4237 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4238 Remove invalid comment.
4239
4240 2017-05-21 Zack Weinberg <zackw@panix.com>
4241
4242 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4243
4244 2017-05-20 Zack Weinberg <zackw@panix.com>
4245
4246 * bits/sigevent-consts.h
4247 * bits/siginfo-consts.h
4248 * bits/types/__sigset_t.h
4249 * bits/types/sigevent_t.h
4250 * bits/types/siginfo_t.h
4251 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4252 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4253 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4254 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4255 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4256 New system-dependent bits headers.
4257
4258 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4259 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4260 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4261 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4262 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4264 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4265 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4266 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4267 New Linux-only system-dependent bits headers.
4268
4269 * signal/bits/types/sig_atomic_t.h
4270 * signal/bits/types/sigset_t.h
4271 * signal/bits/types/sigval_t.h:
4272 New non-system-dependent bits headers.
4273
4274 * sysdeps/generic/sigsetops.h
4275 * sysdeps/unix/sysv/linux/sigsetops.h:
4276 New internal headers.
4277
4278 * include/bits/types/sig_atomic_t.h
4279 * include/bits/types/sigset_t.h
4280 * include/bits/types/sigval_t.h:
4281 New wrappers.
4282
4283 * signal/sigsetops.h
4284 * bits/siginfo.h
4285 * bits/sigset.h
4286 * sysdeps/unix/sysv/linux/bits/siginfo.h
4287 * sysdeps/unix/sysv/linux/bits/sigset.h
4288 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4289 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4292 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4293 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4294 Deleted.
4295
4296 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4297 Update lists of installed headers.
4298
4299 * posix/bits/types.h: Define __sig_atomic_t here.
4300 * signal/signal.h: Use the new bits headers; no need to handle
4301 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4302 to define sigmask.
4303 * include/signal.h: No need to handle __need_sig_atomic_t
4304 nor __need_sigset_t. Don't define __sigemptyset.
4305
4306 * io/sys/poll.h, setjmp/setjmp.h
4307 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4308 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4309 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4310 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4311 * sysdeps/pthread/bits/sigthread.h
4312 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4313 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4314 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4315 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4316 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4317 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4318 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4319 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4320 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4321 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4322 Use bits/types/__sigset_t.h.
4323
4324 * misc/sys/select.h, posix/spawn.h
4325 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4326 * sysdeps/unix/sysv/linux/sys/epoll.h
4327 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4328 Use bits/types/sigset_t.h.
4329
4330 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4331 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4332 * socket/sys/socket.h: Don't include bits/sigset.h.
4333
4334 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4335 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4336 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4337 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4338 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4339 * sysdeps/unix/sysv/linux/nptl-signals.h:
4340 Include sigsetops.h.
4341
4342 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4343 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4344 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4345 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4346 now return no value.
4347
4348 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4349 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4350 "sigsetops.h".
4351
4352 * signal/sigsetops.c: Explicitly define __sigismember,
4353 __sigaddset, and __sigdelset as compatibility symbols.
4354
4355 * signal/Versions: Correct commentary on __sigpause,
4356 __sigaddset, __sigdelset, __sigismember.
4357
4358 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4359 __sigblock/__sigsetmask to use __sigprocmask and friends.
4360
4361 * resolv/resolv.h: Remove __need_res_state logic.
4362 Move definition of res_state and related constants to ...
4363 * resolv/bits/types/res_state.h: ...this new file.
4364 * resolv/Makefile: Install bits/types/res_state.h.
4365 * include/bits/types/res_state.h: New wrapper.
4366 * include/list.h: Remove __need_list_t logic.
4367 Move definition of list_t to ...
4368 * include/list_t.h: ...this new file.
4369
4370 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4371 instead of list.h and resolv.h.
4372
4373 * resolv/resolv.h: Remove __need_res_state logic.
4374 Move definition of res_state and related constants to ...
4375 * resolv/bits/types/res_state.h: ...this new file.
4376 * resolv/Makefile: Install bits/types/res_state.h.
4377 * include/bits/types/res_state.h: New wrapper.
4378 * include/list.h: Remove __need_list_t logic.
4379 Move definition of list_t to ...
4380 * include/list_t.h: ...this new file.
4381
4382 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4383 instead of list.h and resolv.h.
4384
4385 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4388
4389 2017-05-20 Zack Weinberg <zackw@panix.com>
4390
4391 * sysdeps/arm/sysdep.h
4392 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4393
4394 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4395 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4396 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4397 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4398 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4399 * sysdeps/arm/armv6t2/strlen.S
4400 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4401 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4402 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4403 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4404 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4405 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4406
4407 2017-05-20 Zack Weinberg <zackw@panix.com>
4408
4409 Remove the NaCl port.
4410 * sysdeps/arm/nacl: Remove directory and contents.
4411 * sysdeps/nacl: Remove directory and contents.
4412 * abi-tags: Remove .*-.*-nacl.* entry.
4413
4414 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4415
4416 * manual/errno.texi: Convert @comment-based errno documentation to
4417 @errno.
4418 * manual/macros.texi (@errno): New macro. Consolidate errors,
4419 their values, and messages, adding the error string to the Concept
4420 Index. Provide a warning in the comment about external (to the
4421 manual) dependencies.
4422 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4423 * sysdeps/mach/hurd/errnos.awk: Likewise.
4424
4425 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4426
4427 * bits/ss_flags.h: New file.
4428 * bits/types/stack_t.h: Likewise.
4429 * include/bits/types/struct_sigstack.h: Likewise.
4430 * signal/bits/types/struct_sigstack.h: Likewise.
4431 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4432 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4433 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4434 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4435 bits/types/stack_t.h and bits/ss_flags.h.
4436 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4437 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4438 <bits/ss_flags.h>.
4439 * bits/sigstack.h (struct sigstack): Remove.
4440 (stack_t): Likewise.
4441 (SS_ONSTACK): Likewise.
4442 (SS_DISABLE): Likewise.
4443 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4444 (struct sigstack): Likewise.
4445 (stack_t): Likewise.
4446 (SS_ONSTACK): Likewise.
4447 (SS_DISABLE): Likewise.
4448 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4449 Likewise.
4450 (stack_t): Likewise.
4451 (SS_ONSTACK): Likewise.
4452 (SS_DISABLE): Likewise.
4453 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4454 Likewise.
4455 (stack_t): Likewise.
4456 (SS_ONSTACK): Likewise.
4457 (SS_DISABLE): Likewise.
4458 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4459 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4460 Likewise.
4461 (stack_t): Likewise.
4462 (SS_ONSTACK): Likewise.
4463 (SS_DISABLE): Likewise.
4464 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4465 (struct sigstack): Likewise.
4466 (stack_t): Likewise.
4467 (SS_ONSTACK): Likewise.
4468 (SS_DISABLE): Likewise.
4469 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4470 Likewise.
4471 (stack_t): Likewise.
4472 (SS_ONSTACK): Likewise.
4473 (SS_DISABLE): Likewise.
4474 * sysdeps/arm/sys/ucontext.h: Include
4475 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4476 <bits/ss_flags.h>.
4477 * sysdeps/generic/sys/ucontext.h: Likewise.
4478 * sysdeps/i386/sys/ucontext.h: Likewise.
4479 * sysdeps/m68k/sys/ucontext.h: Likewise.
4480 * sysdeps/mips/sys/ucontext.h: Likewise.
4481 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4482 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4483 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4484 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4485 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4486 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4487 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4488 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4489 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4490 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4491 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4492 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4493 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4494 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4495 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4496
4497 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4498
4499 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4500 "edx + ecx - 16" to avoid possible addition overflow.
4501 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4502
4503 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4504
4505 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4506 (CFLAGS-splice.c): Likewise.
4507 (CFLAGS-open_by_handle_at.c): Likewise.
4508 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4509 (CFLAGS-splice.c): Likewise.
4510 (CFLAGS-open_by_handle_at.c): Likewise.
4511
4512 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4513
4514 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4515 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4516 <ldbl-compat-choose.h>.
4517 (maybe_long_double_symbol): New macro.
4518 [!declare_mgen_alias] (declare_mgen_alias): Use
4519 maybe_long_double_symbol.
4520 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4521 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4525 * Makerules [$(build-shared) = yes && !avoid-generated]
4526 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4527 [$(build-shared) = yes && !avoid-generated]
4528 ($(common-objpfx)ldbl-compat-choose.h): New target.
4529
4530 * scripts/versions.awk: Generate first-versions.h.
4531 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4532 <first-versions.h>.
4533 (LDOUBLE_cabsl_libm_version): Remove macro.
4534 (LDOUBLE_cargl_libm_version): Likewise.
4535 (LDOUBLE_cimagl_libm_version): Likewise.
4536 (LDOUBLE_conjl_libm_version): Likewise.
4537 (LDOUBLE_creall_libm_version): Likewise.
4538 (LDOUBLE_cacosl_libm_version): Likewise.
4539 (LDOUBLE_cacoshl_libm_version): Likewise.
4540 (LDOUBLE_ccosl_libm_version): Likewise.
4541 (LDOUBLE_ccoshl_libm_version): Likewise.
4542 (LDOUBLE_casinl_libm_version): Likewise.
4543 (LDOUBLE_csinl_libm_version): Likewise.
4544 (LDOUBLE_casinhl_libm_version): Likewise.
4545 (LDOUBLE_csinhl_libm_version): Likewise.
4546 (LDOUBLE_catanl_libm_version): Likewise.
4547 (LDOUBLE_catanhl_libm_version): Likewise.
4548 (LDOUBLE_ctanl_libm_version): Likewise.
4549 (LDOUBLE_ctanhl_libm_version): Likewise.
4550 (LDOUBLE_cexpl_libm_version): Likewise.
4551 (LDOUBLE_clogl_libm_version): Likewise.
4552 (LDOUBLE_cprojl_libm_version): Likewise.
4553 (LDOUBLE_csqrtl_libm_version): Likewise.
4554 (LDOUBLE_cpowl_libm_version): Likewise.
4555 (LDOUBLE_clog10l_libm_version): Likewise.
4556 (LDOUBLE___clog10l_libm_version): Likewise.
4557 (LDOUBLE_fdiml_libm_version): Likewise.
4558 (LDOUBLE_fmaxl_libm_version): Likewise.
4559 (LDOUBLE_fminl_libm_version): Likewise.
4560 (LDOUBLE_ilogbl_libm_version): Likewise.
4561 (LDOUBLE_nanl_libm_version): Likewise.
4562 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4563 FIRST_VERSION_libm_* macros.
4564 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4565 * Makerules [$(build-shared) = yes && !avoid-generated]
4566 (before-compile): Add $(common-objpfx)first-versions.h.
4567 [$(build-shared) = yes && !avoid-generated]
4568 ($(common-objpfx)first-versions.h): New target.
4569 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4570 building $(common-objpfx)versions.stmp.
4571
4572 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4573
4574 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4575 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4576 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4577 auto-generation list.
4578
4579 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4580 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4581 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4582 from auto-generation list.
4583
4584 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4585 open_by_handle_at.
4586 (CFLAGS-open_by_handle_at.c): New flag.
4587 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4588 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4589 file.
4590 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4591
4592 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4593 (CFLAGS-splice.c): New flag.
4594 * sysdeps/unix/sysv/linux/splice.c: New file.
4595 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4596 auto-generation syscall list.
4597 * misc/Makefile (CFLAGS-splice.c): New rule.
4598
4599 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4600 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4601 auto-generation syscall list.
4602 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4603 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4604
4605 * misc/Makefile (CFLAGS-fsync.c): New flag.
4606 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4607 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4608 syscall list.
4609 * sysdeps/unix/sysv/linux/fsync.c: New file.
4610 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4611 (__errno_location): Remove.
4612
4613 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4614 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4615 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4616 list.
4617 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4618
4619 * misc/Makefile (CFLAGS-msync.c): New rule.
4620 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4621 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4622 * sysdeps/unix/sysv/linux/msync.c: New file.
4623
4624 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4625 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4626 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4627 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4628 (CFLAGS-sigsuspend.c): Remove rule.
4629
4630 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4631 (CFLAGS-tee.c): New rule.
4632 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4633 auto-generated list.
4634 * sysdeps/unix/sysv/linux/tee.c: New file.
4635
4636 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4637 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4638 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4639 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4640 auto-generated list.
4641
4642 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4643 auto-generated list.
4644 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4646 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4647 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4648 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4649
4650 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4652 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4653 (__NR_pause): Undefine.
4654 * sysdeps/unix/sysv/linux/pause.c: New file.
4655 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4656 auto-generation list.
4657 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4658 Remove rule.
4659 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4660
4661 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4662
4663 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4664 comments.
4665
4666 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4667
4668 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4669 LD_HWCAP_MASK.
4670
4671 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4672
4673 * manual/conf.texi: Convert @tables of annotated @items to
4674 @vtables.
4675 * manual/lang.texi: Likewise.
4676 * manual/pattern.texi: Likewise.
4677 * manual/resource.texi: Likewise.
4678 * manual/socket.texi: Likewise.
4679
4680 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4681
4682 * manual/crypt.texi: Move a comment out of an @*x list.
4683 * manual/filesys.texi: Refactor some comments, one of which looks
4684 like a standard. Fix incorrectly separated standards.
4685 * manual/locale.texi: Invert an annotation.
4686 * manual/resource.texi: Fix incorrectly separated standards.
4687 * manual/time.texi: Refactor a @vtable that obscures an
4688 annotation.
4689 * manual/users.texi: Refactor multiple headers to occupy a single
4690 @comment.
4691
4692 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4693
4694 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4695 (sysdep_routines): Add memcmp-power8.
4696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4697 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4698 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4699 (memcmp): Add __memcmp_power8 to ifunc list.
4700 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4701 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4702
4703 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4704 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4705
4706 * math/math.h (__MATH_TG): Extend the conditions to add
4707 _Float128 support.
4708 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4709
4710 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4711
4712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4713 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4714 s_cosf-ppc64.
4715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4718 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4719
4720 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4721
4722 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4723 (gen-libm-calls): Add e_exp2F to use the template.
4724 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4725 * math/e_exp2_template.c: New file, renamed from
4726 math/e_exp2l.c, and made into a template.
4727 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4728
4729 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4730
4731 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4732 TUNABLE_TYPE_UINT_64.
4733 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4734 Simplify computation of overflow.
4735 (tunable_set_val_if_valid_range_signed,
4736 tunable_set_val_if_valid_range_unsigned): Remove and replace
4737 with this...
4738 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4739 (tunable_initialize): Adjust. Add uint64_t support.
4740 (__tunable_set_val): Add uint64_t support.
4741 * README.tunables: Document it.
4742
4743 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4744 dl-tunables.list.
4745 * README.tunables: Document it.
4746
4747 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4748
4749 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4750 * sysdeps/posix/preadv64.c: Likewise.
4751 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4752 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4753 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4754 * sysdeps/posix/pwritev64.c: Likewise.
4755 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4756 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4757 * sysdeps/posix/preadv_common.c: New file.
4758 * sysdeps/posix/pwritev_common.c: Likewise.
4759
4760 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4761
4762 * sysdeps/generic/math-type-macros-float128.h
4763 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4764 wrapper templates.
4765
4766 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4767 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4768
4769 * include/complex.h (__kernel_casinhf128): New declaration.
4770 * include/float.h: New file.
4771 * include/math.h (__finitef128): Add a hidden def.
4772 (__isinff128): Likewise.
4773 (__isnanf128): Likewise.
4774 (__fpclassify): Likewise.
4775 (__issignalling): Likewise.
4776 (__expf128): Likewise.
4777 (__expm1f128): Likewise.
4778
4779 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4780 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4781 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4782
4783 * sysdeps/generic/math-type-macros-float128.h: New file.
4784
4785 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4786 math_private_calls.h for _Float128.
4787 (__isinff128): New inline implementation used when GCC < 7.0,
4788 since in this case __builtin_isinf_sign is broken.
4789 (fabsf128): New inline implementation that calls the builtin.
4790 (__EXPR_FLT128): New macro.
4791 (min_of_type): Optionally include _Float128 types too.
4792
4793 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4794 Declare for _Float128.
4795 (__kernel_rem_pio2): Likewise.
4796
4797 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4798 (__DECL_SIMD_sincos_disablef128): New macro.
4799
4800 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4801
4802 * math/math.h: Include bits/math-finite.h for float128.
4803 (__MATH_DECLARING_FLOATN): Define to control declaration of
4804 float128 functions.
4805 * math/bits/math-finite.h (pow10): Do not declare for float128.
4806 (gamma): Likewise.
4807 (scalb): Likewise.
4808
4809 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4810 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4811
4812 * bits/floatn.h: New file.
4813 * bits/huge_val_flt128.h: Likewise.
4814
4815 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4816 (__DECL_SIMD_sinf128): Likewise.
4817 (__DECL_SIMD_sincosf128): Likewise.
4818 (__DECL_SIMD_logf128): Likewise.
4819 (__DECL_SIMD_expf128): Likewise.
4820 (__DECL_SIMD_powf128): Likewise.
4821
4822 * math/Makefile (headers): Install bits/floatn.h and
4823 bits/huge_val_flt128.h.
4824
4825 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4826 defined.
4827
4828 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4829 (isnan, gamma, nexttoward, scalb): Only define if not
4830 __MATH_DECLARING_FLOATN.
4831 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4832 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4833 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4834 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4835
4836 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4837 Include bits/cmathcalls.h to get the declarations of _Float128
4838 versions of complex functions.
4839 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4840 Define macro.
4841
4842 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4843 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4844 get the declarations of _Float128 versions of math functions.
4845 (__MATH_DECLARING_FLOATN): New macro to control declaration of
4846 _FloatN types.
4847 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4848 is type-generic, so use it without __MATH_TG.
4849 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4850 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
4851 _Float128 type and GCC < 7.0, otherwise use the builtin.
4852 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4853 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4854 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4855 New _GNU_SOURCE enabled macros.
4856
4857 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4858
4859 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4860 (signbitf): Likewise.
4861 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4862 Likewise.
4863 (signbitl): Likewise.
4864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4865 Likewise.
4866 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4867 (signbitl): Likewise.
4868 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4869
4870 2017-05-12 Florian Weimer <fweimer@redhat.com>
4871
4872 [BZ #21386]
4873 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4874 parent PID. The assertion in the child is incorrect with PID
4875 namespaces.
4876
4877 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4878
4879 * sysdeps/unix/sysv/linux/kernel-features.h
4880 (__ASSUME_STATFS_F_FLAGS): Remove macro.
4881 * sysdeps/unix/sysv/linux/internal_statvfs.c
4882 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4883
4884 2017-05-11 Zack Weinberg <zackw@panix.com>
4885
4886 * Makerules: New subdir configuration variables 'tests-internal'
4887 and 'test-internal-extras'. Test files in these categories will
4888 still be compiled with MODULE_NAME=nonlib. Test files in the
4889 existing categories (tests, xtests, test-srcs, test-extras) are
4890 now compiled with MODULE_NAME=testsuite.
4891 New subdir configuration variable 'modules-names-tests'. Files
4892 which are in both 'modules-names' and 'modules-names-tests' will
4893 be compiled with MODULE_NAME=testsuite instead of
4894 MODULE_NAME=extramodules.
4895 (gen-as-const-headers): Move to tests-internal.
4896 (do-tests-clean, common-mostlyclean): Support tests-internal.
4897 * Makeconfig (built-modules): Add testsuite.
4898 * Makefile: Change libof-check-installed-headers-c and
4899 libof-check-installed-headers-cxx to 'testsuite'.
4900 * Rules: Likewise. Support tests-internal.
4901 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4902 Remove extra-modules.mk.
4903
4904 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4905 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4906 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4907 very top of the file and rationalize their order.
4908 If MODULE_NAME is not defined at all, define IS_IN to always be
4909 false, and don't define _ISOMAC.
4910 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4911 true, define _ISOMAC and suppress everything else in this file,
4912 starting with the inclusion of config.h.
4913 Do check for inappropriate definitions of __OPTIMIZE__ and
4914 __FAST_MATH__ here, but only if _ISOMAC is not defined.
4915 Correct some out-of-date commentary.
4916
4917 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4918 and _Mlong_double_ before including math.h.
4919 * include/string.h: If _ISOMAC is defined, don't expose
4920 _STRING_ARCH_unaligned. Move a comment to a more appropriate
4921 location.
4922
4923 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4924 * include/time.h, include/unistd.h, include/wchar.h: No need to
4925 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4926
4927 * misc/sys/cdefs.h (__NTHNL): New macro.
4928 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4929 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4930
4931 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4932 defined, for HAVE_TUNABLES.
4933 * inet/tst-checks-posix.c: No need to define _ISOMAC.
4934 * intl/tst-gettext2.c: Provide own definition of N_.
4935 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4936 * math/test-signgam-main.c: No need to define _ISOMAC.
4937 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4938 * stdlib/tst-strtod1i.c: ...this new file.
4939 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4940 Split tests of __strtod_internal to...
4941 * stdlib/tst-strtod5i.c: ...this new file.
4942 * string/test-string.h: Include stdint.h. Duplicate definition of
4943 inhibit_loop_to_libcall here (from libc-symbols.h).
4944 * string/test-strstr.c: Provide dummy definition of
4945 libc_hidden_builtin_def when including strstr.c.
4946 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4947 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4948 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4949 Don't include init-arch.h.
4950 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4951 Don't include init-arch.h.
4952
4953 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4954 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4955 unload, unload2, circleload1, neededtest, neededtest2,
4956 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4957 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4958 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4959 ifunc tests to tests-internal.
4960 Don't add $(modules-names) to test-extras.
4961 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4962 Add tst-deadline to tests-static-internal.
4963 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4964 tests-internal.
4965 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4966 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4967 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4968 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4969 tst-sem12-static, and tst-stackguard1-static to tests-internal.
4970 Link tests-internal with libpthread also.
4971 Don't add $(modules-names) to test-extras.
4972 * nss/Makefile: Move tst-field to tests-internal.
4973 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4974 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4975 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4976 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4977 tests-internal.
4978 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4979 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4980 test-get_hwcap-static to tests-internal.
4981 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4982 tests-internal.
4983 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4984 modules-names-tests.
4985
4986 2017-05-11 Zack Weinberg <zackw@panix.com>
4987
4988 * libio/libio.h: Condition dummy definition of _IO_lock_t on
4989 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4990 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4991 _IO_funlockfile, and _IO_ftrylockfile. Only define
4992 _IO_cleanup_region_start and _IO_cleanup_region_end if not
4993 already defined.
4994 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4995 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4996 appropriately.
4997 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4998 Define _IO_lock_t_defined after defining _IO_lock_t.
4999
5000 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5001
5002 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5003 void* for argument type and use VDSO_SYMBOL macro.
5004 (is_sigtramp_address_rt): Likewise.
5005 (__backtrace): Setup expected frame pointer address for signal
5006 handling.
5007 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5008 void* for argumetn type and use VSDO_SYMBOL macro.
5009 (__backtrace): Setup expected frame pointer address for signal
5010 handling.
5011
5012 * sysdeps/unix/sysv/linux/writev.c: New file.
5013
5014 * sysdeps/unix/sysv/linux/readv.c: New file.
5015
5016 * include/unistd.h (write): Add hidden proto.
5017 * io/Makefile (CFLAGS-write.c): New define.
5018 * nptl/Makefile (CFLAGS-write.c): Likewise.
5019 * sysdeps/unix/sysv/linux/write.c: New file.
5020
5021 [BZ #21428]
5022 * include/unistd.h (read): Add hidden proto.
5023 * io/Makefile (CFLAGS-read.c): New define.
5024 * nptl/Makefile (CFLAGS-read.c): Likewise.
5025 * sysdeps/unix/sysv/linux/read.c: New file.
5026
5027 * io/Makefile (CFLAGS-creat.c): New rule.
5028 (CFLAGS-creat64.c): Likewise.
5029 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5030 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5031 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5032 * sysdeps/unix/sysv/linux/creat.c: New file.
5033 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5034 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5035 auto-generated list.
5036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5037
5038 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5039 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5040 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5041 * sysdeps/unix/sysv/linux/open.c: New file.
5042 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5043 iff __WORDSIZE != 64 and use __NR_openat when available.
5044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5045 from auto-generated list.
5046
5047 * nptl/Makefile (CFLAGS-close.c): New flag.
5048 * sysdeps/unix/sysv/linux/close.c: New file.
5049
5050 2017-05-11 DJ Delorie <dj@redhat.com>
5051
5052 * MAINTAINERS: New. Points to wiki.
5053
5054 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5055
5056 * scripts/gen-tunables.awk: Add attribute_relro to
5057 tunable_list.
5058
5059 2017-05-11 Joseph Myers <joseph@codesourcery.com>
5060
5061 [BZ #21457]
5062 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5063 (R1): Likewise.
5064 (R2): Likewise.
5065 (R3): Likewise.
5066 (R4): Likewise.
5067 (R5): Likewise.
5068 (R6): Likewise.
5069 (R7): Likewise.
5070 (R8): Likewise.
5071 (R9): Likewise.
5072 (R10): Likewise.
5073 (R11): Likewise.
5074 (R12): Likewise.
5075 (R13): Likewise.
5076 (R14): Likewise.
5077 (R15): Likewise.
5078 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5079 (REG_FS): Likewise.
5080 (REG_ES): Likewise.
5081 (REG_DS): Likewise.
5082 (REG_EDI): Likewise.
5083 (REG_ESI): Likewise.
5084 (REG_EBP): Likewise.
5085 (REG_ESP): Likewise.
5086 (REG_EBX): Likewise.
5087 (REG_EDX): Likewise.
5088 (REG_ECX): Likewise.
5089 (REG_EAX): Likewise.
5090 (REG_TRAPNO): Likewise.
5091 (REG_ERR): Likewise.
5092 (REG_EIP): Likewise.
5093 (REG_CS): Likewise.
5094 (REG_EFL): Likewise.
5095 (REG_UESP): Likewise.
5096 (REG_SS): Likewise.
5097 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5098 (R_D1): Likewise.
5099 (R_D2): Likewise.
5100 (R_D3): Likewise.
5101 (R_D4): Likewise.
5102 (R_D5): Likewise.
5103 (R_D6): Likewise.
5104 (R_D7): Likewise.
5105 (R_A0): Likewise.
5106 (R_A1): Likewise.
5107 (R_A2): Likewise.
5108 (R_A3): Likewise.
5109 (R_A4): Likewise.
5110 (R_A5): Likewise.
5111 (R_A6): Likewise.
5112 (R_A7): Likewise.
5113 (R_SP): Likewise.
5114 (R_PC): Likewise.
5115 (R_PS): Likewise.
5116 (fpregset_t): Likewise.
5117 (MCONTEXT_VERSION): Likewise.
5118 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5119 (CTX_AT): Likewise.
5120 (CTX_V0): Likewise.
5121 (CTX_V1): Likewise.
5122 (CTX_A0): Likewise.
5123 (CTX_A1): Likewise.
5124 (CTX_A2): Likewise.
5125 (CTX_A3): Likewise.
5126 (CTX_T0): Likewise.
5127 (CTX_T1): Likewise.
5128 (CTX_T2): Likewise.
5129 (CTX_T3): Likewise.
5130 (CTX_T4): Likewise.
5131 (CTX_T5): Likewise.
5132 (CTX_T6): Likewise.
5133 (CTX_T7): Likewise.
5134 (CTX_S0): Likewise.
5135 (CTX_S1): Likewise.
5136 (CTX_S2): Likewise.
5137 (CTX_S3): Likewise.
5138 (CTX_S4): Likewise.
5139 (CTX_S5): Likewise.
5140 (CTX_S6): Likewise.
5141 (CTX_S7): Likewise.
5142 (CTX_T8): Likewise.
5143 (CTX_T9): Likewise.
5144 (CTX_K0): Likewise.
5145 (CTX_K1): Likewise.
5146 (CTX_GP): Likewise.
5147 (CTX_SP): Likewise.
5148 (CTX_S8): Likewise.
5149 (CTX_RA): Likewise.
5150 (CTX_MDLO): Likewise.
5151 (CTX_MDHI): Likewise.
5152 (CTX_CAUSE): Likewise.
5153 (CTX_EPC): Likewise.
5154 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5155 inclusion of <sys/procfs.h> on [__USE_MISC].
5156 (greg_t): Condition on [__USE_MISC].
5157 (gregset_t): Likewise.
5158 (fpregset_t): Likewise.
5159 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5160 (NGREG): Likewise.
5161 (gregset_t): Likewise.
5162 (REG_R0): Likewise.
5163 (REG_R1): Likewise.
5164 (REG_R2): Likewise.
5165 (REG_R3): Likewise.
5166 (REG_R4): Likewise.
5167 (REG_R5): Likewise.
5168 (REG_R6): Likewise.
5169 (REG_R7): Likewise.
5170 (REG_R8): Likewise.
5171 (REG_R9): Likewise.
5172 (REG_R10): Likewise.
5173 (REG_R11): Likewise.
5174 (REG_R12): Likewise.
5175 (REG_R13): Likewise.
5176 (REG_R14): Likewise.
5177 (REG_R15): Likewise.
5178 (struct _libc_fpstate): Likewise.
5179 (fpregset_t): Likewise.
5180 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5181 (NFPREG): Likewise.
5182 (gregset_t): Likewise.
5183 (fpregset_t): Likewise.
5184 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5185 (R_D1): Likewise.
5186 (R_D2): Likewise.
5187 (R_D3): Likewise.
5188 (R_D4): Likewise.
5189 (R_D5): Likewise.
5190 (R_D6): Likewise.
5191 (R_D7): Likewise.
5192 (R_A0): Likewise.
5193 (R_A1): Likewise.
5194 (R_A2): Likewise.
5195 (R_A3): Likewise.
5196 (R_A4): Likewise.
5197 (R_A5): Likewise.
5198 (R_A6): Likewise.
5199 (R_A7): Likewise.
5200 (R_SP): Likewise.
5201 (R_PC): Likewise.
5202 (R_PS): Likewise.
5203 (fpregset_t): Likewise.
5204 (MCONTEXT_VERSION): Likewise.
5205 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5206 Likewise.
5207 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5208 (REG_R1): Likewise.
5209 (REG_R2): Likewise.
5210 (REG_R3): Likewise.
5211 (REG_R4): Likewise.
5212 (REG_R5): Likewise.
5213 (REG_R6): Likewise.
5214 (REG_R7): Likewise.
5215 (REG_R8): Likewise.
5216 (REG_R9): Likewise.
5217 (REG_R10): Likewise.
5218 (REG_R11): Likewise.
5219 (REG_R12): Likewise.
5220 (REG_R13): Likewise.
5221 (REG_R14): Likewise.
5222 (REG_R15): Likewise.
5223 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5224 of <arch/abi.h> on [__USE_MISC].
5225 (greg_t): Condition on [__USE_MISC].
5226 (NGREG): Likewise.
5227 (gregset_t): Likewise.
5228
5229 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5230
5231 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5232 (__pthread_rwlock_arch_t): Remove __data definition.
5233 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5234 (__pthread_rwlock_arch_t): Likewise.
5235
5236 2017-05-11 Florian Weimer <fweimer@redhat.com>
5237
5238 * resolv/inet_pton.c: Reformat in GNU style. Remove
5239 internal_function on static functions.
5240
5241 2017-05-11 Florian Weimer <fweimer@redhat.com>
5242
5243 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5244 from format_ai_flags.
5245 (format_ai_flags): New function. Incorporate flag formatting code
5246 from format_ai_one.
5247 (format_ai_canonname): New function.
5248 (format_ai_one): Remove flags parameter.
5249 (format_ai_family): Likewise.
5250 (support_format_addrinfo): Call format_ai_flags,
5251 format_ai_canonname.
5252 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5253 check_ai.
5254 (check_ai): Call check_ai_hints.
5255 (do_test): Add AI_CANONNAME tests.
5256
5257 2017-05-11 Florian Weimer <fweimer@redhat.com>
5258
5259 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5260 (gaih_inet): Likewise.
5261
5262 2017-05-10 Andreas Schwab <schwab@suse.de>
5263
5264 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5265 (main): Rename to do_test and make static.
5266
5267 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5268
5269 * string/rawmemchr.c: Include <libc-diag.h>.
5270 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5271 with size (size_t)-1.
5272
5273 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5274
5275 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5276 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5277 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5278
5279 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5280 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5281 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5282 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5283 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5284 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5285 * sysdeps/unix/sysv/linux/kernel-features.h
5286 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5287 socket syscalls.
5288 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5289 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5290 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5291 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5292 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5294 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5295 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5296 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5297 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5298 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5300 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5301 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5302 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5303
5304 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5305
5306 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5307 thread-shared-types.h.
5308 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5309 specific thread definition.
5310 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5311 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5312 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5313 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5314 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5315 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5316 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5317 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5318 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5319 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5320 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5321 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5322 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5323 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5324 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5325 thread definition between POSIX and C11.
5326 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5327 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5328 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5329 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5330 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5331 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5332 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5333 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5334 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5335 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5336 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5337 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5338 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5339 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5340 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5341 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5342 definitions shared across all architectures.
5343
5344 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5345
5346 * sysdeps/unix/sysv/linux/kernel-features.h
5347 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5348 (__ASSUME_SENDMMSG): Likewise.
5349 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5350 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5351 sendmmsg syscall if that can be assumed to be present, socketcall
5352 otherwise, with no fallback for runtime failure.
5353
5354 * sysdeps/unix/sysv/linux/kernel-features.h
5355 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5356 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5357 (__ASSUME_RECVMMSG): Likewise.
5358 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5359 recvmmsg syscall if it can be assumed to be present, socketcall
5360 otherwise, with no fallback for runtime failure.
5361
5362 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5363 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5364
5365 * bits/libc-header-start.h:
5366 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5367 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5368 * manual/creature.texi: Likewise.
5369
5370 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5371 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5372
5373 * math/Makefile:
5374 (type-float128-suffix): New variable
5375 (type-float128-routines): Likewise
5376 (type-float128-yes): Likewise
5377 (types): Append float128 if supported
5378 (types-basic): New variable to control the use of templates for
5379 float, double, and long double, but not for float128 or newer types.
5380 (type-basic-foreach): Likewise.
5381
5382 * sysdeps/ieee754/float128/Makeconfig: New file.
5383 * sysdeps/ieee754/float128/Versions: New file.
5384
5385 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5386
5387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5388 Remove macro.
5389 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5390 prlimit64 is always available and does not give an ENOSYS error.
5391 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5392 unconditional.
5393 [!__NR_prlimit64]: Remove conditional code.
5394 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5395 prlimit64 is always available and does not give an ENOSYS error.
5396 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5397
5398 2017-05-09 Zack Weinberg <zackw@panix.com>
5399
5400 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5401
5402 2017-05-09 Florian Weimer <fweimer@redhat.com>
5403
5404 [BZ #21474]
5405 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5406 (__res_maybe_init): Likewise.
5407
5408 2017-05-09 Zack Weinberg <zackw@panix.com>
5409
5410 * extra-modules.mk: Delete file.
5411 * cppflags-iterator.mk: Rename to ...
5412 * libof-iterator.mk: ...this. Adjust comments.
5413
5414 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5415 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5416 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5417 Use libof-iterator.mk instead of cppflags-iterator.mk or
5418 extra-modules.mk.
5419
5420 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5421 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5422
5423 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5424
5425 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5426
5427 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5428
5429 * stdio-common/vfprintf.c (EXTSIZ): Define.
5430 (vfprintf): Use EXTSIZ.
5431 (printf_positional): Likewise.
5432
5433 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5434
5435 * sysdeps/unix/sysv/linux/kernel-features.h
5436 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5437 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5438 <kernel-features.h>.
5439 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5440
5441 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5442 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5443
5444 2017-05-08 Florian Weimer <fweimer@redhat.com>
5445
5446 Prevent multiple deletion of temporary files.
5447 * support/temp_file.c (struct temp_name_list): Add owner member.
5448 (add_temp_file): Record owner.
5449 (support_delete_temp_files): Delete file only if owner matches.
5450 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5451 (do_prepare): Use create_temp_file instead of add_temp_file.
5452 Initialize temp_fd1, temp_fd2.
5453 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5454 framework remove the temporary files.
5455 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5456 (do_prepare): Use create_temp_file instead of add_temp_file.
5457 Initialize temp_fd1, temp_fd2, temp_fd3.
5458 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5459 the test framework remove the temporary files.
5460 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5461 deletion.
5462 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5463 temporary directory. It is removed by the test framework.
5464 * dirent/tst-scandir.c (do_test): Likewise.
5465
5466 2017-05-08 Florian Weimer <fweimer@redhat.com>
5467
5468 Delete temporary files in LIFO order.
5469 * support/temp_file.c (struct temp_name_list): Replace q member
5470 with next.
5471 (add_temp_file): Add new file to front of linked list.
5472 (support_delete_temp_files): Use next member.
5473 (support_print_temp_files): Likewise.
5474
5475 2017-05-08 Florian Weimer <fweimer@redhat.com>
5476
5477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5478 sys/ultrasound.h.
5479 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5480
5481 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5482
5483 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5484 Remove.
5485 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5486 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5487 (arch_minimum_kernel): Remove.
5488 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5489 * README: Update statement about Linux kernel requirements.
5490
5491 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5492
5493 * manual/llio.texi: Add preadv and pwritev documentation.
5494
5495 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5496
5497 [BZ #21455]
5498 * bits/stdint-intn.h: New file.
5499 * bits/stdint-uintn.h: Likewise.
5500 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5501 bits/stdint-uintn.h.
5502 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5503 <stdint.h>.
5504 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5505 (__int8_t_defined): Do not define here.
5506 (int8_t): Likewise.
5507 (int16_t): Likewise.
5508 (int32_t): Likewise.
5509 (int64_t): Likewise.
5510 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5511 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5512 <stdint.h>.
5513 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5514 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5515 <bits/stdint-uintn.h>.
5516 (int8_t): Do not define here.
5517 (int16_t): Likewise.
5518 (int32_t): Likewise.
5519 (int64_t): Likewise.
5520 (uint8_t): Likewise.
5521 (uint16_t): Likewise.
5522 (uint32_t): Likewise.
5523 (uint64_t): Likewise.
5524 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5525 variable.
5526 (test-xfail-XPG42/netdb.h/conform): Likewise.
5527 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5528 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5529 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5530 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5531
5532 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5533
5534 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5535 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5536 the above.
5537 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5539
5540 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5541
5542 [BZ #21445]
5543 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5544
5545 [BZ #21457]
5546 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5547 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5548 __glibc_reserved1.
5549 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5550 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5551 (struct _fpxreg): Likewise.
5552 [!__x86_64__] (struct _fpstate): Rename field reserved to
5553 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5554 [__x86_64__] (struct _fpstate): Rename field padding to
5555 __glibc_reserved1.
5556 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5557 Rename field reserved2 to __glibc_reserved2.
5558 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5559 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5560 __glibc_reserved1.
5561 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5562 __glibc_reserved1.
5563
5564 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5565
5566 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5567 variable name.
5568
5569 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5570
5571 [BZ #21391]
5572 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5573 Only call init_cpu_features.
5574 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5575 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5576 * sysdeps/i386/dl-procinfo.h: Removed.
5577 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5578 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5579 <sysdeps/x86/dl-procinfo.h>.
5580 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5581 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5582 Include <sysdeps/x86/dl-procinfo.h> instead of
5583 <sysdeps/generic/dl-procinfo.h>.
5584 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5585 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5586 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5587 (bit_cpu_MOVBE): Likewise.
5588 (bit_cpu_BMI1): Likewise.
5589 (bit_cpu_BMI2): Likewise.
5590 (index_cpu_BMI1): Likewise.
5591 (index_cpu_BMI2): Likewise.
5592 (index_cpu_LZCNT): Likewise.
5593 (index_cpu_MOVBE): Likewise.
5594 (index_cpu_POPCNT): Likewise.
5595 (reg_BMI1): Likewise.
5596 (reg_BMI2): Likewise.
5597 (reg_LZCNT): Likewise.
5598 (reg_MOVBE): Likewise.
5599 (reg_POPCNT): Likewise.
5600 * sysdeps/x86/dl-hwcap.h: New file.
5601 * sysdeps/x86/dl-procinfo.h: Likewise.
5602 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5603 (_dl_x86_platforms): Likewise.
5604
5605 2017-05-03 DJ Delorie <dj@redhat.com>
5606
5607 [BZ #21411]
5608 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5609
5610 2017-05-03 Phil Blundell <pb@pbcl.net>
5611
5612 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5613 comments.
5614
5615 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5616
5617 [BZ #20116]
5618 * nptl/pthread_create.c: Expand comments to describe
5619 semaphore-like and mutex-like uses of PD->lock.
5620
5621 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5622
5623 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5624 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5625 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5626 auto-generation list.
5627 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5628 epoll_wait.
5629 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5630 Remove epoll_wait.
5631
5632 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5633 osf_select.
5634 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5635 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5636 osf_select from auto-generation list.
5637 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5639 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5640 * sysdeps/unix/sysv/linux/select.c: New file.
5641
5642 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5643 * sysdeps/unix/sysv/linux/poll.c: New file.
5644 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5645 auto-generation list.
5646
5647 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5648
5649 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5650 New macro.
5651
5652 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5653
5654 [BZ #21179]
5655 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5656 R_SPARC_REGISTER relocations.
5657
5658 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5659
5660 * include/unistd.h (__pread): Add libc_hidden_proto.
5661 (__pread64): Likewise.
5662 (__pwrite): Likewise.
5663 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5664 (__pread64): Remove.
5665 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5666 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5667 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5668
5669 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5670
5671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5672
5673 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5674
5675 * nptl/tst-cancel4-common.c: Use libsupport.
5676 * nptl/tst-cancel4-common.h: Likewise.
5677 * nptl/tst-cancel4.c (tf_read): Likewise.
5678 (tf_readv): Likewise.
5679 (tf_write): Likewise.
5680 (tf_writev): Likewise.
5681 (tf_sleep): Likewise.
5682 (tf_usleep): Likewise.
5683 (tf_nanosleep): Likewise.
5684 (tf_select): Likewise.
5685 (tf_pselect): Likewise.
5686 (tf_poll): Likewise.
5687 (tf_ppoll): Likewise.
5688 (tf_wait): Likewise.
5689 (tf_waitpid): Likewise.
5690 (tf_waitid): Likewise.
5691 (tf_sigpause): Likewise.
5692 (tf_sigsuspend): Likewise.
5693 (tf_sigwait): Likewise.
5694 (tf_sigwaitinfo): Likewise.
5695 (tf_sigtimedwait): Likewise.
5696 (tf_pause): Likewise.
5697 (tf_accept): Likewise.
5698 (tf_send): Likewise.
5699 (tf_recv): Likewise.
5700 (tf_recvfrom): Likewise.
5701 (tf_recvmsg): Likewise.
5702 (tf_open): Likewise.
5703 (tf_close): Likewise.
5704 (tf_pread): Likewise.
5705 (tf_pwrite): Likewise.
5706 (tf_preadv): Likewise.
5707 (tf_pwritev): Likewise.
5708 (tf_fsync): Likewise.
5709 (tf_fdatasync): Likewise.
5710 (tf_msync): Likewise.
5711 (tf_sendto): Likewise.
5712 (tf_sendmsg): Likewise.
5713 (tf_creat): Likewise.
5714 (tf_connect): Likewise.
5715 (tf_tcdrain): Likewise.
5716 (tf_msgrcv): Likewise.
5717 (tf_msgsnd): Likewise.
5718 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5719 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5720
5721 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5722 expected arguments.
5723 (do_test): Adapt to use libsupport.
5724
5725 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5726
5727 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5728
5729 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5730 (PF_MAX): Set to 44.
5731 (AF_SMC): New macro.
5732
5733 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5734 kernel version to 4.11.
5735
5736 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5737
5738 [BZ #21280]
5739 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5740 signal of subnormals and adjust the exponent of power of 2 down
5741 when low part has opposite sign.
5742
5743 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5744
5745 * sysdeps/powerpc/powerpc64le/Implies: New file.
5746 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5747 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5748 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5749 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5750 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5751 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5752 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5753 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5754 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5755 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5756 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5757 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5758 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5759 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5760 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5761 * sysdeps/powerpc/preconfigure: New file.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5763 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5764
5765 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5766
5767 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5768 inclusion.
5769 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5770 Remove.
5771
5772 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5773
5774 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5775 (XPG3): Rename standard to XPG4.
5776 * conform/Makefile: Likewise.
5777 * conform/list-header-symbols.pl: Likewise.
5778 * conform/data/aio.h-data: Likewise.
5779 * conform/data/arpa/inet.h-data: Likewise.
5780 * conform/data/complex.h-data: Likewise.
5781 * conform/data/ctype.h-data: Likewise.
5782 * conform/data/dlfcn.h-data: Likewise.
5783 * conform/data/fcntl.h-data: Likewise.
5784 * conform/data/fenv.h-data: Likewise.
5785 * conform/data/float.h-data: Likewise.
5786 * conform/data/fmtmsg.h-data: Likewise.
5787 * conform/data/ftw.h-data: Likewise.
5788 * conform/data/grp.h-data: Likewise.
5789 * conform/data/inttypes.h-data: Likewise.
5790 * conform/data/iso646.h-data: Likewise.
5791 * conform/data/langinfo.h-data: Likewise.
5792 * conform/data/libgen.h-data: Likewise.
5793 * conform/data/limits.h-data: Likewise.
5794 * conform/data/locale.h-data: Likewise.
5795 * conform/data/math.h-data: Likewise.
5796 * conform/data/mqueue.h-data: Likewise.
5797 * conform/data/ndbm.h-data: Likewise.
5798 * conform/data/net/if.h-data: Likewise.
5799 * conform/data/netdb.h-data: Likewise.
5800 * conform/data/netinet/in.h-data: Likewise.
5801 * conform/data/poll.h-data: Likewise.
5802 * conform/data/pthread.h-data: Likewise.
5803 * conform/data/pwd.h-data: Likewise.
5804 * conform/data/sched.h-data: Likewise.
5805 * conform/data/search.h-data: Likewise.
5806 * conform/data/semaphore.h-data: Likewise.
5807 * conform/data/signal.h-data: Likewise.
5808 * conform/data/spawn.h-data: Likewise.
5809 * conform/data/stdbool.h-data: Likewise.
5810 * conform/data/stdint.h-data: Likewise.
5811 * conform/data/stdio.h-data: Likewise.
5812 * conform/data/stdlib.h-data: Likewise.
5813 * conform/data/string.h-data: Likewise.
5814 * conform/data/strings.h-data: Likewise.
5815 * conform/data/stropts.h-data: Likewise.
5816 * conform/data/sys/mman.h-data: Likewise.
5817 * conform/data/sys/resource.h-data: Likewise.
5818 * conform/data/sys/select.h-data: Likewise.
5819 * conform/data/sys/socket.h-data: Likewise.
5820 * conform/data/sys/stat.h-data: Likewise.
5821 * conform/data/sys/statvfs.h-data: Likewise.
5822 * conform/data/sys/time.h-data: Likewise.
5823 * conform/data/sys/timeb.h-data: Likewise.
5824 * conform/data/sys/types.h-data: Likewise.
5825 * conform/data/sys/uio.h-data: Likewise.
5826 * conform/data/sys/un.h-data: Likewise.
5827 * conform/data/sys/wait.h-data: Likewise.
5828 * conform/data/syslog.h-data: Likewise.
5829 * conform/data/termios.h-data: Likewise.
5830 * conform/data/tgmath.h-data: Likewise.
5831 * conform/data/time.h-data: Likewise.
5832 * conform/data/ucontext.h-data: Likewise.
5833 * conform/data/unistd.h-data: Likewise.
5834 * conform/data/utmpx.h-data: Likewise.
5835 * conform/data/varargs.h-data: Likewise.
5836 * conform/data/wchar.h-data: Likewise.
5837 * conform/data/wctype.h-data: Likewise.
5838
5839 2017-04-26 Joseph Myers <joseph@codesourcery.com>
5840
5841 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5842 version to 7 branch.
5843
5844 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
5845
5846 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5847 earlyclobber to output operand of sqrt insn.
5848 (__ieee754_sqrtf): Ditto.
5849
5850 2017-04-25 Joseph Myers <joseph@codesourcery.com>
5851
5852 [BZ #21426]
5853 * misc/bits/types/struct_iovec.h: New file.
5854 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5855 * include/bits/types/struct_iovec.h: New file.
5856 * bits/uio.h (struct iovec): Replace by inclusion of
5857 <bits/types/struct_iovec.h>.
5858 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5859 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5860 of <sys/uio.h>.
5861 * nptl/tst-cancel4.c: Include <sys/uio.h>
5862 * posix/test-errno.c: Likewise.
5863 * support/resolv_test.c: Likewise.
5864 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5865 Remove.
5866 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5867 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5868 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5869
5870 * conform/data/sys/socket.h-data (*_t): Allow.
5871
5872 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5873
5874 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5875 assignment.
5876
5877 2017-04-24 Daurnimator <quae@daurnimator.com>
5878 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5879
5880 [BZ #21340]
5881 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5882 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5883 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5884 valid flags.
5885 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5886 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5887 POSIX_SPAWN_SETSID.
5888 * sysdeps/posix/spawni.c (__spawni): Likewise.
5889 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5890 * NEWS: Add note about POSIX_SPAWN_SETSID support.
5891
5892 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5893
5894 * sysdeps/generic/math_private.h: Move the declaration of many
5895 functions to sysdeps/generic/math_private_calls.h.
5896 * sysdeps/generic/math_private_calls.h: New file with the
5897 declarations of the functions removed from math_private.h
5898 macroized by floating-point type.
5899
5900 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5901
5902 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5903 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5904 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5905 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5906 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5907 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5908
5909 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5910
5911 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5912 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5913 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5914 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5915 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5916 New Define.
5917
5918 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5919
5920 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5921 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5922 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5923 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5924 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5925 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5926
5927 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5928
5929 * sysdeps/s390/multiarch/ifunc-resolve.h
5930 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5931 * sysdeps/s390/multiarch/8bit-generic.c
5932 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5933 define ifunc resolvers.
5934
5935 2017-04-21 Florian Weimer <fweimer@redhat.com>
5936
5937 [BZ #20424]
5938 * manual/memory.texi (Replacing malloc): New section.
5939 (Allocating Storage For Program Data): Reference it.
5940 (The GNU Allocator): Likewise.
5941
5942 2017-04-20 Joseph Myers <joseph@codesourcery.com>
5943
5944 * stdlib/Versions (__strtod_internal): List explicitly, not as
5945 wildcard.
5946 (__strtof_internal): Likewise.
5947 (__strtold_internal): Likewise.
5948 (__strtol_internal): Likewise.
5949 (__strtoll_internal): Likewise.
5950 (__strtoul_internal): Likewise.
5951 (__strtoull_internal): Likewise.
5952 (__strtoq_internal): Likewise.
5953 (__strtouq_internal): Likewise.
5954 * wcsmbs/Versions (__wcstod_internal): Likewise.
5955 (__wcstof_internal): Likewise.
5956 (__wcstold_internal): Likewise.
5957 (__wcstol_internal): Likewise.
5958 (__wcstoll_internal): Likewise.
5959 (__wcstoul_internal): Likewise.
5960 (__wcstoull_internal): Likewise.
5961
5962 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5963
5964 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5965 struct timespec definition.
5966
5967 2017-04-19 Florian Weimer <fweimer@redhat.com>
5968
5969 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5970
5971 2017-04-19 Florian Weimer <fweimer@redhat.com>
5972
5973 * inet/rcmd.c (rresvport_af): Fix typo in comment.
5974 * inet/rexec.c (rexec_af): Likewise.
5975
5976 2017-04-19 Zack Weinberg <zackw@panix.com>
5977
5978 * posix/tst-mmap-offset.c: Include stdint.h.
5979 * resolv/tst-ns_name_compress.c: Include string.h.
5980 * resolv/tst-resolv-edns.c: Include resolv.h.
5981
5982 2017-04-19 Florian Weimer <fweimer@redhat.com>
5983
5984 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5985 with __glibc_likely.
5986 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5987 Replace __builtin_expect with __glibc_unlikely.
5988 * resolv/res_init.c (__res_vinit): Likewise.
5989 * resolv/res_query.c (__libc_res_nquery): Likewise.
5990 * resolv/res_send.c (__libc_res_nsend): Likewise.
5991
5992 2017-04-19 Florian Weimer <fweimer@redhat.com>
5993
5994 [BZ #15722]
5995 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5996 with SOCK_CLOEXEC.
5997 * resolv/res_send.c (send_vc, reopen): Likewise.
5998 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5999 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6000 Likewise.
6001 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6002 * inet/rexec.c (rexec_af): Add comment.
6003 * inet/rcmd.c (rresvport_af): Likewise.
6004
6005 2017-04-19 Florian Weimer <fweimer@redhat.com>
6006
6007 * nscd/connections.c (have_accept4): Removed definition.
6008 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6009 accept4 works.
6010 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6011 ia64 because that was the first version with accept4 support.
6012 * support/Makefile (libsupport-routines): Add xaccept4.
6013 * support/xsocket.h (xaccept4): Declare.
6014 * support/xaccept4.c: New file.
6015 * socket/tst-accept4.c: New file.
6016 * socket/Makefile (tests): Add tst-accept4.
6017 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6018 definition.
6019 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6020 comment.
6021 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6022 implementation is available.
6023 (accept4): Use the system call if available, otherwise use the
6024 socket call.
6025 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6026 Set to 3.2.18.
6027 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6028 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6029 accept4 is unconditionally available in later 3.2 stable kernels.
6030 (__ASSUME_ACCEPT4_SYSCALL): Define.
6031 * sysdeps/unix/sysv/linux/kernel-features.h
6032 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6033 definitions.
6034 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6035 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6036
6037 2017-04-18 Joseph Myers <joseph@codesourcery.com>
6038
6039 * conform/Makefile (tests-special): Do not make addition of
6040 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6041 (generated): Do not make addition of $(conformtest-header-base)
6042 conditional on [$(cross-compiling) = no].
6043
6044 [BZ #21267]
6045 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6046 if defined by <asm/socket.h> and not previously defined.
6047 (IOCSIZE_SHIFT): Likewise.
6048 (IOC_IN): Likewise.
6049 (IOC_INOUT): Likewise.
6050 (IOC_OUT): Likewise.
6051
6052 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6053
6054 [BZ #21396]
6055 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6056 Prefer_No_AVX512 if AVX512ER isn't available.
6057 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6058 (index_arch_Prefer_No_AVX512): Likewise.
6059 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6060 AVX512 version if Prefer_No_AVX512 is set.
6061 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6062 Likewise.
6063 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6064 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6065 Likewise.
6066 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6067 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6068 Likewise.
6069 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6070 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6071 Likewise.
6072
6073 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6074
6075 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6076 Prefer_No_VZEROUPPER if AVX512ER is available.
6077 * sysdeps/x86/cpu-features.h
6078 (bit_cpu_AVX512PF): New.
6079 (bit_cpu_AVX512ER): Likewise.
6080 (bit_cpu_AVX512CD): Likewise.
6081 (bit_cpu_AVX512BW): Likewise.
6082 (bit_cpu_AVX512VL): Likewise.
6083 (index_cpu_AVX512PF): Likewise.
6084 (index_cpu_AVX512ER): Likewise.
6085 (index_cpu_AVX512CD): Likewise.
6086 (index_cpu_AVX512BW): Likewise.
6087 (index_cpu_AVX512VL): Likewise.
6088 (reg_AVX512PF): Likewise.
6089 (reg_AVX512ER): Likewise.
6090 (reg_AVX512CD): Likewise.
6091 (reg_AVX512BW): Likewise.
6092 (reg_AVX512VL): Likewise.
6093
6094 2017-04-18 Florian Weimer <fweimer@redhat.com>
6095
6096 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6097 O_CLOEXEC is defined.
6098 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6099 * io/Makefile (aux): Remove.
6100 * io/have_o_cloexec.c: Remove file.
6101 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6102 defined and works.
6103 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6104 defined.
6105 * login/utmp_file.c (O_flags): Remove definition.
6106 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6107 O_CLOEXEC works.
6108 (pututline_file): Likewise.
6109 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6110 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6111 definition.
6112 (internal_setgrent): Assume that O_CLOEXEC works.
6113 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6114 Remove definition.
6115 (internal_setgrent): Assume that O_CLOEXEC works.
6116 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6117 definition.
6118 (internal_setpwent): Assume that O_CLOEXEC works.
6119 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6120 definition.
6121 (internal_setspent): Assume that O_CLOEXEC works.
6122 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6123 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6124 O_CLOEXEC is defined and works.
6125 * nss/Makefile (libnss_files-routines): Remove
6126 files-have_o_cloexec.
6127 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6128 defined.
6129 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6130 O_CLOEXEC is defined and works.
6131 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6132 * nss/nss_files/files-have_o_cloexec.c: Remove.
6133 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6134 defined.
6135 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6136 and works.
6137 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6138 definition.
6139 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6140 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6141 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6142 (__opendirat, __opendir): Adjust opendir_oflags call.
6143 (check_have_o_cloexec): Remove.
6144 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6145 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6146 defined.
6147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6148 Remove definition.
6149
6150 2017-04-18 Florian Weimer <fweimer@redhat.com>
6151
6152 * include/unistd.h (__have_dup3): Remove declaration.
6153 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6154 dup3 is available.
6155 * libio/freopen64.c (freopen64): Likewise.
6156 * socket/Makefile (aux): Remove have_sock_cloexec.
6157 * socket/have_sock_cloexec.c: Remove file.
6158 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6159 definition.
6160 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6161 Likewise.
6162 * sysdeps/nacl/kernel-features.h: Update comment.
6163
6164 2017-04-18 Florian Weimer <fweimer@redhat.com>
6165
6166 * include/unistd.h (__have_pipe2): Remove declaration.
6167 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6168 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6169 available.
6170 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6172 Remove definition.
6173
6174 2017-04-18 Florian Weimer <fweimer@redhat.com>
6175
6176 * malloc/malloc.c (cfree): Turn into compat symbol.
6177 (__cfree): Remove alias.
6178 * stdlib/stdlib.h (cfree): Remove declaration.
6179 * malloc/malloc.h (cfree): Likewise.
6180 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6181 * malloc/Versions (GLIBC_2.26): Add.
6182
6183 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6184
6185 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6186 (sysdep_routines): Add strrchr-power8.
6187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6188 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6189 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6190 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6191 (strrchr): Add __strrchr_power8 to ifunc list.
6192 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6193
6194 2017-04-17 Rabin Vincent <rabinv@axis.com>
6195
6196 [BZ #21357]
6197 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6198 Call free() outside of mutex.
6199
6200 2017-04-13 Florian Weimer <fweimer@redhat.com>
6201
6202 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6203 is defined.
6204 * elf/rtld.c (process_envvars): Likewise.
6205 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6206 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6207 O_NOFOLLOW directly.
6208 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6209
6210 2017-04-13 Florian Weimer <fweimer@redhat.com>
6211
6212 [BZ #21369]
6213 Remove EDNS fallback.
6214 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6215 handling.
6216 * resolv/res_send.c (send_dg): Likewise.
6217 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6218 "tcp." prefixes.
6219 (do_test): Send a "formerr."-prefixed query in an attempt to
6220 trigger EDNS fallback.
6221
6222 2017-04-13 Florian Weimer <fweimer@redhat.com>
6223
6224 [BZ #21361]
6225 Limit EDNS buffer size to 1200 bytes.
6226 * include/resolv.h (__res_nopt): Remove declaration.
6227 * resolv/Makefile (tests): tst-resolv-edns.
6228 (tst-resolv-edns): Link with -lresolv, -lpthread.
6229 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6230 interval [512, 1200].
6231 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6232 we can resize the buffer.
6233 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6234 (__res_nopt): Declare.
6235 * resolv/tst-resolv-edns.c: New file.
6236 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6237 (struct resolv_response_context): Add edns member.
6238 * resolv/resolv_test.c (struct query_info): Add edns member.
6239 (parse_query): Extract EDNS information from the query.
6240 (server_thread_udp_process_one): Propagate EDNS data.
6241 (server_thread_tcp_client): Likewise.
6242
6243 2017-04-13 Florian Weimer <fweimer@redhat.com>
6244
6245 [BZ #21359]
6246 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6247 byte in the destination buffer. Avoid out-of-bounds pointer
6248 arithmetic.
6249 * resolv/Makefile (tests): Add tst-ns_name_compress.
6250 (tst-ns_name_compress): Link with -lresolv.
6251 * resolv/tst-ns_name_compress.c: New file.
6252 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6253 (response): Recognize LONG_NAME.
6254 (do_test): Add LONG_NAME tests.
6255 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6256 for ns_name_unpack. Add tests for ns_name_pton and
6257 ns_name_compress.
6258
6259 2017-04-13 Florian Weimer <fweimer@redhat.com>
6260
6261 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6262 (res_nisourserver): Remove definition.
6263 (p_section, res_npquery, res_nisourserver): Remove declaration.
6264 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6265 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6266 ... here.
6267 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6268 <resolv.h>.
6269 * resolv/res_query.c: Likewise.
6270 * resolv/res_debug.c (p_section): Define as static.
6271
6272 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6273
6274 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6275 strncat-power8.
6276 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6277 __strncat_power8 to ifunc list.
6278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6279 (strncat): Add __strncat_power8 to list of strncat functions.
6280 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6281
6282 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6283
6284 [BZ #21270]
6285 * posix/tst-mmap-offset.c (do_prepare): New function.
6286 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6287 (do_test_bz21270): New function.
6288 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6289 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6290 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6291 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6292 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6293 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6294 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6295 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6296 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6297 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6298 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6299 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6300 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6301 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6302 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6303 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6304 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6305 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6306 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6307 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6308 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6309 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6310 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6311 from auto-generation list.
6312 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6314 * sysdeps/unix/sysv/linux/mmap.c: New file.
6315 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6316 offsets and support for mmap2 syscall.
6317
6318 * posix/globtest.sh: Add cleanup routine on trap 0.
6319
6320 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6321
6322 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6323 implementation-specific function name and remove unneeded
6324 macros definition.
6325 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6326 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6327 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6328 name if not defined and pass as parameter to macros accordingly.
6329 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6330 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6331
6332 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6333 implementation-specific function name and remove unneeded
6334 macros definition.
6335 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6336 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6337 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6338 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6339 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6340 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6341 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6342 name if not defined and pass as parameter to macros accordingly.
6343 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6344 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6345 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6346 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6347 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6348 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6349
6350 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6351 implementation-specific function name and remove unneeded macros
6352 definition.
6353 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6354 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6356 function name if not defined and pass as parameter to macros
6357 accordingly.
6358 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6359 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6360
6361 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6362 implementation-specific function name and remove unneeded macros
6363 definition.
6364 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6366 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6367 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6368 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6369 not defined and pass as parameter to macros accordingly.
6370 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6371 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6372 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6373 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6374
6375 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6376 strcasestr implementation name and remove unneeded macros definition.
6377 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6378 strstr implementation name and remove unneeded macros definition.
6379 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6380 name if not defined and pass as parameter to macros accordingly.
6381 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6382
6383 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6384 implementation-specific function name and remove unneeded macros
6385 definition.
6386 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6387 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6388 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6389 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6390 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6391 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6392 function name if not defined and pass as parameter to macros
6393 accordingly.
6394 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6395 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6396 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6397 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6398
6399 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6400 the strlen implementation name and remove unneeded macros definition.
6401 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6402 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6403 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6404 the strnlen implementation name and remove unneeded macros definition.
6405 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6406 name if not defined and pass as parameter to macros accordingly.
6407 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6408 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6409 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6410
6411 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6412 the implementation-specific function name and remove unneeded
6413 macros definition.
6414 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6415 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6416 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6417 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6418 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6419 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6420 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6421 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6422 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6423 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6424 name if not defined and pass as parameter to macros accordingly.
6425 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6426 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6427 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6428 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6429 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6430 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6431 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6432 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6433
6434 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6435 implementation-specific function name and remove unneeded macros
6436 definition.
6437 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6438 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6439 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6440 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6441 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6442 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6443 function name if not defined.
6444 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6445 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6446
6447 2017-04-11 Paul Clarke <pc@us.ibm.com>
6448
6449 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6450 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6451 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6452 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6453
6454 2017-04-11 Florian Weimer <fweimer@redhat.com>
6455 Zack Weinberg <zackw@panix.com>
6456
6457 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6458 readdir64 as thread-safe. Update warning about readdir_r.
6459
6460 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6461
6462 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6463 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6464 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6465 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6466 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6467 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6468 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6469
6470 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6471
6472 * sysdeps/i386/dl-procinfo.c: Include
6473 <sysdeps/x86/dl-procinfo.c>.
6474 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6475 * sysdeps/x86/dl-procinfo.c: New file.
6476
6477 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6478
6479 * sysdeps/generic/math_private.h: Remove declarations of
6480 many functions that are already declared in math.h.
6481 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6482 declaration for __frexpl.
6483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6484 the declarations for __scalbnl and fabsl.
6485
6486 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6487
6488 [BZ #20831]
6489 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6490 of __mprotect to change protection on the excess portion
6491 to disallow all access.
6492
6493 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6496 HAS_CPU_FEATURE to check for SSE.
6497 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6498 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6499 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6500 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6501 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6502 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6503 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6504 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6505 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6506 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6507 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6508 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6509 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6510 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6511 (index_cpu_SSE): Likewise.
6512 (reg_SSE): Likewise.
6513
6514 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6515
6516 * posix/getopt1.c: Include <config.h>, not "config.h".
6517
6518 2017-04-07 Zack Weinberg <zackw@panix.com>
6519
6520 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6521 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6522 Mention in top-of-file boilerplate that these files are shared
6523 with gnulib.
6524 * posix/getopt.h, posix/bits/getopt_posix.h:
6525 Mention in top-of-file boilerplate that these files are NOT shared
6526 with gnulib, unlike the rest of the getopt implementation.
6527
6528 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6529 New files, intended to be shared with gnulib.
6530 * posix/bits/getopt_posix.h:
6531 New file, not intended to be shared with gnulib.
6532 * posix/getopt.h: Now just includes features.h,
6533 bits/getopt_core.h, and bits/getopt_ext.h. Will
6534 no longer be shared with gnulib.
6535 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6536 * include/bits/getopt_posix.h: New wrappers.
6537 * posix/Makefile: Install new headers.
6538 * posix/unistd.h, libio/stdio.h:
6539 Include bits/getopt_posix.h instead of getopt.h.
6540
6541 * include/libc-symbols.h: For gnulib compatibility, define
6542 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6543 _GL_ATTRIBUTE_CONST.
6544 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6545 parameters with _GL_UNUSED.
6546
6547 * posix/getopt.c: When used standalone, define __libc_use_alloca
6548 as always false and alloca to abort if called.
6549 (process_long_option): Rewrite handling of ambiguous long options
6550 to use a single boolean vector, not a linked list; use
6551 __libc_use_alloca to decide whether to allocate this using alloca.
6552 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6553
6554 * posix/getopt.c (process_long_option): New function split out
6555 from _getopt_internal_r.
6556 (_getopt_internal_r): Replace both copies of the long-option
6557 processing code with calls to process_long_option.
6558 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6559 (do_test): Differentiate argv[0] in the two subtests.
6560
6561 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6562 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6563 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6564
6565 * posix/getopt.h: Add backup definition of __nonnull for
6566 consistency with gnulib. Define __getopt_argv_const to const
6567 if not already defined.
6568 (getopt): Update doc comment from gnulib. Prototype
6569 unconditionally. Add __nonnull annotation.
6570 (__posix_getopt): Add __nonnull annotation.
6571 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6572 prototypes for consistency with gnulib. Add __nonnull
6573 annotations.
6574 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6575 (getopt_internal): Change 'argv' argument to type 'char **'.
6576 Remove now-unnecessary casts.
6577 (getopt, __posix_getopt): Eliminate repetition with a macro.
6578 Cast 'argv' to 'char **' when calling _getopt_internal.
6579 * posix/getopt1.c (getopt_long, getopt_long_only):
6580 Use __getopt_argv_const for consistency with gnulib.
6581 Cast 'argv' to 'char **' when calling _getopt_internal.
6582 (_getopt_long_r, _getopt_long_only_r):
6583 Change 'argv' argument to type 'char **'.
6584 (main): Constify 'long_options'.
6585 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6586 (_getopt_long_r, _getopt_long_only_r):
6587 Change 'argv' argument to type 'char **'.
6588
6589 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6590 (locked_vfxprintf): New helper function. Handle arbitrary
6591 multibyte strings, not just ASCII.
6592 * include/stdio.h: Declare __fxprintf_nocancel.
6593 * posix/getopt.c: When _LIBC is defined, define fprintf to
6594 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6595 to _IO_funlockfile. When neither _LIBC nor
6596 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6597 funlockfile as no-ops.
6598 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6599 the standalone error-printing code can now be used for libc as
6600 well. Add an flockfile/funlockfile pair around one case where
6601 the error message is printed in several chunks. Don't use fputc.
6602 * posix/tst-getopt-cancel.c: New test.
6603 * posix/Makefile: Run it.
6604
6605 * posix/getopt.c (_getopt_internal_r): Don't increment
6606 d->optind a second time when reporting ambiguous -W options.
6607
6608 * posix/getopt_int.h: Include getopt.h.
6609 Use impl-namespace names for all arguments to _getopt_internal and
6610 _getopt_internal_r.
6611 Declare __ordering enum outside the struct.
6612 Harmonize comments with gnulib.
6613 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6614 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6615 #ifdef TEST block and make unconditional. Do not define NULL.
6616 * posix/getopt.c: Partial merge from gnulib, covering the
6617 initial includes and global declarations, commentary, and
6618 a couple of semantically-neutral code changes.
6619
6620 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6621 Use '...' instead of `...' for quotation marks inside
6622 comments and strings.
6623
6624 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6625 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6626 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6627 * posix/getopt_int.h: Likewise.
6628 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6629 __libc_argc and __libc_argv externs, which were only used by
6630 #ifdef USE_NONOPTION_FLAGS blocks.
6631 * posix/getopt_init.c: Remove file.
6632 * posix/Makefile (routines): Remove getopt_init.
6633 * include/getopt.h: Don't declare __getopt_initialize_environment.
6634 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6635 a comment.
6636
6637 2017-04-07 Florian Weimer <fweimer@redhat.com>
6638
6639 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6640
6641 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6642
6643 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6644 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6645 to __wrap_.udiv.
6646 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6647 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6648
6649 * sysdeps/i386/symbol-hacks.h: New file.
6650 * sysdeps/m68k/symbol-hacks.h: New file.
6651 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6652 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6653 * sysdeps/unix/sysv/linux/i386/Makefile
6654 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6655 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6656 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6657 * sysdeps/unix/sysv/linux/m68k/Makefile
6658 [$(subdir) = csu] (sysdep_routines): Likewise.
6659 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6660 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6662 [$(subdir) = csu] (sysdep_routines): Likewise.
6663 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6664 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6665 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6666 [$(subdir) = csu] (sysdep_routines): Likewise.
6667 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6668 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6669 * sysdeps/wordsize-32/Makefile: Remove file.
6670 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6671 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6672
6673 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6674
6675 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6676 (TEST_FUNCTION_ARGV): New.
6677
6678 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6679
6680 * elf/next.c: Import support/test-driver.c instead of
6681 test-skeleton.c and delete TEST_FUNCTION macro definition.
6682 * elf/nodelete.c: Likewise.
6683 * elf/order2.c: Likewise.
6684 * elf/tst-_dl_addr_inside_object.c: Likewise.
6685 * elf/tst-addr1.c: Likewise.
6686 * elf/tst-align.c: Likewise.
6687 * elf/tst-align2.c: Likewise.
6688 * elf/tst-audit11.c: Likewise.
6689 * elf/tst-audit12.c: Likewise.
6690 * elf/tst-audit2.c: Likewise.
6691 * elf/tst-audit9.c: Likewise.
6692 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6693 * elf/tst-deep1.c: Likewise.
6694 * elf/tst-dl-iter-static.c: Likewise.
6695 * elf/tst-dlmodcount.c: Likewise.
6696 * elf/tst-dlmopen1.c: Likewise.
6697 * elf/tst-dlmopen2.c: Likewise.
6698 * elf/tst-dlmopen3.c: Likewise.
6699 * elf/tst-dlopen-aout.c: Likewise.
6700 * elf/tst-dlopenrpath.c: Likewise.
6701 * elf/tst-dlsym-error.c: Likewise.
6702 * elf/tst-execstack-needed.c: Likewise.
6703 * elf/tst-execstack-prog.c: Likewise.
6704 * elf/tst-execstack.c: Likewise.
6705 * elf/tst-global1.c: Likewise.
6706 * elf/tst-gnu2-tls1.c: Likewise.
6707 * elf/tst-latepthread.c: Likewise.
6708 * elf/tst-leaks1.c: Likewise.
6709 * elf/tst-linkall-static.c: Likewise.
6710 (do_test): New function.
6711 * elf/tst-nodelete-opened.c: Likewise.
6712 * elf/tst-nodelete.cc: Likewise.
6713 * elf/tst-nodelete2.c: Likewise.
6714 * elf/tst-noload.c: Likewise.
6715 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6716 * elf/tst-order-main.c: Likewise.
6717 * elf/tst-pathopt.c: Likewise.
6718 * elf/tst-pie2.c: Likewise.
6719 * elf/tst-piemod1.c: Likewise.
6720 * elf/tst-prelink.c: Likewise.
6721 * elf/tst-protected1a.c: Likewise.
6722 * elf/tst-protected1b.c: Likewise.
6723 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6724 and define _GNU_SOURCE macro.
6725 (cmdline_process_function): New function.
6726 * elf/tst-relsort1.c: Likewise.
6727 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6728 and define _GNU_SOURCE macro.
6729 (cmdline_process_function): New function.
6730 * elf/tst-thrlock.c: Likewise.
6731 * elf/tst-tls-dlinfo.c: Likewise.
6732 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6733 * elf/tst-tls1.c: Likewise.
6734 * elf/tst-tls10.c: Likewise.
6735 * elf/tst-tls11.c: Likewise.
6736 * elf/tst-tls12.c: Likewise.
6737 * elf/tst-tls13.c: Likewise.
6738 * elf/tst-tls14.c: Likewise.
6739 * elf/tst-tls15.c: Likewise.
6740 * elf/tst-tls16.c: Likewise.
6741 * elf/tst-tls17.c: Likewise.
6742 * elf/tst-tls18.c: Likewise.
6743 * elf/tst-tls19.c: Likewise.
6744 * elf/tst-tls2.c: Likewise.
6745 * elf/tst-tls3.c: Likewise.
6746 * elf/tst-tls4.c: Likewise.
6747 * elf/tst-tls5.c: Likewise.
6748 * elf/tst-tls6.c: Likewise.
6749 * elf/tst-tls7.c: Likewise.
6750 * elf/tst-tls8.c: Likewise.
6751 * elf/tst-tls9.c: Likewise.
6752 * elf/tst-tlsalign-extern.c: Likewise.
6753 * elf/tst-tlsalign.c: Likewise.
6754 * elf/tst-unique1.c: Likewise.
6755 * elf/tst-unique2.c: Likewise.
6756 * elf/vismain.c: Likewise.
6757
6758 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6759
6760 * string/test-strnlen.c (do_page_tests): New function
6761 to check length of strings ending at the page boundary.
6762 (test_main): Added call to the do_page_tests function.
6763
6764 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6765 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6766
6767 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6768 (sysdep_routines): Add strnlen-power8.
6769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6770 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6771 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6772 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6773 (__strnlen): Add __strnlen_power8 to ifunc list.
6774 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6775
6776 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6777
6778 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6779 the TEST_FUNCTION macro definition.
6780 * wcsmbs/tst-mbrtowc2.c: Likewise.
6781 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6782 * wcsmbs/tst-wchar-h.c: Likewise.
6783 * wcsmbs/tst-wcpncpy.c: Likewise.
6784 * wcsmbs/tst-wcrtomb.c: Likewise.
6785 * wcsmbs/tst-wcsnlen.c: Likewise.
6786 * wcsmbs/tst-wcstof.c: Likewise.
6787
6788 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6789
6790 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6791 CALL_THREAD_FCT macro usage.
6792 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6793 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6794 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6795
6796 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6797 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6798 (__ASSUME_REQUEUE_PI): Likewise.
6799 * sysdeps/unix/sysv/linux/kernel-features.h
6800 (__ASSUME_REQUEUE_PI): Likewise.
6801 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6802 (__ASSUME_REQUEUE_PI): Likewise.
6803 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6804 (__ASSUME_REQUEUE_PI): Likewise.
6805 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6806 (__ASSUME_REQUEUE_PI): Likewise.
6807
6808 2017-04-04 Florian Weimer <fweimer@redhat.com>
6809
6810 * resolv/tst-resolv-canonname.c: New file.
6811 * resolv/Makefile (tests): Add tst-resolv-canonname.
6812 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6813
6814 2017-04-04 Florian Weimer <fweimer@redhat.com>
6815
6816 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6817 Declare.
6818 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6819 (NS_MAXCDNAME): Remove definition.
6820 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6821 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6822 (NS_MAXCDNAME): Remove definition.
6823 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6824
6825 2017-04-04 Florian Weimer <fweimer@redhat.com>
6826
6827 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6828 call whose result is not used.
6829
6830 2017-04-04 Florian Weimer <fweimer@redhat.com>
6831
6832 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6833 * resolv/Makefile (tests): Add tst-ns_name.
6834 (tst-ns_name): Link with -lresolv.
6835 (tst-ns_name.out): Depend on the input data file.
6836
6837 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6838
6839 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6840 Clobber also r14.
6841
6842 2017-04-03 Mike Frysinger <vapier@gentoo.org>
6843
6844 [BZ #21253]
6845 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6846 slack space by 32KiB.
6847
6848 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
6849
6850 [BZ #21338]
6851 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6852 instead of incorrect do_set_arena_test
6853
6854 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6855
6856 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6857 * math/bits/math-finite.h: Likewise.
6858
6859 2017-03-31 Slava Barinov <v.barinov@samsung.com>
6860
6861 [BZ #21289]
6862 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6863
6864 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6865
6866 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6867 non expected inotify_add_watch and quotactl return.
6868
6869 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6870
6871 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6872 to int32_t.
6873 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6874 as returning int32_t.
6875
6876 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6877
6878 * math/math.h: Include bits/math-finite.h once per
6879 floating-point type.
6880 * math/bits/math-finite.h: Macroize all declarations by
6881 floating-point type.
6882
6883 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6884
6885 [BZ #21182]
6886 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6887 near end of a page.
6888 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6889 overflow calculation.
6890
6891 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
6892
6893 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6894 (IMPL) Call with 1 instead of 0 as argument.
6895
6896 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6897
6898 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6899 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6900 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6901 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6902 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6903 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6904 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6905 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6906 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6907 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6908 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6909 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6910 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6911 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6912 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6913 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6914 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6915 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6916 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6917 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6918 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6919 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6920 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6921 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6922 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6923 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6924 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6925 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6926 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6927 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6928 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6929 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6930 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6931 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6932 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6933 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6934 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6935 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6936 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6937 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6938 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6939 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6940 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6941 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6942 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6943 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6945 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6946 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6947 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6948 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6950 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6951 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6952 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6953 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6954 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6955 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6956 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6957 defined.
6958 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6959 __NR_setgroups32 if defined.
6960 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6961 if defined.
6962 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6963 __NR_setresgid32 is defined.
6964 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6965 __NR_setresuid32 if defined.
6966 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6967 __NR_setreuid32 if defined.
6968 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6969 defined.
6970 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6971 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6972 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6973 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6974 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6975 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6976 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6977 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6978 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6979 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6980 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6981 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6982 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6983 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6984 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6985 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6986 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6987 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6988 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6989 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6990 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6991 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6992 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6993 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6994 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6995 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6996 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6997 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6998 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6999 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7000 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7001 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7002 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7003 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7004 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7005 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7006 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7007 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7008 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7009 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7010 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7011 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7012 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7013 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7014 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7015 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7016 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7017 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7018 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7019 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7020 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7021 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7022 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7023 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7024 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7025 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7026 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7027 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7028 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7029 defined.
7030 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7031 __NR_setgroups32 if defined.
7032 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7033 if defined.
7034 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7035 __NR_setresgid32 is defined.
7036 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7037 __NR_setresuid32 if defined.
7038 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7039 __NR_setreuid32 if defined.
7040 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7041 defined.
7042
7043 2017-03-27 Joseph Myers <joseph@codesourcery.com>
7044
7045 [BZ #21277]
7046 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7047 unconditionally.
7048 (IMAXBEL): Likewise.
7049 (IUTF8): Likewise.
7050
7051 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7052
7053 * sysdeps/aarch64/libm-test-ulps: Update.
7054
7055 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7056
7057 * README.tunables: Updated descriptions.
7058 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7059 * scripts/gen-tunables.awk: Updated the code related to the
7060 commit.
7061
7062 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7063
7064 * benchtests/Makefile (string-benchset): Add memcpy-random.
7065 * benchtests/bench-memcpy-random.c: New file.
7066
7067 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7068
7069 * stdio-common/printf.h (register_printf_modifier): Change the
7070 order of __wur and __THROW.
7071 (register_printf_type): Likewise.
7072
7073 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7074
7075 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7076 test_main ().
7077 (CMDLINE_PROCESS): Use function instead of defined macro.
7078 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7079 <suppport/support.h> to use set_fortify_handler().
7080 * string/bug-envz1.c: Import support/test-driver.c instead of
7081 test-skeleton.c.
7082 * string/bug-strcoll2.c: Likewise.
7083 * string/bug-strtok1.c: Likewise.
7084 * string/stratcliff.c: Likewise.
7085 * string/test-ffs.c: Likewise.
7086 * string/test-memccpy.c: Likewise.
7087 * string/test-memchr.c: Likewise.
7088 * string/test-memcmp.c: Likewise.
7089 * string/test-memcpy.c: Likewise.
7090 * string/test-memmem.c: Likewise.
7091 * string/test-memmove.c: Likewise.
7092 * string/test-memrchr.c: Likewise.
7093 * string/test-memset.c: Likewise.
7094 * string/test-rawmemchr.c: Likewise.
7095 * string/test-strcasecmp.c: Likewise.
7096 * string/test-strcasestr.c: Likewise.
7097 * string/test-strcat.c: Likewise.
7098 * string/test-strchr.c: Likewise.
7099 * string/test-strcmp.c: Likewise.
7100 * string/test-strcpy.c: Likewise.
7101 * string/test-string.h: Likewise.
7102 * string/test-strlen.c: Likewise.
7103 * string/test-strncasecmp.c: Likewise.
7104 * string/test-strncat.c: Likewise.
7105 * string/test-strncmp.c: Likewise.
7106 * string/test-strncpy.c: Likewise.
7107 * string/test-strnlen.c: Likewise.
7108 * string/test-strpbrk.c: Likewise.
7109 * string/test-strrchr.c: Likewise.
7110 * string/test-strspn.c: Likewise.
7111 * string/test-strstr.c: Likewise.
7112 * string/tst-bswap.c: Likewise.
7113 * string/tst-cmp.c: Likewise.
7114 * string/tst-endian.c: Likewise.
7115 * string/tst-inlcall.c: Likewise.
7116 * string/tst-strcoll-overflow.c: Likewise.
7117 * string/tst-strfry.c: Likewise.
7118 * string/tst-strlen.c: Likewise.
7119 * string/tst-strtok.c: Likewise.
7120 * string/tst-strtok_r.c: Likewise.
7121 * string/tst-strxfrm.c: Likewise.
7122 * string/tst-strxfrm2.c: Likewise.
7123 * string/tst-svc.c: Likewise.
7124 * string/tst-svc2.c: Likewise.
7125
7126 2017-03-22 Zack Weinberg <zackw@panix.com>
7127
7128 * stdio-common/bug25.c: Include stdlib.h.
7129 * support/tst-support_format_dns_packet.c: Include stdio.h,
7130 stdlib.h, and string.h.
7131 * support/tst-support_record_failure.c: Include string.h.
7132 * support/tst-support_record_failure-2.sh: Adjust line number
7133 expectations and correct a typo in an error message.
7134
7135 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7136
7137 [BZ #21258]
7138 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7139 Define only if _dl_runtime_resolve is defined to
7140 _dl_runtime_resolve_sse_vex.
7141 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7142 Fallthrough to _dl_runtime_resolve_sse_vex.
7143
7144 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7145
7146 * INSTALL: Regenerated.
7147
7148 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7149
7150 * config.h.in: Add LINK_OBSOLETE_NSL.
7151 * config.make.in: Add build-obsolete-nsl.
7152 * configure.ac: Add obsolete-nsl option.
7153 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7154 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7155 * include/rpcsvc/nislib.h: Likewise.
7156 * include/rpcsvc/ypclnt.h: Likewise.
7157 * manual/install.texi: Document --enable-obsolete-nsl.
7158 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7159 * nis/nis_add.c: Replace libnsl_hidden_def with
7160 libnsl_hidden_nolink_def.
7161 * nis/nis_addmember.c: Likewise.
7162 * nis/nis_call.c: Likewise.
7163 * nis/nis_clone_obj.c: Likewise.
7164 * nis/nis_defaults.c: Likeise.
7165 * nis/nis_domain_of_r.c: Likewise.
7166 * nis/nis_error.c: Likewise.
7167 * nis/nis_file.c: Likewise.
7168 * nis/nis_free.c: Likewise.
7169 * nis_local_names.c: Likewise.
7170 * nis/nis_lookup.c: Likewise.
7171 * nis/nis_modify.c: Likewise.
7172 * nis/nis_print.c: Likewise.
7173 * nis/nis_remove.c: Likewise.
7174 * nis/nis_table.c: Likewise.
7175 * nis/nis_util.c: Likewise.
7176 * nis/nis_xdr.c: Likewise.
7177 * nis/yp_xdr.c: Likewise.
7178 * nis/ypclnt.c: Likewise.
7179 * nis/ypupdate_xdr.c: Likewise.
7180 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7181 * nis/nis_clone_dir.c: Likewise.
7182 * nis/nis_clone_res.c: Likewise.
7183 * nis/nis_creategroup.c: Likewise.
7184 * nis/nis_destroygroup.c: Likewise.
7185 * nis/nis_domain_of.c: Likewise.
7186 * nis/nis_getservlist.c: Likewise.
7187 * nis/nis_ismember.c: Likewise.
7188 * nis/nis_mkdir.c: Likewise.
7189 * nis/nis_ping.c: Likewise.
7190 * nis/nis_print_group_entry.c: Likewise.
7191 * nis/nis_removemember.c: Likewise.
7192 * nis/nis_rmdir.c: Likewise.
7193 * nis/nis_server.c: Likewise.
7194 * nis/nis_subr.c: Likewise.
7195 * nis/nis_verifygroup.c: Likewise.
7196
7197 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7198
7199 * malloc/tst-interpose-aux.c (check_for_allocations):
7200 Move compiler barrier before free.
7201
7202 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7203
7204 [BZ #21279]
7205 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7206 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7207 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7208 x86_64-x32-linux.
7209 (mq_attr.mq_maxmsg): Likewise.
7210 (mq_attr.mq_msgsize): Likewise.
7211 (mq_attr.mq_curmsgs): Likewise.
7212
7213 [BZ #21278]
7214 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7215 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7216 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7217 mips-o32-linux.
7218
7219 [BZ #21268]
7220 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7221 if [__USE_MISC]
7222 (NL3): Likewise.
7223
7224 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7225
7226 [BZ #21275]
7227 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7228 __stack to __stackbase.
7229 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7230 checks so we can include defined(__ia64__) first.
7231
7232 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7233
7234 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7235 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7236 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7237 Call is_pty when the link does not exist or does not match, fail
7238 with ENODEV when it returns true.
7239 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7240 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7241 Call is_pty when the link does not exist or does not match, fail
7242 with ENODEV when it returns true.
7243
7244 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7245
7246 [BZ #16437]
7247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7248 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7249 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7250 x86_64-x32-linux.
7251 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7252 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7253 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7254
7255 [BZ #21261]
7256 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7257 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7258 names for all fields.
7259 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7260 for jmp_buf field renaming.
7261 (_JMPBUF_UNWINDS_ADJ): Likewise.
7262
7263 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7264 with allow-header.
7265
7266 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7267
7268 * malloc/malloc.c (unlink): Add consistency check between size and
7269 next->prev->size, to further harden against 1-byte overflows.
7270
7271 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7272
7273 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7274 CPU_FEATURES_CPU_P.
7275
7276 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7277
7278 [BZ #21259]
7279 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7280 unconditionally, not just for [__USE_MISC].
7281
7282 [BZ #17786]
7283 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7284 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7285 mips-o32-linux.
7286
7287 [BZ #21260]
7288 * sysdeps/unix/sysv/linux/alpha/Makefile
7289 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7290 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7291
7292 * conform/conformtest.pl ($cross): New variable.
7293 (--cross): New command-line option.
7294 (runtest): Skip test execution when cross-compiling.
7295 * conform/Makefile (conformtest-cross): New variable.
7296 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7297 conformtest.pl.
7298
7299 * conform/conformtest.pl ($xfail_str): New variable.
7300 (--xfail=): New command-line option.
7301 (top level): Handle expectations starting xfail[cond]-.
7302 * conform/Makefile (conformtest-xfail): New variable.
7303 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7304 conformtest.pl.
7305
7306 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7307
7308 * conform/conformtest.pl: Use compilation instead of execution
7309 tests for testing values of constants and usability in #if.
7310
7311 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7312
7313 * math/auto-libm-test-in: Mark some catan and catanh as
7314 xfail-rounding:ibm128-libgcc.
7315 * math/auto-libm-test-out-catan: Regenerate.
7316 * math/auto-libm-test-out-catanh: Likewise.
7317
7318 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7319
7320 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7321 (__END_NAMESPACE_STD): Likewise.
7322 (__USING_NAMESPACE_STD): Likewise.
7323 (__BEGIN_NAMESPACE_C99): Likewise.
7324 (__END_NAMESPACE_C99): Likewise.
7325 (__USING_NAMESPACE_C99): Likewise.
7326 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7327 undefine macro.
7328 (_Mdouble_END_NAMESPACE): Likewise.
7329 * ctype/ctype.h: Do not handle C++ namespaces.
7330 * libio/bits/stdio-ldbl.h: Likewise.
7331 * libio/stdio.h: Likewise.
7332 * locale/locale.h: Likewise.
7333 * math/bits/mathcalls.h: Likewise.
7334 * setjmp/setjmp.h: Likewise.
7335 * signal/signal.h: Likewise.
7336 * stdlib/bits/stdlib-float.h: Likewise.
7337 * stdlib/bits/stdlib-ldbl.h: Likewise.
7338 * stdlib/stdlib.h: Likewise.
7339 * string/string.h: Likewise.
7340 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7341 * time/bits/types/clock_t.h: Likewise.
7342 * time/bits/types/struct_tm.h: Likewise.
7343 * time/bits/types/time_t.h: Likewise.
7344 * time/time.h: Likewise.
7345 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7346 * wcsmbs/uchar.h: Likewise.
7347 * wcsmbs/wchar.h: Likewise.
7348 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7349 * wctype/wctype.h: Do not handle C++ namespaces.
7350 * scripts/begin-end-check.pl: Remove.
7351 * Makefile (installed-headers): Likewise.
7352 (tests-special): Do not add $(objpfx)begin-end-check.out.
7353 ($(objpfx)begin-end-check.out): Remove.
7354
7355 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7356 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7357
7358 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7359 (DL_PLATFORM_INIT): New define.
7360 (dl_platform_init): New function.
7361 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7362 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7363 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7364 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7365 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7366
7367 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7368
7369 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7370 instead of PIC.
7371
7372 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7373
7374 [BZ #21094]
7375 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7376 24+24+24-bit pi for wider range of values around pi/2.
7377 * math/auto-libm-test-in: Add more tests of cos and tan.
7378 * math/auto-libm-test-out-cos: Regenerated.
7379 * math/auto-libm-test-out-tan: Likewise.
7380
7381 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7382
7383 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7384 (RTLD_START): Don't record stack end address in _dl_start_user.
7385
7386 2017-03-15 Alexey Neyman <stilor@att.net>
7387
7388 [BZ #21088]
7389 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7390 around definitions match those around use.
7391
7392 2017-03-15 Alexey Neyman <stilor@att.net>
7393
7394 * configure.ac: Avoid empty subexpression in grep.
7395 * configure: Regenerate.
7396
7397 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7398
7399 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7400 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7401 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7402 (test_wrp_rv): Fix format.
7403 (test_wrp_rv2): New macro.
7404 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7405 binaries.
7406
7407 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7408
7409 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7410 Use a union when storing pointers.
7411 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7412 cast result when passing to INIT_VEC_PTRS_LOOP.
7413 (VECTOR_WRAPPER_fFF_3): Likewise.
7414 (VECTOR_WRAPPER_fFF_4): Likewise.
7415
7416 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7417
7418 * include/bits/mathcalls-helper-functions.h: New file.
7419 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7420 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7421 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7422 math/bits/mathcalls-helper-functions.h.
7423 * math/bits/mathcalls-helper-functions.h: New file.
7424 * math/math.h: Include bits/mathcalls-helper-functions.h for
7425 float, double, and long double.
7426
7427 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7428
7429 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7430 instead of feraiseexcept.
7431
7432 2017-03-15 Florian Weimer <fweimer@redhat.com>
7433
7434 [BZ #21243]
7435 * support/temp_file.c (support_delete_temp_files): Add comment
7436 about ignored errors.
7437
7438 2017-03-15 Florian Weimer <fweimer@redhat.com>
7439
7440 [BZ #21244]
7441 * support/xclose.c: New file.
7442 * support/Makefile (libsupport-routines): Add xclose.
7443 * support/xunistd.h (xclose): Declare.
7444 * support/resolv_test.c (server_thread_tcp_client)
7445 (server_thread_tcp, make_server_sockets, resolv_test_start)
7446 (resolv_test_end): Call xclose instead of close.
7447 * support/support_enter_network_namespace.c
7448 (support_enter_network_namespace): Likewise.
7449 * support/support_run_diff.c (write_to_temp_file): Likewise.
7450
7451 2017-03-15 Florian Weimer <fweimer@redhat.com>
7452
7453 * support/support_format_dns_packet.c (support_format_dns_packet):
7454 Handle CNAME records in the response. Extract RDATA names from
7455 rdata, not the whole packet. Check AAAA record length.
7456 * support/tst-support_format_dns_packet.c: New file.
7457 * support/Makefile (tests): Add tst-support_format_dns_packet.
7458 (tst-support_format_dns_packet): Link against libresolv.
7459
7460 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7461
7462 [BZ #21232]
7463 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7464 posix_fadvise64 weak_alias for static build.
7465
7466 2017-03-14 Andreas Schwab <schwab@suse.de>
7467
7468 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7469 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7470 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7471 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7472 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7473 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7474 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7475 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7476
7477 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7478
7479 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7480 posix error code.
7481 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7482
7483 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7484
7485 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7486 no_isolate usage for SH.
7487
7488 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7489
7490 [BZ #15105]
7491 [BZ #19463]
7492 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7493 * inet/rcmd.c (rcmd_af): Likewise.
7494 * inet/rexec.c (rexec_af): Likewise.
7495 * intl/dcigettext.c (_LIBC): Likewise.
7496 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7497 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7498 * locale/setlocale.c (setlocale): Likewise.
7499 * posix/spawn_faction_addopen.c
7500 (posix_spawn_file_actions_addopen): Likewise.
7501 * stdlib/putenv.c (putenv): Use __strndup.
7502 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7504 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7505 (__Need_M_And_C) Remove define/undef.
7506 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7507 (__malloc_and_calloc_defined): Remove define.
7508 * string/bits/string2.h (__strdup): Remove define.
7509 (strdup): Likewise.
7510 (__strndup): Likewise.
7511 (strndup): Likewise.
7512
7513 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7514
7515 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7516 macro.
7517 (IPV6_ADDR_PREFERENCES): Likewise.
7518 (IPV6_MINHOPCOUNT): Likewise.
7519 (IPV6_ORIGDSTADDR): Likewise.
7520 (IPV6_RECVORIGDSTADDR): Likewise.
7521 (IPV6_TRANSPARENT): Likewise.
7522 (IPV6_UNICAST_IF): Likewise.
7523 (IPV6_RECVFRAGSIZE): Likewise.
7524
7525 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7526
7527 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7528
7529 2017-03-12 Alexey Neyman <stilor@att.net>
7530
7531 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7532 in R_SH_DIR32 case is always false when inlined from
7533 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7534
7535 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7536
7537 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7538 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7539 __ASSUME_SEND_SYSCALL.
7540
7541 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7542
7543 * sunrpc/Makefile: don't build and install rpcsvc header
7544 files, rpcgen and librpcsvc.a by default.
7545
7546 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7547
7548 * math/auto-libm-test-out-catan: Regenerated.
7549 * math/auto-libm-test-out-catanh: Likewise.
7550 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7551
7552 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7553
7554 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7555 for long double with corrected test expectations.
7556
7557 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7558
7559 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7560 Define.
7561 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7562 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7563 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7564 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7565 * sysdeps/unix/sysv/linux/tile/sysdep.h
7566 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7567 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7568 (__ASSUME_RECV_SYSCALL): Define.
7569 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7570 (__ASSUME_RECV_SYSCALL): Likewise.
7571 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7572 (__ASSUME_RECV_SYSCALL): Likewise.
7573 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7574 (__ASSUME_RECV_SYSCALL): Likewise.
7575 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7576 (__ASSUME_RECV_SYSCALL): Likewise.
7577 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7578 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7579 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7580 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7581 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7582 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7583 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7584 auto-generation list.
7585 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7586 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7587 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7588 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7589 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7590 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7591 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7592 __ASSUME_SENDTO_SYSCALL.
7593 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7594 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7595 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7596
7597 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7598 auto-generation list.
7599 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7600 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7601 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7602 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7603 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7604 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7605 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7606 * sysdeps/unix/sysv/linux/kernel-features.h
7607 (__ASSUME_SENDTO_SYSCALL): Define by default.
7608 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7609 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7610 __NR_sendto.
7611 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7612 (__ASSUME_SENDTO_SYSCALL): Likewise.
7613 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7614 (__ASSUME_SENDTO_SYSCALL): Likewise.
7615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7616 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7617 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7618 (__ASSUME_SENDTO_SYSCALL): Likewise.
7619 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7620 (__ASSUME_SENDTO_SYSCALL): Likewise.
7621 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7622
7623 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7624 auto-generation list.
7625 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7626 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7627 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7628 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7630 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7631 (__ASSUME_RECV_SYSCALL): New define.
7632 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7633 (__ASSUME_RECV_SYSCALL): Likewise.
7634 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7635 (__ASSUME_RECV_SYSCALL): Likewise.
7636 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7637 (__ASSUME_RECV_SYSCALL): Likewise.
7638 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7639 (__ASSUME_RECV_SYSCALL): Likewise.
7640 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7641 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7642 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7643 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7644 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7645 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7646 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7647 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7649 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7650 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7651 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7652
7653 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7654 auto-generation list.
7655 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7656 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7657 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7658 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7661 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7662 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7663 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7664 * sysdeps/unix/sysv/linux/kernel-features.h
7665 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7666 __NR_recvfrom.
7667 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7668 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7669 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7670 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7672 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7673 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7674 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7675 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7676 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7677 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7678 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7679 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7680
7681 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7682 auto-generation list.
7683 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7684 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7685 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7687 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7688 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7689 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7690 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7691 * sysdeps/unix/sysv/linux/kernel-features.h
7692 (__ASSUME_CONNECT_SYSCALL): Define.
7693 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7694 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7695 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7696 (__ASSUME_CONNECT_SYSCALL): Likewise.
7697 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7698 (__ASSUME_CONNECT_SYSCALL): Likewise.
7699 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7700 (__ASSUME_CONNECT_SYSCALL): Likewise.
7701
7702 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7703 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7704 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7705 auto-generation list.
7706 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7707 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7708 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7709 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7710 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7711 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7712 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7713 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7714 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7715 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7716 * sysdeps/unix/sysv/linux/kernel-features.h
7717 (__ASSUME_ACCEPT_SYSCALL): New define.
7718 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7719 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7720 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7721 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7722 (__ASSUME_ACCEPT_SYSCALL): Define.
7723 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7724 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7725 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7726 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7727 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7728 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7729 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7730 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7731 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7732
7733 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7734 Zack Weinberg <zackw@panix.com>
7735
7736 * posix/test-errno.c: New file.
7737 * posix/Makefile (tests): Add test-errno.
7738 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7739 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7740
7741 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7742
7743 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7744
7745 2017-03-07 Florian Weimer <fweimer@redhat.com>
7746
7747 * time/tzset.c (compute_offset): Open-code min macro.
7748 (min, max, sign): Remove.
7749
7750 2017-03-07 Florian Weimer <fweimer@redhat.com>
7751
7752 [BZ #15576]
7753 Remove TZNAME_MAX limit from sysconf.
7754 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7755 declaration.
7756 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7757 compute_tzname_max.
7758 (compute_tzname_max): Remove.
7759 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7760 (update_vars): Do not update __tzname_cur_max.
7761 (tzset_internal): Remove argument.
7762 (__tzset): Adjust call to tzset_internal.
7763 (__tz_convert): Likewise.
7764
7765 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7766 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7767 * manual/conf.texi (Sysconf Definition): Update comment.
7768
7769 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7770
7771 [BZ #21209]
7772 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7773 AT_SECURE processes.
7774 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7775 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7776 (test_child): Likewise.
7777 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7778
7779 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7780
7781 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7782
7783 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7784
7785 * sysdeps/s390/atomic-machine.h
7786 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7787 (__arch_compare_and_exchange_val_8_acq,
7788 __arch_compare_and_exchange_val_16_acq,
7789 __arch_compare_and_exchange_val_32_acq,
7790 __arch_compare_and_exchange_val_64_acq):
7791 Delete macro.
7792 (atomic_compare_and_exchange_val_acq,
7793 atomic_compare_and_exchange_val_rel,
7794 atomic_compare_and_exchange_bool_acq,
7795 catomic_compare_and_exchange_bool_acq,
7796 atomic_exchange_acq, atomic_exchange_rel,
7797 atomic_exchange_and_add_acq,
7798 atomic_exchange_and_add_rel,
7799 catomic_exchange_and_add, atomic_or_val,
7800 atomic_or, catomic_or, atomic_bit_test_set,
7801 atomic_and_val, atomic_and, catomic_and):
7802 Define macros with help of C11 atomic builtins.
7803
7804 2017-03-03 Justus Winter <justus@gnupg.org>
7805
7806 * sysdeps/mach/hurd/ftruncate64.c: New file.
7807 * sysdeps/mach/hurd/truncate64.c: Likewise.
7808
7809 2017-03-03 Florian Weimer <fweimer@redhat.com>
7810
7811 * time/tzfile.c (NOID): Do not define.
7812 * time/tzset.c (NOID): Likewise.
7813
7814 2017-03-03 Florian Weimer <fweimer@redhat.com>
7815
7816 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7817
7818 2017-03-02 Florian Weimer <fweimer@redhat.com>
7819
7820 * elf/get-dynamic-info.h: Remove header file inclusion guard.
7821
7822 2017-03-02 Florian Weimer <fweimer@redhat.com>
7823
7824 [BZ #21015]
7825 * manual/install.texi (Configuring and compiling): Document
7826 --enable-bind-now.
7827 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7828 (build-shlib-helper): Use $(LDFLAGS-lib.so).
7829 (format.lds): Likewise.
7830 [bind-now] (LDFLAGS-c.so): Remove.
7831 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7832 be R_X86_64_GLOB_DAT.
7833 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7834 relocation can be R_386_GLOB_DAT.
7835 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7836 relocaiton can be R_ALPHA_GLOB_DAT.
7837 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7838
7839 2017-03-01 Zack Weinberg <zackw@panix.com>
7840
7841 * include/libc-pointer-arith.h: New file. Define
7842 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7843 PTR_ALIGN_DOWN here.
7844 * include/libc-internal.h: Definitions of above macros
7845 moved from here. Don't include libc-diag.h anymore either.
7846 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7847 Don't include libc-internal.h.
7848
7849 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7850 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7851 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7852 * string/strcoll_l.c, sysdeps/nacl/brk.c
7853 * sysdeps/unix/clock_settime.c
7854 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7855 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7856 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7857 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7858 Don't include libc-internal.h.
7859
7860 * elf/get-dynamic-info.h, iconv/loop.c
7861 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7862 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7863 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7864 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7865 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7866 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7869 * sysdeps/ieee754/ldbl-128/k_tanl.c
7870 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7871 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7872 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7873 Include libc-diag.h instead of libc-internal.h.
7874
7875 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7876 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7877 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7878 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7879 * sysdeps/unix/sysv/linux/spawni.c
7880 * sysdeps/x86_64/nptl/tls.h:
7881 Include libc-pointer-arith.h instead of libc-internal.h.
7882
7883 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7884 * sysdeps/x86_64/atomic-machine.h:
7885 Add multiple include guard.
7886
7887 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7888 * string/strcasestr.c: No need to include config.h.
7889 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7890 sys/auxv.h. Don't include sysdep.h.
7891 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7892
7893 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
7894 DL_LOOKUP_ADDRESS.
7895 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7896 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7897 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7898 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7899 of ARTIFICIAL_LIMIT.
7900 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7901 declaration of __clone2.
7902
7903 2017-02-28 Florian Weimer <fweimer@redhat.com>
7904
7905 * scripts/backport-support.sh (latest_commit): New file.
7906
7907 2017-02-28 Florian Weimer <fweimer@redhat.com>
7908
7909 [BZ #20257]
7910 * inet/Makefile (routines): Add deadline.
7911 (tests-static): Add tst-deadline.
7912 * inet/net-internal.h (struct deadline_current_time)
7913 (__deadline_current_time, struct deadline, __deadline_is_infinite)
7914 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7915 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7916 * inet/deadline.c: New file.
7917 * inet/tst-deadline.c: Likewise.
7918 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7919 tst-udp-timeout, tst-udp-garbage.
7920 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7921 explicitly.
7922 (tst-udp-garbage): Likewise. Also link against thread library.
7923 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7924 struct layout is part of the ABI.
7925 (clntudp_call): Rework timeout handling.
7926 * sunrpc/tst-udp-garbage.c: New file.
7927 * sunrpc/tst-udp-nonblocking.c: Likewise.
7928 * sunrpc/tst-udp-timeout.c: Likewise.
7929
7930 2017-02-28 Florian Weimer <fweimer@redhat.com>
7931
7932 [BZ #5010]
7933 * sunrpc/svc.c (svc_is_mapped): Remove.
7934 (svc_unregister): Obtain mapped status while the service is still
7935 registered.
7936 * sunrpc/Makefile [have-thread-library] (tests): Add
7937 tst-svc_register.
7938 (tst-svc_register): Link against libc.so explicitly and the thread
7939 library.
7940 * sunrpc/tst-svc_register.c: New file.
7941
7942 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
7943
7944 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7945 * sysdeps/pthread/bits/sigthread.h: Likewise.
7946
7947 2017-02-27 Florian Weimer <fweimer@redhat.com>
7948
7949 [BZ #21115]
7950 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7951 * sunrpc/Makefile (tests): Add tst-udp-error.
7952 (tst-udp-error): Link against libc.so explicitly.
7953 * sunrpc/tst-udp-error: New file.
7954
7955 2017-02-25 Zack Weinberg <zackw@panix.com>
7956
7957 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7958 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7959
7960 * sysdeps/generic/math_ldbl.h
7961 * sysdeps/ia64/fpu/math_ldbl.h
7962 * sysdeps/ieee754/ldbl-128/math_ldbl.h
7963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7964 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7965 * sysdeps/powerpc/fpu/math_ldbl.h
7966 * sysdeps/x86_64/fpu/math_ldbl.h:
7967 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
7968 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7969 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
7970 Add copyright notices.
7971
7972 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7973 Don't use EXTRACT_WORDS64.
7974
7975 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7976 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7977 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7978 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7979 Include math_ldbl.h, not math_private.h.
7980
7981 2017-02-25 Zack Weinberg <zackw@panix.com>
7982
7983 * include/libc-diag.h: New file. Define ignore_value,
7984 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7985 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7986
7987 * include/libc-internal.h: Definitions of above macros moved from
7988 here. Include libc-diag.h. Add copyright notice.
7989
7990 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7991 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7992 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7993 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7994 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7995 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7996 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7997 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7998 Include libc-diag.h instead of libc-internal.h.
7999
8000 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8001 call to unsetenv (NULL).
8002 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8003 call to pthread_mutexattr_destroy (NULL).
8004
8005 2017-02-25 Zack Weinberg <zackw@panix.com>
8006
8007 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8008 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8009 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8010 gets was removed from C++ in C++14.
8011 * include/stdio.h: Remove redundant declaration of gets.
8012 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8013 be declared, since we are testing it.
8014 * stdio-common/Makefile (tst-gets.c): Compile with
8015 -Wno-deprecated-declarations.
8016 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8017 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8018 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8019 Compile with -Wno-deprecated-declarations.
8020
8021 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8022
8023 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8024 numbers.
8025
8026 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8027
8028 * resolv/tst-resolv-qtypes.c (domain):
8029 Change type to const pointer to const char.
8030
8031 2017-02-24 Joseph Myers <joseph@codesourcery.com>
8032
8033 * math/Makefile (libm-tests-generated): Remove variable.
8034 (libm-tests-base-normal): New variable.
8035 (libm-tests-base-finite): Likewise.
8036 (libm-tests-base-inline): Likewise.
8037 (libm-tests-base): Likewise.
8038 (libm-tests-normal): Likewise.
8039 (libm-tests-finite): Likewise.
8040 (libm-tests-inline): Likewise.
8041 (libm-tests-vector): Likewise.
8042 (libm-tests): Define in terms of these new variables.
8043 (libm-tests-for-type): New variable.
8044 (libm-tests.o): Move definition.
8045 (tests): Move addition of $(libm-tests).
8046 (generated): Update for new and removed libm test files.
8047 ($(objpfx)libm-test.c): Remove target.
8048 ($(objpfx)libm-have-vector-test.h): Likewise.
8049 (CFLAGS-test-double-vlen2.c): Remove variable.
8050 (CFLAGS-test-double-vlen4.c): Likewise.
8051 (CFLAGS-test-double-vlen8.c): Likewise.
8052 (CFLAGS-test-float-vlen4.c): Likewise.
8053 (CFLAGS-test-float-vlen8.c): Likewise.
8054 (CFLAGS-test-float-vlen16.c): Likewise.
8055 (CFLAGS-test-float.c): Likewise.
8056 (CFLAGS-test-float-finite.c): Likewise.
8057 (CFLAGS-libm-test-support-float.c): Likewise.
8058 (CFLAGS-test-double.c): Likewise.
8059 (CFLAGS-test-double-finite.c): Likewise.
8060 (CFLAGS-libm-test-support-double.c): Likewise.
8061 (CFLAGS-test-ldouble.c): Likewise.
8062 (CFLAGS-test-ldouble-finite.c): Likewise.
8063 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8064 (libm-test-inline-cflags): New variable.
8065 (CFLAGS-test-ifloat.c): Remove variable.
8066 (CFLAGS-test-idouble.c): Likewise.
8067 (CFLAGS-test-ildouble.c): Likewise.
8068 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8069 dependencies.
8070 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8071 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8072 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8073 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8074 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8075 Likewise.
8076 (dependencies on libm-test-support-*.o): Remove.
8077 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8078 rules using iterators.
8079 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8080 Likewise.
8081 ($(objpfx)libm-test-support-$(o).o): Likewise.
8082 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8083 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8084 instead.
8085 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8086 define rule instead.
8087 * math/README.libm-test: Update.
8088 * math/libm-test-acos.inc: Include libm-test-driver.c.
8089 (do_test): New function.
8090 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8091 (do_test): New function.
8092 * math/libm-test-asin.inc: Include libm-test-driver.c.
8093 (do_test): New function.
8094 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8095 (do_test): New function.
8096 * math/libm-test-atan.inc: Include libm-test-driver.c.
8097 (do_test): New function.
8098 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8099 (do_test): New function.
8100 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8101 (do_test): New function.
8102 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8103 (do_test): New function.
8104 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8105 (do_test): New function.
8106 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8107 (do_test): New function.
8108 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8109 (do_test): New function.
8110 * math/libm-test-carg.inc: Include libm-test-driver.c.
8111 (do_test): New function.
8112 * math/libm-test-casin.inc: Include libm-test-driver.c.
8113 (do_test): New function.
8114 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8115 (do_test): New function.
8116 * math/libm-test-catan.inc: Include libm-test-driver.c.
8117 (do_test): New function.
8118 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8119 (do_test): New function.
8120 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8121 (do_test): New function.
8122 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8123 (do_test): New function.
8124 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8125 (do_test): New function.
8126 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8127 (do_test): New function.
8128 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8129 (do_test): New function.
8130 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8131 (do_test): New function.
8132 * math/libm-test-clog.inc: Include libm-test-driver.c.
8133 (do_test): New function.
8134 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8135 (do_test): New function.
8136 * math/libm-test-conj.inc: Include libm-test-driver.c.
8137 (do_test): New function.
8138 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8139 (do_test): New function.
8140 * math/libm-test-cos.inc: Include libm-test-driver.c.
8141 (do_test): New function.
8142 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8143 (do_test): New function.
8144 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8145 (do_test): New function.
8146 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8147 (do_test): New function.
8148 * math/libm-test-creal.inc: Include libm-test-driver.c.
8149 (do_test): New function.
8150 * math/libm-test-csin.inc: Include libm-test-driver.c.
8151 (do_test): New function.
8152 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8153 (do_test): New function.
8154 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8155 (do_test): New function.
8156 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8157 (do_test): New function.
8158 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8159 (do_test): New function.
8160 * math/libm-test-erf.inc: Include libm-test-driver.c.
8161 (do_test): New function.
8162 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8163 (do_test): New function.
8164 * math/libm-test-exp.inc: Include libm-test-driver.c.
8165 (do_test): New function.
8166 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8167 (do_test): New function.
8168 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8169 (do_test): New function.
8170 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8171 (do_test): New function.
8172 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8173 (do_test): New function.
8174 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8175 (do_test): New function.
8176 * math/libm-test-floor.inc: Include libm-test-driver.c.
8177 (do_test): New function.
8178 * math/libm-test-fma.inc: Include libm-test-driver.c.
8179 (do_test): New function.
8180 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8181 (do_test): New function.
8182 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8183 (do_test): New function.
8184 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8185 (do_test): New function.
8186 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8187 (do_test): New function.
8188 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8189 (do_test): New function.
8190 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8191 (do_test): New function.
8192 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8193 (do_test): New function.
8194 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8195 (do_test): New function.
8196 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8197 (do_test): New function.
8198 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8199 (do_test): New function.
8200 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8201 (do_test): New function.
8202 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8203 (do_test): New function.
8204 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8205 (do_test): New function.
8206 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8207 (do_test): New function.
8208 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8209 (do_test): New function.
8210 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8211 (do_test): New function.
8212 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8213 (do_test): New function.
8214 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8215 (do_test): New function.
8216 * math/libm-test-isless.inc: Include libm-test-driver.c.
8217 (do_test): New function.
8218 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8219 (do_test): New function.
8220 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8221 (do_test): New function.
8222 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8223 (do_test): New function.
8224 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8225 (do_test): New function.
8226 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8227 (do_test): New function.
8228 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8229 (do_test): New function.
8230 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8231 (do_test): New function.
8232 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8233 (do_test): New function.
8234 * math/libm-test-j0.inc: Include libm-test-driver.c.
8235 (do_test): New function.
8236 * math/libm-test-j1.inc: Include libm-test-driver.c.
8237 (do_test): New function.
8238 * math/libm-test-jn.inc: Include libm-test-driver.c.
8239 (do_test): New function.
8240 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8241 (do_test): New function.
8242 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8243 (do_test): New function.
8244 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8245 (do_test): New function.
8246 * math/libm-test-llround.inc: Include libm-test-driver.c.
8247 (do_test): New function.
8248 * math/libm-test-log.inc: Include libm-test-driver.c.
8249 (do_test): New function.
8250 * math/libm-test-log10.inc: Include libm-test-driver.c.
8251 (do_test): New function.
8252 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8253 (do_test): New function.
8254 * math/libm-test-log2.inc: Include libm-test-driver.c.
8255 (do_test): New function.
8256 * math/libm-test-logb.inc: Include libm-test-driver.c.
8257 (do_test): New function.
8258 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8259 (do_test): New function.
8260 * math/libm-test-lround.inc: Include libm-test-driver.c.
8261 (do_test): New function.
8262 * math/libm-test-modf.inc: Include libm-test-driver.c.
8263 (do_test): New function.
8264 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8265 (do_test): New function.
8266 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8267 (do_test): New function.
8268 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8269 (do_test): New function.
8270 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8271 (do_test): New function.
8272 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8273 (do_test): New function.
8274 * math/libm-test-pow.inc: Include libm-test-driver.c.
8275 (do_test): New function.
8276 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8277 (do_test): New function.
8278 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8279 (do_test): New function.
8280 * math/libm-test-rint.inc: Include libm-test-driver.c.
8281 (do_test): New function.
8282 * math/libm-test-round.inc: Include libm-test-driver.c.
8283 (do_test): New function.
8284 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8285 (do_test): New function.
8286 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8287 (do_test): New function.
8288 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8289 (do_test): New function.
8290 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8291 (do_test): New function.
8292 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8293 (do_test): New function.
8294 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8295 (do_test): New function.
8296 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8297 (do_test): New function.
8298 * math/libm-test-significand.inc: Include libm-test-driver.c.
8299 (do_test): New function.
8300 * math/libm-test-sin.inc: Include libm-test-driver.c.
8301 (do_test): New function.
8302 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8303 (do_test): New function.
8304 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8305 (do_test): New function.
8306 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8307 (do_test): New function.
8308 * math/libm-test-tan.inc: Include libm-test-driver.c.
8309 (do_test): New function.
8310 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8311 (do_test): New function.
8312 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8313 (do_test): New function.
8314 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8315 (do_test): New function.
8316 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8317 (do_test): New function.
8318 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8319 (do_test): New function.
8320 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8321 (do_test): New function.
8322 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8323 (do_test): New function.
8324 * math/libm-test-y0.inc: Include libm-test-driver.c.
8325 (do_test): New function.
8326 * math/libm-test-y1.inc: Include libm-test-driver.c.
8327 (do_test): New function.
8328 * math/libm-test-yn.inc: Include libm-test-driver.c.
8329 (do_test): New function.
8330 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8331 (HAVE_VECTOR): Remove macro.
8332 (START): Do not call HAVE_VECTOR.
8333 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8334 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8335 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8336 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8337 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8338 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8339 * math/test-math-vector.h (FUNC_TEST): New macro.
8340 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8341 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8342 (double-vlen4-funcs): Likewise.
8343 (double-vlen4-avx2-funcs): Likewise.
8344 (double-vlen8-funcs): Likewise.
8345 (float-vlen4-funcs): Likewise.
8346 (float-vlen8-funcs): Likewise.
8347 (float-vlen8-avx2-funcs): Likewise.
8348 (float-vlen16-funcs): Likewise.
8349 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8350 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8351 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8352 macro.
8353 (TEST_VECTOR_sin): Likewise.
8354 (TEST_VECTOR_sincos): Likewise.
8355 (TEST_VECTOR_log): Likewise.
8356 (TEST_VECTOR_exp): Likewise.
8357 (TEST_VECTOR_pow): Likewise.
8358 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8359 Likewise.
8360 (TEST_VECTOR_sin): Likewise.
8361 (TEST_VECTOR_sincos): Likewise.
8362 (TEST_VECTOR_log): Likewise.
8363 (TEST_VECTOR_exp): Likewise.
8364 (TEST_VECTOR_pow): Likewise.
8365 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8366 Likewise.
8367 (TEST_VECTOR_sinf): Likewise.
8368 (TEST_VECTOR_sincosf): Likewise.
8369 (TEST_VECTOR_logf): Likewise.
8370 (TEST_VECTOR_expf): Likewise.
8371 (TEST_VECTOR_powf): Likewise.
8372 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8373 Likewise.
8374 (TEST_VECTOR_sinf): Likewise.
8375 (TEST_VECTOR_sincosf): Likewise.
8376 (TEST_VECTOR_logf): Likewise.
8377 (TEST_VECTOR_expf): Likewise.
8378 (TEST_VECTOR_powf): Likewise.
8379 * math/gen-libm-have-vector-test.sh: Remove file.
8380 * math/libm-test.inc: Likewise.
8381 * math/libm-test-support-double.c: Likewise.
8382 * math/libm-test-support-float.c: Likewise.
8383 * math/libm-test-support-ldouble.c: Likewise.
8384 * math/test-double-finite.c: Likewise.: Likewise.
8385 * math/test-double.c: Likewise.
8386 * math/test-float-finite.c: Likewise.
8387 * math/test-float.c: Likewise.
8388 * math/test-idouble.c: Likewise.
8389 * math/test-ifloat.c: Likewise.
8390 * math/test-ildouble.c: Likewise.
8391 * math/test-ldouble-finite.c: Likewise.
8392 * math/test-ldouble.c: Likewise.
8393 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8394 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8395 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8396 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8397 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8398 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8399 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8400 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8401 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8402 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8403
8404 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8405 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8406
8407 * math/Makefile: Add wrappers to gen-libm-calls.
8408 * math/w_acos_template.c: New file.
8409 * math/w_acosh_template.c: Likewise.
8410 * math/w_asin_template.c: Likewise.
8411 * math/w_atan2_template.c: Likewise.
8412 * math/w_atanh_template.c: Likewise.
8413 * math/w_cosh_template.c: Likewise.
8414 * math/w_exp10_template.c: Likewise.
8415 * math/w_exp2_template.c: Likewise.
8416 * math/w_exp_template.c: Likewise.
8417 * math/w_fmod_template.c: Likewise.
8418 * math/w_hypot_template.c: Likewise.
8419 * math/w_j0_template.c: Likewise.
8420 * math/w_j1_template.c: Likewise.
8421 * math/w_jn_template.c: Likewise.
8422 * math/w_lgamma_r_template.c: Likewise.
8423 * math/w_lgamma_template.c: Likewise.
8424 * math/w_log10_template.c: Likewise.
8425 * math/w_log2_template.c: Likewise.
8426 * math/w_log_template.c: Likewise.
8427 * math/w_pow_template.c: Likewise.
8428 * math/w_remainder_template.c: Likewise.
8429 * math/w_sinh_template.c: Likewise.
8430 * math/w_sqrt_template.c: Likewise.
8431 * math/w_tgamma_template.c: Likewise.: Likewise.
8432 * sysdeps/generic/math-type-macros-double.h
8433 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8434 the new wrappers.
8435 * sysdeps/generic/math-type-macros-float.h: Likewise.
8436 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8437
8438 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8439
8440 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8441 New enum constant and macro.
8442
8443 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8444 kernel version to 4.10.
8445
8446 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8447
8448 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8449
8450 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8451
8452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8453
8454 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8455
8456 * sysdeps/powerpc/tst-set_ppr.c: New file.
8457 Implement test cases for __ppc_set_ppr_* functions.
8458 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8459 in the list of tests.
8460
8461 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8462
8463 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8464 instead of test-skeleton.c.
8465 (do_test): Replaced pthread_create and pthread_join with
8466 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8467 Removed unneeded status variable.
8468 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8469 instead of test-skeleton.c.
8470 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8471
8472 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8473
8474 [BZ #20313]
8475 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8476 201605L, for Unicode 9.
8477
8478 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8479
8480 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8481 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8482 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8483 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8484 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8485 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8486
8487 2017-02-19 Zack Weinberg <zackw@panix.com>
8488
8489 * rt/tst-mqueue4.c: Include stdint.h.
8490
8491 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8492
8493 * sysdeps/arm/libm-test-ulps: Update.
8494 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8495 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8496 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8497
8498 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8499
8500 [BZ #21029]
8501 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8502 * sysdeps/unix/sysv/linux/i386/Makefile
8503 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8504 (uses-6-syscall-arguments): Remove.
8505 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8506 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8507 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8508 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8509 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8510 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8511 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8512 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8513 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8514 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8515 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8516 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8517 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8518 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8519 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8520 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8521 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8522 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8523 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8524 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8525 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8526 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8527 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8528 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8529 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8530 Likewise.
8531 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8532 Likewise.
8533 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8534 Likewise.
8535 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8536 Likewise.
8537 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8538 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8539 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8540 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8541 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8542 ebp on inline assembly.
8543 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8544 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8545 Set if CAN_USE_REGISTER_ASM_EBP is set.
8546
8547 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8550 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8551
8552 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8553
8554 * math/auto-libm-test-in: Add tests of catan and catanh.
8555 * math/auto-libm-test-out-catan: New generated file.
8556 * math/auto-libm-test-out-catanh: Likewise.
8557 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8558 Move tests with finite inputs, except divide-by-zero cases, to
8559 auto-libm-test-in.
8560 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8561 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8562 (libm-test-funcs-noauto): Remove catan and catanh.
8563 * sysdeps/i386/fpu/libm-test-ulps: Update.
8564 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8566
8567 * math/auto-libm-test-in: Add tests of casin and casinh.
8568 * math/auto-libm-test-out-casin: New generated file.
8569 * math/auto-libm-test-out-casinh: Likewise.
8570 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8571 Move tests with finite inputs to auto-libm-test-in.
8572 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8573 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8574 (libm-test-funcs-noauto): Remove casin and casinh.
8575 * sysdeps/i386/fpu/libm-test-ulps: Update.
8576 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8578
8579 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8580 * math/auto-libm-test-out-cacos: New generated file.
8581 * math/auto-libm-test-out-cacosh: Likewise.
8582 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8583 Move tests with finite inputs to auto-libm-test-in.
8584 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8585 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8586 (libm-test-funcs-noauto): Remove cacos and cacosh.
8587 * sysdeps/i386/fpu/libm-test-ulps: Update.
8588 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8590
8591 Revert:
8592 2017-02-16 Zack Weinberg <zackw@panix.com>
8593
8594 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8595 Don't include init-arch.h.
8596 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8597 Don't include init-arch.h.
8598
8599 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8600
8601 [BZ #21171]
8602 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8603 +Inf and raise divide-by-zero when x is negative.
8604 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8605 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8606 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8607 -Inf and raise divide-by-zero when x = +-0.
8608 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8609 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8610 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8611 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8612 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8613 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8614 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8615
8616 2017-02-16 Zack Weinberg <zackw@panix.com>
8617
8618 * scripts/build-many-glibcs.py (bot_build_mail): If the
8619 bot_config does not contain all of the necessary email-
8620 related settings, just print a warning and continue.
8621
8622 2017-02-16 Zack Weinberg <zackw@panix.com>
8623
8624 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8625 * dirent/opendir-tst1.c: Include sys/stat.h.
8626 * dirent/tst-fdopendir.c: Include sys/stat.h.
8627 * dirent/tst-fdopendir2.c: Include stdlib.h.
8628 * dirent/tst-scandir.c: Include stdbool.h.
8629 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8630 * elf/tst-tls15.c: Include stdlib.h.
8631 * elf/tst-tls16.c: Include stdlib.h.
8632 * elf/tst-tls17.c: Include stdlib.h.
8633 * elf/tst-tls18.c: Include stdlib.h.
8634 * iconv/tst-iconv6.c: Include endian.h.
8635 * iconvdata/bug-iconv11.c: Include limits.h.
8636 * io/test-utime.c: Include stdint.h.
8637 * io/tst-faccessat.c: Include sys/stat.h.
8638 * io/tst-fchmodat.c: Include sys/stat.h.
8639 * io/tst-fchownat.c: Include sys/stat.h.
8640 * io/tst-fstatat.c: Include sys/stat.h.
8641 * io/tst-futimesat.c: Include sys/stat.h.
8642 * io/tst-linkat.c: Include sys/stat.h.
8643 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8644 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8645 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8646 * io/tst-openat.c: Include stdbool.h.
8647 * io/tst-readlinkat.c: Include sys/stat.h.
8648 * io/tst-renameat.c: Include sys/stat.h.
8649 * io/tst-symlinkat.c: Include sys/stat.h.
8650 * io/tst-unlinkat.c: Include stdbool.h.
8651 * libio/bug-memstream1.c: Include stdlib.h.
8652 * libio/bug-wmemstream1.c: Include stdlib.h.
8653 * libio/tst-fwrite-error.c: Include stdlib.h.
8654 * libio/tst-memstream1.c: Include stdlib.h.
8655 * libio/tst-memstream2.c: Include stdlib.h.
8656 * libio/tst-memstream3.c: Include stdlib.h.
8657 * malloc/tst-interpose-aux.c: Include stdint.h.
8658 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8659 * nptl/tst-basic7.c: Include limits.h.
8660 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8661 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8662 * nptl/tst-cancel4_1.c: Include stddef.h.
8663 * nptl/tst-cancel4_2.c: Include stddef.h.
8664 * nptl/tst-cond16.c: Include limits.h.
8665 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8666 * nptl/tst-cond18.c: Include limits.h.
8667 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8668 * nptl/tst-cond4.c: Include stdint.h.
8669 * nptl/tst-cond6.c: Include stdint.h.
8670 * nptl/tst-stack2.c: Include limits.h.
8671 * nptl/tst-stackguard1.c: Include stddef.h.
8672 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8673 * nptl/tst-tls4moda.c: Include stddef.h.
8674 Don't include stdio.h, unistd.h, or tls.h.
8675 * nptl/tst-tls4modb.c: Include stddef.h.
8676 Don't include stdio.h, unistd.h, or tls.h.
8677 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8678 * posix/tst-getaddrinfo2.c: Include stdio.h.
8679 * posix/tst-getaddrinfo5.c: Include stdio.h.
8680 * posix/tst-pathconf.c: Include sys/stat.h.
8681 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8682 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8683 * posix/tst-regex.c: Include stdint.h.
8684 Don't include spawn.h or spawn_int.h.
8685 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8686 * posix/tst-vfork3.c: Include sys/stat.h.
8687 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8688 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8689 * resolv/tst-resolv-search.c: Include stdlib.h.
8690 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8691 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8692 * stdlib/test-canon.c: Include sys/stat.h.
8693 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8694 * string/test-memchr.c: Include stdint.h.
8695 * string/tst-cmp.c: Include stdint.h.
8696 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8697 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8698 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8699 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8700 Don't include init-arch.h.
8701 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8702 Don't include init-arch.h.
8703 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8704 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8705 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8706 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8707 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8708 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8709 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8710 * time/clocktest.c: Include stdint.h.
8711 * time/tst-posixtz.c: Include stdint.h.
8712 * timezone/tst-timezone.c: Include stdint.h.
8713
8714 2017-02-16 Zack Weinberg <zackw@panix.com>
8715
8716 * string/string.h [__USE_MISC]: Include strings.h.
8717 (__bzero, bcmp, bcopy, bzero, index, rindex)
8718 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8719 (ffs, ffsl, ffsll): Don't declare.
8720 * string/strings.h: Do not suppress the file if string.h has
8721 already been included.
8722 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8723 annotations.
8724 (index, rindex): Define inline forwarders even if
8725 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8726 (ffs): Use __attribute_const__.
8727 (ffsl, ffsll): Declare here.
8728 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8729 have now been standardized.
8730 * include/string.h (__bzero): Declare here.
8731
8732 * bits/types.h: Move to posix/bits.
8733 * include/bits/types.h: New wrapper.
8734
8735 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8736
8737 * string/bits/string2.h (strcmp): Remove define.
8738 (__strcmp_cg): Likewise.
8739 (strncmp): Likewise.
8740
8741 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8742
8743 * include/string.h: Add __cplusplus check.
8744
8745 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8746
8747 [BZ #21134]
8748 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8749 "divide by zero" exception when the input is zero.
8750 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8751 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8752 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8753 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8754 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8755
8756 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8757
8758 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8759 and include ...
8760 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8761 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8762 to, and include ...
8763 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8764 file.
8765 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8766 and include ...
8767 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8768 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8769 and include ...
8770 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8771 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8772 and include ...
8773 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8774 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8775 and include ...
8776 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8777 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8778 to, and include ...
8779 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8780 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8781 and include ...
8782 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8783
8784 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8785
8786 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8787 here.
8788 * math/libm-test-support.c (libm_test_init): Do not call
8789 INIT_ARCH_EXT here.
8790 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8791 (main): Call INIT_ARCH_EXT.
8792
8793 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8794
8795 [BZ #21130]
8796 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8797 with the "invalid" exception raised when x is -Inf.
8798 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8799
8800 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8801
8802 * string/bits/string2.h (strchr): Remove define.
8803
8804 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8805
8806 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8807 tst-avx512.
8808 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8809 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8810 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8811 ($(objpfx)tst-sse): New rule.
8812 ($(objpfx)tst-avx): Likewise.
8813 ($(objpfx)tst-avx512): Likewise.
8814 (CFLAGS-tst-avx-aux.c): New.
8815 (CFLAGS-tst-avxmod.c): Likewise.
8816 (CFLAGS-tst-avx512-aux.c): Likewise.
8817 (CFLAGS-tst-avx512mod.c): Likewise.
8818 * sysdeps/x86_64/tst-avx-aux.c: New file.
8819 * sysdeps/x86_64/tst-avx.c: Likewise.
8820 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8821 * sysdeps/x86_64/tst-avx512.c: Likewise.
8822 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8823 * sysdeps/x86_64/tst-avxmod.c: Likewise.
8824 * sysdeps/x86_64/tst-sse.c: Likewise.
8825 * sysdeps/x86_64/tst-ssemod.c: Likewise.
8826
8827 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8828
8829 * math/auto-libm-test-in: Add more tests of csin and csinh.
8830 * math/auto-libm-test-out-csin: Regenerated.
8831 * math/auto-libm-test-out-csinh: Likewise.
8832 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8833 auto-libm-test-in.
8834 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8835
8836 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8837
8838 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8839 libm-compat-calls-auto.
8840 (libm-compat-calls): Likewise.
8841 (libm-compat-calls-auto): Rename to libm-compat-calls and add
8842 w_lgamma_compatF and k_standardF (merged from the items above).
8843 (libm-routines): Use libm-compat-calls, instead of
8844 libm-compat-calls-auto, with type-foreach.
8845
8846 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8847
8848 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8849 macro.
8850 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8851 (CFLAGS-test-ifloat.c): ... this. Remove
8852 -U__LIBC_INTERNAL_MATH_INLINES.
8853 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8854 (CFLAGS-test-idouble.c): ... this. Remove
8855 -U__LIBC_INTERNAL_MATH_INLINES.
8856 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8857 (CFLAGS-test-ildouble.c): ... this. Remove
8858 -U__LIBC_INTERNAL_MATH_INLINES.
8859
8860 2017-02-08 Joseph Myers <joseph@codesourcery.com>
8861
8862 * math/libm-test-support.c: New file. Content from
8863 math/libm-test-driver.c.
8864 * math/libm-test-support.h: Likewise.
8865 * math/libm-test-support-double.c: New file.
8866 * math/libm-test-support-float.c: Likewise.
8867 * math/libm-test-support-ldouble.c: Likewise.
8868 * math/libm-test-driver.c: Remove main comment and header
8869 includes. Include libm-test-support.h.
8870 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8871 (flag_test_errno): Remove static.
8872 (flag_test_exceptions): Likewise.
8873 (flag_test_finite): Likewise.
8874 (flag_test_inline): Likewise.
8875 (flag_test_mathvec): Likewise.
8876 (test_msg): Likewise.
8877 (NO_EXCEPTION): Remove.
8878 (INVALID_EXCEPTION): Likewise.
8879 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8880 (OVERFLOW_EXCEPTION): Likewise.
8881 (UNDERFLOW_EXCEPTION): Likewise.
8882 (INEXACT_EXCEPTION): Likewise.
8883 (INVALID_EXCEPTION_OK): Likewise.
8884 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8885 (OVERFLOW_EXCEPTION_OK): Likewise.
8886 (UNDERFLOW_EXCEPTION_OK): Likewise.
8887 (NO_INEXACT_EXCEPTION): Likewise.
8888 (EXCEPTIONS_OK): Likewise.
8889 (IGNORE_ZERO_INF_SIGN): Likewise.
8890 (TEST_NAN_SIGN): Likewise.
8891 (TEST_NAN_PAYLOAD): Likewise.
8892 (NO_TEST_INLINE): Likewise.
8893 (XFAIL_TEST): Likewise.
8894 (ERRNO_UNCHANGED): Likewise.
8895 (ERRNO_EDOM): Likewise.
8896 (ERRNO_ERANGE): Likewise.
8897 (IGNORE_RESULT): Likewise.
8898 (NON_FINITE): Likewise.
8899 (TEST_SNAN): Likewise.
8900 (NO_TEST_MATHVEC): Likewise.
8901 (__CONCATX): Likewise.
8902 (TYPE_MIN): Likewise.
8903 (TYPE_TRUE_MIN): Likewise.
8904 (TYPE_MAX): Likewise.
8905 (MIN_EXP): Likewise.
8906 (MAX_EXP): Likewise.
8907 (MANT_DIG): Likewise.
8908 (FSTR_MAX): Likewise.
8909 (ulp_idx): Likewise.
8910 (qtype_str): Remove static.
8911 (TEST_COND_binary32): Remove.
8912 (TEST_COND_binary64): Likewise.
8913 (TEST_COND_binary128): Likewise.
8914 (TEST_COND_ibm128): Likewise.
8915 (TEST_COND_intel96): Likewise.
8916 (TEST_COND_m68k96): Likewise.
8917 (TEST_COND_ibm128_libgcc): Likewise.
8918 (XFAIL_IBM128_LIBGCC): Likewise.
8919 (PAYLOAD_DIG): Likewise.
8920 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8921 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8922 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8923 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8924 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8925 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8926 (TEST_COND_long32): Likewise.
8927 (TEST_COND_long64): Likewise.
8928 (TEST_COND_before_rounding): Likewise.
8929 (TEST_COND_after_rounding): Likewise.
8930 (ulps_file_name): Likewise.
8931 (ulps_file): Likewise.
8932 (output_ulps): Likewise.
8933 (output_dir): Likewise.
8934 (noErrors): Likewise.
8935 (noTests): Likewise.
8936 (noExcTests): Likewise.
8937 (noErrnoTests): Likewise.
8938 (verbose): Likewise.
8939 (output_max_error): Likewise.
8940 (output_points): Likewise.
8941 (ignore_max_ulp): Likewise.
8942 (max_error): Likewise.
8943 (real_max_error): Likewise.
8944 (imag_max_error): Likewise.
8945 (prev_max_error): Likewise.
8946 (prev_real_max_error): Likewise.
8947 (prev_imag_max_error): Likewise.
8948 (max_valid_error): Likewise.
8949 (TYPE_DECIMAL_DIG): Likewise.
8950 (TYPE_HEX_DIG): Likewise.
8951 (fmt_ftostr): Likewise.
8952 (compare_ulp_data): Likewise.
8953 (find_ulps): Likewise.
8954 (init_max_error): Likewise.
8955 (set_max_error): Likewise.
8956 (print_float): Likewise.
8957 (print_screen): Likewise.
8958 (print_screen_max_error): Likewise.
8959 (update_stats): Likewise.
8960 (print_function_ulps): Likewise.
8961 (print_complex_function_ulps): Likewise.
8962 (fpstack_test): Likewise.
8963 (print_max_error): Likewise.
8964 (print_complex_max_error): Likewise.
8965 (test_single_exception): Likewise.
8966 (test_exceptions): Likewise.
8967 (test_single_errno): Likewise.
8968 (test_errno): Likewise.
8969 (ULPDIFF): Likewise.
8970 (ulp): Likewise.
8971 (check_float_internal): Likewise.
8972 (check_float): Likewise.
8973 (check_complex): Likewise.
8974 (check_int): Likewise.
8975 (check_long): Likewise.
8976 (check_bool): Likewise.
8977 (check_longlong): Likewise.
8978 (check_intmax_t): Likewise.
8979 (check_uintmax_t): Likewise.
8980 (enable_test): Likewise.
8981 (matherr): Likewise.
8982 (initialize): Likewise.
8983 (options): Likewise.
8984 (doc): Remove static.
8985 (argp): Likewise.
8986 (parse_opt): Remove.
8987 (check_ulp): Likewise.
8988 (libm_test_init): Likewise.
8989 (libm_test_finish): Likewise.
8990 * math/Makefile (libm-test-support): New variable.
8991 (test-extras): Add libm-test-support files.
8992 (extra-test-objs): Likewise.
8993 (CFLAGS-libm-test-support-float.c): New variable.
8994 (CFLAGS-libm-test-support-double.c): Likewise.
8995 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8996 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8997 libm-test-support objects.
8998
8999 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9000
9001 * math/Makefile (libm-calls): Move w_exp...
9002 (libm-compat-calls-auto): Here.
9003
9004 * math/w_expl.c: Add suffix "_compat" to filename.
9005 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9006 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9007 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9009 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9013
9014 * math/w_expl_compat.c: New file, copied from above.
9015 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9016 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9017 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9019 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9022 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9023
9024 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9025 to filename.
9026 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9027
9028 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9029 copied from above and adjusted for the new filenames.
9030 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9031
9032 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9033
9034 * math/Makefile (libm-calls): Move w_lgammaF...
9035 (libm-compat-calls-auto): Here.
9036
9037 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9038 * math/w_lgammaf.c: Likewise.
9039 * math/w_lgammal.c: Likewise.
9040
9041 * math/w_lgamma_compat2.c: New file, copied from above.
9042 * math/w_lgammaf_compat2.c: Likewise.
9043 * math/w_lgammal_compat2.c: Likewise.
9044
9045 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9046
9047 * math/Makefile (libm-calls): Move w_lgammaF_r...
9048 (libm-compat-calls-auto): Here.
9049
9050 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9051 * math/w_lgammaf_r.c: Likewise.
9052 * math/w_lgammal_r.c: Likewise.
9053 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9054 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9055 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9056
9057 * math/w_lgamma_r_compat.c: New file, copied from above.
9058 * math/w_lgammaf_r_compat.c: Likewise.
9059 * math/w_lgammal_r_compat.c: Likewise.
9060 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9061 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9062 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9063
9064 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9065 to filename.
9066 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9067
9068 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9069 copied from above and adjusted for the new filenames.
9070 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9071
9072 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9073
9074 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9075 calculation in SYSCALL_ERROR_HANDLER().
9076
9077 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9078
9079 * manual/contrib.texi: Fix typo.
9080
9081 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9082
9083 [BZ #21109]
9084 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9085 tunable_val_t as argument.
9086 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9087 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9088 argument.
9089 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9090
9091 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9092
9093 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9094 Add PTRACE_EVENT_STOP.
9095 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9099 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9100 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9101
9102 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9103
9104 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9105 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9106 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9107 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9108 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9109 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9110 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9111 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9112 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9113 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9114
9115 [BZ #21112]
9116 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9117 12 bits zero.
9118 (cp_l): Update for new value of cp_h.
9119 * math/auto-libm-test-in: Add another test of pow.
9120 * math/auto-libm-test-out-pow: Regenerated.
9121
9122 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9123
9124 * manual/contrib.texi: Fix typo.
9125
9126 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9127
9128 [BZ #15998]
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9130 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9132
9133 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9134
9135 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9136 STRCHR as __strchr_power8.
9137 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9138 strlen as __strlen_power8.
9139
9140 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9141
9142 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9143 unaligned load for shorter strings.
9144 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9145
9146 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9147
9148 * math/libm-test-driver.c (flag_test_errno): New variable.
9149 (flag_test_exceptions): Likewise.
9150 (flag_test_finite): Likewise.
9151 (flag_test_inline): Likewise.
9152 (flag_test_mathvec): Likewise.
9153 (test_msg): Likewise.
9154 (ulp_idx): Likewise.
9155 (qtype_str): Likewise.
9156 (ULP_IDX): Remove macro.
9157 (QTYPE_STR): Likewise.
9158 (find_ulps): Use ulp_idx not ULP_IDX.
9159 (print_function_ulps): Use qtype_str, printed with %s, not
9160 QTYPE_STR, printed with concatentation to format string.
9161 (print_complex_function_ulps): Likewise.
9162 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9163 (test_errno): Use flag_test_errno not TEST_ERRNO.
9164 (enable_test): Use flag_test_inline, flag_test_finite and
9165 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9166 TEST_MATHVEC.
9167 (libm_test_init): New function. Factored out of main.
9168 (libm_test_finish): Likewise.
9169 (main): Call libm_test_init and libm_test_finish and move most
9170 code to those functions.
9171
9172 * math/libm-test-driver.c (STRX): New macro.
9173 (STR): Likewise.
9174 (STR_FLOAT): Likewise.
9175 (STR_VEC_LEN): Likewise.
9176 (TEST_MSG): Likewise. Define here instead of expecting to be
9177 defined by including file.
9178 * math/test-double-finite.c (TEST_MSG): Remove macro.
9179 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9180 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9181 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9182 * math/test-double.c (TEST_MSG): Likewise.
9183 * math/test-float-finite.c (TEST_MSG): Likewise.
9184 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9185 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9186 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9187 * math/test-float.c (TEST_MSG): Likewise.
9188 * math/test-idouble.c (TEST_MSG): Likewise.
9189 * math/test-ifloat.c (TEST_MSG): Likewise.
9190 * math/test-ildouble.c (TEST_MSG): Likewise.
9191 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9192 * math/test-ldouble.c (TEST_MSG): Likewise.
9193
9194 * math/libm-test.inc: Move all tests of individual functions to
9195 libm-test-*.inc and #include libm-test-*.c files.
9196 (acos_test_data): Remove.
9197 (acos_test): Likewise.
9198 (acosh_test_data): Likewise.
9199 (acosh_test): Likewise.
9200 (asin_test_data): Likewise.
9201 (asin_test): Likewise.
9202 (asinh_test_data): Likewise.
9203 (asinh_test): Likewise.
9204 (atan_test_data): Likewise.
9205 (atan_test): Likewise.
9206 (atanh_test_data): Likewise.
9207 (atanh_test): Likewise.
9208 (atan2_test_data): Likewise.
9209 (atan2_test): Likewise.
9210 (cabs_test_data): Likewise.
9211 (cabs_test): Likewise.
9212 (cacos_test_data): Likewise.
9213 (cacos_test): Likewise.
9214 (cacosh_test_data): Likewise.
9215 (cacosh_test): Likewise.
9216 (canonicalize_test_data): Likewise.
9217 (canonicalize_test): Likewise.
9218 (carg_test_data): Likewise.
9219 (carg_test): Likewise.
9220 (casin_test_data): Likewise.
9221 (casin_test): Likewise.
9222 (casinh_test_data): Likewise.
9223 (casinh_test): Likewise.
9224 (catan_test_data): Likewise.
9225 (catan_test): Likewise.
9226 (catanh_test_data): Likewise.
9227 (catanh_test): Likewise.
9228 (cbrt_test_data): Likewise.
9229 (cbrt_test): Likewise.
9230 (ccos_test_data): Likewise.
9231 (ccos_test): Likewise.
9232 (ccosh_test_data): Likewise.
9233 (ccosh_test): Likewise.
9234 (ceil_test_data): Likewise.
9235 (ceil_test): Likewise.
9236 (cexp_test_data): Likewise.
9237 (cexp_test): Likewise.
9238 (cimag_test_data): Likewise.
9239 (cimag_test): Likewise.
9240 (clog_test_data): Likewise.
9241 (clog_test): Likewise.
9242 (clog10_test_data): Likewise.
9243 (clog10_test): Likewise.
9244 (conj_test_data): Likewise.
9245 (conj_test): Likewise.
9246 (copysign_test_data): Likewise.
9247 (copysign_test): Likewise.
9248 (cos_test_data): Likewise.
9249 (cos_test): Likewise.
9250 (cosh_test_data): Likewise.
9251 (cosh_test): Likewise.
9252 (cpow_test_data): Likewise.
9253 (cpow_test): Likewise.
9254 (cproj_test_data): Likewise.
9255 (cproj_test): Likewise.
9256 (creal_test_data): Likewise.
9257 (creal_test): Likewise.
9258 (csin_test_data): Likewise.
9259 (csin_test): Likewise.
9260 (csinh_test_data): Likewise.
9261 (csinh_test): Likewise.
9262 (csqrt_test_data): Likewise.
9263 (csqrt_test): Likewise.
9264 (ctan_test_data): Likewise.
9265 (ctan_test): Likewise.
9266 (ctanh_test_data): Likewise.
9267 (ctanh_test): Likewise.
9268 (erf_test_data): Likewise.
9269 (erf_test): Likewise.
9270 (erfc_test_data): Likewise.
9271 (erfc_test): Likewise.
9272 (exp_test_data): Likewise.
9273 (exp_test): Likewise.
9274 (exp10_test_data): Likewise.
9275 (exp10_test): Likewise.
9276 (pow10_test): Likewise.
9277 (exp2_test_data): Likewise.
9278 (exp2_test): Likewise.
9279 (expm1_test_data): Likewise.
9280 (expm1_test): Likewise.
9281 (fabs_test_data): Likewise.
9282 (fabs_test): Likewise.
9283 (fdim_test_data): Likewise.
9284 (fdim_test): Likewise.
9285 (floor_test_data): Likewise.
9286 (floor_test): Likewise.
9287 (fma_test_data): Likewise.
9288 (fma_test): Likewise.
9289 (fmax_test_data): Likewise.
9290 (fmax_test): Likewise.
9291 (fmaxmag_test_data): Likewise.
9292 (fmaxmag_test): Likewise.
9293 (fmin_test_data): Likewise.
9294 (fmin_test): Likewise.
9295 (fminmag_test_data): Likewise.
9296 (fminmag_test): Likewise.
9297 (fmod_test_data): Likewise.
9298 (fmod_test): Likewise.
9299 (fpclassify_test_data): Likewise.
9300 (fpclassify_test): Likewise.
9301 (frexp_test_data): Likewise.
9302 (frexp_test): Likewise.
9303 (fromfp_test_data): Likewise.
9304 (fromfp_test): Likewise.
9305 (fromfpx_test_data): Likewise.
9306 (fromfpx_test): Likewise.
9307 (getpayload_test_data): Likewise.
9308 (getpayload_test): Likewise.
9309 (hypot_test_data): Likewise.
9310 (hypot_test): Likewise.
9311 (ilogb_test_data): Likewise.
9312 (ilogb_test): Likewise.
9313 (iscanonical_test_data): Likewise.
9314 (iscanonical_test): Likewise.
9315 (iseqsig_test_data): Likewise.
9316 (iseqsig_test): Likewise.
9317 (isfinite_test_data): Likewise.
9318 (isfinite_test): Likewise.
9319 (finite_test): Likewise.
9320 (isgreater_test_data): Likewise.
9321 (isgreater_test): Likewise.
9322 (isgreaterequal_test_data): Likewise.
9323 (isgreaterequal_test): Likewise.
9324 (isinf_test_data): Likewise.
9325 (isinf_test): Likewise.
9326 (isless_test_data): Likewise.
9327 (isless_test): Likewise.
9328 (islessequal_test_data): Likewise.
9329 (islessequal_test): Likewise.
9330 (islessgreater_test_data): Likewise.
9331 (islessgreater_test): Likewise.
9332 (isnan_test_data): Likewise.
9333 (isnan_test): Likewise.
9334 (isnormal_test_data): Likewise.
9335 (isnormal_test): Likewise.
9336 (issignaling_test_data): Likewise.
9337 (issignaling_test): Likewise.
9338 (issubnormal_test_data): Likewise.
9339 (issubnormal_test): Likewise.
9340 (isunordered_test_data): Likewise.
9341 (isunordered_test): Likewise.
9342 (iszero_test_data): Likewise.
9343 (iszero_test): Likewise.
9344 (j0_test_data): Likewise.
9345 (j0_test): Likewise.
9346 (j1_test_data): Likewise.
9347 (j1_test): Likewise.
9348 (jn_test_data): Likewise.
9349 (jn_test): Likewise.
9350 (lgamma_test_data): Likewise.
9351 (lgamma_test): Likewise.
9352 (gamma_test): Likewise.
9353 (llogb_test_data): Likewise.
9354 (llogb_test): Likewise.
9355 (lrint_test_data): Likewise.
9356 (lrint_test): Likewise.
9357 (llrint_test_data): Likewise.
9358 (llrint_test): Likewise.
9359 (log_test_data): Likewise.
9360 (log_test): Likewise.
9361 (log10_test_data): Likewise.
9362 (log10_test): Likewise.
9363 (log1p_test_data): Likewise.
9364 (log1p_test): Likewise.
9365 (log2_test_data): Likewise.
9366 (log2_test): Likewise.
9367 (logb_test_data): Likewise.
9368 (logb_test): Likewise.
9369 (lround_test_data): Likewise.
9370 (lround_test): Likewise.
9371 (llround_test_data): Likewise.
9372 (llround_test): Likewise.
9373 (modf_test_data): Likewise.
9374 (modf_test): Likewise.
9375 (nearbyint_test_data): Likewise.
9376 (nearbyint_test): Likewise.
9377 (nextafter_test_data): Likewise.
9378 (nextafter_test): Likewise.
9379 (nextup_test_data): Likewise.
9380 (nextup_test): Likewise.
9381 (nextdown_test_data): Likewise.
9382 (nextdown_test): Likewise.
9383 (nexttoward_test_data): Likewise.
9384 (nexttoward_test): Likewise.
9385 (pow_test_data): Likewise.
9386 (pow_test): Likewise.
9387 (remainder_test_data): Likewise.
9388 (remainder_test): Likewise.
9389 (drem_test): Likewise.
9390 (remquo_test_data): Likewise.
9391 (remquo_test): Likewise.
9392 (rint_test_data): Likewise.
9393 (rint_test): Likewise.
9394 (round_test_data): Likewise.
9395 (round_test): Likewise.
9396 (roundeven_test_data): Likewise.
9397 (roundeven_test): Likewise.
9398 (scalb_test_data): Likewise.
9399 (scalb_test): Likewise.
9400 (scalbn_test_data): Likewise.
9401 (scalbn_test): Likewise.
9402 (ldexp_test): Likewise.
9403 (scalbln_test_data): Likewise.
9404 (scalbln_test): Likewise.
9405 (setpayload_test_data): Likewise.
9406 (setpayload_test): Likewise.
9407 (setpayloadsig_test_data): Likewise.
9408 (setpayloadsig_test): Likewise.
9409 (signbit_test_data): Likewise.
9410 (signbit_test): Likewise.
9411 (sin_test_data): Likewise.
9412 (sin_test): Likewise.
9413 (sincos_test_data): Likewise.
9414 (sincos_test): Likewise.
9415 (sinh_test_data): Likewise.
9416 (sinh_test): Likewise.
9417 (sqrt_test_data): Likewise.
9418 (sqrt_test): Likewise.
9419 (tan_test_data): Likewise.
9420 (tan_test): Likewise.
9421 (tanh_test_data): Likewise.
9422 (tanh_test): Likewise.
9423 (tgamma_test_data): Likewise.
9424 (tgamma_test): Likewise.
9425 (totalorder_test_data): Likewise.
9426 (totalorder_test): Likewise.
9427 (totalordermag_test_data): Likewise.
9428 (totalordermag_test): Likewise.
9429 (trunc_test_data): Likewise.
9430 (trunc_test): Likewise.
9431 (ufromfp_test_data): Likewise.
9432 (ufromfp_test): Likewise.
9433 (ufromfpx_test_data): Likewise.
9434 (ufromfpx_test): Likewise.
9435 (y0_test_data): Likewise.
9436 (y0_test): Likewise.
9437 (y1_test_data): Likewise.
9438 (y1_test): Likewise.
9439 (yn_test_data): Likewise.
9440 (yn_test): Likewise.
9441 (significand_test_data): Likewise.
9442 (significand_test): Likewise.
9443 * math/Makefile (auto-libm-test-out-files): Remove variable.
9444 (libm-test-funcs-noauto): New variable.
9445 (libm-test-funcs-all): Likewise.
9446 (libm-test-c-auto): Likewise.
9447 (libm-test-c-noauto): Likewise.
9448 (libm-tests-generated): Add $(libm-test-c-auto) and
9449 $(libm-test-c-noauto).
9450 (generated): Do not add auto-libm-test-out.
9451 (libm-test-c-auto-obj): New variable.
9452 (libm-test-c-noauto-obj): Likewise.
9453 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9454 ($(libm-test-c-noauto-obj)): New static pattern rule.
9455 ($(libm-test-c-auto-obj)): Likewise.
9456 (libm-test-incs): New variable.
9457 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9458 and pass it to gen-libm-have-vector-test.sh.
9459 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9460 be passed on command line.
9461 * math/libm-test-acos.inc: New file. Content from
9462 math/libm-test.inc.
9463 * math/libm-test-acosh.inc: Likewise.
9464 * math/libm-test-asin.inc: Likewise.
9465 * math/libm-test-asinh.inc: Likewise.
9466 * math/libm-test-atan.inc: Likewise.
9467 * math/libm-test-atan2.inc: Likewise.
9468 * math/libm-test-atanh.inc: Likewise.
9469 * math/libm-test-cabs.inc: Likewise.
9470 * math/libm-test-cacos.inc: Likewise.
9471 * math/libm-test-cacosh.inc: Likewise.
9472 * math/libm-test-canonicalize.inc: Likewise.
9473 * math/libm-test-carg.inc: Likewise.
9474 * math/libm-test-casin.inc: Likewise.
9475 * math/libm-test-casinh.inc: Likewise.
9476 * math/libm-test-catan.inc: Likewise.
9477 * math/libm-test-catanh.inc: Likewise.
9478 * math/libm-test-cbrt.inc: Likewise.
9479 * math/libm-test-ccos.inc: Likewise.
9480 * math/libm-test-ccosh.inc: Likewise.
9481 * math/libm-test-ceil.inc: Likewise.
9482 * math/libm-test-cexp.inc: Likewise.
9483 * math/libm-test-cimag.inc: Likewise.
9484 * math/libm-test-clog.inc: Likewise.
9485 * math/libm-test-clog10.inc: Likewise.
9486 * math/libm-test-conj.inc: Likewise.
9487 * math/libm-test-copysign.inc: Likewise.
9488 * math/libm-test-cos.inc: Likewise.
9489 * math/libm-test-cosh.inc: Likewise.
9490 * math/libm-test-cpow.inc: Likewise.
9491 * math/libm-test-cproj.inc: Likewise.
9492 * math/libm-test-creal.inc: Likewise.
9493 * math/libm-test-csin.inc: Likewise.
9494 * math/libm-test-csinh.inc: Likewise.
9495 * math/libm-test-csqrt.inc: Likewise.
9496 * math/libm-test-ctan.inc: Likewise.
9497 * math/libm-test-ctanh.inc: Likewise.
9498 * math/libm-test-erf.inc: Likewise.
9499 * math/libm-test-erfc.inc: Likewise.
9500 * math/libm-test-exp.inc: Likewise.
9501 * math/libm-test-exp10.inc: Likewise.
9502 * math/libm-test-exp2.inc: Likewise.
9503 * math/libm-test-expm1.inc: Likewise.
9504 * math/libm-test-fabs.inc: Likewise.
9505 * math/libm-test-fdim.inc: Likewise.
9506 * math/libm-test-floor.inc: Likewise.
9507 * math/libm-test-fma.inc: Likewise.
9508 * math/libm-test-fmax.inc: Likewise.
9509 * math/libm-test-fmaxmag.inc: Likewise.
9510 * math/libm-test-fmin.inc: Likewise.
9511 * math/libm-test-fminmag.inc: Likewise.
9512 * math/libm-test-fmod.inc: Likewise.
9513 * math/libm-test-fpclassify.inc: Likewise.
9514 * math/libm-test-frexp.inc: Likewise.
9515 * math/libm-test-fromfp.inc: Likewise.
9516 * math/libm-test-fromfpx.inc: Likewise.
9517 * math/libm-test-getpayload.inc: Likewise.
9518 * math/libm-test-hypot.inc: Likewise.
9519 * math/libm-test-ilogb.inc: Likewise.
9520 * math/libm-test-iscanonical.inc: Likewise.
9521 * math/libm-test-iseqsig.inc: Likewise.
9522 * math/libm-test-isfinite.inc: Likewise.
9523 * math/libm-test-isgreater.inc: Likewise.
9524 * math/libm-test-isgreaterequal.inc: Likewise.
9525 * math/libm-test-isinf.inc: Likewise.
9526 * math/libm-test-isless.inc: Likewise.
9527 * math/libm-test-islessequal.inc: Likewise.
9528 * math/libm-test-islessgreater.inc: Likewise.
9529 * math/libm-test-isnan.inc: Likewise.
9530 * math/libm-test-isnormal.inc: Likewise.
9531 * math/libm-test-issignaling.inc: Likewise.
9532 * math/libm-test-issubnormal.inc: Likewise.
9533 * math/libm-test-isunordered.inc: Likewise.
9534 * math/libm-test-iszero.inc: Likewise.
9535 * math/libm-test-j0.inc: Likewise.
9536 * math/libm-test-j1.inc: Likewise.
9537 * math/libm-test-jn.inc: Likewise.
9538 * math/libm-test-lgamma.inc: Likewise.
9539 * math/libm-test-llogb.inc: Likewise.
9540 * math/libm-test-llrint.inc: Likewise.
9541 * math/libm-test-llround.inc: Likewise.
9542 * math/libm-test-log.inc: Likewise.
9543 * math/libm-test-log10.inc: Likewise.
9544 * math/libm-test-log1p.inc: Likewise.
9545 * math/libm-test-log2.inc: Likewise.
9546 * math/libm-test-logb.inc: Likewise.
9547 * math/libm-test-lrint.inc: Likewise.
9548 * math/libm-test-lround.inc: Likewise.
9549 * math/libm-test-modf.inc: Likewise.
9550 * math/libm-test-nearbyint.inc: Likewise.
9551 * math/libm-test-nextafter.inc: Likewise.
9552 * math/libm-test-nextdown.inc: Likewise.
9553 * math/libm-test-nexttoward.inc: Likewise.
9554 * math/libm-test-nextup.inc: Likewise.
9555 * math/libm-test-pow.inc: Likewise.
9556 * math/libm-test-remainder.inc: Likewise.
9557 * math/libm-test-remquo.inc: Likewise.
9558 * math/libm-test-rint.inc: Likewise.
9559 * math/libm-test-round.inc: Likewise.
9560 * math/libm-test-roundeven.inc: Likewise.
9561 * math/libm-test-scalb.inc: Likewise.
9562 * math/libm-test-scalbln.inc: Likewise.
9563 * math/libm-test-scalbn.inc: Likewise.
9564 * math/libm-test-setpayload.inc: Likewise.
9565 * math/libm-test-setpayloadsig.inc: Likewise.
9566 * math/libm-test-signbit.inc: Likewise.
9567 * math/libm-test-significand.inc: Likewise.
9568 * math/libm-test-sin.inc: Likewise.
9569 * math/libm-test-sincos.inc: Likewise.
9570 * math/libm-test-sinh.inc: Likewise.
9571 * math/libm-test-sqrt.inc: Likewise.
9572 * math/libm-test-tan.inc: Likewise.
9573 * math/libm-test-tanh.inc: Likewise.
9574 * math/libm-test-tgamma.inc: Likewise.
9575 * math/libm-test-totalorder.inc: Likewise.
9576 * math/libm-test-totalordermag.inc: Likewise.
9577 * math/libm-test-trunc.inc: Likewise.
9578 * math/libm-test-ufromfp.inc: Likewise.
9579 * math/libm-test-ufromfpx.inc: Likewise.
9580 * math/libm-test-y0.inc: Likewise.
9581 * math/libm-test-y1.inc: Likewise.
9582 * math/libm-test-yn.inc: Likewise.
9583 * math/README.libm-test: Update.
9584
9585 * math/gen-auto-libm-tests.c: Update comment about use of program.
9586 (generate_output): Add argument FUNCTION.
9587 (main): Require extra argument. Pass function name to
9588 generate_output.
9589 * math/Makefile (generated): Add auto-libm-test-out.
9590 (libm-test-funcs-auto): New variable.
9591 (auto-libm-test-out-files): New variable.
9592 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9593 Concatenate those files to form $(objpfx)auto-libm-test-out and
9594 use it as input to gen-libm-test.pl.
9595 * math/README.libm-test: Update.
9596 * math/auto-libm-test-out: Remove.
9597 * math/auto-libm-test-out-acos: New generated file.
9598 * math/auto-libm-test-out-acosh: Likewise.
9599 * math/auto-libm-test-out-asin: Likewise.
9600 * math/auto-libm-test-out-asinh: Likewise.
9601 * math/auto-libm-test-out-atan: Likewise.
9602 * math/auto-libm-test-out-atan2: Likewise.
9603 * math/auto-libm-test-out-atanh: Likewise.
9604 * math/auto-libm-test-out-cabs: Likewise.
9605 * math/auto-libm-test-out-carg: Likewise.
9606 * math/auto-libm-test-out-cbrt: Likewise.
9607 * math/auto-libm-test-out-ccos: Likewise.
9608 * math/auto-libm-test-out-ccosh: Likewise.
9609 * math/auto-libm-test-out-cexp: Likewise.
9610 * math/auto-libm-test-out-clog: Likewise.
9611 * math/auto-libm-test-out-clog10: Likewise.
9612 * math/auto-libm-test-out-cos: Likewise.
9613 * math/auto-libm-test-out-cosh: Likewise.
9614 * math/auto-libm-test-out-cpow: Likewise.
9615 * math/auto-libm-test-out-csin: Likewise.
9616 * math/auto-libm-test-out-csinh: Likewise.
9617 * math/auto-libm-test-out-csqrt: Likewise.
9618 * math/auto-libm-test-out-ctan: Likewise.
9619 * math/auto-libm-test-out-ctanh: Likewise.
9620 * math/auto-libm-test-out-erf: Likewise.
9621 * math/auto-libm-test-out-erfc: Likewise.
9622 * math/auto-libm-test-out-exp: Likewise.
9623 * math/auto-libm-test-out-exp10: Likewise.
9624 * math/auto-libm-test-out-exp2: Likewise.
9625 * math/auto-libm-test-out-expm1: Likewise.
9626 * math/auto-libm-test-out-fma: Likewise.
9627 * math/auto-libm-test-out-hypot: Likewise.
9628 * math/auto-libm-test-out-j0: Likewise.
9629 * math/auto-libm-test-out-j1: Likewise.
9630 * math/auto-libm-test-out-jn: Likewise.
9631 * math/auto-libm-test-out-lgamma: Likewise.
9632 * math/auto-libm-test-out-log: Likewise.
9633 * math/auto-libm-test-out-log10: Likewise.
9634 * math/auto-libm-test-out-log1p: Likewise.
9635 * math/auto-libm-test-out-log2: Likewise.
9636 * math/auto-libm-test-out-pow: Likewise.
9637 * math/auto-libm-test-out-sin: Likewise.
9638 * math/auto-libm-test-out-sincos: Likewise.
9639 * math/auto-libm-test-out-sinh: Likewise.
9640 * math/auto-libm-test-out-sqrt: Likewise.
9641 * math/auto-libm-test-out-tan: Likewise.
9642 * math/auto-libm-test-out-tanh: Likewise.
9643 * math/auto-libm-test-out-tgamma: Likewise.
9644 * math/auto-libm-test-out-y0: Likewise.
9645 * math/auto-libm-test-out-y1: Likewise.
9646 * math/auto-libm-test-out-yn: Likewise.
9647
9648 * math/Makefile (generated): Do not include libm-test.stmp.
9649 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9650 on $(objpfx)libm-test.stmp.
9651 ($(objpfx)libm-test.stmp): Remove rule.
9652 ($(objpfx)libm-test-ulps.h): New rule.
9653 ($(objpfx)libm-test.c): Likewise.
9654 ($(objpfx)libm-have-vector-test.h): Likewise.
9655 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9656 individual generated files, not libm-test.stmp.
9657
9658 * math/gen-libm-test.pl ($output_dir): Remove variable.
9659 ($srcdir): Likewise.
9660 ($opt_a): New variable.
9661 ($opt_c): Likewise.
9662 ($opt_C): Likewise.
9663 ($opt_H): Likewise.
9664 (-n): Make option take argument and use it as NewUlps output.
9665 (-a): New option. Use its argument for auto-libm-test-out input.
9666 (-c): New option. Use its argument for libm-test.inc input.
9667 (-C): New option. Use its argument for libm-test.c output.
9668 (-H): New option. Use its argument for libm-test-ulps.h output.
9669 (top level): Only process inputs needed to generate outputs
9670 specified by command-line options. Only generate outputs
9671 specified by command-line options.
9672 * math/README.libm-test: Update example gen-libm-test.pl command.
9673 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9674 commands.
9675 (regen-ulps): Likewise.
9676
9677 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9678
9679 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9680 * include/string.h (index): Remove define.
9681 (rindex): Likewise.
9682 * misc/getttyent.c (__getttyent): Rename index to strchr.
9683 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9684 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9685
9686 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9687
9688 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9689 * math/libm-test.inc: Move all contents, other than tests of
9690 individual functions, to libm-test-driver.c.
9691 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9692 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9693 [!FE_UPWARD] (FE_UPWARD): Likewise.
9694 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9695 (NO_EXCEPTION): Likewise.
9696 (INVALID_EXCEPTION): Likewise.
9697 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9698 (OVERFLOW_EXCEPTION): Likewise.
9699 (UNDERFLOW_EXCEPTION): Likewise.
9700 (INEXACT_EXCEPTION): Likewise.
9701 (INVALID_EXCEPTION_OK): Likewise.
9702 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9703 (OVERFLOW_EXCEPTION_OK): Likewise.
9704 (UNDERFLOW_EXCEPTION_OK): Likewise.
9705 (NO_INEXACT_EXCEPTION): Likewise.
9706 (EXCEPTIONS_OK): Likewise.
9707 (IGNORE_ZERO_INF_SIGN): Likewise.
9708 (TEST_NAN_SIGN): Likewise.
9709 (TEST_NAN_PAYLOAD): Likewise.
9710 (NO_TEST_INLINE): Likewise.
9711 (XFAIL_TEST): Likewise.
9712 (ERRNO_UNCHANGED): Likewise.
9713 (ERRNO_EDOM): Likewise.
9714 (ERRNO_ERANGE): Likewise.
9715 (IGNORE_RESULT): Likewise.
9716 (NON_FINITE): Likewise.
9717 (TEST_SNAN): Likewise.
9718 (NO_TEST_MATHVEC): Likewise.
9719 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9720 (__CONCATX): Likewise.
9721 (TYPE_MIN): Likewise.
9722 (TYPE_TRUE_MIN): Likewise.
9723 (TYPE_MAX): Likewise.
9724 (MIN_EXP): Likewise.
9725 (MAX_EXP): Likewise.
9726 (MANT_DIG): Likewise.
9727 (FSTR_MAX): Likewise.
9728 (ULP_IDX): Likewise.
9729 (QTYPE_STR): Likewise.
9730 (TEST_COND_binary32): Likewise.
9731 (TEST_COND_binary64): Likewise.
9732 (TEST_COND_binary128): Likewise.
9733 (TEST_COND_ibm128): Likewise.
9734 (TEST_COND_intel96): Likewise.
9735 (TEST_COND_m68k96): Likewise.
9736 (TEST_COND_ibm128_libgcc): Likewise.
9737 (XFAIL_IBM128_LIBGCC): Likewise.
9738 (PAYLOAD_DIG): Likewise.
9739 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9740 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9741 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9742 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9743 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9744 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9745 (TEST_COND_long32): Likewise.
9746 (TEST_COND_long64): Likewise.
9747 (TEST_COND_before_rounding): Likewise.
9748 (TEST_COND_after_rounding): Likewise.
9749 (lit_pi_3_m_4_d): Likewise.
9750 (lit_pi_3_m_4_ln10_m_d): Likewise.
9751 (lit_pi_2_ln10_m_d): Likewise.
9752 (lit_pi_4_ln10_m_d): Likewise.
9753 (lit_pi_ln10_d): Likewise.
9754 (lit_pi_2_d): Likewise.
9755 (lit_pi_4_d): Likewise.
9756 (lit_pi): Likewise.
9757 (lit_e): Likewise.
9758 (ulps_file_name): Likewise.
9759 (ulps_file): Likewise.
9760 (output_ulps): Likewise.
9761 (output_dir): Likewise.
9762 (noErrors): Likewise.
9763 (noTests): Likewise.
9764 (noExcTests): Likewise.
9765 (noErrnoTests): Likewise.
9766 (verbose): Likewise.
9767 (output_max_error): Likewise.
9768 (output_points): Likewise.
9769 (ignore_max_ulp): Likewise.
9770 (plus_zero): Likewise.
9771 (minus_zero): Likewise.
9772 (plus_infty): Likewise.
9773 (minus_infty): Likewise.
9774 (qnan_value_pl): Likewise.
9775 (qnan_value): Likewise.
9776 (snan_value_pl): Likewise.
9777 (snan_value): Likewise.
9778 (max_value): Likewise.
9779 (min_value): Likewise.
9780 (min_subnorm_value): Likewise.
9781 (snan_value_ld): Likewise.
9782 (max_error): Likewise.
9783 (real_max_error): Likewise.
9784 (imag_max_error): Likewise.
9785 (prev_max_error): Likewise.
9786 (prev_real_max_error): Likewise.
9787 (prev_imag_max_error): Likewise.
9788 (max_valid_error): Likewise.
9789 (TYPE_DECIMAL_DIG): Likewise.
9790 (TYPE_HEX_DIG): Likewise.
9791 (fmt_ftostr): Likewise.
9792 (compare_ulp_data): Likewise.
9793 (find_ulps): Likewise.
9794 (init_max_error): Likewise.
9795 (set_max_error): Likewise.
9796 (print_float): Likewise.
9797 (print_screen): Likewise.
9798 (print_screen_max_error): Likewise.
9799 (update_stats): Likewise.
9800 (print_function_ulps): Likewise.
9801 (print_complex_function_ulps): Likewise.
9802 (fpstack_test): Likewise.
9803 (print_max_error): Likewise.
9804 (print_complex_max_error): Likewise.
9805 (test_single_exception): Likewise.
9806 (test_exceptions): Likewise.
9807 (test_single_errno): Likewise.
9808 (test_errno): Likewise.
9809 (ULPDIFF): Likewise.
9810 (ulp): Likewise.
9811 (check_float_internal): Likewise.
9812 (check_float): Likewise.
9813 (check_complex): Likewise.
9814 (check_int): Likewise.
9815 (check_long): Likewise.
9816 (check_bool): Likewise.
9817 (check_longlong): Likewise.
9818 (check_intmax_t): Likewise.
9819 (check_uintmax_t): Likewise.
9820 (enable_test): Likewise.
9821 (struct test_f_f_data): Likewise.
9822 (struct test_ff_f_data): Likewise.
9823 (struct test_fj_f_data): Likewise.
9824 (struct test_fi_f_data): Likewise.
9825 (struct test_fl_f_data): Likewise.
9826 (struct test_if_f_data): Likewise.
9827 (struct test_fff_f_data): Likewise.
9828 (struct test_fiu_M_data): Likewise.
9829 (struct test_fiu_U_data): Likewise.
9830 (struct test_c_f_data): Likewise.
9831 (struct test_f_f1_data): Likewise.
9832 (struct test_fF_f1_data): Likewise.
9833 (struct test_ffI_f1_data): Likewise.
9834 (struct test_c_c_data): Likewise.
9835 (struct test_cc_c_data): Likewise.
9836 (struct test_f_i_data): Likewise.
9837 (struct test_ff_i_data): Likewise.
9838 (struct test_f_l_data): Likewise.
9839 (struct test_f_L_data): Likewise.
9840 (struct test_fFF_11_data): Likewise.
9841 (struct test_Ff_b1_data): Likewise.
9842 (IF_ROUND_INIT_): Likewise.
9843 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9844 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9845 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9846 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9847 (ROUND_RESTORE_): Likewise.
9848 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9849 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9850 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9851 (ROUND_RESTORE_FE_UPWARD): Likewise.
9852 (RM_): Likewise.
9853 (RM_FE_DOWNWARD): Likewise.
9854 (RM_FE_TONEAREST): Likewise.
9855 (RM_FE_TOWARDZERO): Likewise.
9856 (RM_FE_UPWARD): Likewise.
9857 (COMMON_TEST_SETUP): Likewise.
9858 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9859 (COMMON_TEST_CLEANUP): Likewise.
9860 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9861 (RUN_TEST_f_f): Likewise.
9862 (RUN_TEST_LOOP_f_f): Likewise.
9863 (RUN_TEST_fp_f): Likewise.
9864 (RUN_TEST_LOOP_fp_f): Likewise.
9865 (RUN_TEST_2_f): Likewise.
9866 (RUN_TEST_LOOP_2_f): Likewise.
9867 (RUN_TEST_ff_f): Likewise.
9868 (RUN_TEST_LOOP_ff_f): Likewise.
9869 (RUN_TEST_LOOP_fj_f): Likewise.
9870 (RUN_TEST_fi_f): Likewise.
9871 (RUN_TEST_LOOP_fi_f): Likewise.
9872 (RUN_TEST_fl_f): Likewise.
9873 (RUN_TEST_LOOP_fl_f): Likewise.
9874 (RUN_TEST_if_f): Likewise.
9875 (RUN_TEST_LOOP_if_f): Likewise.
9876 (RUN_TEST_fff_f): Likewise.
9877 (RUN_TEST_LOOP_fff_f): Likewise.
9878 (RUN_TEST_fiu_M): Likewise.
9879 (RUN_TEST_LOOP_fiu_M): Likewise.
9880 (RUN_TEST_fiu_U): Likewise.
9881 (RUN_TEST_LOOP_fiu_U): Likewise.
9882 (RUN_TEST_c_f): Likewise.
9883 (RUN_TEST_LOOP_c_f): Likewise.
9884 (RUN_TEST_f_f1): Likewise.
9885 (RUN_TEST_LOOP_f_f1): Likewise.
9886 (RUN_TEST_fF_f1): Likewise.
9887 (RUN_TEST_LOOP_fF_f1): Likewise.
9888 (RUN_TEST_fI_f1): Likewise.
9889 (RUN_TEST_LOOP_fI_f1): Likewise.
9890 (RUN_TEST_ffI_f1_mod8): Likewise.
9891 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9892 (RUN_TEST_Ff_b1): Likewise.
9893 (RUN_TEST_LOOP_Ff_b1): Likewise.
9894 (RUN_TEST_Ffp_b1): Likewise.
9895 (RUN_TEST_LOOP_Ffp_b1): Likewise.
9896 (RUN_TEST_c_c): Likewise.
9897 (RUN_TEST_LOOP_c_c): Likewise.
9898 (RUN_TEST_cc_c): Likewise.
9899 (RUN_TEST_LOOP_cc_c): Likewise.
9900 (RUN_TEST_f_i): Likewise.
9901 (RUN_TEST_LOOP_f_i): Likewise.
9902 (RUN_TEST_f_i_tg): Likewise.
9903 (RUN_TEST_LOOP_f_i_tg): Likewise.
9904 (RUN_TEST_ff_b): Likewise.
9905 (RUN_TEST_LOOP_ff_b): Likewise.
9906 (RUN_TEST_ff_i_tg): Likewise.
9907 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9908 (RUN_TEST_f_b): Likewise.
9909 (RUN_TEST_LOOP_f_b): Likewise.
9910 (RUN_TEST_f_b_tg): Likewise.
9911 (RUN_TEST_LOOP_f_b_tg): Likewise.
9912 (RUN_TEST_f_l): Likewise.
9913 (RUN_TEST_LOOP_f_l): Likewise.
9914 (RUN_TEST_f_L): Likewise.
9915 (RUN_TEST_LOOP_f_L): Likewise.
9916 (RUN_TEST_fFF_11): Likewise.
9917 (RUN_TEST_LOOP_fFF_11): Likewise.
9918 (VEC_SUFF): Likewise.
9919 (STR_CONCAT): Likewise.
9920 (STR_CON3): Likewise.
9921 (HAVE_VECTOR): Likewise.
9922 (START): Likewise.
9923 (END): Likewise.
9924 (END_COMPLEX): Likewise.
9925 (ALL_RM_TEST): Likewise.
9926 (matherr): Likewise.
9927 (initialize): Likewise.
9928 (options): Likewise.
9929 (doc): Likewise.
9930 (parse_opt): Likewise.
9931 (argp): Likewise.
9932 (check_ulp): Likewise.
9933 (main): Likewise.
9934 (do_test): New function. Call tests of individual functions
9935 previously called from main.
9936
9937 * math/libm-test.inc: Remove comment listing functions tested and
9938 not tested.
9939
9940 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9941
9942 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9943 (allocate_stack): Remove COLORING_INCREMENT usage.
9944 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9945 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9946
9947 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9948
9949 * manual/libm-err-tab.pl (@all_functions): Change to
9950 %all_functions. Initialize as empty.
9951 (parse_ulps): Add to %all_functions based on functions found in
9952 ulps files. Ignore results for non-default rounding modes and
9953 vector functions.
9954 (print_platforms): Use %all_platforms.
9955 * manual/math.texi (Errors in Math Functions): Document omissions
9956 from the table.
9957
9958 * math/Makefile (before-compile): Remove.
9959
9960 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9961
9962 [BZ #21075]
9963 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9964 unused assignment.
9965 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9966
9967 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9968
9969 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9970 Add __glibc_unlikely hint.
9971
9972 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9973
9974 [BZ #16640]
9975 * sysdeps/i386/i686/strtok.S: Remove file.
9976 * sysdeps/i386/i686/strtok_r.S: Likewise.
9977 * sysdeps/i386/strtok.S: Likewise.
9978 * sysdeps/i386/strtok_r.S: Likewise.
9979 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9980 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9981 * sysdeps/x86_64/strtok.S: Likewise.
9982 * sysdeps/x86_64/strtok_r.S: Likewise.
9983
9984 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9985 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9986 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9987 (__ASSUME_FADVISE64_AS_64_64): Define.
9988 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9989 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9990 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9991 __ALIGNMENT_ARG usage.
9992 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9993 __NR_fadvise64_64 if it is not defined.
9994
9995 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
9996
9997 * version.h (RELEASE): Set to "development"
9998 (VERSION): Set to 2.25.90.
9999 * NEWS: Add 2.26 section.
10000
10001 * version.h (RELEASE): Set to "stable"
10002 (VERSION): Set to 2.25.
10003 * include/features.h (__GLIBC_MINOR__): Set to 25.
10004
10005 * manual/contrib.texi: Add more contributors from this release
10006 and past releases.
10007
10008 * NEWS (2.25): Add list of bugs fixed.
10009
10010 * NEWS: Add missing news items.
10011
10012 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10013
10014 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10015 parent if child exited in that manner. Print WEXITSTATUS
10016 instead of the raw status.
10017 (do_test_prep): Rename to do_test.
10018 (do_test): Return the result of run_executable_sgid.
10019 (TEST_FUNCTION_ARGV): Adjust.
10020
10021 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
10022 Florian Weimer <fweimer@redhat.com>
10023 Carlos O'Donell <carlos@redhat.com>
10024
10025 [BZ #20915]
10026 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10027 Do not initialize DTV.
10028 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10029
10030 2017-02-03 David S. Miller <davem@davemloft.net>
10031
10032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10040 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10041 (libm-sysdep_routines): Update.
10042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10047 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10048 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10049 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10050 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10052 Likewise.
10053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10055 Likewise.
10056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10058 Likewise.
10059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10061 Likewise.
10062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10064 (libm-sysdep_routines): Update.
10065
10066 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10067
10068 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10069 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10070 against unrelocated shared library.
10071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10072
10073 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10074
10075 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10076 * elf/tst-env-setuid-tunables.c
10077 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10078 GLIBC_TUNABLES is removed in a setgid process.
10079
10080 [BZ #21073]
10081 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10082 * elf/dl-tunables.c (tunables_strdup): Remove.
10083 (get_next_env): Also return the previous envp.
10084 (parse_tunables): Erase tunables of category
10085 TUNABLES_SECLEVEL_SXID_ERASE.
10086 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10087 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10088 (__tunables_init)[TUNABLES_FRONTEND ==
10089 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10090 after parsing.
10091 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10092 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10093 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10094 to security_level.
10095 * elf/dl-tunables.list: Add security_level annotations for all
10096 tunables.
10097 * scripts/gen-tunables.awk: Recognize and generate enum values
10098 for security_level.
10099 * elf/tst-env-setuid.c: New test case.
10100 * elf/tst-env-setuid-tunables: new test case.
10101 * elf/Makefile (tests-static): Add them.
10102
10103 2017-02-01 Richard Henderson <rth@twiddle.net>
10104
10105 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10106 adjusting the byte count.
10107
10108 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10109
10110 * conform/Makefile (linknamespace-libs): Define.
10111
10112 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10113 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10114 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10115 operands.
10116
10117 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10118
10119 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10120
10121 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10122
10123 [BZ #21081]
10124 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10125 (L(stosb)): Add VZEROUPPER before ret.
10126
10127 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10128 Alexey Makhalov <amakhalov@vmware.com>
10129 Florian Weimer <fweimer@redhat.com>
10130
10131 [BZ #20116]
10132 * nptl/pthread_create.c: Document concurrency notes.
10133 Enhance thread creation notes.
10134 (create_thread): Use bool *stopped_start.
10135 (START_THREAD_DEFN): Comment ownership of PD.
10136 (__pthread_create_2_1): Add local bool stopped_start and use
10137 that instead of pd->stopped_start where appropriate.
10138 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10139 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10140 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10141 * nptl/tst-create-detached.c: New file.
10142 * nptl/Makefile (tests): Add tst-create-detached.
10143 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10144 Reference the enhanced thread creation notes.
10145 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10146 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10147 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10148 (__pthread_current_priority): Likewise.
10149 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10150 xpthread_attr_init, xpthread_attr_setdetachstate, and
10151 xpthread_attr_setstacksize.
10152 * support/xpthread_attr_destroy.c: New file.
10153 * support/xpthread_attr_init.c: New file.
10154 * support/xpthread_attr_setdetachstate.c: New file.
10155 * support/xpthread_attr_setstacksize.c: New file.
10156 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10157 xpthread_attr_init, xpthread_attr_setdetachstate, and
10158 xpthread_attr_setstacksize.
10159
10160 2017-01-27 Florian Weimer <fweimer@redhat.com>
10161
10162 * nptl/Makefile (tests): Add tst-robust-fork.
10163 * nptl/tst-robust-fork.c: New file.
10164 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10165 xpthread_mutex_consistent, xpthread_mutex_destroy,
10166 xpthread_mutex_init, xpthread_mutexattr_destroy,
10167 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10168 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10169 xpthread_mutexattr_settype.
10170 * support/xmmap.c: New file.
10171 * support/xmunmap.c: Likewise.
10172 * support/xpthread_mutex_consistent.c: Likewise.
10173 * support/xpthread_mutex_destroy.c: Likewise.
10174 * support/xpthread_mutex_init.c: Likewise.
10175 * support/xpthread_mutexattr_destroy.c: Likewise.
10176 * support/xpthread_mutexattr_init.c: Likewise.
10177 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10178 * support/xpthread_mutexattr_setpshared.c: Likewise.
10179 * support/xpthread_mutexattr_setrobust.c: Likewise.
10180 * support/xpthread_mutexattr_settype.c: Likewise.
10181 * support/xthread.h (xpthread_mutexattr_destroy)
10182 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10183 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10184 (xpthread_mutexattr_settype, xpthread_mutex_init)
10185 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10186 * support/xunistd.h (xmmap, xmunmap): Likewise.
10187
10188 2017-01-25 Florian Weimer <fweimer@redhat.com>
10189
10190 * string/Makefile (xtests): Add comment.
10191 (LOCALES): Add en_GB.UTF-8.
10192 (tst-strcoll-overflow.out): Depend on generated locales.
10193 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10194 (SIZE, TIMEOUT): Update comments.
10195 (do_test): Define as static. Fail test if setlocale fails.
10196 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10197 messages.
10198 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10199 TIMEOUT at 300 seconds should be enough to run this test
10200 successfully.
10201
10202 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10203
10204 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10205 /* FALLTHRU */ comments.
10206
10207 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10208
10209 [BZ #21053]
10210 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10211 constants instead of the old R* ones.
10212 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10213 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10214 (NGREG): ... to this, to fit in with other architectures.
10215 (gpregset_t): Use new NGREG macro.
10216 [__USE_GNU]: Remove condition; all architectures other than tile
10217 are unconditional.
10218 (R*): Rename to REG_R*.
10219
10220 2017-01-20 DJ Delorie <dj@redhat.com>
10221
10222 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10223 (tunable_set_val_if_valid_range_signed) ... this, and ...
10224 (tunable_set_val_if_valid_range_unsigned) ... this.
10225 (tunable_initialize): Call the correct one of the above based on type.
10226
10227 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10228
10229 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10230 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10231 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10232 * sysdeps/microblaze/libm-test-ulps: Likewise.
10233 * sysdeps/sh/libm-test-ulps: Likewise.
10234
10235 * math/README.libm-test: Update list of characters for input and
10236 output types.
10237
10238 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10239
10240 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10241 (__lll_unlock_elision): Fix adapt_count decrement.
10242
10243 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10244
10245 * README.pretty-printers (Known issues): Warn about printers not
10246 always covering everything.
10247 * nptl/nptl-printers.py (MutexPrinter): Change output.
10248 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10249
10250 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10251
10252 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10253 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10254 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10255 (__lll_lock_elision): Do not test futex before starting a
10256 transaction. Use __glibc_likely instead of __builtin_expect.
10257 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10258 (__lll_trylock_elision): Do not test futex before starting a
10259 transaction. Use __glibc_likely instead of __builtin_expect.
10260
10261 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10262
10263 * po/Makefile (update-translations): New target.
10264
10265 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10266
10267 [BZ #21061]
10268 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10269
10270 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10271
10272 * elf/dl-tunables (get_next_env): Always advance envp.
10273 * stdlib/tst-empty-env.c: New test case.
10274 * stdlib/Makefile (tests): Use it.
10275
10276 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10277
10278 [BZ #21047]
10279 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10280 name for instruction.
10281 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10282
10283 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10284
10285 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10286 for make install.
10287
10288 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10289
10290 * po/bg.po: Merge from Translation Project.
10291 * po/fr.po: Likewise.
10292 * po/ko.po: Likewise.
10293 * po/nl.po: Likewise.
10294 * po/sv.po: Likewise.
10295
10296 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10297
10298 * manual/install.texi (Tools for Compilation): Update GCC version
10299 known to work to build glibc.
10300 * INSTALL: Regenerated.
10301
10302 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10303
10304 [BZ #21006]
10305 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10306
10307 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10308
10309 [BZ #21045]
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10311 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10312 to __sigprocmask.
10313
10314 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10315
10316 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10317 wrap-around.
10318 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10319
10320 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10321
10322 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10323
10324 * NEWS: Fix typo.
10325
10326 2016-01-13 Torvald Riegel <triegel@redhat.com>
10327
10328 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10329 barriers and comments.
10330 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10331 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10332 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10333
10334 2016-01-13 Torvald Riegel <triegel@redhat.com>
10335
10336 [BZ #19402]
10337 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10338 mutexes.
10339
10340 2016-01-13 Torvald Riegel <triegel@redhat.com>
10341
10342 [BZ #20985]
10343 * nptl/Makefile: Adapt.
10344 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10345 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10346 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10347 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10348 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10349 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10350 lll_robust* functions and adapt.
10351 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10352 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10353 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10354 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10355 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10356 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10357 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10358 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10359 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10360 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10361 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10362 * nptl/lowlevelrobustlock.c: Remove file.
10363 * nptl/lowlevelrobustlock.sym: Likewise.
10364 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10365 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10366
10367 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10368
10369 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10370
10371 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10372
10373 * po/cs.po: Merge translations from the Translation Project.
10374 * po/de.po: Likewise.
10375 * po/pl.po: Likewise.
10376 * po/ru.po: Likewise.
10377 * po/tr.po: Likewise.
10378 * po/uk.po: Likewise.
10379 * po/vi.po: Likewise.
10380 * po/zh_CN.po: Likewise.
10381
10382 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10383
10384 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10385
10386 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10387 object.
10388
10389 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10390
10391 [BZ #16458]
10392 * bits/uintn-identity.h: New file.
10393 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10394 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10395 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10396 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10397 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10398 * string/endian.h: Include <bits/uintn-identity.h>.
10399 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10400 __uint16_identity.
10401 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10402 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10403 __uint32_identity.
10404 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10405 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10406 __uint64_identity.
10407 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10408 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10409 __uint16_identity.
10410 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10411 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10412 __uint32_identity.
10413 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10414 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10415 __uint64_identity.
10416 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10417 * string/Makefile (headers): Add bits/uintn-identity.h.
10418 (tests): Add test-endian-types.
10419 * string/test-endian-types.c: New file.
10420 * inet/Makefile (tests): Add test-hnto-types.
10421 * inet/test-hnto-types.c: New file.
10422
10423 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10424
10425 * po/be.po: Update from Translation Project.
10426 * po/bg.po: Likewise.
10427 * po/ca.po: Likewise.
10428 * po/cs.po: Likewise.
10429 * po/da.po: Likewise.
10430 * po/de.po: Likewise.
10431 * po/el.po: Likewise.
10432 * po/eo.po: Likewise.
10433 * po/es.po: Likewise.
10434 * po/fi.po: Likewise.
10435 * po/fr.po: Likewise.
10436 * po/gl.po: Likewise.
10437 * po/hr.po: Likewise.
10438 * po/hu.po: Likewise.
10439 * po/ia.po: Likewise.
10440 * po/id.po: Likewise.
10441 * po/it.po: Likewise.
10442 * po/ja.po: Likewise.
10443 * po/ko.po: Likewise.
10444 * po/lt.po: Likewise.
10445 * po/nb.po: Likewise.
10446 * po/nl.po: Likewise.
10447 * po/pl.po: Likewise.
10448 * po/pt_BR.po: Likewise.
10449 * po/ru.po: Likewise.
10450 * po/rw.po: Likewise.
10451 * po/sk.po: Likewise.
10452 * po/sl.po: Likewise.
10453 * po/sv.po: Likewise.
10454 * po/tr.po: Likewise.
10455 * po/uk.po: Likewise.
10456 * po/vi.po: Likewise.
10457 * po/zh_CN.po: Likewise.
10458 * po/zh_TW.po: Likewise.
10459
10460 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10461
10462 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10463 -Wformat-truncation instead of -Wformat-length.
10464 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10465 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10466 GCC 7.
10467 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10468 (do_test): Ignore -Wformat-truncation for GCC 7.
10469
10470 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10471 buffer used to print long int value.
10472
10473 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10474 one byte. Print it with %ld, cast to long int.
10475
10476 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10477
10478 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10479 (re.fullmatch, subprocess.run): Likewise.
10480
10481 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10482
10483 * po/libc.pot: Regenerate.
10484
10485 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10486
10487 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10488 (min_strlen): Likewise.
10489 (disable_tunable): Likewise.
10490 (maybe_disable_malloc_check): Rename to
10491 maybe_enable_malloc_check.
10492 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10493 if /etc/suid-debug file exists.
10494 (__tunables_init): Update caller.
10495 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10496 secure.
10497
10498 2016-01-10 Torvald Riegel <triegel@redhat.com>
10499
10500 * nptl/DESIGN-rwlock.txt: Remove.
10501 * nptl/lowlevelrwlock.sym: Remove.
10502 * nptl/Makefile: Add new tests.
10503 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10504 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10505 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10506 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10507 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10508 PTHREAD_RWLOCK_FUTEX_USED): New.
10509 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10510 implementation.
10511 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10512 (__pthread_rwlock_rdlock): Adapt.
10513 * nptl/pthread_rwlock_timedrdlock.c
10514 (pthread_rwlock_timedrdlock): Adapt.
10515 * nptl/pthread_rwlock_timedwrlock.c
10516 (pthread_rwlock_timedwrlock): Adapt.
10517 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10518 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10519 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10520 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10521 (__pthread_rwlock_wrlock): Adapt.
10522 * nptl/tst-rwlock10.c: Adapt.
10523 * nptl/tst-rwlock11.c: Adapt.
10524 * nptl/tst-rwlock17.c: New file.
10525 * nptl/tst-rwlock18.c: New file.
10526 * nptl/tst-rwlock19.c: New file.
10527 * nptl/tst-rwlock2b.c: New file.
10528 * nptl/tst-rwlock8.c: Adapt.
10529 * nptl/tst-rwlock9.c: Adapt.
10530 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10531 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10532 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10533 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10534 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10535 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10536 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10537 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10538 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10539 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10540 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10541 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10542 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10543 (pthread_rwlock_t): Adapt.
10544 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10545 (pthread_rwlock_t): Adapt.
10546 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10547 * nptl/nptl-printers.py (): Adapt.
10548 * nptl/nptl_lock_constants.pysym: Adapt.
10549 * nptl/test-rwlock-printers.py: Adapt.
10550 * nptl/test-rwlockattr-printers.c: Adapt.
10551 * nptl/test-rwlockattr-printers.py: Adapt.
10552
10553 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10554
10555 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10556 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10557 (fma_test_data): Likewise.
10558 (hypot_test_data): Likewise.
10559 (log1p_test_data): Likewise.
10560 (modf_test_data): Likewise.
10561 (pow_test_data): Likewise.
10562 (remainder_test_data): Likewise.
10563 (remquo_test_data): Likewise.
10564 (scalb_test_data): Likewise.
10565 (scalbn_test_data): Likewise.
10566 (scalbln_test_data): Likewise.
10567 * math/gen-libm-test.pl (parse_args): Transform
10568 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10569 on the rounding mode.
10570
10571 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10572
10573 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10574 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10575 and those that can underflow to zero.
10576 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10577 add others.
10578 * math/auto-libm-test-out: Regenerated.
10579
10580 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10581 supported.
10582 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10583 modes support if not supported.
10584
10585 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10586 Add libc.so PLT entry.
10587 (__tls_get_addr): Make ld.so PLT entry optional.
10588
10589 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10590
10591 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10592 * string/bits/string3.h: ... here.
10593
10594 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10595
10596 [BZ #21028]
10597 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10598 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10599 if EXCEPTION_TESTS returns false.
10600
10601 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10602
10603 [BZ #20558]
10604 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10605 strings_fortified.h.
10606 [__USE_MISC] (bzero): Likewise.
10607 [__USE_MISC] (explicit_bzero): Likewise.
10608 * string/strings.h: Include strings_fortified.h.
10609 * string/Makefile (headers): Add strings_fortified.h.
10610 * string/bits/strings_fortified.h: New file.
10611 * include/bits/strings_fortified.h: Likewise.
10612
10613 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10614
10615 * elf/tst-tls13.c (TIMEOUT): Remove.
10616 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10617 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10618 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10619 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10620 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10621
10622 [BZ #21026]
10623 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10624 (readahead): New syscall entry.
10625
10626 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10627
10628 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10629 around tests of strncat with large sizes.
10630
10631 * malloc/tst-malloc.c: Include <libc-internal.h>.
10632 (do_test): Disable -Walloc-size-larger-than= around tests of
10633 malloc with negative sizes.
10634 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10635 (do_test): Disable -Walloc-size-larger-than= around tests of
10636 malloc and realloc with negative sizes.
10637 * malloc/tst-realloc.c: Include <libc-internal.h>.
10638 (do_test): Disable -Walloc-size-larger-than= around tests of
10639 realloc with negative sizes.
10640
10641 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10642 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10643 allowed to 16 ulps.
10644 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10645 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10646 * math/auto-libm-test-out: Regenerated.
10647
10648 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10649
10650 * math/Makefile (libm-calls): Move wrappers...
10651 (libm-compat-call-auto): Here.
10652 (libm-routines): Add items in libm-compat-calls-auto.
10653 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10654 the filenames of the wrappers that have been renamed.
10655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10657
10658 * math/w_acos.c: Add _compat suffix to filename.
10659 * math/w_acosf.c: Likewise.
10660 * math/w_acosh.c: Likewise.
10661 * math/w_acoshf.c: Likewise.
10662 * math/w_acoshl.c: Likewise.
10663 * math/w_acosl.c: Likewise.
10664 * math/w_asin.c: Likewise.
10665 * math/w_asinf.c: Likewise.
10666 * math/w_asinl.c: Likewise.
10667 * math/w_atan2.c: Likewise.
10668 * math/w_atan2f.c: Likewise.
10669 * math/w_atan2l.c: Likewise.
10670 * math/w_atanh.c: Likewise.
10671 * math/w_atanhf.c: Likewise.
10672 * math/w_atanhl.c: Likewise.
10673 * math/w_cosh.c: Likewise.
10674 * math/w_coshf.c: Likewise.
10675 * math/w_coshl.c: Likewise.
10676 * math/w_exp10.c: Likewise.
10677 * math/w_exp10f.c: Likewise.
10678 * math/w_exp10l.c: Likewise.
10679 * math/w_exp2.c: Likewise.
10680 * math/w_exp2f.c: Likewise.
10681 * math/w_exp2l.c: Likewise.
10682 * math/w_fmod.c: Likewise.
10683 * math/w_fmodf.c: Likewise.
10684 * math/w_fmodl.c: Likewise.
10685 * math/w_hypot.c: Likewise.
10686 * math/w_hypotf.c: Likewise.
10687 * math/w_hypotl.c: Likewise.
10688 * math/w_j0.c: Likewise.
10689 * math/w_j0f.c: Likewise.
10690 * math/w_j0l.c: Likewise.
10691 * math/w_j1.c: Likewise.
10692 * math/w_j1f.c: Likewise.
10693 * math/w_j1l.c: Likewise.
10694 * math/w_jn.c: Likewise.
10695 * math/w_jnf.c: Likewise.
10696 * math/w_jnl.c: Likewise.
10697 * math/w_log10.c: Likewise.
10698 * math/w_log10f.c: Likewise.
10699 * math/w_log10l.c: Likewise.
10700 * math/w_log2.c: Likewise.
10701 * math/w_log2f.c: Likewise.
10702 * math/w_log2l.c: Likewise.
10703 * math/w_log.c: Likewise.
10704 * math/w_logf.c: Likewise.
10705 * math/w_logl.c: Likewise.
10706 * math/w_pow.c: Likewise.
10707 * math/w_powf.c: Likewise.
10708 * math/w_powl.c: Likewise.
10709 * math/w_remainder.c: Likewise.
10710 * math/w_remainderf.c: Likewise.
10711 * math/w_remainderl.c: Likewise.
10712 * math/w_scalb.c: Likewise.
10713 * math/w_scalbf.c: Likewise.
10714 * math/w_scalbl.c: Likewise.
10715 * math/w_sinh.c: Likewise.
10716 * math/w_sinhf.c: Likewise.
10717 * math/w_sinhl.c: Likewise.
10718 * math/w_sqrt.c: Likewise.
10719 * math/w_sqrtf.c: Likewise.
10720 * math/w_sqrtl.c: Likewise.
10721 * math/w_tgamma.c: Likewise.
10722 * math/w_tgammaf.c: Likewise.
10723 * math/w_tgammal.c: Likewise.
10724
10725 * math/w_acos_compat.c: New file copied from above and
10726 adjusted for new #includes path
10727 * math/w_acosf_compat.c: Likewise.
10728 * math/w_acosh_compat.c: Likewise.
10729 * math/w_acoshf_compat.c: Likewise.
10730 * math/w_acoshl_compat.c: Likewise.
10731 * math/w_acosl_compat.c: Likewise.
10732 * math/w_asin_compat.c: Likewise.
10733 * math/w_asinf_compat.c: Likewise.
10734 * math/w_asinl_compat.c: Likewise.
10735 * math/w_atan2_compat.c: Likewise.
10736 * math/w_atan2f_compat.c: Likewise.
10737 * math/w_atan2l_compat.c: Likewise.
10738 * math/w_atanh_compat.c: Likewise.
10739 * math/w_atanhf_compat.c: Likewise.
10740 * math/w_atanhl_compat.c: Likewise.
10741 * math/w_cosh_compat.c: Likewise.
10742 * math/w_coshf_compat.c: Likewise.
10743 * math/w_coshl_compat.c: Likewise.
10744 * math/w_exp10_compat.c: Likewise.
10745 * math/w_exp10f_compat.c: Likewise.
10746 * math/w_exp10l_compat.c: Likewise.
10747 * math/w_exp2_compat.c: Likewise.
10748 * math/w_exp2f_compat.c: Likewise.
10749 * math/w_exp2l_compat.c: Likewise.
10750 * math/w_fmod_compat.c: Likewise.
10751 * math/w_fmodf_compat.c: Likewise.
10752 * math/w_fmodl_compat.c: Likewise.
10753 * math/w_hypot_compat.c: Likewise.
10754 * math/w_hypotf_compat.c: Likewise.
10755 * math/w_hypotl_compat.c: Likewise.
10756 * math/w_j0_compat.c: Likewise.
10757 * math/w_j0f_compat.c: Likewise.
10758 * math/w_j0l_compat.c: Likewise.
10759 * math/w_j1_compat.c: Likewise.
10760 * math/w_j1f_compat.c: Likewise.
10761 * math/w_j1l_compat.c: Likewise.
10762 * math/w_jn_compat.c: Likewise.
10763 * math/w_jnf_compat.c: Likewise.
10764 * math/w_jnl_compat.c: Likewise.
10765 * math/w_log10_compat.c: Likewise.
10766 * math/w_log10f_compat.c: Likewise.
10767 * math/w_log10l_compat.c: Likewise.
10768 * math/w_log2_compat.c: Likewise.
10769 * math/w_log2f_compat.c: Likewise.
10770 * math/w_log2l_compat.c: Likewise.
10771 * math/w_log_compat.c: Likewise.
10772 * math/w_logf_compat.c: Likewise.
10773 * math/w_logl_compat.c: Likewise.
10774 * math/w_pow_compat.c: Likewise.
10775 * math/w_powf_compat.c: Likewise.
10776 * math/w_powl_compat.c: Likewise.
10777 * math/w_remainder_compat.c: Likewise.
10778 * math/w_remainderf_compat.c: Likewise.
10779 * math/w_remainderl_compat.c: Likewise.
10780 * math/w_scalb_compat.c: Likewise.
10781 * math/w_scalbf_compat.c: Likewise.
10782 * math/w_scalbl_compat.c: Likewise.
10783 * math/w_sinh_compat.c: Likewise.
10784 * math/w_sinhf_compat.c: Likewise.
10785 * math/w_sinhl_compat.c: Likewise.
10786 * math/w_sqrt_compat.c: Likewise.
10787 * math/w_sqrtf_compat.c: Likewise.
10788 * math/w_sqrtl_compat.c: Likewise.
10789 * math/w_tgamma_compat.c: Likewise.
10790 * math/w_tgammaf_compat.c: Likewise.
10791 * math/w_tgammal_compat.c: Likewise.
10792
10793 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10794 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10795 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10796 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10797 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10798 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10799 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10800 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10801 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10802 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10803 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10804 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10805 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10806 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10807 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10808 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10809 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10810 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10811 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10812 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10813 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10814 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10815 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10816 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10817 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10818 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10819 * sysdeps/ia64/fpu/w_log.c: Likewise.
10820 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10821 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10822 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10823 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10824 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10825 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10826 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10827 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10828 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10829 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10830 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10831 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10832 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10833 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10834 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10835 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10836 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10837 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10838 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10839 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10840 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10841 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10842 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10843 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10844 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10845 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10846 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10847 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10848 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10849 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10850 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10851 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10852 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10853 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10856 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10858 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10859 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10860 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10862 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10863 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10864 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10865 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10866 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10868 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10870 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10871 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10872 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10873 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10874 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10875 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10876 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10877 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10878 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10879 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10880 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10881 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10882 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10883 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10884 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10885 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10886 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10887 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10888 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10889 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10890 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10892 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10894 Likewise.
10895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10896 Likewise.
10897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10899 Likewise.
10900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10901 Likewise.
10902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10903 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10905 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10906 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10907 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10908 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10913 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10914 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10915 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10916 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10917
10918 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10919 and adjusted for new #includes path
10920 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10921 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10922 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10923 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10924 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10925 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10926 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10927 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10928 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10929 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10930 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10931 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10932 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10933 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10934 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10935 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10936 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10937 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10938 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10939 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10940 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10941 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10942 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10943 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10944 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10945 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10946 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10947 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10948 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10949 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10950 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10951 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10952 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10953 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10954 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10955 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10956 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10957 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10958 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10959 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10960 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10961 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10962 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10963 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10964 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10965 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10966 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10967 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10968 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10969 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10970 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10971 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10972 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10973 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10974 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10975 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10976 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10977 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10978 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10979 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10980 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10981 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10982 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10983 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10984 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10985 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10986 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10987 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10988 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10989 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10990 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10991 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10992 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10993 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10994 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10995 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10996 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10997 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10998 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10999 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11000 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11001 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11002 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11003 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11004 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11005 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11006 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11007 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11008 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11009 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11010 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11011 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11012 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11013 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11014 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11015 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11016 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11017 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11018 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11020 Likewise.
11021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11022 Likewise.
11023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11024 Likewise.
11025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11026 Likewise.
11027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11028 Likewise.
11029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11030 Likewise.
11031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11032 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11033 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11034 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11035 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11036 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11038 Likewise.
11039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11040 Likewise.
11041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11042 Likewise.
11043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11044 Likewise.
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11047 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11048 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11049
11050 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11051
11052 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11053 __jmp_buf_internal_tag.
11054
11055 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11056 preserve NaN payload if [__mips_nan2008].
11057 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11058
11059 [BZ #21022]
11060 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11061
11062 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11063
11064 * sysdeps/i386/fpu/libm-test-ulps: Update.
11065
11066 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11067
11068 * sysdeps/ia64/strcat.c: Remove file.
11069 * sysdeps/powerpc/strcat.c: Likewise.
11070 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11071 C implementation.
11072 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11073 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11074
11075 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11076 Steven Munroe <sjmunroe@us.ibm.com>
11077 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11078
11079 [BZ #20822]
11080 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11081 (__lll_lock_elision): Access adapt_count via C11 atomics.
11082 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11083 (__lll_trylock_elision): Likewise.
11084 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11085 (__lll_unlock_elision): Update adapt_count variable inside the
11086 critical section using C11 atomics.
11087
11088 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11089
11090 * math/test-fenvinline.c (do_test): Disable tests of raised
11091 exceptions if !EXCEPTION_TESTS (FLOAT).
11092
11093 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11094
11095 [BZ #19390]
11096 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11097 maximum string size.
11098 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11099 in pointer addition.
11100 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11101 Likewise.
11102
11103 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11104
11105 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11106 passed to tst-ldconfig-X.sh.
11107
11108 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11109
11110 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11111
11112 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11113
11114 [BZ #21019]
11115 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11116 New syscall entry.
11117 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11118 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11119 lseek.
11120
11121 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11122 power4 glibc for powerpc-linux-gnu.
11123
11124 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11125
11126 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11127 semctl.
11128
11129 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11130
11131 * math/test-nearbyint-except.c: Include <stdbool.h>.
11132 (any_supported): New variable.
11133 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11134 set any_supported.
11135 (do_test): Return 77 if no floating-point type supported
11136 exceptions.
11137
11138 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11139 condition on [__mips_hard_float].
11140
11141 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11142
11143 [BZ #21014]
11144 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11145 in pointer addition.
11146 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11147
11148 2017-01-02 Torvald Riegel <triegel@redhat.com>
11149
11150 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11151 new condvar.
11152
11153 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11154
11155 * scripts/build-many-glibcs.py (Context.checkout): Default
11156 binutils version to 2.28 branch.
11157
11158 2017-01-01 Florian Weimer <fweimer@redhat.com>
11159
11160 * support/support_format_netent.c (support_format_netent): Work
11161 around alpha struct netent definition difference.
11162
11163 2017-01-01 Florian Weimer <fweimer@redhat.com>
11164
11165 * support/xwrite.c (xwrite): Use %td for pointer difference.
11166
11167 2017-01-01 Florian Weimer <fweimer@redhat.com>
11168
11169 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11170 have-tunables only.
11171 (tests-static): Add tst-malloc-usable-static-tunables for
11172 have-tunables only.
11173
11174 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11175
11176 * scripts/config.guess: Update to version 2017-01-01.
11177 * scripts/config.sub: Update to version 2017-01-01.
11178
11179 * NEWS: Update copyright dates.
11180 * catgets/gencat.c (print_version): Likewise.
11181 * csu/version.c (banner): Likewise.
11182 * debug/catchsegv.sh: Likewise.
11183 * debug/pcprofiledump.c (print_version): Likewise.
11184 * debug/xtrace.sh (do_version): Likewise.
11185 * elf/ldconfig.c (print_version): Likewise.
11186 * elf/ldd.bash.in: Likewise.
11187 * elf/pldd.c (print_version): Likewise.
11188 * elf/sotruss.sh: Likewise.
11189 * elf/sprof.c (print_version): Likewise.
11190 * iconv/iconv_prog.c (print_version): Likewise.
11191 * iconv/iconvconfig.c (print_version): Likewise.
11192 * locale/programs/locale.c (print_version): Likewise.
11193 * locale/programs/localedef.c (print_version): Likewise.
11194 * login/programs/pt_chown.c (print_version): Likewise.
11195 * malloc/memusage.sh (do_version): Likewise.
11196 * malloc/memusagestat.c (print_version): Likewise.
11197 * malloc/mtrace.pl: Likewise.
11198 * manual/libc.texinfo: Likewise.
11199 * nptl/version.c (banner): Likewise.
11200 * nscd/nscd.c (print_version): Likewise.
11201 * nss/getent.c (print_version): Likewise.
11202 * nss/makedb.c (print_version): Likewise.
11203 * posix/getconf.c (main): Likewise.
11204 * scripts/test-installation.pl: Likewise.
11205 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11206
11207 * All files with FSF copyright notices: Update copyright dates
11208 using scripts/update-copyrights.
11209 * intl/plural.c: Regenerated.
11210 * locale/programs/charmap-kw.h: Likewise.
11211 * locale/programs/locfile-kw.h: Likewise.
11212
11213 2016-12-31 Florian Weimer <fweimer@redhat.com>
11214
11215 [BZ #20593]
11216 Update DNS RR type definitions.
11217 * scripts/gen-rrtypes.py: New file.
11218 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11219 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11220 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11221 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11222 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11223 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11224 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11225 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11226 ns_t_ta, ns_t_dlv.
11227 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11228 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11229 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11230 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11231 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11232 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11233 Define.
11234 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11235 entry for ns_t_zxfr.
11236
11237 2016-12-31 Florian Weimer <fweimer@redhat.com>
11238
11239 [BZ #18784]
11240 CVE-2015-5180
11241 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11242 T_UNSPEC. Adjust value.
11243 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11244 * resolv/res_query.c (__libc_res_nquery): Likewise.
11245 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11246 QTYPEs.
11247 * resolv/tst-resolv-qtypes.c: New file.
11248 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11249 (tst-resolv-qtypes): Link against libresolv and libpthread.
11250
11251 2016-12-31 Florian Weimer <fweimer@redhat.com>
11252
11253 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11254
11255 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11256
11257 * manual/tunables.texi: New chapter.
11258 * manual/Makefile (chapters): Add it.
11259 * manual/probes.texi (@node): Point to the Tunables chapter.
11260
11261 * Makeconfig (have-tunables): Check for non-negative instead
11262 of positive.
11263 * configure.ac: Add 'valstring' as a valid value for
11264 --enable-tunables.
11265 * configure: Regenerate.
11266 * elf/Makefile (have-tunables): Check for non-negative instead
11267 of positive.
11268 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11269 dl-tunables.c.
11270 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11271 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11272 (tunables_strdup): Likewise.
11273 (disable_tunables): Likewise.
11274 (parse_tunables): Likewise.
11275 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11276 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11277 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11278 (TUNABLES_FRONTEND_yes): New macro, define as
11279 TUNABLES_FRONTEND_valstring by default.
11280 * manual/install.texi: Document new acceptable values for
11281 --enable-tunables.
11282 * INSTALL: Regenerate.
11283
11284 * config.make.in (have-loop-to-function): Define.
11285 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11286 -fno-tree-loop-distribute-patterns.
11287 * elf/dl-tunables.c: Include libc-internals.h.
11288 (GLIBC_TUNABLES): New macro.
11289 (tunables_strdup): New function.
11290 (parse_tunables): New function.
11291 (min_strlen): New function.
11292 (__tunables_init): Use the new functions and macro.
11293 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11294 * malloc/tst-malloc-usable-tunables.c: New test case.
11295 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11296 * malloc/Makefile (tests, tests-static): Add tests.
11297
11298 * manual/install.texi: Add --enable-tunables option.
11299 * INSTALL: Regenerate.
11300 * README.tunables: New file.
11301 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11302 (before-compile): Generate dl-tunable-list.h early.
11303 * config.h.in: Add HAVE_TUNABLES.
11304 * config.make.in: Add have-tunables.
11305 * configure.ac: Add --enable-tunables option.
11306 * configure: Regenerate.
11307 * csu/init-first.c (__libc_init_first): Move
11308 __libc_init_secure earlier...
11309 * csu/init-first.c (LIBC_START_MAIN):... to here.
11310 Include dl-tunables.h, libc-internal.h.
11311 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11312 binaries.
11313 * elf/Makefile (dl-routines): Add dl-tunables.
11314 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11315 namespace.
11316 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11317 only when !HAVE_TUNABLES.
11318 * elf/rtld.c (process_envvars): Likewise.
11319 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11320 (_dl_sysdep_start): Call __tunables_init.
11321 * elf/dl-tunable-types.h: New file.
11322 * elf/dl-tunables.c: New file.
11323 * elf/dl-tunables.h: New file.
11324 * elf/dl-tunables.list: New file.
11325 * malloc/tst-malloc-usable-static.c: New test case.
11326 * malloc/Makefile (tests-static): Add it.
11327 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11328 Define TUNABLE_NAMESPACE.
11329 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11330 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11331 callback functions.
11332 (ptmalloc_init): Set tunable values.
11333 * scripts/gen-tunables.awk: New file.
11334 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11335 (_dl_sysdep_start): Call __tunables_init.
11336
11337 2016-12-31 Florian Weimer <fweimer@redhat.com>
11338
11339 * resolv/resolv.h (RES_BLAST): Deprecate.
11340 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11341 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11342 to RES_BLAST.
11343
11344 2016-12-27 Florian Weimer <fweimer@redhat.com>
11345
11346 [BZ #19582]
11347 Deprecate RES_USE_INET6.
11348 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11349 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11350 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11351 RES_USE_INET6.
11352 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11353 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11354 (_nss_nisplus_gethostbyaddr_r): Likewise.
11355 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11356 of res_use_inet6.
11357 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11358 instead of RES_USE_INET6.
11359 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11360 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11361 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11362 Likewise.
11363 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11364 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11365 Likewise.
11366 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11367 (_nss_dns_gethostbyname_r): Likewise.
11368 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11369 alternate RES_USE_INET6 handling.
11370 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11371 instead of RES_USE_INET6.
11372 * resolv/res_init.c (res_setoptions): Likewise.
11373 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11374 * resolv/resolv-internal.h: New file.
11375 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11376 make the deprecation warning non-fatal.
11377 * resolv/README (Using the resolver in multi-threaded code): Drop
11378 reference to RES_USE_INET6.
11379 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11380 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11381
11382 2016-12-31 Florian Weimer <fweimer@redhat.com>
11383
11384 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11385 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11386 tst-resolv-search.
11387 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11388 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11389 with libresolv and libpthread.
11390 * resolv/tst-bug18665.c: New file.
11391 * resolv/tst-bug18665-tcp: Likewise.
11392 * resolv/tst-res_use_inet6: Likewise.
11393 * resolv/tst-resolv-basic: Likewise.
11394 * resolv/tst-resolv-network: Likewise.
11395 * resolv/tst-resolv-search: Likewise.
11396 * support/Makefile (libsupport-routines): Add check_addrinfo,
11397 check_dns_packet, check_hostent, check_netent, resolv_test,
11398 support_format_address_family, support_format_addrinfo,
11399 support_format_dns_packet, support_format_herrno,
11400 support_format_hostent, support_format_netent, support_run_diff,
11401 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11402 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11403 xstrdup, xwrite.
11404 * support/check_addrinfo.c: New file.
11405 * support/check_dns_packet.c: Likewise.
11406 * support/check_hostent.c: Likewise.
11407 * support/check_netent.c: Likewise.
11408 * support/check_nss.h: Likewise.
11409 * support/format_nss.h: Likewise.
11410 * support/resolv_test.c: Likewise.
11411 * support/resolv_test.h: Likewise.
11412 * support/run_diff.h: Likewise.
11413 * support/support_format_address_family.c: Likewise.
11414 * support/support_format_addrinfo.c: Likewise.
11415 * support/support_format_dns_packet.c: Likewise.
11416 * support/support_format_herrno.c: Likewise.
11417 * support/support_format_hostent.c: Likewise.
11418 * support/support_format_netent.c: Likewise.
11419 * support/support_run_diff.c: Likewise.
11420 * support/xaccept.c: Likewise.
11421 * support/xbind.c: Likewise.
11422 * support/xconnect.c: Likewise.
11423 * support/xfclose.c: Likewise.
11424 * support/xfopen.c: Likewise.
11425 * support/xgetsockname.c: Likewise.
11426 * support/xlisten.c: Likewise.
11427 * support/xmemstream.c: Likewise.
11428 * support/xmemstream.h: Likewise.
11429 * support/xpoll.c: Likewise.
11430 * support/xpthread_once.c: Likewise.
11431 * support/xrecvfrom.c: Likewise.
11432 * support/xsendto.c: Likewise.
11433 * support/xsetsockopt.c: Likewise.
11434 * support/xstdio.h: Likewise.
11435 * support/xstrdup.c: Likewise.
11436 * support/support.h (xstrdup): Declare.
11437 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11438 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11439 * support/xthread.h (xpthread_once): Likwise.
11440 * support/xunistd.h (xwrite): Declare.
11441
11442 2016-12-31 Florian Weimer <fweimer@redhat.com>
11443
11444 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11445 (test_verbose): Declare.
11446 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11447 * support/support_test_main.c (default_options): Likewise.
11448 (usage, support_test_main): Handle 'v'.
11449 (test_verbose): Define.
11450 * support/tst-support_record_failure.c (do_test): Use
11451 test_verbose.
11452 * support/tst-support_record_failure-2.sh (different_status): Add
11453 --verbose test.
11454
11455 2016-12-31 Florian Weimer <fweimer@redhat.com>
11456
11457 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11458 test failures are recorded.
11459 * support/check.c (support_print_failure_impl): Call
11460 support_record_failure.
11461 (support_exit_failure_impl): Call support_record_failure if status
11462 indicates failure.
11463 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11464 * support/xasprintf.c (xasprintf): Likewise.
11465 * support/xfork.c (xfork): Likewise.
11466 * support/xpthread_check_return.c (xpthread_check_return):
11467 Likewise.
11468 * support/xsocket.c (xsocket): Likeweise.
11469 * support/xwaitpid.c (xwaitpid): Likewise.
11470 * support/support_record_failure.c (struct test_failures): Adjust
11471 to coding style.
11472 * support/support_test_verify_impl.c (support_test_verify_impl):
11473 Adjust error messages.
11474 * support/tst-support_record_failure-2.sh (different_status):
11475 Adjust error messages.
11476
11477 2016-12-31 Florian Weimer <fweimer@redhat.com>
11478
11479 * support/namespace.h: New file.
11480 * support/support_become_root.c: Likewise.
11481 * support/support_enter_network_namespace.c: Likewise.
11482 * support/tst-support-namespace.c: Likewise.
11483 * support/xsocket.c: Likewise.
11484 * support/xsocket.h: Likewise.
11485 * support/Makefile (libsupport-routines): Add support_become_root,
11486 support_enter_network_namespace, xsocket.
11487 (tests): Add tst-support-namespace.
11488
11489 2016-12-31 Florian Weimer <fweimer@redhat.com>
11490
11491 [BZ #17252]
11492 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11493 __USE_GNU.
11494
11495 2016-12-31 Torvald Riegel <triegel@redhat.com>
11496
11497 [BZ #13165]
11498 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11499 use new algorithm.
11500 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11501 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11502 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11503 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11504 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11505 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11506 __condvar_cleanup_waiting, __condvar_dec_grefs,
11507 __pthread_cond_wait_common): New.
11508 (__condvar_cleanup): Remove.
11509 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11510 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11511 Likewise.
11512 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11513 Likewise.
11514 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11515 * nptl/tst-cond1.c: Add comment.
11516 * nptl/tst-cond20.c (do_test): Adapt.
11517 * nptl/tst-cond22.c (do_test): Likewise.
11518 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11519 structure.
11520 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11521 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11522 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11523 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11524 Likewise.
11525 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11526 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11527 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11528 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11529 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11530 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11531 Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11533 Likewise.
11534 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11535 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11536 (COND_CLOCK_BITS): Adapt.
11537 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11538 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11539 __PTHREAD_COND_SHARED_MASK): New.
11540 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11541 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11542 * nptl/nptl_lock_constants.pysym: Adapt.
11543 * nptl/test-cond-printers.py: Adapt.
11544 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11545 cond_compat_check_and_clear): Adapt.
11546 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11547 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11548 (__pthread_cond_timedwait): ... and move here.
11549 * nptl/DESIGN-condvar.txt: Remove file.
11550 * nptl/lowlevelcond.sym: Likewise.
11551 * nptl/pthread_cond_timedwait.c: Likewise.
11552 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11553 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11554 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11555 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11556 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11557 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11558 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11559 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11560 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11561 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11562 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11563 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11564 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11565 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11566 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11567 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11568
11569 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11570
11571 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11572 (fromfp): New declaration.
11573 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11574 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11575 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11576 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11577 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11578 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11579 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11580 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11581 * math/math.h: Include <bits/types.h>.
11582 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11583 constant and macro.
11584 (FP_INT_DOWNWARD): Likewise.
11585 (FP_INT_TOWARDZERO): Likewise.
11586 (FP_INT_TONEARESTFROMZERO): Likewise.
11587 (FP_INT_TONEAREST): Likewise.
11588 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11589 (fromfpf): Likewise.
11590 (fromfpl): Likewise.
11591 (ufromfp): Likewise.
11592 (ufromfpf): Likewise.
11593 (ufromfpl): Likewise.
11594 (fromfpx): Likewise.
11595 (fromfpxf): Likewise.
11596 (fromfpxl): Likewise.
11597 (ufromfpx): Likewise.
11598 (ufromfpxf): Likewise.
11599 (ufromfpxl): Likewise.
11600 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11601 s_fromfpxF and s_ufromfpxF.
11602 * math/gen-fromfp-tests.py: New file.
11603 * math/gen-fromfp-tests-inputs: Likewise.
11604 * math/libm-test.inc: Include <stdint.h>
11605 (check_intmax_t): New function.
11606 (check_uintmax_t): Likewise.
11607 (struct test_fiu_M_data): New type.
11608 (struct test_fiu_U_data): Likewise.
11609 (RUN_TEST_fiu_M): New macro.
11610 (RUN_TEST_LOOP_fiu_M): Likewise.
11611 (RUN_TEST_fiu_U): Likewise.
11612 (RUN_TEST_LOOP_fiu_U): Likewise.
11613 (fromfp_test_data): New array.
11614 (fromfp_test): New function.
11615 (fromfpx_test_data): New array.
11616 (fromfpx_test): New function.
11617 (ufromfp_test_data): New array.
11618 (ufromfp_test): New function.
11619 (ufromfpx_test_data): New array.
11620 (ufromfpx_test): New function.
11621 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11622 ufromfpx_test.
11623 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11624 characters.
11625 * math/test-tgmath-ret.c: Include <stdint.h>.
11626 (rm): New variable.
11627 (width): Likewise.
11628 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11629 called function.
11630 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11631 CHECK_RET_CONST_TYPE.
11632 (CHECK_RET_CONST_DOUBLE): Likewise.
11633 (CHECK_RET_CONST_LDOUBLE): Likewise.
11634 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11635 macros.
11636 (fromfp): New CHECK_RET_CONST call.
11637 (ufromfp): Likewise.
11638 (fromfpx): Likewise.
11639 (ufromfpx): Likewise.
11640 (do_test): Call check_return_fromfp, check_return_ufromfp,
11641 check_return_fromfpx and check_return_ufromfpx.
11642 * math/test-tgmath.c: Include <stdint.h>
11643 (NCALLS): Increase to 138.
11644 (F(compile_test)): Initialize i. Call fromfp functions.
11645 (F(fromfp)): New function.
11646 (F(fromfpx)): Likewise.
11647 (F(ufromfp)): Likewise.
11648 (F(ufromfpx)): Likewise.
11649 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11650 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11651 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11652 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11653 ufromfpxl.
11654 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11655 ufromfp and ufromfpx.
11656 * math/fromfp.h: New file.
11657 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11658 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11659 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11660 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11661 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11662 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11663 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11664 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11665 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11666 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11679 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11683 ufromfp, fromfpx and ufromfpx.
11684 (CFLAGS-nldbl-fromfp.c): New variable.
11685 (CFLAGS-nldbl-fromfpx.c): Likewise.
11686 (CFLAGS-nldbl-ufromfp.c): Likewise.
11687 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11688 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11689 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11690 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11691 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11692 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11693 * sysdeps/nacl/libm.abilist: Update.
11694 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11707 Likewise.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11709 Likewise.
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11711 Likewise.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11713 Likewise.
11714 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11716 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11717 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11718 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11720 Likewise.
11721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11722 Likewise.
11723 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11726
11727 2016-12-30 Florian Weimer <fweimer@redhat.com>
11728
11729 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11730 compat-gethnamaddr.
11731 (CPPFLAGS): Remove.
11732 * resolv/gethnamaddr.c: Rename ...
11733 * resolv/compat-gethnamaddr.c: ... to this file.
11734 (_endhtent): Make static.
11735 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11736 symbol.
11737 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11738 compat symbol.
11739 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11740 symbol.
11741 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11742 Turn into compat symbol.
11743 * include/resolv.h (_endhtent): Remove declaration.
11744
11745 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11746
11747 * bits/types.h (__intmax_t): New typedef.
11748 (__uintmax_t): Likewise.
11749 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11750 (intmax_t): Define using __intmax_t.
11751 (uintmax_t): Define using __uintmax_t.
11752
11753 * support/Makefile (tests-special): Make definition conditional on
11754 [$(run-built-tests) = yes].
11755 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11756 on [$(run-built-tests) = yes].
11757
11758 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11759
11760 * Rules (tests): Add tests-printers-programs to tests to be
11761 built.
11762
11763 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11764
11765 * sysvipc/Makefile (tests): Add test-sysvshm.
11766 * sysvipc/test-sysvshm.c: New file.
11767
11768 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11769 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11770 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11771 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11772 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11773 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11774 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11775 Likewise.
11776 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11777 Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11779 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11780 is defined.
11781
11782 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11783 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11784 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11785 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11786 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11787 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11788 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11789 Likewise.
11790 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11791 Likewise.
11792 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11793 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11794 defined.
11795
11796 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11797 oldshmctl.
11798 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11799 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11800 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11801 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11802 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11803 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11804 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11805 Likewise.
11806 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11807 Likewise.
11808 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11809 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11810 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11811 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11812 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11813 implementation.
11814 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11815 if it is defined.
11816
11817 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11818 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11819 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11820 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11821 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11822 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11823 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11824 Likewise.
11825 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11826 Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11828 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11829 Define to __NR_osf_shmat.
11830 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11831 defined.
11832
11833 * sysvipc/Makefile (tests): Add test-sysvsem.
11834 * sysvipc/test-sysvsem.c: New file.
11835
11836 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11837 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11838 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11839 Likewise.
11840 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11841 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11842 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11843 Likewise.
11844 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11845 Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11847 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11848 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11849 add a comment about s390 syscall difference from default one.
11850 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11851 syscall if it is defined.
11852
11853 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11854 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11855 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11856 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11857 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11858 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11859 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11860 Likewise.
11861 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11862 Likewise.
11863 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11864 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11865 defined.
11866
11867 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11868 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11869 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11870 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11871 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11872 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11873 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11874 Likewise.
11875 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11876 Likewise.
11877 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11878 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11879 if it is defined.
11880
11881 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11882 oldsemctl.
11883 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11884 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11885 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11886 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11887 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11888 implementation.
11889 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11890 syscall if it is defined.
11891 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11892 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11893 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11894 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11895 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11896 Likewise.
11897 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11898
11899 * sysvipc/Makefile (tests): Add test-sysvmsg.
11900 * sysvipc/test-sysvmsg.c: New file.
11901 * support/check.h (FAIL_UNSUPPORTED): New define.
11902
11903 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11904 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11905 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11906 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11907 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11908 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11909 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11910 Likewise.
11911 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11912 Likewise.
11913 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11914 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11915 define.
11916
11917 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11918 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11919 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11920 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11921 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11922 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11923 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11924 Likewise.
11925 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11926 Likewise.
11927 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11928 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11929 if defined.
11930
11931 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11932 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11933 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11934 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11935 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11936 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11937 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11938 Likewise.
11939 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11940 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11941 Likewise.
11942 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11943 if defined.
11944 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11945
11946 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11947 oldmsgctl.
11948 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11949 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11950 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11951 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11952 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11953 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11954 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11955 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11956 Likewise.
11957 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11958 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11959 implementation.
11960 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11961 if defined.
11962
11963 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11964 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11965 definition and define its own.
11966 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11967 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11968 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11969 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11970 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11971 definitions to common header.
11972 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11973 operation from ipc_ops.h.
11974
11975 * sysdeps/unix/sysv/linux/kernel-features.h
11976 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11977 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11978 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11979 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11980 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11981 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11982 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11984 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11985 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11986 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11987 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11988 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11989 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11990 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11991
11992 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11993
11994 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11995 overflow in pointer addition.
11996
11997 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11998
11999 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12000 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12002 (strchr): Add __strchr_power8 to list of strchr functions.
12003 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12004 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12005 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12006 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12007 (strchr): Add __strchr_power8 to ifunc list.
12008 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12009 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12010 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12011 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12012
12013 2016-12-28 Florian Weimer <fweimer@redhat.com>
12014
12015 * support/Makefile (libsupport-routines): Add
12016 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12017 (tests): Add tst-support_record_failure.
12018 (tests-special): tst-support_record_failure-2.
12019 (tst-support_record_failure-2.out): Depend on
12020 tst-support_record_failure-2.sh and tst-support_record_failure.
12021 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12022 (support_test_verify_impl, support_record_failure)
12023 (support_report_failure, support_report_failure_reset): Declare.
12024 * support/support_test_main.c (adjust_exit_status): New function.
12025 (support_test_main): Call it to incorporate record test failures.
12026 * support/support_test_verify_impl.c: New file.
12027 * support/support_record_failure.c: Likewise.
12028 * support/tst-support_record_failure.c: Likewise.
12029 * support/tst-support_record_failure-2.sh: Likewise.
12030 * support/xunistd.h: Likewise.
12031 * support/xfork.c: Likewise.
12032 * support/xwaitpid.c: Likewise.
12033
12034 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12035
12036 * scripts/check-c++-types.sh: Add comments.
12037
12038 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12039
12040 [BZ #19514]
12041 * resolv/res_send.c: Fix typo in comment.
12042 * sysdeps/i386/i386-mcount.S: Likewise.
12043 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12044 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12045 * sysdeps/sparc/sparc-mcount.S: Likewise.
12046
12047 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12048
12049 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12050 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12051 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12052 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12053 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12054 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12055 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12056 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12057
12058 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12059
12060 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12061
12062 2016-12-27 Florian Weimer <fweimer@redhat.com>
12063
12064 [BZ #17252]
12065 * posix/unistd.h (getentropy): Declare.
12066
12067 2016-12-27 Florian Weimer <fweimer@redhat.com>
12068
12069 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12070 Remove.
12071 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12072 (cmd): Remove spoof, nospoof, spoofalert.
12073 (parse_line): Ignore spoof-related lines.
12074 (do_init): Do not process RESOLV_SPOOF_CHECK.
12075
12076 2016-12-27 Florian Weimer <fweimer@redhat.com>
12077
12078 [BZ #20964]
12079 sunrpc: Always obtain AF_INET addresses from NSS.
12080 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12081 * sunrpc/rpc_gethostbyname.c: New file.
12082 * sunrpc/Makefile (routines): Add it.
12083 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12084 * sunrpc/clnt_simp.c (callrpc): Likewise.
12085 * sunrpc/getrpcport.c (getrpcport): Likewise.
12086
12087 2016-12-27 Florian Weimer <fweimer@redhat.com>
12088
12089 * sunrpc/rpcinfo.c: Remove.
12090 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12091
12092 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12093
12094 [BZ #19387]
12095 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12096 addition.
12097 * string/test-memchr.c (do_test): Remove alignment limitation.
12098 (test_main): Add test that trigger BZ #19387.
12099
12100 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12101
12102 [BZ #7065]
12103 Enable stack protectore if requested by ./configure.
12104 * Makeconfig (+stack-protector): New variable.
12105 (+cflags): Use it.
12106
12107 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12108
12109 [BZ #7065]
12110 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12111 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12112 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12114 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12115
12116 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12117
12118 [BZ #7065]
12119 * login/Makefile (pt_chown-cflags): Remove.
12120 * nscd/Makefile (CFLAGS-nscd): Likewise.
12121 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12122
12123 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12124
12125 [BZ #7065]
12126 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12127 non-libc-linking testcase.
12128
12129 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12130 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12131 Florian Weimer <fweimer@redhat.com>
12132
12133 [BZ #7065]
12134 PLT avoidance for __stack_chk_fail*.
12135 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12136 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12137 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12138 __stack_chk_fail_local alias.
12139 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12140 (__stack_chk_fail): Turn into hidden reference to
12141 __stack_chk_fail_local.
12142
12143 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12144
12145 [BZ #7065]
12146 * configure.ac: Add check for unsupported stack-protection level.
12147 (libc_cv_predef_stack_protector): Remove.
12148 (no_ssp): New variable.
12149 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12150 (stack_protector): Set to -fno-stack-protector similarly.
12151 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12152 (libc_cv_asm_set_directive): Likewise.
12153 (libc_cv_protected_data): Likewise.
12154 (libc_cv_z_combreloc): Likewise.
12155 (libc_cv_hashstyle): Likewise.
12156 (libc_cv_has_glob_dat): Likewise.
12157 (libc_cv_output_format): Likewise.
12158 (libc_cv_output_format): Likewise.
12159 (libc_cv_ehdr_start): Likewise.
12160 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12161 (LIBC_LINKER_FEATURE): Likewise.
12162 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12163
12164 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12165
12166 [BZ #7065]
12167 * elf/Makefile (dummy-stack-chk-fail): New.
12168 (librtld.map): Use it.
12169
12170 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12171
12172 [BZ #7065]
12173 Compile the dynamic linker without stack protection.
12174 * elf/Makefile (elide-stack-protector): New.
12175 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12176 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12177 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12178 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12179
12180 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12181
12182 [BZ #7065]
12183 * config.make.in (have-ssp, no-stack-protector): New.
12184 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12185 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12186 (CFLAGS-sbrk.op): Likewise.
12187 (CFLAGS-brk.o): Likewise.
12188 (CFLAGS-brk.op): Likewise.
12189 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12190 (CFLAGS-wordcopy.c): Likewise.
12191
12192 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12193
12194 [BZ #7065]
12195 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12196 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12197 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12198 (__ifunc_resolver): Use it.
12199 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12200 inhibit_stack_protector.
12201 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12202 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12203 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12204 (foo_protected_ifunc): Likewise.
12205 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12206 (foo_protected_ifunc): Likewise.
12207 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12208 * sysdeps/nacl/nacl_interface_query.c
12209 (nacl_interface_query_ifunc): Likewise.
12210 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12211 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12212 Likewise.
12213 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12214 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12215 the generated vDSO syscall resolver.
12216
12217 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12218 Florian Weimer <fweimer@redhat.com>
12219
12220 [BZ #7065]
12221 Initialize the stack guard earlier when linking statically.
12222 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12223 (__pthread_initialize_minimal): Declare.
12224 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12225 declaration.
12226 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12227 stack canary and apply_irel initialization up. Call
12228 __pthread_initialize_minimal only if linked in.
12229 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12230 constant values.
12231 (__pthread_initialize_minimal): Remove.
12232 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12233 (__pthread_initialize_minimal_internal): Do not call
12234 __libc_setup_tls.
12235
12236 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12237
12238 [BZ #7065]
12239 * configure.ac (libc_cv_ssp): Move up.
12240 (libc_cv_ssp_strong): Likewise.
12241 (libc_cv_ssp_all): New.
12242 (stack_protector): Augment, adding -fstack-protector-all.
12243 (no_stack_protector): New.
12244 (STACK_PROTECTOR_LEVEL): New.
12245 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12246 * manual/install.texi (--enable-stack-protector): Document it.
12247 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12248
12249 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12250
12251 * README.pretty-printers: Must specify CPPFLAGS-* also.
12252 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12253 (CPPFLAGS-test-mutex-printers.c): Define.
12254 (CPPFLAGS-test-condattr-printers.c): Define.
12255 (CPPFLAGS-test-cond-printers.c): Define.
12256 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12257 (CPPFLAGS-test-rwlock-printers.c): Define.
12258
12259 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12260 (tests): Add tst-cancel-getpwuid_r.
12261 * nss/tst-cancel-getpwuid_r.c: New file.
12262
12263 [BZ #11941]
12264 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12265 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12266 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12267 tst-nodelete-dlclose.
12268 (modules-names): Add tst-nodelete-dlclose-dso and
12269 tst-nodelete-dlclose-plugin.
12270 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12271 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12272 ($(objpfx)tst-nodelete-dlclose): Define.
12273 ($(objpfx)tst-nodelete-dlclose.out): Define.
12274
12275 2016-12-23 Florian Weimer <fweimer@redhat.com>
12276
12277 * scripts/test_printers_common.py: Log GDB output in case of
12278 Python detection failure.
12279
12280 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12281
12282 * configure.ac: Check for python3 or python.
12283 * configure: Regenerated.
12284 * config.make.in (PYTHON): New variable.
12285 * benchtests/Makefile: Don't define PYTHON.
12286 (bench): Define target only if PYTHON was defined.
12287 * Rules: Don't define PYTHON.
12288 Define pretty printer targets only if PYTHON was defined.
12289 (tests-printers): Add to tests-unsupported if PYTHON is not
12290 found.
12291 (python-flags, python-invoke): Remove.
12292 (tests-printers-out): Use PYTHON instead of python-invoke.
12293
12294 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12295
12296 [BZ #20978]
12297 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12298 Compare name == NULL, not name != NULL.
12299
12300 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12301 trailing whitespace removed.
12302 * scripts/config.guess: Update to version 2016-10-02.
12303 * scripts/config.sub: Update to version 2016-11-19.
12304 * scripts/install-sh: Update to version 2016-01-11.22.
12305 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12306 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12307
12308 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12309
12310 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12311 (do_one_test) Restore original string so iteration works.
12312 * string/string-inlines.c (do_test): Create better input strings.
12313 (test_main) Reduce number of testruns.
12314 * string/string-inlines.c (__old_strsep_1c): New function.
12315 (__old_strsep_2c): Likewise.
12316 (__old_strsep_3c): Likewise.
12317 * string/strsep.c (__strsep): Remove case of small delim string.
12318 Call strcspn directly rather than strpbrk.
12319 * string/bits/string2.h (__strsep): Remove define.
12320 (__strsep_1c): Remove.
12321 (__strsep_2c): Remove.
12322 (__strsep_3c): Remove.
12323 (strsep): Remove.
12324 * sysdeps/unix/sysv/linux/internal_statvfs.c
12325 (__statvfs_getflags): Rename to __strsep.
12326
12327 2016-12-21 Florian Weimer <fweimer@redhat.com>
12328
12329 * csu/libc-tls.c (_dl_tls_setup): Remove.
12330 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12331 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12332 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12333
12334 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12335
12336 [BZ #7065]
12337 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12338 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12339
12340 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12341 Florian Weimer <fweimer@redhat.com>
12342
12343 [BZ #7065]
12344 * csu/Makefile (tests): Empty assignment and document it.
12345 (tests-static): Remove.
12346 * csu/tst-empty.c: Move to...
12347 * misc/tst-empty.c: ... here. Switch to new test driver.
12348 * csu/tst-atomic.c: Move to...
12349 * misc/tst-atomic.c: ... here. Switch to new test driver.
12350 * csu/tst-atomic-long.c: Move to...
12351 * misc/tst-atomic-long.c: ... here.
12352 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12353 tst-atomic-long.
12354 (tests-static): Add tst-empty.
12355
12356 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12357
12358 * manual/nss.texi: Change incorrect @vtable to @table.
12359 * manual/arith.texi: Convert @tables of variables to @vtables
12360 and remove unnecessary indexing.
12361 * manual/filesys.texi: Likewise.
12362 * manual/llio.texi: Likewise.
12363 * manual/memory.texi: Likewise.
12364 * manual/process.texi: Likewise.
12365 * manual/resource.texi: Likewise.
12366 * manual/search.texi: Likewise.
12367 * manual/signal.texi: Likewise.
12368 * manual/socket.texi: Likewise.
12369 * manual/stdio.texi: Likewise.
12370 * manual/sysinfo.texi: Likewise.
12371 * manual/syslog.texi: Likewise.
12372 * manual/terminal.texi: Likewise.
12373 * manual/time.texi: Likewise.
12374 * manual/users.texi: Likewise.
12375
12376 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12377
12378 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12379 (roundeven): New declaration.
12380 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12381 macro.
12382 * math/Versions (roundeven): New libm symbol at version
12383 GLIBC_2.25.
12384 (roundevenf): Likewise.
12385 (roundevenl): Likewise.
12386 * math/Makefile (libm-calls): Add s_roundevenF.
12387 * math/libm-test.inc (roundeven_test_data): New array.
12388 (roundeven_test): New function.
12389 (main): Call roundeven_test.
12390 * math/test-tgmath.c (NCALLS): Increase to 134.
12391 (F(compile_test)): Call roundeven.
12392 (F(roundeven)): New function.
12393 * manual/arith.texi (Rounding Functions): Document roundeven,
12394 roundevenf and roundevenl.
12395 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12396 * include/math.h (roundeven): Use libm_hidden_proto.
12397 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12398 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12399 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12402 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12403 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12404 roundeven.
12405 (CFLAGS-nldbl-roundeven.c): New variable.
12406 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12407 * sysdeps/nacl/libm.abilist: Update.
12408 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12421 Likewise.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12423 Likewise.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12425 Likewise.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12427 Likewise.
12428 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12434 Likewise.
12435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12436 Likewise.
12437 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12440
12441 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12442
12443 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12444 preprocessor indentation inside #if.
12445
12446 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12447
12448 * math/libm-test.inc (fmt_ftostr): New function.
12449 (print_float, check_float_internal): Replace some uses of
12450 FTOSTR with uses of fmt_ftostr.
12451 (print_max_error, print_complex_max_error, print_function_ulps)
12452 (print_complex_function_ulps): Remove uses of the macros
12453 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12454 * math/test-double.h (FTOSTR): Define to strfromd.
12455 (PRINTF_EXPR): Delete.
12456 (PRINTF_XEXPR): Likewise.
12457 (PRINTF_NEXPR): Likewise.
12458 * math/test-float.h (FTOSTR): Define to strfromf.
12459 (PRINTF_EXPR): Delete.
12460 (PRINTF_XEXPR): Likewise.
12461 (PRINTF_NEXPR): Likewise.
12462 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12463 (PRINTF_EXPR): Delete.
12464 (PRINTF_XEXPR): Likewise.
12465 (PRINTF_NEXPR): Likewise.
12466
12467 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12468
12469 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12470 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12471 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12472 (__lll_lock_elision): Decrement adapt_count while unlocking
12473 instead of before locking.
12474 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12475 (__lll_trylock_elision): Likewise.
12476 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12477 (__lll_unlock_elision): Likewise.
12478
12479 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12480
12481 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12482 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12483 Use __libc_tbegin_retry macro.
12484
12485 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12486
12487 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12488 Add -msoft-float.
12489 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12490 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12491 Use __libc_t* transaction macros instead of __builtin_t*.
12492 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12493 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12494
12495 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12496
12497 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12498 (__lll_lock_elision): Use atomics to load / store adapt_count.
12499 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12500 (__lll_trylock_elision): Likewise.
12501
12502 2016-12-20 Florian Weimer <fweimer@redhat.com>
12503
12504 Do not require memset elimination in explicit_bzero test.
12505 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12506 (enum test_expectation): Add NO_EXPECTATIONS.
12507 (subtests): NO_EXPECTATIONS for ordinary clear.
12508 (check_test_buffer): Handle NO_EXPECTATIONS.
12509 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12510
12511 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12512
12513 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12514 (fmaxmag): New declaration.
12515 (fminmag): Likewise.
12516 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12517 macro.
12518 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12519 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12520 (fmaxmagf): Likewise.
12521 (fmaxmagl): Likewise.
12522 (fminmag): Likewise.
12523 (fminmagf): Likewise.
12524 (fminmagl): Likewise.
12525 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12526 * math/s_fmaxmag_template.c: New file.
12527 * math/s_fminmag_template.c: Likewise.
12528 * math/libm-test.inc (fmaxmag_test_data): New array.
12529 (fmaxmag_test): New function.
12530 (fminmag_test_data): New array.
12531 (fminmag_test): New function.
12532 (main): Call fmaxmag_test and fminmag_test.
12533 * math/test-tgmath.c (NCALLS): Increase to 132.
12534 (F(compile_test)): Call fmaxmag and fminmag.
12535 (F(fminmag)): New function.
12536 (F(fmaxmag)): Likewise.
12537 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12538 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12539 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12540 fminmag.
12541 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12542 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12543 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12546 and fminmag.
12547 (CFLAGS-nldbl-fmaxmag.c): New variable.
12548 (CFLAGS-nldbl-fminmag.c): Likewise.
12549 * sysdeps/nacl/libm.abilist: Update.
12550 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12563 Likewise.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12565 Likewise.
12566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12567 Likewise.
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12569 Likewise.
12570 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12576 Likewise.
12577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12578 Likewise.
12579 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12580 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12582
12583 2016-12-19 Torvald Riegel <triegel@redhat.com>
12584
12585 [BZ #20973]
12586 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12587 wake-up in robust mutexes.
12588 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12589
12590 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12591
12592 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12593 (CFLAGS-bench-fmaxf.c): New rule.
12594 (CFLAGS-bench-fminf.c): Likewise.
12595 * benchtests/fmaxf-inputs: New file.
12596 * benchtests/fminf-inputs: Likewise.
12597
12598 * benchtests/Makefile (bench-math): Add fmin and fmax.
12599 (CFLAGS-bench-fmax.c): New rule.
12600 (CFLAGS-bench-fmin.c): Likewise.
12601 * benchtests/fmax-inputs: New file.
12602 * benchtests/fmin-inputs: Likewise.
12603
12604 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12605 parenthesis.
12606 (CMDLINE_PROCESS): Define using function instead of macro.
12607 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12608 of test-skeleton.
12609 * benchtests/bench-memchr.c: Likewise.
12610 * benchtests/bench-memcmp.c: Likewise.
12611 * benchtests/bench-memcpy-large.c: Likewise.
12612 * benchtests/bench-memcpy.c: Likewise.
12613 * benchtests/bench-memmem.c: Likewise.
12614 * benchtests/bench-memmove-large.c: Likewise.
12615 * benchtests/bench-memmove.c: Likewise.
12616 * benchtests/bench-memset-large.c: Likewise.
12617 * benchtests/bench-memset.c: Likewise.
12618 * benchtests/bench-rawmemchr.c: Likewise.
12619 * benchtests/bench-strcasecmp.c: Likewise.
12620 * benchtests/bench-strcasestr.c: Likewise.
12621 * benchtests/bench-strcat.c: Likewise.
12622 * benchtests/bench-strchr.c: Likewise.
12623 * benchtests/bench-strcmp.c: Likewise.
12624 * benchtests/bench-strcpy.c: Likewise.
12625 * benchtests/bench-strcpy_chk.c: Likewise.
12626 * benchtests/bench-strlen.c: Likewise.
12627 * benchtests/bench-strncasecmp.c: Likewise.
12628 * benchtests/bench-strncmp.c: Likewise.
12629 * benchtests/bench-strncpy.c: Likewise.
12630 * benchtests/bench-strnlen.c: Likewise.
12631 * benchtests/bench-strpbrk.c: Likewise.
12632 * benchtests/bench-strrchr.c: Likewise.
12633 * benchtests/bench-strsep.c: Likewise.
12634 * benchtests/bench-strspn.c: Likewise.
12635 * benchtests/bench-strstr.c: Likewise.
12636 * benchtests/bench-strtok.c: Likewise.
12637
12638 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12639
12640 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12641 stepping identification.
12642 (init_cpu_features): Add handle of Haswell.
12643
12644 2016-11-25 Jim Meyering <meyering@fb.com>
12645
12646 [BZ #20386]
12647 Let gcc detect assert(a = 1) errors.
12648 * assert/assert.h (assert): Rewrite, retaining the old definintion
12649 when required, but otherwise putting the expression as-is in an "if"
12650 expression (hence, with no added parentheses) within a statement
12651 expression.
12652
12653 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12654
12655 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12656 DSO.
12657
12658 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12659
12660 * Rules (python-flags, python-invoke): New.
12661 ($(test-printers-out)): Use $(python-flags).
12662
12663 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12664
12665 * manual/arith.texi (Math Error Reporting): Document that sNaN
12666 arguments are not considered domain errors.
12667
12668 2016-12-16 Zack Weinberg <zackw@panix.com>
12669 Florian Weimer <fweimer@redhat.com>
12670 Nick Mathewson <nickm@torproject.org>
12671
12672 * string/explicit_bzero.c: New routine.
12673 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12674 * string/Makefile (routines, strop-tests, tests): Add them.
12675 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12676 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12677
12678 * debug/explicit_bzero_chk.c: New routine.
12679 * debug/Makefile (routines): Add it.
12680 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12681 * string/bits/string3.h: Fortify explicit_bzero.
12682
12683 * manual/string.texi: Document explicit_bzero.
12684 * NEWS: Mention addition of explicit_bzero.
12685
12686 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12687 data before returning, using explicit_bzero.
12688 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12689 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12690 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12691
12692 * include/string.h: Redirect internal uses of explicit_bzero
12693 to __explicit_bzero_chk[_internal].
12694 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12695 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12696 * sysdeps/arm/nacl/libc.abilist
12697 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12698 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12699 * sysdeps/unix/sysv/linux/arm/libc.abilist
12700 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12701 * sysdeps/unix/sysv/linux/i386/libc.abilist
12702 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12703 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12704 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12705 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12706 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12707 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12708 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12709 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12710 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12715 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12716 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12717 * sysdeps/unix/sysv/linux/sh/libc.abilist
12718 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12719 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12722 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12723 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12724 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12725 Add entries for explicit_bzero and __explicit_bzero_chk.
12726
12727 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12728
12729 * math/fenv.h
12730 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12731 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12732 * math/test-fe-snans-always-signal.c: New file.
12733 * math/Makefile (tests): Add test-fe-snans-always-signal.
12734 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12735 * manual/arith.texi (Infinity and NaN): Document
12736 FE_SNANS_ALWAYS_SIGNAL.
12737
12738 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12739
12740 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12741 bracket.
12742
12743 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12744
12745 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12746 before calling execv.
12747
12748 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12749
12750 [BZ #20971]
12751 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12752 overflow in pointer addition.
12753 * string/test-memchr.c (do_test): Add an argument to pass as
12754 the size on memchr.
12755 (test_main): Add check for SIZE_MAX.
12756
12757 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12758
12759 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12760 (libm-calls): Add w_scalblnF.
12761 * math/w_scalbln.c: Remove.
12762 * math/w_scalblnf.c: Likewise.
12763 * math/w_scalblnl.c: Likewise.
12764 * math/w_scalbln_template.c: New file with type-generic
12765 implementation based on math/w_scalbln.c.
12766 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12767 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12768
12769 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12770
12771 [BZ #20947]
12772 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12773 either is a signaling NaN.
12774 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12775 follow fmaxl more closely.
12776 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12777 when either is a signaling NaN.
12778 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12779 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12780 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12781 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12782 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12783 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12784 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12785 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12786 (fmin_test_data): Likewise.
12787
12788 2016-12-15 Andreas Schwab <schwab@suse.de>
12789
12790 * support/support_test_main.c (support_test_main): Don't shadow
12791 file-local variable test_pid.
12792
12793 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12794
12795 [BZ #20947]
12796 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12797 either is a signaling NaN.
12798 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12799
12800 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12801
12802 [BZ #20947]
12803 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12804 when either is a signaling NaN.
12805 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12806
12807 * bits/long-double.h: New file.
12808 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12809 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12810 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12811 * sysdeps/mips/bits/long-double.h: Likewise.
12812 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12813 * math/Makefile (headers): Add bits/long-double.h.
12814 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12815 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12816 <bits/wordsize.h>.
12817 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12818 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12819 * math/math.h: Do not include <bits/mathdef.h>.
12820 * sysdeps/aarch64/bits/mathdef.h: Remove file.
12821 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12822 inclusion.
12823 * sysdeps/ia64/bits/mathdef.h: Remove file.
12824 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12825 * sysdeps/mips/bits/mathdef.h: Likewise.
12826 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12827 * sysdeps/s390/bits/mathdef.h: Likewise.
12828 * sysdeps/sparc/bits/mathdef.h: Likewise.
12829 * sysdeps/x86/bits/mathdef.h: Likewise.
12830 * sysdeps/s390/s390-32/bits/wordsize.h
12831 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12832 conditional code.
12833 * sysdeps/s390/s390-64/bits/wordsize.h
12834 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12835 Likewise.
12836 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12837 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12838 Likewise.
12839 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12840 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12841 Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12843 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12844 Likewise.
12845
12846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12847 <linux/falloc.h>.
12848 (FALLOC_FL_KEEP_SIZE): Remove.
12849 (FALLOC_FL_PUNCH_HOLE): Likewise.
12850 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12851 (FALLOC_FL_ZERO_RANGE): Likewise.
12852
12853 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12854
12855 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12856
12857 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12858
12859 * sysdeps/unix/sysv/linux/renameat.c: New file.
12860 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12861
12862 * sysdeps/unix/sysv/linux/rename.c: New file.
12863 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12864
12865 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12866
12867 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12868 * string/strtok.c (strtok): Change to tailcall __strtok_r.
12869 * string/strtok_r.c (__strtok_r): Optimize for performance.
12870 * string/string-inlines.c (__old_strtok_r_1c): New function.
12871 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12872
12873 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12874
12875 * math/Makefile (gen-libm-calls): Add w_log1pF.
12876 (libm-calls): Remove w_log1pF.
12877 * math/w_log1p.c: Remove.
12878 * math/w_log1pf.c: Likewise.
12879 * math/w_log1pl.c: Likewise.
12880 * math/w_log1p_template.c: New file with type-generic
12881 implementation based on math/w_log1p.c.
12882 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12883 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12884
12885 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12886
12887 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12888
12889 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12890
12891 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12892 kernel version to 4.9.
12893
12894 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
12895
12896 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12897 ($(inst_libdir)/libm.a): Fix rule to create the target only.
12898
12899 2016-12-13 Andreas Schwab <schwab@suse.de>
12900
12901 * sysdeps/powerpc/dl-procinfo.c: Don't define
12902 _dl_powerpc_platforms.
12903 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12904 constants instead of referencing _dl_powerpc_platforms.
12905 (_dl_platform_string): Remove.
12906
12907 2016-12-13 Florian Weimer <fweimer@redhat.com>
12908
12909 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12910
12911 2016-12-13 Florian Weimer <fweimer@redhat.com>
12912
12913 * Rules (binaries-shared-tests, binaries-pie-tests)
12914 (binaries-static-tests): Link with $(link-extra-libs-tests).
12915 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12916 Remove $(link-extra-libs-tests).
12917
12918 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12919
12920 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12921 (sysdep_routines): Add strncmp_power9.
12922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12923 (strncmp): Add __strncmp_power9 to list of strncmp functions.
12924 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12925 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12926 (strncmp): Add __strncmp_power9 to ifunc list.
12927 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12928
12929 2016-12-12 Florian Weimer <fweimer@redhat.com>
12930
12931 [BZ #17252]
12932 Add getentropy, getrandom.
12933 * stdlib/sys/random.h: New file.
12934 (headers): Add it.
12935 * stdlib/Makefile (routines): Add getentropy, getrandom.
12936 (tests): Add tst-getrandom.
12937 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12938 * stdlib/getentropy.c: New file.
12939 * stdlib/getrandom.c: Likewise.
12940 * stdlib/tst-getrandom.c: Likewise.
12941 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12942 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12943 * manual/crypt.texi (Unpredictable Bytes): New section.
12944 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12945 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12946 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12961 Likewise.
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12963 Likewise.
12964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12974 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12975 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12976
12977 2016-12-10 Florian Weimer <fweimer@redhat.com>
12978
12979 [BZ #20956]
12980 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12981 as additional compiler barriers.
12982 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12983 (fn2, do_test): Declare with external linkage.
12984 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12985 (do_test): Declare with external linkage.
12986 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12987 (do_test): Declare with external linkage.
12988 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12989 (do_test): Declare with external linkage.
12990
12991 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
12992
12993 * support/support_test_main.c (support_test_main): Use correct
12994 timeout.
12995
12996 2016-12-09 Carlos O'Donell <carlos@redhat.com>
12997 Florian Weimer <fweimer@redhat.com>
12998
12999 [BZ #16421]
13000 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13001 and __u6_addr32 members.
13002 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13003 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13004 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13005 Use __u6_addr32.
13006 * inet/tst-checks.c: Use <support/test-driver.c>
13007 * inet/tst-checks-posix.c: New file.
13008 * inet/Makefile (tests): Add it.
13009 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13010
13011 2016-12-09 Florian Weimer <fweimer@redhat.com>
13012
13013 New subdirectory support for build and test infrastructure.
13014 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13015 setting install-lib.
13016 * Makeconfig (link-extra-libs-tests): Define.
13017 (+link-pie-tests, +link-static-tests, +link-tests): Use
13018 link-extra-libs-tests.
13019 (rpath-dirs, all-subdirs): Add support.
13020 (built-modules): Add libsupport.
13021 (libsupport): Define.
13022 * support: New directory.
13023 * support/Makefile: New file.
13024 * support/check.c: Likewise.
13025 * support/check.h: Likewise.
13026 * support/delayed_exit.c: Likewise.
13027 * support/ignore_stderr.c: Likewise.
13028 * support/oom_error.c: Likewise.
13029 * support/set_fortify_handler.c: Likewise.
13030 * support/support.h: Likewise.
13031 * support/temp_file-internal.h: Likewise.
13032 * support/temp_file.c: Likewise.
13033 * support/test-driver.c: Likewise.
13034 * support/test-driver.h: Likewise.
13035 * support/test_main.c: Likewise.
13036 * support/write_message.c: Likewise.
13037 * support/xasprintf.c: Likewise.
13038 * support/xcalloc.c: Likewise.
13039 * support/xmalloc.c: Likewise.
13040 * support/xpthread_barrier_destroy.c: Likewise.
13041 * support/xpthread_barrier_init.c: Likewise.
13042 * support/xpthread_barrier_wait.c: Likewise.
13043 * support/xpthread_cancel.c: Likewise.
13044 * support/xpthread_check_return.c: Likewise.
13045 * support/xpthread_cond_wait.c: Likewise.
13046 * support/xpthread_create.c: Likewise.
13047 * support/xpthread_detach.c: Likewise.
13048 * support/xpthread_join.c: Likewise.
13049 * support/xpthread_mutex_lock.c: Likewise.
13050 * support/xpthread_mutex_unlock.c: Likewise.
13051 * support/xpthread_sigmask.c: Likewise.
13052 * support/xpthread_spin_lock.c: Likewise.
13053 * support/xpthread_spin_unlock.c: Likewise.
13054 * support/xrealloc.c: Likewise.
13055 * support/xsignal.h: Likewise.
13056 * support/xthread.h: Likewise.
13057 * support_tempfile.h: Likewise.
13058 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13059 (TEST_DATA_LIMIT): Remove unused macro.
13060 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13061 <support/check.h>.
13062 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13063 (ignore_stderr, set_fortify_handler): Remove. Now in
13064 <support/support.h>.
13065 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13066 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13067 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13068 (xpthread_join): Remove. Now in <support/xthread.h>.
13069 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13070 Introduce legacy wrappers.
13071 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13072 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13073 (write_message): Remove.
13074 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13075 test-skeleton.c.
13076 * io/test-open-tmpfile: Likewise.
13077 * io/tst-posix_fallocate-common.c: Likewise.
13078 * libio/tst-fseek.c: Likewise.
13079 * malloc/tst-malloc-backtrace.c: Likewise.
13080 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13081 * malloc/tst-malloc-thread-exit.c: Likewise.
13082 * nptl/tst-cancel7.c: Likewise.
13083 * nptl/tst-cleanup0.c: Likewise.
13084 * posix/tst-posix_fadvise-common.c: Likewise.
13085 * rt/tst-shm.c: Likewise.
13086 * time/bug-getdate1.c: Likewise.
13087 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13088 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13089 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13090
13091 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13092
13093 * Rules [$(run-built-tests) != no] (tests-expected): Add
13094 $(tests-printers).
13095 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13096
13097 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13098
13099 [BZ #20539]
13100 * math/Makefile (install-lib-ldscripts): Add libm.a.
13101 (install_subdir): Remove.
13102 (install-others): Add.
13103 ($(inst_libdir)/libm.a): Add rule for installation as
13104 linker script.
13105 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13106
13107 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13108
13109 * INSTALL: Regenerated.
13110 * Makeconfig: Add comments and whitespace to make the control flow
13111 clearer.
13112 (+link-printers-tests, +link-pie-printers-tests,
13113 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13114 built-rtld-LDFLAGS, link-libc-rpath,
13115 link-libc-tests-after-rpath-link,
13116 link-libc-printers-tests): New.
13117 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13118 link-libc-tests): Use the new variables as required.
13119 * Makerules ($(py-const)): New rule.
13120 generated: Add $(py-const).
13121 * README.pretty-printers: New file.
13122 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13123 (others): Depend on $(py-const).
13124 (tests): Depend on $(tests-printers-programs) or
13125 $(tests-printers-out),
13126 as required. Pass $(tests-printers) to merge-test-results.sh.
13127 * manual/install.texi: Add requirements for testing the pretty
13128 printers.
13129 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13130 tests-printers, CFLAGS-test-mutexattr-printers.c
13131 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13132 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13133 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13134 * nptl/nptl-printers.py: New file.
13135 * nptl/nptl_lock_constants.pysym: Likewise.
13136 * nptl/test-cond-printers.c: Likewise.
13137 * nptl/test-cond-printers.py: Likewise.
13138 * nptl/test-condattr-printers.c: Likewise.
13139 * nptl/test-condattr-printers.py: Likewise.
13140 * nptl/test-mutex-printers.c: Likewise.
13141 * nptl/test-mutex-printers.py: Likewise.
13142 * nptl/test-mutexattr-printers.c: Likewise.
13143 * nptl/test-mutexattr-printers.py: Likewise.
13144 * nptl/test-rwlock-printers.c: Likewise.
13145 * nptl/test-rwlock-printers.py: Likewise.
13146 * nptl/test-rwlockattr-printers.c: Likewise.
13147 * nptl/test-rwlockattr-printers.py: Likewise.
13148 * scripts/gen-py-const.awk: Likewise.
13149 * scripts/test_printers_common.py: Likewise.
13150 * scripts/test_printers_exceptions.py: Likewise.
13151
13152 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13153
13154 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13155 argument.
13156 (Glibc.build_glibc): Strip installed shared libraries if
13157 requested.
13158 (get_parser): Add --strip option.
13159 (main): Update Context call.
13160
13161 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13162 Dominik Vogt <vogt@linux.vnet.ibm.com>
13163
13164 [BZ #20847]
13165 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13166 array bounds for else branch.
13167 (__execvpe): Style fixes.
13168 * posix/tst-vfork3.c (run_script): New function.
13169 (create_script): Likewise.
13170 (do_test): Use run_script internal function.
13171 (do_prepare): Use create_script internal function.
13172
13173 2016-12-07 Andreas Schwab <schwab@suse.de>
13174
13175 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13176 (__elision_available): Don't declare.
13177 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13178 (__elision_available): Don't define.
13179 (elision_init): Don't set __elision_available.
13180
13181 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13182
13183 [BZ #20940]
13184 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13185 return Inf for arguments Inf and sNaN.
13186 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13187 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13188 Likewise.
13189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13190 Likewise.
13191 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13192 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13193 for arguments Inf and sNaN. When returning a NaN, compute it by
13194 arithmetic on the arguments.
13195 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13196 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13197 arguments.
13198
13199 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13200
13201 [BZ #20916]
13202 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13203 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13204 to compute result.
13205 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13206 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13207
13208 2016-12-05 Torvald Riegel <triegel@redhat.com>
13209
13210 * include/atomic.h (__atomic_check_size_ls): New.
13211 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13212 atomic_store_release): Use it.
13213 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13214 (elision_adapt, ELIDE_LOCK): Use atomics.
13215 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13216 atomics and improve code comments.
13217 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13218 (__lll_trylock_elision): Likewise.
13219
13220 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13221
13222 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13223 programs.
13224
13225 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13226
13227 [BZ #20916]
13228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13229 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13230 arguments to compute result.
13231 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13232 1 for arguments (sNaN, 0) or (1, sNaN).
13233 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13234 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13235
13236 [BZ #20919]
13237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13238 NaN first argument when raised to power 0.
13239 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13240 raising to power zero.
13241 * math/w_powf.c (__powf): Likewise.
13242 * math/w_powl.c (__powl): Likewise.
13243 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13244 pow (0, 0) or pow (NaN, 0).
13245
13246 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13247
13248 [BZ #20918]
13249 * configure.ac: Test for static NSS cryptographic libraries and set
13250 libc_cv_static_nss_crypt.
13251 * configure: Regenerate.
13252 * config.make.in (static-nss-crypt): Define.
13253 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13254 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13255 (CFLAGS-tst-linkall-static.c): Define.
13256 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13257 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13258 ($(objpfx)tst-linkall-static): Define.
13259 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13260 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13261
13262 2016-12-02 Florian Weimer <fweimer@redhat.com>
13263
13264 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13265 (one-hundred, tst-tls-many-dynamic-modules): Define.
13266 (modules-names): Add $(tst-tls-many-dynamic-modules).
13267 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13268 macros.
13269 (tst-tls-manydynamic): Link against libdl, libpthread.
13270 (tst-tls-manydynamic.out): The test needs the test modules at run
13271 time.
13272 * elf/tst-tls-manydynamic.c: New file.
13273 * elf/tst-tls-manydynamic.h: Likewise.
13274 * elf/tst-tls-manydynamicmod.c: Likewise.
13275
13276 2016-12-02 Florian Weimer <fweimer@redhat.com>
13277
13278 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13279 (TLS_DTV_UNALLOCATED): Add.
13280 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13281 offsets.
13282
13283 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13284
13285 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13286
13287 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13288
13289 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13290 Add -fno-optimize-sibling-calls.
13291
13292 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13293
13294 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13295 New declaration.
13296 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13297 macro.
13298 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13299 New macro.
13300 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13301 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13302 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13303 (llogbf): Likewise.
13304 (llogbl): Likewise.
13305 * math/Makefile (gen-libm-calls): Add w_llogbF.
13306 (tests): Add test-fp-llogb-constants.
13307 * math/w_llogb_template.c: New file. Based on
13308 math/w_ilogb_template.c.
13309 * math/libm-test.inc (llogb_test_data): New array.
13310 (llogb_test): New function.
13311 (main): Call llogb_test.
13312 * math/test-fp-llogb-constants.c: New file. Based on
13313 math/test-fp-ilogb-constants.c.
13314 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13315 (do_test): Call check_return_llogb.
13316 * math/test-tgmath.c (NCALLS): Increase to 126.
13317 (F(compile_test)): Call llogb.
13318 (F(llogb)): New function.
13319 * manual/math.texi (Exponents and Logarithms): Document llogb,
13320 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13321 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13322 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13323 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13325 (CFLAGS-nldbl-llogb.c): New variable.
13326 * sysdeps/nacl/libm.abilist: Update.
13327 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13329 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13330 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13331 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13332 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13335 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13340 Likewise.
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13342 Likewise.
13343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13344 Likewise.
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13346 Likewise.
13347 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13353 Likewise.
13354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13355 Likewise.
13356 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13359
13360 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13361
13362 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13363 _Float128 instead of long double.
13364 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13365
13366 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13367 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13368 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13369 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13370 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13371 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13372 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13373 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13374 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13375 Likewise.
13376
13377 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13378
13379 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13380 Remove redirection to __strrchr_ppc.
13381
13382 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13383
13384 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13385 (sysdep_routines): Add strcmp_power9.
13386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13387 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13388 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13389 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13390 (strcmp): Add __strcmp_power9 to ifunc list.
13391 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13392
13393 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13394
13395 * bits/fp-logb.h: New file.
13396 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13397 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13398 * sysdeps/x86/bits/fp-logb.h: Likewise.
13399 * math/Makefile (headers): Add bits/fp-logb.h.
13400 * math/math.h: Include <bits/fp-logb.h>.
13401 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13402 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13403 * bits/mathdef.h (FP_ILOGB0): Remove.
13404 (FP_ILOGBNAN): Likewise.
13405 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13406 (FP_ILOGBNAN): Likewise.
13407 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13408 (FP_ILOGBNAN): Likewise.
13409 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13410 (FP_ILOGBNAN): Likewise.
13411 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13412 (FP_ILOGBNAN): Likewise.
13413 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13414 (FP_ILOGBNAN): Likewise.
13415 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13416 (FP_ILOGBNAN): Likewise.
13417 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13418 (FP_ILOGBNAN): Likewise.
13419 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13420 (FP_ILOGBNAN): Likewise.
13421 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13422 (FP_ILOGBNAN): Likewise.
13423
13424 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13425 time module.
13426 (Context.__init__): Initialize self.logsdir_old.
13427 (Context.run_builds): Handle bot action.
13428 (Context.bot_cycle): Copy logs directory before running builds.
13429 (Context.bot_run_self): Take argument for whether to check
13430 subprocess result. Flush stdout before running subprocess.
13431 (Context.bot): New function.
13432 (get_parser): Allow bot action.
13433
13434 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13435
13436 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13437 Import email.mime.text, email.utils and smtplib modules.
13438 (Context.__init__): Initialize self.bot_config_json.
13439 (Context.run_builds): Handle bot-cycle action.
13440 (Context.load_bot_config_json): New function.
13441 (Context.part_build_old): Likewise.
13442 (Context.bot_cycle): Likewise.
13443 (Context.bot_build_mail): Likewise.
13444 (Context.bot_run_self): Likewise.
13445 (get_parser): Allow bot-cycle action.
13446
13447 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13448
13449 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13450 Remove redirection to __stpcpy_ppc.
13451
13452 2016-11-30 Florian Weimer <fweimer@redhat.com>
13453
13454 Remove __libc_memalign from ld.so because it is unused.
13455 * elf/dl-minimal.c: Update comment on the malloc implementation.
13456 (malloc): Renamed from __libc_memalign, replacing the original
13457 malloc implementation. Replace the align parameter with
13458 MALLOC_ALIGNMENT.
13459 * elf/Versions (ld): Update comment and remove __libc_memalign.
13460 * sysdeps/nacl/ld.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13487 * sysdeps/generic/localplt.data (ld.so): Likewise.
13488 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13489 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13490 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13491 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13492 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13493 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13494 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13495 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13496 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13498 (ld.so): Likewise.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13500 (ld.so): Likewise.
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13502 Likewise.
13503 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13504 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13505 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13506 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13507 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13508
13509 2016-11-30 Florian Weimer <fweimer@redhat.com>
13510
13511 [BZ #16628]
13512 Implement _dl_catch_error, _dl_signal_error in libc.so.
13513 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13514 (catch_hook): Define as thread-local or regular variable,
13515 depending on DL_ERROR_BOOTSTRAP.
13516 (CATCH_HOOK): Remove.
13517 (dl_signal_error, _dl_catch_error): Use
13518 catch_hook. Add hidden definition for libc.
13519 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13520 for DL_ERROR_BOOTSTRAP only.
13521 * elf/dl-error.c: New file.
13522 * elf/dl-error-minimal.c: Likewise.
13523 * elf/tst-latepthread.c: Likewise.
13524 * elf/tst-latepthreadmod.c: Likewise.
13525 * elf/Makefile (routines): Add dl-error.
13526 (dl-routines): Remove dl-error.
13527 (rtld-routines): Add dl-error-minimal.
13528 [build-shared] (tests): Add tst-latepthread.
13529 (module-names): Add tst-latepthreadmod.
13530 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13531 symbol.
13532 (tst-latepthreadmod.so): Link against libpthread.
13533 (tst-latepthread): Link against libdbl.
13534 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13535 _dl_catch_error.
13536 [ld] (GLIBC_PRIVATE): Likewise.
13537 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13538 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13539 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13540 directly.
13541 * elf/dl-tsd.c: Remove file.
13542 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13543 _dl_catch_error, _dl_signal_error.
13544 (_dl_initial_error_catch_tsd): Remove definition.
13545 (do_preload): Remove initialization of dl_error_catch_tsd.
13546 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13547 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13548 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13549 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13550 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13551 set dl_error_catch_tsd.
13552 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13553 _dl_error_catch_tsd member.
13554 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13555 members.
13556 (_dl_initial_error_catch_tsd): Remove declaration.
13557 (_dl_dprintf): Provide definition for use outside of ld.so.
13558 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13559 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13560 prototype for libc.
13561 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13562 _dl_catch_error.
13563 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13564 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13565 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13566 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13567 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13568 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13569 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13570 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13571 Likewise.
13572 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13574 (ld.so): Likewise.
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13576 (ld.so): Likewise.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13578 Likewise.
13579 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13580 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13581 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13582 Likewise.
13583 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13584 Likewise.
13585 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13586
13587 2016-11-30 Florian Weimer <fweimer@redhat.com>
13588
13589 [BZ #4099]
13590 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13591 _IO_BUFSIZ (8192).
13592
13593 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13594
13595 * PROJECTS: Remove file.
13596
13597 2016-11-29 Florian Weimer <fweimer@redhat.com>
13598
13599 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13600
13601 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13602 Steve Ellcey <sellcey@caviumnetworks.com>
13603
13604 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13605 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13606 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13607 fxstatat.
13608 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13609 lxstat.
13610 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13611 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13612 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13613 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13614 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13615 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13616 __xstat.
13617
13618 2016-11-29 Florian Weimer <fweimer@redhat.com>
13619
13620 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13621 Define.
13622 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13623 definition.
13624
13625 2016-11-29 Florian Weimer <fweimer@redhat.com>
13626
13627 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13628 version and turn into strong alias. Remove compat symbol.
13629
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13631 (__longjmp): Remove.
13632
13633 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13634
13635 * bits/fp-fast.h: New file.
13636 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13637 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13638 * math/Makefile (headers): Add bits/fp-fast.h.
13639 * math/math.h: Include <bits/fp-fast.h>.
13640 * bits/mathdef.h (FP_FAST_FMA): Remove.
13641 (FP_FAST_FMAF): Likewise.
13642 (FP_FAST_FMAL): Likewise.
13643 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13644 (FP_FAST_FMAF): Likewise.
13645 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13646 (FP_FAST_FMAF): Likewise.
13647 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13648 (FP_FAST_FMAF): Likewise.
13649 (FP_FAST_FMAL): Likewise.
13650 * sysdeps/arm/bits/mathdef.h: Remove file.
13651 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13652 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13653 * sysdeps/tile/bits/mathdef.h: Likewise.
13654
13655 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13656
13657 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13658 * math/w_ilogb.c: Remove.
13659 * math/w_ilogbf.c: Likewise.
13660 * math/w_ilogbl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13662 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13663 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13664 (libm-calls): Remove w_ilogbF.
13665 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13666 (LDOUBLE_ilogbl_libm_version): New macro.
13667
13668 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13669
13670 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13671 [!__STRICT_ANSI__ && !__cplusplus].
13672
13673 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13674
13675 [BZ #20750]
13676 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13677 of PIC.
13678
13679 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13680 Yury Norov <ynorov@caviumnetworks.com>
13681 Steve Ellcey <sellcey@caviumnetworks.com>
13682
13683 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13684 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13685 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13686 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13687 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13688 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13689 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13690 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13691 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13692 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13693 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13694 to get correct reg name for ILP32.
13695 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13696 (RELA_SIZE): New Macro.
13697 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13698 to support ILP32.
13699 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13700 cast for ILP32 mode.
13701 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13702 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13703 * sysdeps/aarch64/memset.S (__memset): Ditto.
13704 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13705 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13706 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13707 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13708 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13709 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13710 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13711 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13712 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13713 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13714 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13715 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13716 change PTR_MANGLE call to use register numbers instead of names.
13717 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13718 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13719 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13720 * sysdeps/aarch64/start.S (_start): Ditto.
13721 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13722 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13723 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13724 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13725 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13726 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13727 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13728 Make defined values dependent on __ILP32__.
13729 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13730 (sem_t): Change __align type.
13731 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13732 PTR_SIZE): New Macros.
13733 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13734 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13735 Set when in ILP32 mode.
13736 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13737 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13738 Set elf flags for ILP32.
13739 (add_system_dir): Set ILP32 library directories.
13740 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13741 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13742 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13743 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13744 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13745 New Macros.
13746 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13747
13748 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13749
13750 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13751 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13752 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13753
13754 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13755
13756 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13757 <asm/cachectl.h>.
13758
13759 2016-11-27 Zack Weinberg <zackw@panix.com>
13760
13761 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13762 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13763
13764 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13765
13766 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13767 error_t to fix usage in C++ programs.
13768
13769 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13770
13771 * scripts/build-many-glibcs.py: Import datetime module.
13772 (Context.__init__): Load JSON build state. Initialize list of
13773 status logs.
13774 (Context.run_builds): Update saved build state.
13775 (Context.add_makefile_cmdlist): Update list of status logs.
13776 (Context.load_build_state_json): New function.
13777 (Context.store_build_state_json): Likewise.
13778 (Context.clear_last_build_state): Likewise.
13779 (Context.update_build_state): Likewise.
13780 (CommandList.status_logs): Likewise.
13781
13782 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13783
13784 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13785 script being executed.
13786 (Context.get_script_text): New function.
13787 (Context.exec_self): Likewise.
13788 (Context.checkout): Re-exec script if changed by checkout process.
13789
13790 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13791
13792 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13793 (setpayloadsig): New declaration.
13794 * math/Versions (setpayloadsig): New libm symbol at version
13795 GLIBC_2.25.
13796 (setpayloadsigf): Likewise.
13797 (setpayloadsigl): Likewise.
13798 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13799 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13800 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13801 (setpayloadsig_test_data): New array.
13802 (setpayloadsig_test): New function.
13803 (main): Call setpayloadsig_test.
13804 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13805 setpayloadsigf and setpayloadsigl.
13806 * manual/libm-err-tab.pl: Update comment on interfaces without
13807 ulps tabulated.
13808 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13809 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13814 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13815 setpayloadsig.
13816 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13817 * sysdeps/nacl/libm.abilist: Update.
13818 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13820 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13822 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13825 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13826 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13827 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13831 Likewise.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13833 Likewise.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13835 Likewise.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13837 Likewise.
13838 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13839 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13840 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13841 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13844 Likewise.
13845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13846 Likewise.
13847 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13849 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13850
13851 * scripts/build-many-glibcs.py: Import json module.
13852 (Context.__init__): Take replace_sources argument. Load
13853 versions.json.
13854 (Context.load_versions_json): New function.
13855 (Context.store_json): Likewise.
13856 (Context.store_versions_json): Likewise.
13857 (Context.set_component_version): Likewise.
13858 (Context.checkout): Update versions.json. Check for and handle
13859 changes of version. Prefer previously explicitly specified
13860 version to default version.
13861 (Context.checkout_vcs): Return a revision identifier.
13862 (Context.git_checkout): Likewise.
13863 (Context.gcc_checkout): Likewise.
13864 (get_parser): Add --replace-sources option.
13865 (main): Pass replace_sources argument to Context call.
13866
13867 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13868
13869 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13870 * nptl/allocatestack.c (allocate_stack): Likewise.
13871 (__reclaim_stacks): Likewise.
13872 (setxid_signal_thread): Obtain pid through syscall.
13873 * nptl/nptl-init.c (sigcancel_handler): Likewise.
13874 (sighandle_setxid): Likewise.
13875 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13876 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13877 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13878 Likewise.
13879 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13880 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13881 comment.
13882 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13883 * nptl/descr.h (struct pthread): Change comment about pid value.
13884 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13885 pid assert.
13886 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13887 Do not set pid value.
13888 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13889 pid cache check.
13890 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13891 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13892 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13893 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13894 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13895 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13896 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13897 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13898 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13899 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13900 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13901 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13902 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13903 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13904 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13905 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13906 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13907 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13908 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13909 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13910 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13911 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13912 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13913 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13914 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13917 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13919 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13920 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13921 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13922 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13923 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13924 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13925 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13926 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13927 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13928 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13929 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13930 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13931 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13932 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13935 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13936 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13937 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13938 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13939 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13940 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13941 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13942 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13943 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13944 struct access.
13945 (clone_test): Remove function.
13946 (do_test): Rewrite to take in consideration pid is not cached anymore.
13947
13948 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13949
13950 * bits/flt-eval-method.h: New file.
13951 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13952 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13953 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13954 * math/Makefile (headers): Add bits/flt-eval-method.h.
13955 * math/math.h: Include <bits/flt-eval-method.h>.
13956 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13957 [__USE_ISOC99] (double_t): Likewise.
13958 * bits/mathdef.h (float_t): Remove.
13959 (double_t): Likewise.
13960 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13961 (double_t): Likewise.
13962 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13963 (double_t): Likewise.
13964 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13965 (double_t): Likewise.
13966 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13967 (double_t): Likewise.
13968 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13969 (double_t): Likewise.
13970 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13971 (double_t): Likewise.
13972 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13973 (double_t): Likewise.
13974 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13975 (double_t): Likewise.
13976 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13977 (double_t): Likewise.
13978 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13979 (double_t): Likewise.
13980 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13981 (double_t): Likewise.
13982 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13983 (double_t): Likewise.
13984 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13985 (double_t): Likewise.
13986
13987 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
13988
13989 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13990 instead of PIC.
13991
13992 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13993
13994 [BZ #20859]
13995 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13996 (-0x7fffffff) instead of 0x80000001.
13997 * math/test-fp-ilogb-constants.c: New file.
13998 * math/Makefile (tests): Add test-fp-ilogb-constants.
13999
14000 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14001
14002 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14003 (_init): Use it in place of hardcoded R_MIPS_JALR.
14004 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14005 (_init): Use it in place of hardcoded R_MIPS_JALR.
14006 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14007 (_init): Use it in place of hardcoded R_MIPS_JALR.
14008
14009 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14010
14011 [BZ #20787]
14012 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14013 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14014 (double_t): Do not define to double if [__x86_64__] when
14015 __FLT_EVAL_METHOD__ is nonzero.
14016 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14017 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14018 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14019 test-flt-eval-method-387 and test-flt-eval-method-sse.
14020 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14021 variable.
14022 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14023
14024 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14025
14026 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14027 use of -fno-isolate-erroneous-paths options for tilepro.
14028
14029 2016-11-23 Florian Weimer <fweimer@redhat.com>
14030
14031 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14032 structure initialization is no longer needed.
14033
14034 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14035
14036 [BZ #20855]
14037 * bits/mathdef.h (float_t): Define to float.
14038 * math/test-flt-eval-method.c: New file.
14039 * math/Makefile (tests): Add test-flt-eval-method.
14040 (CFLAGS-test-flt-eval-method.c): New variable.
14041
14042 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14043
14044 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14045 and __fstatfs. Make them aliases of __fstatfs64 if
14046 STATFS_IS_STATFS64 is set to non-zero.
14047 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14048 and __statfs64.
14049 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14050 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14051 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14052 for __statfs and statfs.
14053 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14054 to 0.
14055 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14056 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14057 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14058 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14059 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14060 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14063 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14064 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14065 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14066 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14067
14068 2016-11-22 Andreas Schwab <schwab@suse.de>
14069
14070 * misc/mkstemp.c: Include <fcntl.h>.
14071 * misc/mkstemps.c: Likewise.
14072 * misc/mkostemp.c: Likewise.
14073 * misc/mkostemps.c: Likewise.
14074
14075 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14076
14077 [BZ #20847]
14078 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14079 array bounds.
14080 (__execvpe): Likewise.
14081
14082 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14083
14084 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14085 -fno-isolate-erroneous-paths options for tilepro.
14086
14087 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14088
14089 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14090 to 0 when in 32 bit mode.
14091 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14092 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14093 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14094 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14096 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14097 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14098 XSTAT_IS_XSTAT64 test.
14099 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14100 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14101 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14102 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14103 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14104 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14105 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14106 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14107 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14108 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14109 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14110
14111 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14112
14113 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14114 (setpayload): New declaration.
14115 * math/Versions (setpayload): New libm symbol at version
14116 GLIBC_2.25.
14117 (setpayloadf): Likewise.
14118 (setpayloadl): Likewise.
14119 * math/Makefile (libm-calls): Add s_setpayloadF.
14120 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14121 test_Ff_b1_data.
14122 (RUN_TEST_Ff_b1): New macro.
14123 (RUN_TEST_LOOP_Ff_b1): Likewise.
14124 (canonicalize_test_data): Update type.
14125 (setpayload_test_data): New array.
14126 (setpayload_test): New function.
14127 (main): Call setpayload_test.
14128 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14129 setpayloadf and setpayloadl.
14130 * manual/libm-err-tab.pl: Update comment on interfaces without
14131 ulps tabulated.
14132 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14133 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14135 Likewise.
14136 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14137 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14138 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14139 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14140 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14142 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14143 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14144 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14145 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14146 setpayload.
14147 (CFLAGS-nldbl-setpayload.c): New variable.
14148 * sysdeps/nacl/libm.abilist: Update.
14149 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14162 Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14164 Likewise.
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14166 Likewise.
14167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14168 Likewise.
14169 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14175 Likewise.
14176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14177 Likewise.
14178 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14181
14182 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14183
14184 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14185 * include/unistd.h: Extend comment about __access_noerrno return
14186 semantics.
14187 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14188 (access_common): Correct typo for EACCES.
14189
14190 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14191
14192 * sysdeps/tile/math-tests.h: New file.
14193
14194 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14195 (__old_set_dataplane): Rename from set_dataplane and make a
14196 compatibility symbol.
14197 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14198 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14199 sys/dataplane.h.
14200
14201 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14202
14203 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14204 script quote words in command output to log suitably for input to
14205 the shell.
14206
14207 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14208 Maciej W. Rozycki <macro@imgtec.com>
14209
14210 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14211 `.Lno_weak_fn' label.
14212 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14213 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14214
14215 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14216 Yury Norov <ynorov@caviumnetworks.com>
14217
14218 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14219 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14220 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14221 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14222 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14224 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14225 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14226 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14227 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14228 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14229 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14230 (sysdep_routines): Remove oldgetrlimit64.
14231 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14232 (sysdep_routines): Likewise.
14233 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14234 (sysdep_routines): Likewise.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14236 [$(subdir) = resource] (sysdep_routines): Likewise.
14237 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14238 [$(subdir) = resource] (sysdep_routines): Likewise.
14239 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14240 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14241 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14242 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14243 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14244 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14245 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14246 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14247 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14248 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14249 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14250 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14251 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14252 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14253 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14254 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14255 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14256 setrlimit and getrlimit.
14257 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14259 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14262 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14263 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14264 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14265 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14266 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14267 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14268 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14269 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14270 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14271 (__old_getrlimit64): Add compatibility symbol.
14272 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14273
14274 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14275
14276 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14277 newly built gmp, mpfr and mpc.
14278
14279 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14280
14281 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14282
14283 * conform/Makefile (linknamespace-libs): Rename to
14284 linknamespace-libs-thr.
14285 (linknamespace-libs-posix): New variable.
14286 (linknamespace-libs-xsi): Likewise.
14287 (linknamespace-libs-XPG3): Include libcrypt.a.
14288 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14289 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14290 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14291 (linknamespace-libs-XOPEN2K): Likewise.
14292 (linknamespace-libs-XOPEN2K8): Likewise.
14293 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14294
14295 [BZ #20829]
14296 * stdio-common/Versions (__snprintf): Add to version
14297 GLIBC_PRIVATE.
14298 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14299 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14300 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14301 of snprintf.
14302 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14303
14304 2016-11-16 Zack Weinberg <zackw@panix.com>
14305
14306 * string/string.h: Remove obsolete comment stating that
14307 strcoll_l and strxfrm_l have not yet been standardized.
14308
14309 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14310
14311 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14312 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14313 __access_noerrno.
14314 * io/access.c (__access_noerrno): New function.
14315 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14316 (hurd_fail_seterrno): Likewise.
14317 (access_common): Likewise.
14318 (__access_noerrno): Likewise.
14319 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14320 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14321 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14322 macro.
14323
14324 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14325
14326 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14327 Only declare fpregs if [__SH_FPU_ANY__].
14328
14329 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14330
14331 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14332 Make code unconditional.
14333 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14334
14335 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14336
14337 * manual/sysinfo.texi (S_APPEND): Delete.
14338 (S_IMMUTABLE): Likewise.
14339
14340 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14341 Magnus Granberg <zorry@gentoo.org>
14342 Mike Frysinger <vapier@gentoo.org>
14343
14344 [BZ #20662]
14345 * configure.ac (libc_cv_predef_stack_protector): Also check for
14346 __stack_chk_fail_local symbols.
14347 * configure: Regenerated.
14348
14349 2016-11-15 Florian Weimer <fweimer@redhat.com>
14350
14351 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14352 (libc_hidden_def): Remove redefinition.
14353 (__sigsetjmp): Add hidden definition.
14354 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14355 (libc_hidden_def): Remove redefinition.
14356 (__sigsetjmp): Add hidden definition.
14357
14358 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14359
14360 * scripts/build-many-glibcs.py (os.path): Do not import.
14361 (Context): Inherit explicitly from object. Remove blank line
14362 between class and docstring.
14363 (Config): Likewise.
14364 (Glibc): Likewise.
14365 (Command): Likewise.
14366 (CommandList): Likewise.
14367 (Context.write_files): Store chmod mode in a variable.
14368
14369 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14370 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14371 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14372
14373 2016-11-14 Zack Weinberg <zackw@panix.com>
14374
14375 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14376 creating or re-creating it.
14377
14378 * string/bits/string2.h: Fix typo in comment.
14379
14380 2016-11-14 Zack Weinberg <zackw@panix.com>
14381
14382 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14383 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14384 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14385 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14386 of redirected function names.
14387
14388 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14389 as well. Document that MESSAGE must be a single string literal.
14390
14391 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14392
14393 * scripts/build-many-glibcs.py: New file.
14394
14395 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14396 (do_test): Disable -Wmaybe-uninitialized around uses of
14397 except_mask.
14398
14399 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14400
14401 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14402
14403 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14404 (atomic_store_release): Provide tilepro-specific implementations.
14405
14406 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14407
14408 * math/math.h (__MATH_TG): New macro.
14409 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14410 [__USE_ISOC99] (signbit): Likewise.
14411 [__USE_ISOC99] (isfinite): Likewise.
14412 [__USE_ISOC99] (isnan): Likewise.
14413 [__USE_ISOC99] (isinf): Likewise.
14414 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14415 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14416 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14417 __MATH_TG and __MATH_EVAL_FMT2.
14418 * sysdeps/generic/math_private.h (fabs_tg): Define using
14419 __MATH_TG.
14420 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14421 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14422 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14423 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14424 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14425 macro.
14426 (__iscanonical): Likewise.
14427 (iscanonical): Define using __MATH_TG.
14428
14429 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14430
14431 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14432 guards.
14433
14434 * sysdeps/unix/sysv/linux/access.c: New file.
14435 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14436
14437 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14438
14439 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14440 and __WORDSIZE32_PTRDIFF_LONG.
14441
14442 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14443
14444 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14445
14446 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14447
14448 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14449 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14450 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14451 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14452 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14454 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14455 * sysdeps/unix/sysv/linux/truncate.c: New file.
14456 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14457 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14458 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14459 Remove.
14460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14461 Likewise.
14462
14463 * posix/tst-truncate-common.c: New file.
14464 * posix/tst-truncate.c: Use tst-truncate-common.c.
14465 * posix/tst-truncate64.c: Likewise and add LFS tests.
14466 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14467 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14468 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14469 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14470 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14472 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14473 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14474 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14475 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14476 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14477 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14478 Remove.
14479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14480 Likewise.
14481
14482 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14483
14484 [BZ #20790]
14485 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14486 to MAXLINESIZE.
14487 * sunrpc/bug20790.x: New file.
14488 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14489 variable.
14490 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14491 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14492
14493 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14494
14495 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14496
14497 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14498 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14499 calloc, realloc, free, memalign and __libc_memalign rather than
14500 making them optional.
14501
14502 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14503 for libc.so.
14504
14505 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14506
14507 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14508 ptw-lseek64.
14509 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14510 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14511 Likewise.
14512 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14513 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14514 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14515 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14516 * sysdeps/unix/sysv/linux/lseek.c: New file.
14517 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14518 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14519 __libc_lseek64 from auto-generation.
14520 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14521 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14522
14523 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14524
14525 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14526 * nptl/tst-cleanup1.c (do_test): Likewise.
14527 * nptl/tst-cleanup3.c (do_test): Likewise.
14528 * nptl/tst-key1.c (do_test): Likewise.
14529 * nptl/tst-key2.c (tf, do_test): Likewise.
14530 * nptl/tst-key3.c (tf, do_test): Likewise.
14531 * nptl/tst-stdio1.c (do_test): Likewise.
14532 * nptl/tst-stdio2.c (do_test): Likewise.
14533
14534 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14535 * nptl/tst-kill6.c (handler): Likewise.
14536 * nptl/tst-tls2.c (CB): Likewise.
14537 * nptl/tst-tls3.c (CB): Likewise.
14538
14539 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14540
14541 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14542
14543 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14544 Steve Ellcey <sellcey@caviumnetworks.com>
14545
14546 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14547 __ASSUME_ST_INO_64_BIT as 0
14548 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14549 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14550 over the code where __ASSUME_ST_INO_64_BIT is used.
14551 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14552 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14553 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14554
14555 2016-11-07 Florian Weimer <fweimer@redhat.com>
14556
14557 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14558 Document ABI exposure of the __kind offset.
14559 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14560 Mention reason for the __kind offset exposure in the ABI.
14561 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14562 Likewise.
14563 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14564 Likewise.
14565 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14566 Likewise.
14567 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14568 (struct __pthread_mutex_s): Likewise.
14569 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14570 Likewise.
14571 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14572 Likewise.
14573 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14574 Likewise.
14575 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14576 Likewise.
14577 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14578 Likewise.
14579 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14580 Likewise.
14581 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14582 (struct __pthread_mutex_s): Likewise.
14583 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14584 (struct __pthread_mutex_s): Likewise.
14585 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14586 Likewise.
14587
14588 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14589
14590 * test-skeleton.c: Document do_test usage.
14591
14592 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14593
14594 * iconv/gconv.h (__gconv_info): Define __data element using a
14595 zero-length array.
14596
14597 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14598
14599 * math/test-tgmath2.c: Split up test function.
14600
14601 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14602
14603 * Rules (tests-expected): New variable, depending on
14604 $(run-built-tests).
14605 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14606 $(tests).
14607
14608 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14609 $(tests-unsupported).
14610
14611 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14612
14613 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14614 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14615
14616 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14617
14618 [BZ #20768]
14619 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14620 __fegetenv instead of fegetenv.
14621
14622 [BZ #14139]
14623 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14624 (find_files): Obtain platform name from libm-test-ulps-name and
14625 store in %pplatforms.
14626 (canonicalize_platform): Remove.
14627 (print_platforms): Use $pplatforms directly.
14628 (by_platforms): Do not allow for platforms missing from
14629 %pplatforms.
14630 * sysdeps/aarch64/libm-test-ulps-name: New file.
14631 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14632 * sysdeps/arm/libm-test-ulps-name: Likewise.
14633 * sysdeps/generic/libm-test-ulps-name: Likewise.
14634 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14635 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14636 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14637 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14638 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14639 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14640 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14641 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14642 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14643 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14644 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14645 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14646 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14647 * sysdeps/sh/libm-test-ulps-name: Likewise.
14648 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14649 * sysdeps/tile/libm-test-ulps-name: Likewise.
14650 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14651
14652 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14653
14654 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14655 (test-xfail-check-execstack): New variable.
14656
14657 * sysdeps/mips/localplt.data: New file.
14658
14659 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14660 Steve Ellcey <sellcey@caviumnetworks.com>
14661
14662 * bits/wordsize.h: Add documentation.
14663 * sysdeps/aarch64/bits/wordsize.h : New file
14664 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14665 definitions.
14666 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14667 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14668 with #if instead of #ifdef.
14669 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14670 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14671 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14672 Add or change defines.
14673 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14674 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14675 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14676 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14677 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14678 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14679 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14680 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14681 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14682 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14683 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14684 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14685 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14686 * sysdeps/x86/bits/wordsize.h: Likewise.
14687
14688 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14689 Kevin Petit <kevin.petit@arm.com>
14690
14691 * sysdeps/aarch64/memchr.S (__memchr): New file.
14692
14693 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14694
14695 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14696
14697 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14698
14699 [BZ #19398]
14700 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14701 $(linknamespace-symlists-tests).
14702
14703 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14704
14705 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14706
14707 2016-11-02 Florian Weimer <fweimer@redhat.com>
14708 Carlos O'Donell <carlos@redhat.com>
14709
14710 [Bug #20729]
14711 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14712 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14713 for -Os related change.
14714
14715 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14716
14717 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14718
14719 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14720
14721 [BZ #19673]
14722 * manual/math.texi (Exponents and Logarithms): Correct description
14723 of clog10.
14724
14725 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14726
14727 [Bz #20729]
14728 * locale/weight.h: Include libc-internal.h.
14729 * locale/weightwc.h: Likewise.
14730 * nptl/nptl_dbP.h: Likewise.
14731
14732 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14733
14734 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14735 when it is MACH_PORT_NULL.
14736
14737 2016-10-31 Andreas Schwab <schwab@suse.de>
14738
14739 [BZ #20707]
14740 * posix/glob.c (glob): Initialize pglob before checking for
14741 GLOB_BRACE. Don't call glob recursively if pattern contains no
14742 valid brace expression despite GLOB_BRACE.
14743 * posix/globtest.sh: Test it.
14744
14745 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14746
14747 [BZ #20729]
14748 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14749 Define.
14750 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14751 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14752 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14753 for seq2.back_us and seq1.back_us only for -Os compiles.
14754 * locale/weightwc.h (findix): Likewise.
14755 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14756 DB_GET_FIELD_ADDRESS only for -Os compiles.
14757 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14758 for slen only for -Os compiles.
14759 * string/strcoll_l.c (get_next_seq): Ignore
14760 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14761 for -Os compiles.
14762
14763 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14764 * include/crypt.h: New file.
14765
14766 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14767
14768 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14769 from test-skeleton.c.
14770 (statclass): Replace calls to write with calls to write_message.
14771
14772 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14773
14774 * math/math.h
14775 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14776 New macro.
14777 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14778 Likewise.
14779 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14780 Likewise.
14781 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14782 SNANL.
14783 * math/test-double.h (snan_value_MACRO): New macro.
14784 * math/test-float.h (snan_value_MACRO): Likewise.
14785 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14786 * math/libm-test.inc (issignaling_test_data): Add tests of
14787 snan_value_MACRO.
14788
14789 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14790
14791 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14792 behavior when eliding a lock not held by the current thread.
14793 * sysdeps/powerpc/nptl/elide.h: Likewise.
14794
14795 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14796
14797 [BZ #20728]
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14799 branch to _exit() by a function call.
14800
14801 2016-10-28 Florian Weimer <fweimer@redhat.com>
14802
14803 * malloc/malloc.c: Update chunk layout comments.
14804 (chunk_main_arena): Update comment.
14805
14806 2016-10-28 Florian Weimer <fweimer@redhat.com>
14807
14808 * crypt/sha256.c, crypt/sha256-block.c,
14809 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14810 sha256_process_block to __sha256_process_block.
14811 * crypt/sha512.c, crypt/sha512-block.c,
14812 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14813 sha512_process_block to __sha512_process_block.
14814
14815 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14816
14817 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14818
14819 * math/test-nan-overflow.c: Include stdlib.h for malloc.
14820
14821 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
14822
14823 [BZ #20019]
14824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14825 definition in unrelocated shared library.
14826 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14827
14828 2016-10-28 Florian Weimer <fweimer@redhat.com>
14829
14830 [BZ #20729]
14831 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14832 * sysdeps/unix/sysv/linux/i386/Makefile
14833 (uses-6-syscall-arguments): Define.
14834 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14835 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14836 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14837 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14838 Likewise.
14839 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14840 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14841 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14842 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14843 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14844 (CFLAGS-fallocate64.os): Likewise.
14845 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14846 (CFLAGS-pthread_rwlock_timedrdlock.os)
14847 (CFLAGS-pthread_rwlock_timedwrlock.o)
14848 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14849 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14850 (CFLAGS-sem_timedwait.os): Likewise.
14851
14852 2016-10-28 Florian Weimer <fweimer@redhat.com>
14853
14854 * elf/tst-linkall-static.c: New file.
14855 * elf/Makefile (tests-static): Add tst-linkall-static.
14856 (tst-linkall-static): Link against static libraries.
14857
14858 2016-10-27 Florian Weimer <fweimer@redhat.com>
14859
14860 * malloc/malloc.c (sysmalloc): Initialize previous size field of
14861 mmaped chunks.
14862
14863 2016-10-28 Florian Weimer <fweimer@redhat.com>
14864
14865 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14866 members to mchunk_prev_size, mchunk_size.
14867 (chunk_main_arena): Reverse sense and rename from
14868 chunk_non_main_arena.
14869 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14870 mchunk_size instead of size.
14871 (set_non_main_arena): Define.
14872 (chunksize): Use chunksize_nomask instead of direct member access.
14873 (chunksize_nomask): Define.
14874 (next_chunk): Use chunksize instead of direct member access.
14875 (prev_size, set_prev_size): Define.
14876 (prev_chunk): Use prev_size instead of direct member access.
14877 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14878 (inuse_bit_at_offset, set_inuse_bit_at_offset)
14879 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14880 (mchunk_prev_size, mchunk_size): Poison tokens.
14881 (unlink): Use chunksize_nomask, prev_size accessors.
14882 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14883 (do_check_free_chunk): Use prev_size accessor.
14884 (sysmalloc): Use set_prev_size, set_head accessors.
14885 (munmap_chunk, mremap_chunk): Use prev_size accessor.
14886 (__libc_free): Use chunksize_nomask accessor.
14887 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14888 chunk_main_arena accessors.
14889 (_int_free): Use chunksize_nomask, prev_size accessors.
14890 (malloc_consolidate): Use chunksize, prev_size accessors.
14891 (_int_realloc): Use chunksize_nomask accessor.
14892 (_int_memalign): Use set_prev_size accessor.
14893 (__malloc_info): Use chunksize_nomask accessor.
14894 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14895 accessors.
14896 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14897 (heap_trim): Use chunksize_nomask, prev_size accessors.
14898
14899 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14900
14901 [BZ #19380]
14902 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14903 for inexact results.
14904 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14905 of inexact result where mpfr_subnormalize is the only inexact
14906 step.
14907 * stdlib/tst-strtod-round-data.h: Regenerated.
14908 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14909 Define to 0.
14910 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14911
14912 2016-10-27 David S. Miller <davem@davemloft.net>
14913
14914 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14915
14916 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
14917
14918 * malloc/malloc.c (do_set_mallopt_check): New function.
14919 (do_set_mmap_threshold): Likewise.
14920 (do_set_mmaps_max): Likewise.
14921 (do_set_top_pad): Likewise.
14922 (do_set_perturb_byte): Likewise.
14923 (do_set_trim_threshold): Likewise.
14924 (do_set_arena_max): Likewise.
14925 (do_set_arena_test): Likewise.
14926 (__libc_mallopt): Use them.
14927
14928 2016-10-26 Joseph Myers <joseph@codesourcery.com>
14929
14930 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14931 (canonicalize): New declaration.
14932 * math/Versions (canonicalize): New libm symbol at version
14933 GLIBC_2.25.
14934 (canonicalizef): Likewise.
14935 (canonicalizel): Likewise.
14936 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14937 * math/s_canonicalize_template.c: New file.
14938 * math/libm-test.inc: Update comment on functions tested and
14939 testing of NaN payloads.
14940 (TEST_NAN_PAYLOAD): New macro.
14941 (NO_TEST_INLINE): Update value.
14942 (XFAIL_TEST): Likewise.
14943 (ERRNO_UNCHANGED): Likewise.
14944 (ERRNO_EDOM): Likewise.
14945 (ERRNO_ERANGE): Likewise.
14946 (IGNORE_RESULT): Likewise.
14947 (NON_FINITE): Likewise.
14948 (TEST_SNAN): Likewise.
14949 (NO_TEST_MATHVEC): Likewise.
14950 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14951 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14952 (struct test_Ffp_b1_data): New type.
14953 (RUN_TEST_Ffp_b1): New macro.
14954 (RUN_TEST_LOOP_Ffp_b1): Likewise.
14955 (canonicalize_test_data): New array.
14956 (canonicalize_test): New function.
14957 (main): Call canonicalize_test.
14958 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14959 canonicalizef and canonicalizel.
14960 * manual/libm-err-tab.pl: Update comment on interfaces without
14961 ulps tabulated.
14962 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14963 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14964 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14965 canonicalize.
14966 (CFLAGS-nldbl-canonicalize.c): New variable.
14967 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14968 to ...
14969 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14970 ... here.
14971 (do_test): Also test canonicalizel.
14972 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14973 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14974 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14975 file.
14976 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14977 Use libm_hidden_def.
14978 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14979 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14980 (do_test): Also test canonicalizel.
14981 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14982 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14983 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14984 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14985 libm_hidden_def.
14986 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14987 macro.
14988 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14989 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14990 * sysdeps/nacl/libm.abilist: Update.
14991 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15004 Likewise.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15006 Likewise.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15008 Likewise.
15009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15010 Likewise.
15011 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15017 Likewise.
15018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15019 Likewise.
15020 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15023
15024 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15025 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15026 getpayload.
15027 (CFLAGS-nldbl-getpayload.c): New variable.
15028
15029 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15030
15031 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15032 integer from the format string.
15033
15034 2016-10-26 Florian Weimer <fweimer@redhat.com>
15035
15036 [BZ #19473]
15037 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15038 declarations.
15039 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15040 weak aliases.
15041 * malloc/hooks.c (__malloc_get_state): Remove definition.
15042 (malloc_get_state): New stub implementation as
15043 compatibility symbol.
15044 (malloc_set_state): Rename from __malloc_set_state. Turn into
15045 compat symbol.
15046 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15047 malloc_set_state.
15048 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15049
15050 2016-10-26 Florian Weimer <fweimer@redhat.com>
15051
15052 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15053 (names): Turn into concatenation of strings.
15054 (gconv_init): Adapt iteration over names.
15055
15056 2016-10-26 Florian Weimer <fweimer@redhat.com>
15057
15058 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15059 make const.
15060 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15061 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15062 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15063 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15064 character in sbconv.
15065 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15066 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15067 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15068
15069 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15070
15071 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15072
15073 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15074 (M_TRIM_THRESHOLD): Likewise.
15075
15076 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15077 (M_ARENA_MAX): Likewise.
15078 * malloc/malloc.c: Remove obsolete comment.
15079
15080 * manual/memory.texi: Add environment variable alternatives to
15081 setting mallopt parameters.
15082
15083 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15084
15085 * include/atomic.h
15086 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15087 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15088
15089 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15090
15091 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15092 * stdlib/tst-strfrom.h: New file.
15093 * stdlib/tst-strfrom.c: New file.
15094 * stdlib/tst-strfrom-locale.c: New file.
15095
15096 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15097 * stdlib/bug-strtod2.c: Likewise.
15098 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15099 * stdlib/tst-strtod6.c: Likewise.
15100 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15101
15102 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15103
15104 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15105 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15106 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15107 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15108 * stdlib/stdlib.h (strfromd): New declaration.
15109 (strfromf): Likewise.
15110 (strfroml): Likewise.
15111 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15112 strfrom.
15113 * stdlib/strfromd.c: New file.
15114 * stdlib/strfromf.c: Likewise.
15115 * stdlib/strfroml.c: Likewise.
15116 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15117 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15118 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15119 * sysdeps/arm/nacl/libc.abilist: Update.
15120 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15148
15149 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15150
15151 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15152 instead of cmpli.
15153 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15154 instead of cmpli.
15155
15156 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15157
15158 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15159 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15160 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15161 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15162 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15163 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15164
15165 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15166
15167 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15168 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15169 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15170 SYSCALL_LL64_PRW.
15171 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15172 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15173 __ASSUME_PRW_DUMMY_ARG.
15174 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15175 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15176 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15177 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15178 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15179 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15180
15181 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15182
15183 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15184
15185 2016-10-22 Florian Weimer <fweimer@redhat.com>
15186
15187 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15188 "C++", to override a potential extern "C" directive around the
15189 header file inclusion.
15190
15191 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15192
15193 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15194
15195 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15196
15197 * sysdeps/powerpc/fpu/fenv_private.h:
15198 (_FPU_MASK_ALL): Rename to...
15199 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15200 XE FPSCR bits.
15201
15202 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15203
15204 (_FPU_MASK_ROUNDING): Rename to...
15205 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15206 NI bits.
15207
15208 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15209 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15210 bits and rounding bits.
15211
15212 (__libc_feholdbits_ppc): New inline function to mask, set,
15213 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15214 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15215 (libc_feholdexcept_setround_ppc): Likewise.
15216
15217 (__libc_femergeenv_ppc): New function to dynamically mask both
15218 old and new FP environments and merge.
15219 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15220 (libc_feresetround_ppc): Likewise.
15221 (libc_feupdateenv_test_ppc): Likewise.
15222 (libc_feupdateenv_ppc): Likewise.
15223
15224 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15225 of ISA RN bits, and update macro names.
15226 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15227 effectively the same as the previously mentioned function.
15228
15229 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15230 usage with fe_resetround_ppc.
15231
15232 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15233 to be used.
15234 (libc_feholdexcept_setround_ctxf): Likewise.
15235 (libc_feholdexcept_setround_ctxl): Likewise.
15236
15237 2016-10-21 Florian Weimer <fweimer@redhat.com>
15238
15239 [BZ #20715]
15240 * math/math.h [__cplusplus] (iszero): Define as function template.
15241 * math/Makefile [CXX] (tests): Add test-math-iszero.
15242 (CFLAGS-test-math-iszero.cc): Set.
15243 * math/test-math-iszero.cc: New file.
15244
15245 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15246
15247 [BZ #20660]
15248 * sysdeps/arm/e_sqrt.c: New file.
15249 * sysdeps/arm/e_sqrtf.c: Likewise.
15250
15251 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15252
15253 [BZ #20718]
15254 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15255 not use floating-point comparisons to test sign.
15256 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15257 Likewise.
15258
15259 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15260 (getpayload): New declaration.
15261 * math/Versions (getpayload): New libm symbol at version
15262 GLIBC_2.25.
15263 (getpayloadf): Likewise.
15264 (getpayloadl): Likewise.
15265 * math/Makefile (libm-calls): Add s_getpayloadF.
15266 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15267 (struct test_f_f_data): Add comment.
15268 (RUN_TEST_fp_f): New macro.
15269 (RUN_TEST_LOOP_fp_f): Likewise.
15270 (getpayload_test_data): New array.
15271 (getpayload_test): New function.
15272 (main): Call getpayload_test.
15273 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15274 descriptor.
15275 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15276 getpayloadf and getpayloadl.
15277 * manual/libm-err-tab.pl: Update comment on interfaces without
15278 ulps tabulated.
15279 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15280 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15281 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15282 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15283 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15284 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15285 * sysdeps/nacl/libm.abilist: Update.
15286 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15289 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15290 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15299 Likewise.
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15301 Likewise.
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15303 Likewise.
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15305 Likewise.
15306 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15307 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15308 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15310 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15312 Likewise.
15313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15314 Likewise.
15315 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15316 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15318
15319 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15320
15321 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15322 tst-fallocate{64}.
15323 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15324 on syscall return.
15325
15326 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15327
15328 [BZ #20689]
15329 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15330 usable.
15331
15332 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15333
15334 * sysdeps/generic/nan-high-order-bit.h: New file.
15335 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15336 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15337 * sysdeps/hppa/math_private.h: Remove file.
15338 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15339 not define here.
15340 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15341 <nan-high-order-bit.h>.
15342 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15343 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15344 <nan-high-order-bit.h>.
15345 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15346 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15347 <nan-high-order-bit.h>.
15348 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15349 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15350 <nan-high-order-bit.h>.
15351 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15352 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15353 <nan-high-order-bit.h>.
15354 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15355 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15356 <nan-high-order-bit.h>.
15357 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15358 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15359 <nan-high-order-bit.h>.
15360 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15361 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15362 <nan-high-order-bit.h>.
15363 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15364 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15365 <nan-high-order-bit.h>.
15366 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15367 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15368 <nan-high-order-bit.h>.
15369 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15370 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15371 <nan-high-order-bit.h>.
15372 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15373 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15374 <nan-high-order-bit.h>.
15375 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15376 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15377 <nan-high-order-bit.h>.
15378 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15379 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15380 <nan-high-order-bit.h>.
15381 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15382 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15383 <nan-high-order-bit.h>.
15384 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15385 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15386 <nan-high-order-bit.h>.
15387 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15388 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15389 <nan-high-order-bit.h>.
15390 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15391 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15392 <nan-high-order-bit.h>.
15393 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15394
15395 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15396
15397 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15398
15399 2016-09-22 John David Anglin <dave.anglin@bell.net>
15400
15401 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15402 abort-instr.h.
15403 (EFAULT): Remove conditional define.
15404 (ENOSYS): Likewise.
15405 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15406 instead of conditional branch instructions.
15407
15408 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15409
15410 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15411 (totalordermag): New declaration.
15412 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15413 New macro.
15414 * math/Versions (totalordermag): New libm symbol at version
15415 GLIBC_2.25.
15416 (totalordermagf): Likewise.
15417 (totalordermagl): Likewise.
15418 * math/Makefile (libm-calls): Add s_totalordermagF.
15419 * math/libm-test.inc (totalordermag_test_data): New array.
15420 (totalordermag_test): New function.
15421 (main): Call totalordermag_test.
15422 * math/test-tgmath.c (NCALLS): Increase to 125.
15423 (F(compile_test)): Call totalordermag.
15424 (F(totalordermag)): New function.
15425 * manual/arith.texi (FP Comparison Functions): Document
15426 totalordermag, totalordermagf and totalordermagl.
15427 * manual/libm-err-tab.pl: Update comment on interfaces without
15428 ulps tabulated.
15429 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15430 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15431 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15436 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15437 totalordermag.
15438 (CFLAGS-nldbl-totalordermag.c): New variable.
15439 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15440 (do_test): Also test totalordermagl.
15441 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15442 Likewise.
15443 * sysdeps/nacl/libm.abilist: Update.
15444 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15445 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15446 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15447 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15448 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15449 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15450 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15457 Likewise.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15459 Likewise.
15460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15461 Likewise.
15462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15463 Likewise.
15464 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15470 Likewise.
15471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15472 Likewise.
15473 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15476
15477 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15478
15479 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15480 boolean.
15481
15482 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15483
15484 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15485 raising FE_INVALID with feraisexcept in case where part of
15486 argument is infinite, subtract that part of argument from itself.
15487 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15488 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15489 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15490
15491 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15492
15493 * math/libm-test.inc (totalorder_test_data): Add more tests.
15494
15495 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15496
15497 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15498 Undefine weak_alias and add a comment why mips64 require
15499 versioning.
15500
15501 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15502
15503 [BZ #20647]
15504 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15505 maximum CPUID level is less than 2.
15506
15507 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15508
15509 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15510 (totalorder): New declaration.
15511 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15512 New macro.
15513 * math/Versions (totalorder): New libm symbol at version
15514 GLIBC_2.25.
15515 (totalorderf): Likewise.
15516 (totalorderl): Likewise.
15517 * math/Makefile (libm-calls): Add s_totalorderF.
15518 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15519 string.
15520 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15521 (qnan_value_pl): Likewise.
15522 (snan_value_pl): Likewise.
15523 (qnan_value): Define using qnan_value_pl.
15524 (snan_value): Define using snan_value_pl.
15525 (struct test_ff_i_data): Add comment about which tests use this
15526 structure.
15527 (RUN_TEST_ff_b): New macro.
15528 (RUN_TEST_LOOP_ff_b): Likewise.
15529 (totalorder_test_data): New array.
15530 (totalorder_test): New function.
15531 (main): Call totalorder_test.
15532 * math/test-tgmath.c (NCALLS): Increase to 122.
15533 (F(compile_test)): Call totalorder.
15534 (F(totalorder)): New function.
15535 * manual/arith.texi (FP Comparison Functions): Document
15536 totalorder, totalorderf and totalorderl.
15537 * manual/libm-err-tab.pl: Update comment on interfaces without
15538 ulps tabulated.
15539 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15540 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15541 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15546 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15547 totalorder.
15548 (CFLAGS-nldbl-totalorder.c): New variable.
15549 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15550 file.
15551 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15552 Add test-totalorderl-ldbl-128ibm.
15553 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15554 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15555 test-totalorderl-ldbl-96.
15556 * sysdeps/nacl/libm.abilist: Update.
15557 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15558 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15559 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15560 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15561 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15562 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15563 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15564 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15565 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15567 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15568 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15570 Likewise.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15572 Likewise.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15574 Likewise.
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15576 Likewise.
15577 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15578 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15579 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15580 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15581 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15583 Likewise.
15584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15585 Likewise.
15586 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15587 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15588 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15589
15590 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15591
15592 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15593 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15594 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15595 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15596 remove ENOSYS implementation.
15597 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15598 Consolidate all Linux implementations.
15599
15600 2016-10-11 Florian Weimer <fweimer@redhat.com>
15601
15602 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15603 * resolv/herror.c (herror): Cast away const-ness.
15604 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15605 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15606
15607 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15608
15609 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15610 instead of M_NAN + M_NAN.
15611 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15612
15613 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15614
15615 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15616 unused variable 'p'.
15617
15618 2016-10-09 Alan Modra <amodra@gmail.com>
15619 Andreas Schwab <schwab@linux-m68k.org>
15620
15621 [BZ #20554]
15622 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15623 [PIC && !SHARED]: Set up PIC register for PLT call.
15624
15625 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15626
15627 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15628 conditional on value of [__FLT_EVAL_METHOD__].
15629 * math/test-iseqsig-excess-precision.c: New file.
15630 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15631
15632 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15633
15634 * math/s_iseqsig_template.c: Include math-private.h.
15635
15636 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15637 * posix/tst-posix_fadvise.c: New file.
15638 * posix/tst-posix_fadvise64.c: Likewise.
15639 * posix/tst-posix_fadvise-common.c: Likewise.
15640 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15641 (__ASSUME_FADVISE64_64_6ARG): Define.
15642 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15643 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15644 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15645 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15646 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15647 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15648 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15649 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15650 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15651 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15652 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15653 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15656 Likewise.
15657 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15658 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15659 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15660 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15661 Alias to __posix_fadvise64_l32.
15662 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15663 Add compat definition to posix_fadvise64.
15664 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15665 Add versioned definition to posix_fadvise64.
15666 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15667 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15668 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15669 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15670 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15671
15672 * io/Makefile (tests): Add tst-posix_fallocate and
15673 tst-posix_fallocate64.
15674 * io/tst-posix_fallocate-common.c: New file.
15675 * io/tst-posix_fallocate.c: Likewise.
15676 * io/tst-posix_fallocate64.c: Likewise.
15677 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15678 file.
15679 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15680 Likewise.
15681 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15682 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15683 Likewise.
15684 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15685 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15686 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15687 SYSCALL_LL to pass both offset and len arguments.
15688 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15689 Likewise.
15690 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15691 __libc_pwrite64 alias used by posix_fallocate64.
15692
15693 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15694 tst-fallocate64.
15695 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15696 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15697 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15698 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15699 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15700 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15701 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15702 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15703 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15704 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15705 macro on offset argument.
15706 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15707 SYSCALL_LL64 on offset argument.
15708
15709 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15710 tst-fallocate64.
15711 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15712 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15713 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15714 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15715 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15716 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15717 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15718 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15719 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15720 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15721 macro on offset argument.
15722 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15723 SYSCALL_LL64 on offset argument.
15724 * test-skeleton.c (FAIL_RET): Add macro.
15725 (FAIL_EXIT): Likewise.
15726 (FAIL_EXIT1): Likewise.
15727 (_FAIL): Likewise.
15728
15729 2016-10-07 Florian Weimer <fweimer@redhat.com>
15730
15731 [BZ #20629]
15732 resolv: Remove RES_USEBSTRING and its implementation.
15733 * resolv/resolv.h (RES_USEBSTRING): Remove.
15734 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15735 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15736 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15737 (labellen): Remove extended label types support.
15738 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15739 * resolv/res_init.c (res_setoptions): Likewise.
15740 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15741
15742 2016-10-07 Florian Weimer <fweimer@redhat.com>
15743
15744 resolv: Remove RES_NOIP6DOTINT and its implementation.
15745 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15746 (RES_NOIP6DOTINT): Remove.
15747 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15748 handling.
15749 * resolv/res_debug.c (p_option): Likewise.
15750 * resolv/res_init.c (res_setoptions): Likewise.
15751 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15752
15753 2016-10-07 Florian Weimer <fweimer@redhat.com>
15754
15755 resolv: Deprecate unimplemented flags.
15756 * misc/sys/cdefs.h (__glibc_macro_warning1)
15757 (__glibc_macro_warning): Define.
15758 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15759 (RES_KEEPTSIG): Mark as deprecated.
15760 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15761 RES_NOCHECKNAME, RES_KEEPTSIG.
15762 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15763
15764 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15765
15766 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15767 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15768 Use strong_alias to create symbols for glibc verison 2.19.
15769
15770 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15771
15772 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15773
15774 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15775
15776 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15777
15778 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15779
15780 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15781
15782 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15783
15784 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15785 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15786 in header for using it as type for ifunc function because __GI_* symbols
15787 for ppc32 do not target the ifunc symbols.
15788 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15789
15790 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15791
15792 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15793 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15794 libc_ifunc_hidden_def.
15795 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15796 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15797 Redirect ifunced function in header for using it as type of ifunc'ed
15798 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15799 function for __GI_* symbol.
15800 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15801 * include/libc-symbols.h
15802 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15803
15804 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15805
15806 [BZ #20478]
15807 * sysdeps/s390/multiarch/ifunc-resolve.h
15808 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15809 to create ifunc symbols.
15810 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15811 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15812 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15813 for using it as type for ifunc function.
15814 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15815 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15816 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15817 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15818 * sysdeps/s390/multiarch/strcat.c: Likewise.
15819 * sysdeps/s390/multiarch/strchr.c: Likewise.
15820 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15821 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15822 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15823 * sysdeps/s390/multiarch/strlen.c: Likewise.
15824 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15825 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15826 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15827 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15828 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15829 * sysdeps/s390/multiarch/strspn.c: Likewise.
15830 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15831 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15832 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15833 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15834 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15835 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15836 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15837 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15838 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15839 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15840 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15841 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15842
15843 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15844
15845 * include/libc-symbols.h (__ifunc_resolver):
15846 New macro is used by __ifunc* macros.
15847 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15848 depending on HAVE_GCC_IFUNC.
15849 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15850 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15852 Redirect ifunced function in header for using as type for ifunc function.
15853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15857 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15859 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15860 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15861 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15862 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15863 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15864 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15865 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15866 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15872 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15873 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15874 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15875 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15876 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15877 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15878 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15879 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15880 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15881 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15882 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15883 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15884 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15885 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15887 Add libc_hidden_def() and use libc_ifunc_hidden() macro
15888 instead of libc_ifunc() macro.
15889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15890 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15891
15892 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15893
15894 * config.h.in (HAVE_GCC_IFUNC): New undef.
15895 * configure.ac: Add check if gcc supports attribute ifunc feature.
15896 * configure: Regenerated.
15897 * manual/install.texi: Add recommendation for gcc with
15898 indirect-function support.
15899 * INSTALL: Regenerated.
15900
15901 2016-10-06 Joseph Myers <joseph@codesourcery.com>
15902
15903 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15904 macro.
15905 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15906 (__iseqsig): New declaration.
15907 * math/s_iseqsig_template.c: New file.
15908 * math/Versions (__iseqsigf): New libm symbol at version
15909 GLIBC_2.25.
15910 (__iseqsig): Likewise.
15911 (__iseqsigl): Likewise.
15912 * math/libm-test.inc (iseqsig_test_data): New array.
15913 (iseqsig_test): New function.
15914 (main): Call iseqsig_test.
15915 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15916 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15917 * manual/libm-err-tab.pl: Update comment on interfaces without
15918 ulps tabulated.
15919 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15920 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15921 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15922 * sysdeps/nacl/libm.abilist: Update.
15923 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15936 Likewise.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15938 Likewise.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15940 Likewise.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15942 Likewise.
15943 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15949 Likewise.
15950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15951 Likewise.
15952 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15955
15956 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15957
15958 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15959 do_sincos_2, sloww, sloww1): Update comments.
15960
15961 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15962 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15963
15964 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15965 K boolean and rename it.
15966 (__sin): Adjust.
15967 (__cos): Adjust.
15968
15969 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15970 Siddhesh Poyarekar <siddhesh@sourceware.org>
15971
15972 * manual/nss.texi: Fix typos in the manual.
15973
15974 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15975
15976 * manual/contrib.texi: Fix typos in the manual.
15977
15978 * manual/maint.texi: Fix typos in the manual.
15979
15980 * manual/install.texi: Fix typos in the manual.
15981 * INSTALL: Regenerated.
15982
15983 * manual/lang.texi: Fix typos in the manual.
15984
15985 * manual/probes.texi: Fix typos in the manual.
15986
15987 * manual/threads.texi: Fix typos in the manual.
15988
15989 * manual/debug.texi: Fix typos in the manual.
15990
15991 * manual/crypt.texi: Fix typos in the manual.
15992
15993 * manual/conf.texi: Fix typos in the manual.
15994
15995 * manual/sysinfo.texi: Fix typos in the manual.
15996
15997 * manual/users.texi: Fix typos in the manual.
15998
15999 * manual/job.texi: Fix typos in the manual.
16000
16001 * manual/process.texi: Fix typos in the manual.
16002
16003 * manual/argp.texi: Fix typos in the manual.
16004 * manual/getopt.texi: Likewise.
16005 * manual/startup.texi: Likewise.
16006
16007 * manual/signal.texi: Fix typos in the manual.
16008
16009 * manual/setjmp.texi: Fix typos in the manual.
16010
16011 * manual/resource.texi: Fix typos in the manual.
16012
16013 * manual/time.texi: Fix typos in the manual.
16014
16015 * manual/arith.texi: Fix typos in the manual.
16016
16017 * manual/math.texi: Fix typos in the manual.
16018
16019 * manual/syslog.texi: Fix typos in the manual.
16020
16021 * manual/terminal.texi: Fix typos in the manual.
16022
16023 * manual/socket.texi: Fix typos in the manual.
16024
16025 * manual/filesys.texi: Fix typos in the manual.
16026
16027 * manual/llio.texi: Fix typos in the manual.
16028
16029 * manual/stdio.text: Fix typos in the manual.
16030
16031 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16032
16033 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16034 instead of K1.
16035
16036 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16037 SHIFT_QUADRANT and make it bool.
16038 (do_sincos_2): Likewise.
16039 (sloww): Likewise.
16040 (sloww1): Likewise.
16041 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16042 (__cos): Likewise.
16043
16044 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16045
16046 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16047
16048 2016-10-04 Joseph Myers <joseph@codesourcery.com>
16049
16050 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16051 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16052 0x7fffffffL].
16053 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16054
16055 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16056
16057 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16058 inline by __inline__.
16059 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16060 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16061 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16062 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16063 sigset_t from signal.h.
16064 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16065 which is already required.
16066
16067 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16068
16069 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16070
16071 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16072
16073 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16074 (struct tcp_repair_window): New type.
16075
16076 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16077
16078 * libio/tst-memstream3.c: Include string.h.
16079
16080 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16081
16082 [BZ #18241]
16083 [BZ #20181]
16084 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16085 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16086 write position is at the end the buffer.
16087 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16088 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16089 (_IO_str_seekoff): Set correct offset from negative displacement and
16090 set EINVAL for invalid ones.
16091 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16092 buffer length.
16093 (_IO_wstr_switch_to_get_mode): New function.
16094 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16095 set EINVAL for invalid ones.
16096 * libio/tst-memstream3.c: New file.
16097 * libio/tst-wmemstream3.c: Likewise.
16098 * manual/examples/memstrm.c: Remove warning when priting size_t.
16099
16100 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16101
16102 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16103 macro to use __builtin_fma.
16104 * sysdeps/x86_64/fpu/dla.h: Remove file.
16105
16106 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16107 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16108 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16109
16110 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16111
16112 [BZ #20292]
16113 * elf/Makefile (routines): Add dl-addr-obj.
16114 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16115 tst-_dl_addr_inside_object.
16116 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16117 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16118 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16119 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16120 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16121 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16122 * elf/dl-open.c: Likewise.
16123 * elf/dl-addr-obj.c: New file.
16124 * elf/tst-_dl_addr_inside_object.c: New file.
16125
16126 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16127
16128 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16129 <bits/iscanonical.h>.
16130 * bits/iscanonical.h: New file.
16131 * math/s_iscanonicall.c: Likewise.
16132 * math/Versions (__iscanonicall): New libm symbol at version
16133 GLIBC_2.25.
16134 * math/libm-test.inc (iscanonical_test_data): New array.
16135 (iscanonical_test): New function.
16136 (main): Call iscanonical_test.
16137 * math/Makefile (headers): Add bits/iscanonical.h.
16138 (type-ldouble-routines): Add s_iscanonicall.
16139 * manual/arith.texi (Floating Point Classes): Document
16140 iscanonical.
16141 * manual/libm-err-tab.pl: Update comment on interfaces without
16142 ulps tabulated.
16143 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16144 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16145 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16146 Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16148 test-iscanonical-ldbl-128ibm.
16149 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16150 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16151 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16152 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16153 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16154 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16157 Likewise.
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16159 Likewise.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16161 Likewise.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16163 Likewise.
16164 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16166
16167 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16168
16169 * string/bits/string3.h: Remove C++ style comments.
16170
16171 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16172
16173 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16174 instead of ternary condition.
16175 (do_sincos_2): Likewise.
16176 (__sin): Likewise.
16177 (__cos): Likewise.
16178 (slow): Likewise.
16179 (sloww): Likewise.
16180 (sloww1): Likewise.
16181 (bsloww): Likewise.
16182 (bsloww1): Likewise.
16183
16184 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16185 instead of ternary condition.
16186 (do_sin_slow): Likewise.
16187 (do_sincos_1): Likewise.
16188 (do_sincos_2): Likewise.
16189 (__cos): Likewise.
16190 (sloww): Likewise.
16191 (sloww1): Likewise.
16192 (sloww2): Likewise.
16193 (bsloww): Likewise.
16194 (bsloww1): Likewise.
16195 (bsloww2): Likewise.
16196
16197 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16198 check from here...
16199 (slow2): ... and here...
16200 (__sin): ... to here.
16201
16202 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16203
16204 * math/math.h
16205 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16206 Cast argument to its own type.
16207 * math/test-iszero-excess-precision.c: New file.
16208 * math/Makefile (tests): Add test-iszero-excess-precision.
16209 (CFLAGS-test-iszero-excess-precision.c): New variable.
16210
16211 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16212
16213 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16214 field, add err field.
16215 (__spawni_child): Report error through err member instead of pipe.
16216 (__spawnix): Likewise.
16217
16218 2016-09-28 Zack Weinberg <zackw@panix.com>
16219
16220 * scripts/check-installed-headers.sh: Generalize treatment of
16221 sys/elf.h to all target architectures.
16222
16223 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16224 deleted typedef ucontext_t.
16225
16226 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16227
16228 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16229 (__INTERNAL_SYSCALL1): Likewise.
16230 (__INTERNAL_SYSCALL2): Likewise.
16231 (__INTERNAL_SYSCALL3): Likewise.
16232 (__INTERNAL_SYSCALL4): Likewise.
16233 (__INTERNAL_SYSCALL5): Likewise.
16234 (__INTERNAL_SYSCALL6): Likewise.
16235 (__INTERNAL_SYSCALL7): Likewise.
16236 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16237 (__INTERNAL_SYSCALL_NARGS): Likewise.
16238 (__INTERNAL_SYSCALL_DISP): Likewise.
16239 (INTERNAL_SYSCALL_CALL): Likewise.
16240 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16241 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16242 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16243 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16244 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16245 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16246 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16247 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16248 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16249 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16250 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16251 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16252 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16253
16254 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16255
16256 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16257 macro.
16258 * math/libm-test.inc (iszero_test_data): New array.
16259 (iszero_test): New function.
16260 (main): Call iszero_test.
16261 * manual/arith.texi (Floating Point Classes): Document iszero.
16262 * manual/libm-err-tab.pl: Update comment on interfaces without
16263 ulps tabulated.
16264
16265 2016-09-23 Zack Weinberg <zackw@panix.com>
16266
16267 * scripts/check-installed-headers.sh: New script.
16268 * Rules: In each directory that defines header files to be installed,
16269 run check-installed-headers.sh on them as a special test.
16270 * Makefile: Likewise for the headers installed at top level.
16271
16272 * include/aliases.h, include/alloca.h, include/argz.h
16273 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16274 * include/elf.h, include/envz.h, include/err.h
16275 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16276 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16277 * include/link.h, include/malloc.h, include/mcheck.h
16278 * include/mntent.h, include/netinet/ether.h
16279 * include/nss.h, include/obstack.h, include/printf.h
16280 * include/pty.h, include/resolv.h, include/rpc/auth.h
16281 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16282 * include/rpc/clnt.h, include/rpc/des_crypt.h
16283 * include/rpc/key_prot.h, include/rpc/netdb.h
16284 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16285 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16286 * include/rpc/rpc_msg.h, include/rpc/svc.h
16287 * include/rpc/svc_auth.h, include/rpc/xdr.h
16288 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16289 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16290 * include/rpcsvc/ypupd.h, include/shadow.h
16291 * include/stdio_ext.h, include/sys/epoll.h
16292 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16293 * include/sys/prctl.h, include/sys/profil.h
16294 * include/sys/statfs.h, include/sys/sysctl.h
16295 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16296 * sysdeps/arm/nacl/include/bits/setjmp.h
16297 * sysdeps/mips/include/sys/asm.h
16298 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16299 * sysdeps/unix/sysv/linux/include/sys/timex.h
16300 * sysdeps/x86/fpu/include/bits/fenv.h:
16301 Add #ifndef _ISOMAC guard around internal declarations.
16302 Add multiple-inclusion guard if not already present.
16303
16304 2016-09-23 Zack Weinberg <zackw@panix.com>
16305
16306 * sysdeps/generic/sys/ucontext.h
16307 * sysdeps/arm/sys/ucontext.h
16308 * sysdeps/i386/sys/ucontext.h
16309 * sysdeps/m68k/sys/ucontext.h
16310 * sysdeps/mips/sys/ucontext.h
16311 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16312 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16313 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16314 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16315 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16316 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16317 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16318 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16319 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16320 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16321 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16322 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16323 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16324 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16325 Include both bits/sigcontext.h and bits/sigstack.h.
16326 Fix grammar error in comment, if present.
16327
16328 * bits/sigstack.h
16329 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16330 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16331 * sysdeps/unix/sysv/linux/bits/sigstack.h
16332 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16333 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16334 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16335 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16336 * bits/sigcontext.h
16337 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16338 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16339 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16340 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16341 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16342 as well as signal.h, if this was not already allowed. Request
16343 definition of size_t if necessary. Minimize semantically-null
16344 differences across files.
16345
16346 2016-09-23 Zack Weinberg <zackw@panix.com>
16347
16348 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16349 Remove all logic conditional on __need macros. Move all the
16350 conditionally defined types to their own headers...
16351 * time/bits/types/clock_t.h: Define clock_t here.
16352 * time/bits/types/clockid_t.h: Define clockid_t here.
16353 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16354 * time/bits/types/struct_timespec.h: Define struct timespec here.
16355 * time/bits/types/struct_timeval.h: Define struct timeval here.
16356 * time/bits/types/struct_tm.h: Define struct tm here.
16357 * time/bits/types/time_t.h: Define time_t here.
16358 * time/bits/types/timer_t.h: Define timer_t here.
16359 * time/Makefile: Install the new headers.
16360
16361 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16362 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16363 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16364 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16365 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16366 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16367 * sysdeps/unix/sysv/linux/bits/resource.h
16368 * sysdeps/unix/sysv/linux/bits/timex.h
16369 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16370 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16371 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16372 * sysdeps/unix/sysv/linux/sys/acct.h
16373 * sysdeps/unix/sysv/linux/sys/timerfd.h
16374 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16375 * time/sys/time.h, time/sys/timeb.h
16376 Use the new bits/types headers.
16377
16378 * include/time.h: Remove __need logic.
16379 * include/bits/time.h
16380 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16381 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16382 * include/bits/types/struct_itimerspec.h
16383 * include/bits/types/struct_timespec.h
16384 * include/bits/types/struct_timeval.h
16385 * include/bits/types/struct_tm.h:
16386 New wrapper headers.
16387
16388 2016-09-23 Zack Weinberg <zackw@panix.com>
16389
16390 * sysdeps/mach/hurd/net/if_ppp.h
16391 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16392 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16393 if __USE_MISC is defined, to ensure struct ifreq is declared.
16394
16395 * inet/netinet/ether.h: Condition all function prototypes
16396 on __USE_MISC, to ensure struct ether_addr is declared.
16397
16398 * socket/bits/types/struct_osockaddr.h: New header.
16399 * include/bits/types/struct_osockaddr.h: New wrapper.
16400 * socket/Makefile: Install the new header.
16401 * socket/sys/socket.h, inet/protocols/talkd.h:
16402 Refer to bits/types/struct_osockaddr.h for the definition of
16403 struct osockaddr.
16404
16405 2016-09-23 Zack Weinberg <zackw@panix.com>
16406
16407 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16408 * inet/protocols/routed.h, inet/protocols/talkd.h
16409 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16410 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16411 * sysdeps/generic/netinet/if_ether.h
16412 * sysdeps/generic/netinet/in_systm.h
16413 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16414 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16415 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16416 * sysdeps/mach/hurd/net/if_arp.h
16417 * sysdeps/mach/hurd/net/if_ppp.h
16418 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16419 * sysdeps/unix/sysv/linux/bits/in.h
16420 * sysdeps/unix/sysv/linux/net/ethernet.h
16421 * sysdeps/unix/sysv/linux/net/if_arp.h
16422 * sysdeps/unix/sysv/linux/net/if_ppp.h
16423 * sysdeps/unix/sysv/linux/net/if_shaper.h
16424 * sysdeps/unix/sysv/linux/net/route.h
16425 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16426 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16427 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16428 * sysdeps/unix/sysv/linux/netipx/ipx.h
16429 * sysdeps/unix/sysv/linux/sys/acct.h
16430 * include/arpa/nameser.h, include/resolv.h:
16431 Change all uses of u_char to unsigned char,
16432 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16433 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16434 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16435 and u_int64_t and u_quad_t to uint64_t.
16436
16437 * mach/sys/reboot.h: Remove two casts of integer literals
16438 to the types they already have.
16439
16440 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16441 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16442 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16443 from referring to 'unsigned char' to 'uint8_t' for consistency with
16444 the macro definition below.
16445
16446 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16447 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16448 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16449 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16450 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16451 * sysdeps/unix/sysv/linux/sys/acct.h
16452 * include/arpa/nameser.h, include/resolv.h:
16453 Fix indentation disrupted by mechanical edits.
16454
16455 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16456 * sysdeps/generic/netinet/in_systm.h
16457 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16458 * sysdeps/gnu/netinet/udp.h
16459 * sysdeps/unix/sysv/linux/net/ethernet.h
16460 * sysdeps/unix/sysv/linux/net/if_arp.h
16461 * sysdeps/unix/sysv/linux/net/if_ppp.h
16462 * sysdeps/unix/sysv/linux/net/if_shaper.h
16463 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16464 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16465 * sysdeps/unix/sysv/linux/netipx/ipx.h
16466 * sysdeps/unix/sysv/linux/sys/acct.h
16467 Include stdint.h for uintNN_t definitions.
16468 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16469
16470 2016-09-23 Zack Weinberg <zackw@panix.com>
16471
16472 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16473 * sysdeps/unix/sysv/linux/netrose/rose.h:
16474 Include sys/socket.h and netax25/ax25.h.
16475
16476 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16477 * resolv/arpa/nameser_compat.h:
16478 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16479
16480 * sysdeps/unix/sysv/linux/sys/quota.h:
16481 Use __caddr_t instead of caddr_t.
16482 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16483 Use __clockid_t instead of clockid_t.
16484
16485 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16486
16487 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16488 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16489 expanding it.
16490
16491 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16492 Define __glibc_c99_flexarr_available to 1 when the compiler
16493 supports C99-compatible flexible array members, 0 otherwise.
16494 * sysdeps/unix/sysv/linux/bits/socket.h
16495 * sysdeps/mach/hurd/bits/socket.h
16496 * bits/socket.h: Use __glibc_c99_flexarr_available in
16497 definitions of struct cmsghdr and CMSG_DATA.
16498
16499 2016-09-23 Florian Weimer <fweimer@redhat.com>
16500
16501 * manual/nss.texi (NSS Modules Interface): Adjust function return
16502 type to enum nss_status. Document errnop argument. Clarify
16503 h_errnop semantics. Fix cross-reference formatting.
16504 (NSS Module Function Internals): Mention that *errnop needs to be
16505 set on failure, but not to zero.
16506
16507 2016-09-23 Florian Weimer <fweimer@redhat.com>
16508
16509 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16510 (get_random_name): New functions.
16511 (check_wrapper_flags_mode): Use linkat to give the new file a name
16512 determined by get_random_name.
16513 (do_test): Add calls to test open64 and openat64.
16514
16515 2016-09-23 Florian Weimer <fweimer@redhat.com>
16516
16517 * test-skeleton.c: Remove #include <stdarg.h>.
16518
16519 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16520
16521 [BZ #19826]
16522 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16523 initialization of static TLS entries.
16524 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16525 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16526
16527 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16528
16529 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16530 _hurd_malloc_fork_prepare.
16531 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16532 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16533 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16534 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16535 (_hurd_fork_child_hook): Drop malloc_fork_child.
16536 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16537 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16538 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16539 after locking locks (notably hurd_dtable_lock). Call
16540 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16541 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16542 __malloc_fork_unlock_child.
16543 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16544
16545 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16546
16547 * soft-fp/extendhftf2.c: New.
16548 * soft-fp/fixhfti.c: Likewise.
16549 * soft-fp/fixunshfti.c: Likewise.
16550 * soft-fp/floattihf.c: Likewise.
16551 * soft-fp/floatuntihf.c: Likewise.
16552 * soft-fp/half.h: Likewise.
16553 * soft-fp/trunctfhf2.c: Likewise.
16554
16555 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16556
16557 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16558 macro.
16559 * math/libm-test.inc (issubnormal_test_data): New array.
16560 (issubnormal_test): New function.
16561 * manual/arith.texi (Floating Point Classes): Document
16562 issubnormal.
16563 * manual/libm-err-tab.pl: Update comment on interfaces without
16564 ulps tabulated.
16565
16566 * sysdeps/generic/stdint.h: Define
16567 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16568 <bits/libc-header-start.h> instead of including <features.h>.
16569 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16570 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16571 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16572 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16573 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16574 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16575 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16576 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16577 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16578 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16579 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16580 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16581 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16582 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16583 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16584 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16585 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16586 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16587 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16588 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16589 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16590 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16591 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16592 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16593 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16594 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16595 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16596 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16597 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16598 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16599 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16600 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16601 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16602 * manual/arith.texi (Integers): Document these macros for types
16603 specified by width properties.
16604 * manual/lang.texi (Width of Type): Document these macros for
16605 other standard typedefs.
16606 * stdlib/tst-width-stdint.c: New file.
16607 * stdlib/Makefile (tests): Add tst-width-stdint.
16608
16609 2016-09-21 Florian Weimer <fweimer@redhat.com>
16610
16611 [BZ #20016]
16612 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16613 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16614 Move ...
16615 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16616 ... here, as compatibility symbols in a new file.
16617 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16618 * resolv/res_init.c (__res_vinit): Adjust member names.
16619 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16620 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16621 (res_send_rhook): Remove.
16622 (struct __res_state): Rename qhook, rhook members.
16623
16624 2016-09-21 Florian Weimer <fweimer@redhat.com>
16625
16626 malloc: Use __libc_lock wrappers.
16627 * malloc/arena.c (list_lock, free_list_lock): Define using
16628 __libc_lock_define_initialized.
16629 (arena_lock): Adjust formatting.
16630 * malloc/malloc.c (struct malloc_state): Define mutex using
16631 __libc_lock_define.
16632 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16633 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16634 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16635 (mutex_unlock, mutex_trylock): Remove.
16636 (__pthread_initialize): Remove unused macro.
16637 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16638 (mutex_unlock, mutex_trylock): Remove.
16639
16640 2016-09-21 Florian Weimer <fweimer@redhat.com>
16641
16642 [BZ #20592]
16643 Remove RR type classification macros.
16644 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16645 (ns_t_udp_p, ns_t_xfr_p): Remove.
16646
16647 2016-09-21 Florian Weimer <fweimer@redhat.com>
16648
16649 Remove misleading version information.
16650 * resolv/arpa/nameser.h (__NAMESER): Remove.
16651 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16652
16653 2016-09-21 Florian Weimer <fweimer@redhat.com>
16654
16655 Remove the always-defined BIND_4_COMPAT macro.
16656 * resolv/arpa/nameser.h: Unconditionally include
16657 <arpa/nameser_compat.h>.
16658 (BIND_4_COMPAT): Remove.
16659 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16660
16661 2016-09-21 Florian Weimer <fweimer@redhat.com>
16662
16663 [BZ #20591]
16664 Remove obsolete DNSSEC support.
16665 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16666 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16667 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16668 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16669 (ns_cert_types): Add comment.
16670 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16671 separately.
16672 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16673 (dst_s_dns_key_id): Remove.
16674 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16675 variables.
16676
16677 2016-09-21 Florian Weimer <fweimer@redhat.com>
16678
16679 [BZ #20524]
16680 * manual/string.texi (String/Array Comparison): Clarify the
16681 strverscmp behavior.
16682
16683 2016-09-21 Florian Weimer <fweimer@redhat.com>
16684
16685 * test-skeleton.c (xasprintf): Add function.
16686 * io/tst-open-tmpfile.c: New test.
16687 * io/Makefile (tests): Add it.
16688
16689 2016-09-21 Florian Weimer <fweimer@redhat.com>
16690
16691 Avoid running $(CXX) during build to obtain header file paths.
16692 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16693 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16694 * Makerules (cstdlib, cmath): Remove variables. Use
16695 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16696 * configure: Regenerate.
16697
16698 2016-09-21 Florian Weimer <fweimer@redhat.com>
16699
16700 * Makeconfig (all-object-suffixes): Include .op only if
16701 $(build-profile).
16702
16703 2016-09-21 Florian Weimer <fweimer@redhat.com>
16704
16705 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16706 conditionals. Do not define PATH_MAX.
16707
16708 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16709
16710 * posix/Makefile (tests): Add tst-spawn3.
16711 * posix/tst-spawn3.c: New file.
16712 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16713 if it is already opened for open action.
16714
16715 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16716 all signals when executing the clone vfork child.
16717 (SIGALL_SET): Remove macro.
16718
16719 * nptl/Makefile (tests): Add tst-exec5.
16720 * nptl/tst-exec5.c: New file.
16721 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16722 asynchronous cancellation.
16723
16724 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16725
16726 * hurd/exc2signal.c: #include <hurd/signal.h>
16727 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16728 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16729 accordingly.
16730 * mach/mach_error.c (mach_error): Fix old-style function definition.
16731 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16732
16733 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16734
16735 * math/Makefile (libm-calls): Remove s_nanF.
16736 (gen-libm-calls): Add s_nanF.
16737
16738 * math/s_nan.c: Refactor into ...
16739 * math/s_nan_template.c: New file.
16740
16741 * math/s_nanf.c: Removed.
16742 * math/s_nanl.c: Removed.
16743 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16744 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16745
16746 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16747 (LDOUBLE_nanl_libm_version): New macro.
16748
16749 * sysdeps/generic/math-type-macros-double.h:
16750 (M_STRTO_NAN): New macro.
16751 * sysdeps/generic/math-type-macros-float.h: Likewise.
16752 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16753
16754 * sysdeps/generic/math-type-macros.h: Document
16755 M_STRTO_NAN.
16756
16757 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16758
16759 * math/s_nanf.c: Remove __nanf undef.
16760 * math/s_nan.c: Remove __nan undef.
16761 * math/s_nanl.c: Remove __nanl undef.
16762
16763 * sysdeps/generic/math_private.h (__nan): Remove macro
16764 override.
16765 (__nanf): Likewise.
16766 (__nanl): Likewise.
16767
16768 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16769
16770 * math/Makefile (gen-all-calls): New variable.
16771 (generated): Replace gen-libm-calls with gen-all-calls.
16772 (gen-libm-templates.stmp): Likewise. Also, ensure
16773 the output directory exists or is created and add
16774 dependency on the Makefile.
16775 (calls): Move s_ldexpF into gen-calls.
16776 (gen-calls): New variable.
16777
16778 * math/s_ldexpf.c: Removed.
16779 * math/s_ldexpl.c: Removed.
16780 * math/s_ldexp.c: Refactored into ...
16781 * math/s_ldexp_template.c: New file.
16782
16783 * sysdeps/generic/math-type-macros-double.h: Remove
16784 redundant fall-through definition of declare_mgen_alias.
16785 (declare_mgen_alias_2): New macro.
16786
16787 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16788 New macro for function aliased to two exported symbols.
16789
16790 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16791 new template file.
16792 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16793
16794 2016-09-20 Florian Weimer <fweimer@redhat.com>
16795
16796 * Makeconfig (all-object-suffixes): Remove .og.
16797 * Makerules (elide-routines.og): Remove.
16798 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16799 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16800 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16801
16802 2016-09-20 Florian Weimer <fweimer@redhat.com>
16803
16804 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16805 .os objects.
16806
16807 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16808
16809 [BZ #20615]
16810 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16811 fpu directory by non-fpu.
16812 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16813 on non-fpu directory from a fpu directory.
16814
16815 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16816
16817 * include/limits.h: Define
16818 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16819 <bits/libc-header-start.h> instead of including <features.h>.
16820 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16821 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16822 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16823 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16824 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16825 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16826 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16827 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16828 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16829 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16830 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16831 * manual/lang.texi (Width of Type): Document these macros.
16832 * stdlib/tst-width.c: New file.
16833 * stdlib/Makefile (tests): Add tst-width.
16834
16835 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16836
16837 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16838 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16839
16840 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16841
16842 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16843 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16844 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16845
16846 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16847
16848 [BZ #18243]
16849 * rt/Makefile (test): Add tst-shm-cancel.
16850 * rt/tst-shm-cancel.c: New file.
16851 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16852
16853 [BZ #18243]
16854 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16855 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16856 definition.
16857 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16858 uncontended case.
16859 * nptl/sem_wait.c (__new_sem_wait): Likewise.
16860 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16861 (tf): Fix check for uncontended case.
16862 (do_test): Likewise.
16863 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16864 (tf): Fix check for uncontended case.
16865 (do_test): Likewise.
16866 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16867 (tf): Fix check for uncontended case.
16868 (do_test): Likewise.
16869 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16870 (tf): Fix check for uncontended case.
16871 (do_test): Likewise.
16872
16873 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16874 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16875
16876 [BZ #15765]
16877 * nptl/Makefile (tests): Add tst-sem16.
16878 * nptl/tst-sem16.c: New file.
16879 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16880
16881 * nptl/sem_open.c (sem_open): Init pad value to 0.
16882 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16883 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16884
16885 2016-09-15 Florian Weimer <fweimer@redhat.com>
16886
16887 [BZ #20611]
16888 * inet/Makefile (routines): Add inet6_scopeid_pton.
16889 (tests): Add tst-inet6_scopeid_pton.
16890 * inet/inet6_scopeid_pton.c: New file.
16891 * inet/net-internal.h: Likewise.
16892 * inet/tst-inet6_scopeid_pton.c: New test.
16893 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16894 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16896
16897 2016-09-14 Florian Weimer <fweimer@redhat.com>
16898
16899 Remove support for compiling wrappers with PTW.
16900 * sysdeps/nptl/Makeconfig: Drop ptw- support.
16901 * nptl/Makefile (pthread-compat-wrappers): Define.
16902 (libpthread-routines): Use pthread-compat-wrappers.
16903 * sysdeps/unix/sysv/linux/alpha/Makefile
16904 (libpthread-routines, libpthread-shared-only-routines): Remove
16905 ptw- prefix.
16906 * sysdeps/s390/nptl/Makefile
16907 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16908 * sysdeps/ia64/nptl/Makefile
16909 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16910 * sysdeps/nacl/Makefile (libpthread-routines): Use
16911 pthread-compat-wrappers to filter the routines list instead of the
16912 ptw- prefix.
16913
16914 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16915
16916 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16917 with L() and remove explicit suffix, convert real literals
16918 which can be equivalentally substituted with integers, and
16919 transform -L(x) to L(-x).
16920
16921 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16922 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16923 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16924 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16925 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16926 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16927 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16928 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16929 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16930 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16931 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16932 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16933 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16934 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16935 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16936 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16937 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16938 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16939 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16940 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16941 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16942 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16943 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16944 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16945 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16946 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16947 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16948 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16949 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16950 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16951 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16956 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16969 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16971
16972 2016-09-13 Florian Weimer <fweimer@redhat.com>
16973
16974 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16975
16976 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
16977
16978 * malloc/Makefile (tests): Remove individual static test names
16979 and just add all of tests-static.
16980
16981 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16982
16983 2016-09-07 Joseph Myers <joseph@codesourcery.com>
16984
16985 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16986 file.
16987
16988 * sysdeps/sparc/fpu/fegetmode.c: New file.
16989 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16990
16991 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16992 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16993
16994 * sysdeps/s390/fpu/fegetmode.c: New file.
16995 * sysdeps/s390/fpu/fesetmode.c: Likewise.
16996
16997 * sysdeps/powerpc/fpu/fegetmode.c: New file.
16998 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16999 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17000 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17001 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17002 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17003
17004 * sysdeps/mips/fpu/fegetmode.c: New file.
17005 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17006
17007 * sysdeps/m68k/fpu/fegetmode.c: New file.
17008 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17009
17010 * sysdeps/ia64/fpu/fegetmode.c: New file.
17011 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17012
17013 * sysdeps/hppa/fpu/fegetmode.c: New file.
17014 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17015
17016 * sysdeps/arm/fegetmode.c: New file.
17017 * sysdeps/arm/fesetmode.c: Likewise.
17018
17019 * sysdeps/alpha/fpu/fegetmode.c: New file.
17020 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17021
17022 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17023 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17024
17025 * math/fegetmode.c: New file.
17026 * math/fesetmode.c: Likewise.
17027 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17028 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17029 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17030 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17031 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17032 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17033 declaration.
17034 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17035 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17036 typedef.
17037 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17038 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17039 (femode_t): New typedef.
17040 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17041 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17042 (femode_t): New typedef.
17043 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17044 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17045 (femode_t): New typedef.
17046 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17047 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17048 (femode_t): New typedef.
17049 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17050 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17051 (femode_t): New typedef.
17052 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17053 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17054 (femode_t): New typedef.
17055 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17056 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17057 (femode_t): New typedef.
17058 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17059 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17060 (femode_t): New typedef.
17061 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17062 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17063 (femode_t): New typedef.
17064 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17065 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17066 (femode_t): New typedef.
17067 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17068 declaration.
17069 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17070 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17071 (femode_t): New typedef.
17072 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17073 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17074 (femode_t): New typedef.
17075 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17076 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17077 (femode_t): New typedef.
17078 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17079 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17080 (femode_t): New typedef.
17081 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17082 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17083 (femode_t): New typedef.
17084 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17085 * manual/arith.texi (FE_DFL_MODE): Document macro.
17086 (fegetmode): Document function.
17087 (fesetmode): Likewise.
17088 * math/Versions (fegetmode): New libm symbol at version
17089 GLIBC_2.25.
17090 (fesetmode): Likewise.
17091 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17092 (tests): Add test-femode and test-femode-traps.
17093 * math/test-femode-traps.c: New file.
17094 * math/test-femode.c: Likewise.
17095 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17096 alias for __fe_dfl_env.
17097 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17098 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17099 (__fe_dfl_mode): Likewise.
17100 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17101 version GLIBC_2.25.
17102 * sysdeps/nacl/libm.abilist: Update.
17103 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17104 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17105 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17106 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17107 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17109 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17110 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17111 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17112 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17113 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17114 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17116 Likewise.
17117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17118 Likewise.
17119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17120 Likewise.
17121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17122 Likewise.
17123 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17124 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17125 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17126 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17127 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17129 Likewise.
17130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17131 Likewise.
17132 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17133 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17134 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17135
17136 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17137
17138 [BZ #20495]
17139 [BZ #20508]
17140 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17141 processors, set Use_dl_runtime_resolve_slow and set
17142 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17143 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17144 New.
17145 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17146 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17147 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17148 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17149 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17150 if Use_dl_runtime_resolve_opt is set. Use
17151 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17152 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17153 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17154 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17155 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17156 New.
17157 (_dl_runtime_resolve_opt): Likewise.
17158 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17159 defined.
17160
17161 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17162
17163 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17164 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17165
17166 2016-09-06 Florian Weimer <fweimer@redhat.com>
17167
17168 Convert malloc to __libc_lock. Automated part, using this Perl
17169 s/// command:
17170 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17171 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17172 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17173 conversion.
17174
17175 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17176
17177 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17178 (linknamespace-symlists-tests): Likewise.
17179 (linknamespace-header-tests): Likewise.
17180
17181 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17182
17183 [BZ #19810]
17184 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17185 * elf/tst-noload.c: New test case.
17186 * elf/Makefile (tests): Add tst-noload.
17187
17188 2016-09-02 Roland McGrath <roland@hack.frob.com>
17189
17190 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17191
17192 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17193 not any more.
17194
17195 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17196
17197 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17198
17199 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17200 (do_cos_slow): Likewise.
17201 (do_sin): Likewise.
17202 (do_sin_slow): Likewise.
17203 (slow): Likewise.
17204 (slow1): Likewise.
17205 (slow2): Likewise.
17206 (sloww): Likewise.
17207 (sloww1): Likewise.
17208 (sloww2): Likewise.
17209 (bsloww): Likewise.
17210 (bsloww1): Likewise.
17211 (bsloww2): Likewise.
17212 (cslow2): Likewise.
17213
17214 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17215
17216 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17217 arguments. Consolidate input partitioning from callers here.
17218 (do_cos_slow): Likewise.
17219 (do_sin): Likewise.
17220 (do_sin_slow): Likewise.
17221 (do_sincos_1): Remove the no longer necessary input partitioning.
17222 (do_sincos_2): Likewise.
17223 (__sin): Likewise.
17224 (__cos): Likewise.
17225 (slow1): Likewise.
17226 (slow2): Likewise.
17227 (sloww1): Likewise.
17228 (sloww2): Likewise.
17229 (bsloww1): Likewise.
17230 (bsloww2): Likewise.
17231 (cslow2): Likewise.
17232
17233 2016-09-02 Florian Weimer <fweimer@redhat.com>
17234
17235 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17236 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17237 outside of allocated array.
17238
17239 2016-09-02 Florian Weimer <fweimer@redhat.com>
17240
17241 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17242 instead of MB_CUR_MAX to avoid variable-length array.
17243
17244 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17245
17246 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17247 (type-double-routines): Add k_rem_pio2.
17248 (type-float-routines): Add k_rem_pio2f.
17249
17250 * sysdeps/generic/math_private.h:
17251 (__kernel_rem_pio2l): Removed.
17252
17253 * math/k_rem_pio2l.c: Removed.
17254 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17255 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17256 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17257 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17258
17259 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17260
17261 * math/Makefile (gen-libm-calls): Add s_fmin
17262 (libm-calls): Remove above.
17263
17264 * math/s_fmin.c: Refactor into ...
17265 * math/s_fmin_template.c: New file.
17266
17267 * math/s_fminf.c: Removed.
17268 * math/s_fminl.c: Removed.
17269 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17270 (LDOUBLE_fmin_libm_version): New macro.
17271
17272 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17273 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17274
17275 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17276
17277 * math/Makefile: (gen-libm-calls): Add s_fmax.
17278 (libm-calls): Remove above.
17279
17280 * math/s_fmax.c: Refactor into ...
17281 * math/s_fmax_template.c: New file.
17282 * math/s_fmaxf.c: Removed.
17283 * math/s_fmaxl.c: Removed.
17284
17285 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17286 (LDOUBLE_fmaxl_libm_version): New macro.
17287
17288 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17289 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17290
17291 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17292 s_fmin.c to pick the aarch64 version of the file.
17293 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17294 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17295
17296 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17297
17298 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17299 (libm-calls): Remove above.
17300
17301 * math/s_nextdown.c: Refactor into ...
17302 * math/s_nextdown_template.c: New file.
17303 * math/s_nextdownf.c: Removed.
17304 * math/s_nextdownl.c: Removed.
17305
17306 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17307
17308 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17309
17310 * math/Makefile (gen-libm-calls): Add s_fdim.
17311 (libm-calls): Move to above.
17312
17313 * math/s_fdim.c: Renamed and refactored into to ...
17314 * math/s_fdim_template.c: New file.
17315 * math/s_fdiml.c: Removed.
17316 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17317 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17318
17319 * sysdeps/generic/math-type-macros-double.h:
17320 (declare_mgen_alias): Don't declare if already declared.
17321 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17322 Likewise.
17323
17324 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17325 (declare_mgen_alias): Don't declare if already declared.
17326 (M_LIBM_NEED_COMPAT): Likewise.
17327 (declare_mgen_libm_compat): Likewise.
17328 (LDOUBLE_fdiml_libm_version): New macro.
17329
17330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17331 Include math/s_fdim.c now that ldbl-opt version is not needed.
17332 (declare_mgen_alias): New macro to disable aliasing.
17333
17334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17335 (declare_mgen_alias): Likewise.
17336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17337 (declare_mgen_alias): Likewise.
17338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17339 (declare_mgen_alias): Likewise.
17340 (M_LIBM_NEED_COMPAT): Likewise.
17341
17342 2016-09-01 Florian Weimer <fweimer@redhat.com>
17343
17344 [BZ #20525]
17345 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17346 Include <linux/quota.h>.
17347 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17348 and btodb.
17349 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17350 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17351 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17352 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17353 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17354 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17355 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17356 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17357 types.
17358 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17359 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17360
17361 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17362
17363 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17364 (gammal_positive): Fix spacing.
17365 (__ieee754_gammal_r): Likewise.
17366
17367 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17368
17369 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17370 (_Float128): Define as long double, always.
17371 (L): Apply long double type suffix, always.
17372
17373 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17374 _Float128, excepting comments.
17375
17376 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17395 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17397 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17408 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17442 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17444
17445 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17446 _Float128, and include math_private.h.
17447 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17448
17449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17450 long double semantics.
17451 (_Float128): Likewise.
17452 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17456
17457 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17458
17459 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17460 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17461 * sysdeps/s390/configure: Regenerated.
17462 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17463 instruction for raising over-/underflow if z196 zarch is supported
17464 by default.
17465 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17466
17467 2016-08-30 Svante Signell <svante.signell@gmail.com>
17468
17469 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17470 it point to a dumb buffer for RPC to fill it.
17471
17472 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17473
17474 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17475 instead of if/else.
17476 (do_sin_slow): Likewise.
17477 (do_sincos_1): Use fabs instead of if/else.
17478 (do_sincos_2): Likewise.
17479 (__sin): Likewise.
17480 (__cos): Likewise.
17481 (slow2): Likewise.
17482 (sloww): Likewise.
17483 (sloww1): Likewise. Drop argument M.
17484 (sloww2): Use fabs instead of if/else.
17485 (bsloww): Likewise.
17486 (bsloww1): Likewise.
17487 (bsloww2): Likewise.
17488
17489 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17490 fall through comment.
17491 (do_sincos_1): Likewise.
17492
17493 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17494 Consolidate switch cases 0 and 2.
17495
17496 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17497
17498 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17499 (libm-calls): Remove the above.
17500
17501 * math/s_cexp_template.c: Update using type-generic macros.
17502 * math/s_clog10_template.c: Likewise.
17503 * math/s_cpow_template.c: Likewise.
17504 * math/s_clog_template.c: Likewise.
17505 * math/s_cproj_template.c: Likewise.
17506 * math/s_csqrt_template.c: Likewise.
17507
17508 * math/s_cexp.c: Removed.
17509 * math/s_cexpf.c: Removed.
17510 * math/s_cexpl.c: Removed.
17511 * math/s_clog10.c: Removed.
17512 * math/s_clog10f.c: Removed.
17513 * math/s_clog10l.c: Removed.
17514 * math/s_cpow.c: Removed.
17515 * math/s_cpowf.c: Removed.
17516 * math/s_cpowl.c: Removed.
17517 * math/s_clog.c: Removed.
17518 * math/s_clogf.c: Removed.
17519 * math/s_clogl.c: Removed.
17520 * math/s_cproj.c: Removed.
17521 * math/s_cprojf.c: Removed.
17522 * math/s_cprojl.c: Removed.
17523 * math/s_csqrt.c: Removed.
17524 * math/s_csqrtf.c: Removed.
17525 * math/s_csqrtl.c: Removed.
17526
17527 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17528 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17529 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17530 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17531 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17532 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17533
17534 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17535 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17536 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17537 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17538 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17539 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17540 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17541 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17542 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17543 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17544 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17545
17546 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17547 version.
17548
17549 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17550 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17551 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17552 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17553
17554 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17555
17556 * s_cexp_template.c: Copy of s_cexp.c.
17557 * s_clog_template.c: Copy of s_clog.c.
17558 * s_clog10_template.c: Copy of s_clog10.c.
17559 * s_cpow_template.c: Copy of s_cpow.c.
17560 * s_cproj_template.c: Copy of s_cproj.c.
17561 * s_csqrt_template.c: Copy of s_csqrt.c.
17562
17563 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17564
17565 [BZ #20517]
17566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17567 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17568 exported.
17569
17570 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17571
17572 * math/fetestexceptflag.c: New file.
17573 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17574 Stefan Liebler.
17575 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17576 (fetestexceptflag): New function declaration.
17577 * manual/arith.texi (fetestexceptflag): Document function.
17578 * math/Versions (fetestexceptflag): New libm symbol at version
17579 GLIBC_2.25.
17580 * math/Makefile (libm-support): Add fetestexceptflag.
17581 (tests): Add test-fetestexceptflag.
17582 * math/test-fetestexceptflag.c: New file.
17583 * sysdeps/nacl/libm.abilist: Update.
17584 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17595 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17597 Likewise.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17599 Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17601 Likewise.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17603 Likewise.
17604 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17610 Likewise.
17611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17612 Likewise.
17613 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17616
17617 2016-08-26 Florian Weimer <fweimer@redhat.com>
17618
17619 [BZ #20432]
17620 Avoid strong references to malloc-internal symbols when linking
17621 statically, to support statically interposed mallocs.
17622 * include/libc-symbols.h (call_function_static_weak): New macro.
17623 * malloc/Makefile (tests): Add tst-interpose-nothread,
17624 tst-interpose-thread, tst-interpose-static-nothread,
17625 tst-interpose-static-thread.
17626 (tests-static): Add tst-interpose-static-nothread,
17627 tst-interpose-static-thread.
17628 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17629 tst-interpose-aux-thread.o.
17630 (test-extras): Add tst-interpose-aux-nothread,
17631 tst-interpose-aux-thread.
17632 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17633 tst-interpose-aux-nothread.o.
17634 (tst-interpose-thread, tst-interpose-static-thread): Link with
17635 tst-interpose-aux-thread.o and libthread.
17636 * malloc/tst-interpose-aux-nothread.c: New file.
17637 * malloc/tst-interpose-aux-thread.c: Likewise.
17638 * malloc/tst-interpose-aux.c: Likewise.
17639 * malloc/tst-interpose-aux.h: Likewise.
17640 * malloc/tst-interpose-nothread.c: Likewise.
17641 * malloc/tst-interpose-skeleton.c: Likewise.
17642 * malloc/tst-interpose-static-nothread.c: Likewise.
17643 * malloc/tst-interpose-static-thread.c: Likewise.
17644 * malloc/tst-interpose-thread.c: Likewise.
17645 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17646 * sysdeps/mach/hurd/fork.c (__fork): Only call
17647 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17648 __malloc_fork_unlock_child if defined.
17649 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17650
17651 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17652
17653 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17654 timespec C99 designated initialization.
17655
17656 2016-08-26 Florian Weimer <fweimer@redhat.com>
17657
17658 [BZ #19946]
17659 Avoid expected SIGALRM signals.
17660 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17661 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17662 (xpthread_create, xpthread_detach, xpthread_join)
17663 (delayed_exit_thread, delayed_exit): New functions.
17664 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17665 (tf): Use xpthread_cond_wait.
17666 (do_test): Likewise. Replace alarm with delayed_exit.
17667 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17668 (do_test): Call delayed_exit. Report failure.
17669 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17670 (do_test): Call delayed_exit.
17671 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17672 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17673 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17674 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17675 error.
17676 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17677 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17678 error.
17679 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17680 (do_test): Call delayed_exit.
17681 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17682 (do_test): Call delayed_exit.
17683 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17684 (do_test): Call delayed_exit instead of alarm. Use
17685 xpthread_mutex_lock.
17686 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17687 (do_test): Call delayed_exit instead of alarm. Use
17688 xpthread_mutex_lock.
17689 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17690 (do_test): Call delayed_exit instead of alarm.
17691 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17692 (do_test): Call delayed_exit instead of alarm. Use
17693 xpthread_spin_lock.
17694 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17695 (do_test): Call delayed_exit instead of alarm. Use
17696 xpthread_join.
17697
17698 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17699
17700 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17701 adjust CFA when allocating register save area on re-aligned
17702 stack.
17703
17704 2016-08-26 Florian Weimer <fweimer@redhat.com>
17705
17706 * string/tst-cmp.c: New test.
17707 * string/Makefile (tests): Add it.
17708
17709 2016-08-25 Mark Wielaard <mark@klomp.org>
17710
17711 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17712 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17713 (check_tree_recurse): Use newly defined accessors.
17714 (check_tree): Likewise.
17715 (maybe_split_for_insert): Likewise.
17716 (__tfind): Likewise.
17717 (__tdelete): Likewise.
17718 (trecurse): Likewise.
17719 (tdestroy_recurse): Likewise.
17720 (__tsearch): Likewise. And add asserts for malloc alignment.
17721 (__twalk): Cast root to node in case CHECK_TREE is defined.
17722
17723 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17724
17725 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17726
17727 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17728
17729 * math/Makefile (libm-gen-calls): Add
17730 catan, catanh, ctan, ctanh.
17731 (libm-calls): Remove the above.
17732
17733 * math/s_catan_template.c: Update using type-generic macros.
17734 * math/s_catanh_template.c: Likewise.
17735 * math/s_ctan_template.c: Likewise.
17736 * math/s_ctanh_template.c: Likewise.
17737
17738 * math/s_catanf.c: Removed.
17739 * math/s_catan.c: Removed.
17740 * math/s_catanl.c: Removed.
17741 * math/s_catanhf.c: Removed.
17742 * math/s_catanh.c: Removed.
17743 * math/s_catanhl.c: Removed.
17744 * math/s_ctanf.c: Removed.
17745 * math/s_ctan.c: Removed.
17746 * math/s_ctanl.c: Removed.
17747 * math/s_ctanhf.c: Removed.
17748 * math/s_ctanh.c: Removed.
17749 * math/s_ctanhl.c: Removed.
17750
17751 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17752 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17753 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17754 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17755 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17756 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17757
17758 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17759 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17760 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17761 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17762
17763 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17764
17765 * s_catan_template.c: Copy of s_catan.c.
17766 * s_catanh_template.c: Copy of s_catanh.c.
17767 * s_ctan_template.c: Copy of s_ctan.c.
17768 * s_ctanh_template.c: Copy of s_ctanh.c.
17769
17770 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17771
17772 * math/Makefile (gen-libm-calls): Move
17773 casin, casinh, csin, csinh here.
17774 (libm-calls): Remove the above.
17775
17776 * math/s_casin_template.c: Update using type-generic macros.
17777 * math/s_casinh_template.c: Likewise.
17778 * math/s_csin_template.c: Likewise.
17779 * math/s_csinh_template.c: Likewise.
17780 * math/k_casinh_template.c: Likewise.
17781
17782 * math/s_casinf.c: Removed.
17783 * math/s_casin.c: Removed.
17784 * math/s_casinl.c: Removed.
17785 * math/s_casinh.c: Removed.
17786 * math/s_casinhf.c: Removed.
17787 * math/s_casinhl.c: Removed.
17788 * math/s_csin.c: Removed.
17789 * math/s_csinf.c: Removed.
17790 * math/s_csinl.c: Removed.
17791 * math/s_csinh.c: Removed.
17792 * math/s_csinhf.c: Removed.
17793 * math/s_csinhl.c: Removed.
17794 * math/k_casinh.c: Removed.
17795 * math/k_casinhf.c: Removed.
17796 * math/k_casinhl.c: Removed.
17797
17798 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17799 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17800 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17801 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17802
17803 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17804 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17805 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17806 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17807 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17808 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17809 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17810 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17811
17812 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17813 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17814 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17815 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17816
17817 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17818 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17819 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17820 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17821
17822 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17823
17824 * s_casin_template.c: Copy of s_casin.c.
17825 * s_casinh_template.c: Copy of s_casinh.c.
17826 * s_csin_template.c: Copy of s_csin.c.
17827 * s_csinh_template.c: Copy of s_csinh.c.
17828 * k_casinh_template.c: Copy of k_casinh.c.
17829
17830 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
17831
17832 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17833
17834 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17835
17836 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17837 (mul_split) Remove, rename as mul_splitl, remove
17838 redundant float.h include, and include via mul_splitl.h
17839
17840 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17842 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17843 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17844 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17845
17846 * math/mul_splitl.h: New file.
17847
17848 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17849 Move into mul_split.h, and remove redundant float.h include.
17850
17851 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17855
17856 * math/mul_split.h: New file.
17857
17858 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17859
17860 * math/Makefile (libm-gen-calls): Move
17861 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17862 (libm-calls): Remove above.
17863
17864 * math/s_cacos_template.c: Update using type-generic macros.
17865 * math/s_cacosh_template.c: Likewise.
17866 * math/s_ccos_template.c: Likewise.
17867 * math/s_ccosh_template.c: Likewise.
17868
17869 * math/s_cacosf.c: Removed.
17870 * math/s_cacos.c: Removed.
17871 * math/s_cacosl.c: Removed.
17872 * math/s_cacoshf.c: Removed.
17873 * math/s_cacosh.c: Removed.
17874 * math/s_cacoshl.c: Removed.
17875 * math/s_ccosf.c: Removed.
17876 * math/s_ccos.c: Removed.
17877 * math/s_ccosl.c: Removed.
17878 * math/s_ccoshf.c: Removed.
17879 * math/s_ccosh.c: Removed.
17880 * math/s_ccoshl.c: Removed.
17881
17882 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17883 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17884 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17885 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17886 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17887 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17888
17889 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17890 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17891 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17892 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17893
17894 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17895 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17896 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17897 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17898
17899 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17900
17901 * s_cacos_template.c: Copy of s_cacos.c.
17902 * s_cacosh_template.c: Copy of s_cacosh.c.
17903 * s_ccos_template.c: Copy of s_ccos.c.
17904 * s_ccosh_template.c: Copy of s_ccosh.c.
17905
17906 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17907
17908 * stdlib/tst-strtod-round-skeleton.c:
17909 Refactored from tst-strtod-round.c.
17910
17911 (L_): New macro to apply literal modifier.
17912 (FNPFX): New macro to select str or wcs prefix.
17913 (CHAR): New macro to choose wchar_t or char.
17914 (STRM): New macro to choose printf for tested character type.
17915
17916 (STRTO): New macro to choose appropriate string -> real function.
17917 (FNPFXS): Stringitized version of FNPFX.
17918 (STR): Support for above macro.
17919 (STRX): Likewise.
17920
17921 (TEST): Update with above macros.
17922 (test): Likewise.
17923 (GEN_ONE_TEST): Likewise.
17924 (test_in_one_mode): Likewise.
17925
17926 * stdlib/tst-strtod-round.c: New file.
17927 * wcsmbs/tst-wcstod-round.c: New file.
17928
17929 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17930 (tst-wcstod-round): Add libm depencency for fesetround.
17931
17932 2016-08-19 Zack Weinberg <zackw@panix.com>
17933
17934 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17935
17936 2016-08-18 Torvald Riegel <triegel@redhat.com>
17937
17938 [BZ #20477]
17939 * resolv/res_hconf.c (do_init): Use atomic access.
17940 * resolv/res_hconf.h: Add comments.
17941 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17942 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17944
17945 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
17946
17947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17948 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17949 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17950 Likewise.
17951
17952 2016-08-18 Florian Weimer <fweimer@redhat.com>
17953
17954 [BZ #16907]
17955 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17956 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17957 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17958 (__attribute__): Remove definition.
17959
17960 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17961
17962 * sysdeps/ieee754/ldbl-128/e_asinl.c:
17963 Remove unused sqrtl declaration.
17964
17965 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17966
17967 * math/Makefile: (gen-libm-templates.stmp): New rule.
17968 (libm-calls): Move carg conj cimag and cabs into ...
17969 (gen-libm-calls): New variable.
17970 (generated): Inform Make objects from gen-libm-calls
17971 may be generated.
17972
17973 * sysdeps/generic/math-type-macros.h: New file.
17974 * sysdeps/generic/math-type-macros-float.h: Likewise.
17975 * sysdeps/generic/math-type-macros-double.h: Likewise.
17976 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17977 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17978 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17979
17980 * math/cabs.c: Refactor into
17981 * math/cabs_template.c: new file.
17982 * math/cabsf.c: Removed.
17983 * math/cabsl.c: Removed.
17984 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17985 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17986
17987 * math/carg.c: Refactor into
17988 * math/carg_template.c: new file.
17989 * math/cargf.c: Removed.
17990 * math/cargl.c: Removed.
17991 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17992 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17993
17994 * math/conj.c: Refactor into
17995 * math/conj_template.c: new file.
17996 * math/conjf.c: Removed.
17997 * math/conjl.c: Removed.
17998 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17999 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18000
18001 * math/cimag.c: Refactor into
18002 * math/cimag_template.c: new file.
18003 * math/cimagf.c: Removed.
18004 * math/cimagl.c: Removed.
18005 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18006 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18007
18008 * math/cimag.c: Refactor into
18009 * math/cimag_template.c: new file.
18010 * math/cimagf.c: Removed.
18011 * math/cimagl.c: Removed.
18012 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18013 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18014
18015 2016-08-17 Florian Weimer <fweimer@redhat.com>
18016
18017 Reduce time to expected nptl/tst-once5 failure.
18018 * nptl/tst-once5.cc (TIMEOUT): Define.
18019
18020 2016-08-17 Florian Weimer <fweimer@redhat.com>
18021
18022 [BZ #20452]
18023 Avoid additional copies of objects in libc.a in static libraries.
18024 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18025 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18026 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18027 rt-sysdep.
18028 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18029 Add nptl-sysdep.
18030 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18031 Add ptw-sysdep.
18032 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18033 rt-sysdep.
18034 * sysdeps/unix/sysv/linux/alpha/Makefile
18035 (libpthread-shared-only-routines): Add ptw-sysdep,
18036 ptw-sigprocmask, ptw-rt_sigaction.
18037 * sysdeps/unix/sysv/linux/ia64/Makefile
18038 (librt-shared-only-routines): Add rt-sysdep.
18039 * sysdeps/unix/sysv/linux/i386/Makefile
18040 (libpthread-shared-only-routines): Add libc-do-syscall.
18041 * sysdeps/unix/sysv/linux/microblaze/Makefile
18042 (libpthread-shared-only-routines): Add sysdep.
18043 * sysdeps/unix/sysv/linux/powerpc/Makefile
18044 (librt-shared-only-routines): Add rt-sysdep.
18045 (libpthread-shared-only-routines): Add sysdep.
18046 * sysdeps/unix/sysv/linux/s390/Makefile
18047 (librt-shared-only-routines): Add rt-sysdep.
18048 * sysdeps/unix/sysv/linux/sparc/Makefile
18049 (librt-shared-only-routines): Add rt-sysdep.
18050 (libpthread-shared-only-routines): Add sysdep.
18051 * sysdeps/unix/sysv/linux/tile/Makefile
18052 (libpthread-shared-only-routines): Likewise.
18053
18054 2016-08-16 Joseph Myers <joseph@codesourcery.com>
18055
18056 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18057 Mask implicit bit out of unpacked value.
18058 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18059 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18060 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18061
18062 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18063
18064 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18065
18066 * sysdeps/s390/fpu/fesetexcept.c: New file.
18067
18068 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18069 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18070 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18071
18072 * sysdeps/mips/fpu/fesetexcept.c: New file.
18073
18074 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18075
18076 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18077
18078 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18079
18080 * sysdeps/arm/fesetexcept.c: New file.
18081
18082 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18083
18084 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18085
18086 * math/fesetexcept.c: New file.
18087 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18088 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18089 * math/fenv.h: Define
18090 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18091 <bits/libc-header-start.h> instead of including <features.h>.
18092 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18093 declaration.
18094 * manual/arith.texi (fesetexcept): Document function.
18095 * math/Versions (fesetexcept): New libm symbol at version
18096 GLIBC_2.25.
18097 * math/Makefile (libm-support): Add fesetexcept.
18098 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18099 * math/test-fesetexcept.c: New file.
18100 * math/test-fesetexcept-traps.c: Likewise.
18101 * sysdeps/nacl/libm.abilist: Update.
18102 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18115 Likewise.
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18117 Likewise.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18119 Likewise.
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18121 Likewise.
18122 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18128 Likewise.
18129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18130 Likewise.
18131 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18134
18135 2016-08-16 Florian Weimer <fweimer@redhat.com>
18136
18137 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18138 New.
18139 (do_test): Apply default_stack_size_in_mb if not set.
18140 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18141
18142 2016-08-15 Andreas Schwab <schwab@suse.de>
18143
18144 [BZ #20435]
18145 CVE-2016-6323
18146 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18147 as .cantunwind.
18148
18149 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18150
18151 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18152 comment from fraiseexcpt.c.
18153
18154 * math/test-fexcept.c (feraiseexcept_exact): New function.
18155 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18156 (test_except): Likewise.
18157
18158 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18159
18160 [BZ #20455]
18161 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18162 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18163 to be restored.
18164
18165 * math/test-fexcept-traps.c: New file.
18166 * math/test-fexcept.c: Likewise.
18167 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18168 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18169 macro.
18170 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18171 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18172
18173 2016-08-09 Torvald Riegel <triegel@redhat.com>
18174
18175 * include/atomic.h (atomic_fetch_and_relaxed,
18176 atomic_fetch_and_release, atomic_fetch_or_release,
18177 atomic_fetch_xor_release): New.
18178
18179 2016-08-06 Christian Seiler <christian@iwakd.de>
18180
18181 [BZ #20444]
18182 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18183 MACH_PORT_NULL.
18184
18185 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18186
18187 * math/s_fdim.c: Avoid alias renamed.
18188 * math/s_fdimf.c: Likewise.
18189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18190 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18191 Add s_fdimf-vis3, s_fdim-vis3.
18192 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18193 (CFLAGS-s_fdim-vis3.c): Likewise.
18194 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18195 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18196
18197 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18198
18199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18200 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18201 Remove s_fdimf-vis3, s_fdim-vis3.
18202 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18203 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18210 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18211 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18212
18213 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18214
18215 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18216 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18217 -Wa,-Av9a -mvis.
18218
18219 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18220
18221 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18222 LIT() to individual constants in simple expressions
18223 after splitting on spaces.
18224 (_apply_lit): Rename replaced version, and use it to
18225 apply to what appears to be a token.
18226
18227 * math/libm-test.inc: Fix many, many issues with
18228 spacing.
18229
18230 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18231
18232 * math/math.h: Move comment about <bits/mathdef.h> definitions
18233 above inclusion of <bits/mathdef.h>. Do not mention
18234 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18235
18236 2016-08-05 Torvald Riegel <triegel@redhat.com>
18237
18238 * include/atomic.h (atomic_exchange_relaxed): New.
18239
18240 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18241
18242 * math/e_scalb.c: Do not include <fenv.h>.
18243 (invalid_fn): Do calculation resulting in NaN instead of raising
18244 FE_INVALID and returning a NaN explicitly.
18245 * math/e_scalbf.c: Do not include <fenv.h>.
18246 (invalid_fn): Do calculation resulting in NaN instead of raising
18247 FE_INVALID and returning a NaN explicitly.
18248 * math/e_scalbl.c: Do not include <fenv.h>.
18249 (invalid_fn): Do calculation resulting in NaN instead of raising
18250 FE_INVALID and returning a NaN explicitly.
18251
18252 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18253
18254 * po/de.po: Updated from Translation Project.
18255 * po/fi.po: Likewise.
18256 * po/sv.po: Likewise.
18257
18258 2016-08-04 Florian Weimer <fweimer@redhat.com>
18259
18260 [BZ #20452]
18261 Use sysdep.o from libc.a in static libraries.
18262 * sysdeps/unix/sysv/linux/i386/Makefile
18263 (libpthread-shared-only-routines): Add sysdep.
18264 (librt-shared-only-routines): Likewise.
18265
18266 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18267
18268 * math/tgmath.h (nextdown): Define if
18269 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18270 (nextup): Likewise.
18271
18272 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18273 macro.
18274 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18275 Document.
18276 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18277 Document macro.
18278 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18279 (exp10f): Likewise.
18280 (exp10l): Likewise.
18281 * math/bits/mathcalls.h (exp10): Declare if
18282 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18283
18284 * manual/arith.texi (nextup): Fix typo in last change.
18285
18286 2016-08-03 Zack Weinberg <zackw@panix.com>
18287
18288 [BZ #19239]
18289 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18290 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18291 define major, minor, and makedev to issue deprecation warnings on use.
18292 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18293 previously-activated deprecation warnings for these macros and prevent
18294 subsequent inclusions of this header from having any effect.
18295 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18296 including <sys/sysmacros.h>, and undefine it again afterward.
18297
18298 2016-08-03 Zack Weinberg <zackw@panix.com>
18299
18300 * sysdeps/generic/sys/sysmacros.h: Delete file.
18301 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18302 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18303 * bits/sysmacros.h: ... here; this encoding is now the generic
18304 encoding. Now defines only the following macros:
18305 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18306 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18307 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18308
18309 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18310 bits/sysmacros.h and the above new macros to generate the
18311 public implementations of major, minor, and makedev.
18312 * misc/tst-makedev.c: New test.
18313 * include/sys/sysmacros.h: New wrapper.
18314
18315 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18316 (routines): Add makedev.
18317 (tests): Add tst-makedev.
18318 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18319 gnu_dev_makedev.
18320 * posix/Makefile (headers): Remove sys/sysmacros.h.
18321 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18322
18323 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18324 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18325 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18326 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18327 * sysdeps/unix/sysv/linux/arm/libc.abilist
18328 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18329 * sysdeps/unix/sysv/linux/i386/libc.abilist
18330 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18331 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18332 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18333 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18334 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18335 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18336 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18337 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18338 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18343 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18344 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18345 * sysdeps/unix/sysv/linux/sh/libc.abilist
18346 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18347 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18350 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18351 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18352 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18353 Add GLIBC_2.25.
18354
18355 * include/features.h (__glibc_clang_prereq): New macro.
18356 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18357 (__attribute_deprecated_msg__): New macros.
18358
18359 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18360
18361 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18362 macro.
18363 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18364 * manual/arith.texi (issignaling): Document as ISO from TS
18365 18661-1:2014.
18366 (nextup): Likewise.
18367 (nextupf): Likewise.
18368 (nextupl): Likewise.
18369 (nextdown): Likewise.
18370 (nextdownf): Likewise.
18371 (nextdownl): Likewise.
18372 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18373 macro.
18374 * math/math.h: Define
18375 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18376 <bits/libc-header-start.h> instead of including <features.h>.
18377 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18378 [__USE_GNU].
18379 * math/bits/mathcalls.h (nextdown): Declare if
18380 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18381 (nextup): Likewise.
18382 (__issignaling): Likewise.
18383
18384 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18385
18386 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18387 check, and remove __glibc_likely hint
18388 from FP_INFINITE check.
18389 * s_csinhf.c (__csinhf): Likewise.
18390
18391 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18392 hint from FP_INFINITE check.
18393 * s_csinhl.c (__csinhl): Likewise.
18394
18395 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18396
18397 * math/Makefile (libm-calls): Insert F placeholder into
18398 object names. Move w_lgamma_compat* routines into
18399 (libm-compat-calls): New variable.
18400 (libm-compat-calls-ldouble-yes): New variable.
18401 (calls): Insert F placeholder.
18402 (generated): Redefine using new type-foreach macro call.
18403 (routines): Likewise.
18404
18405 (types): New variable to hold a list of symbolic names
18406 for each type supported by the target machine.
18407 (libm-routines): Redefine using new types variable.
18408 (type-foreach): macro to replace fooF with the
18409 appropriately suffixed foo for each types.
18410
18411 (type-ldouble-suffix): New variable.
18412 (type-ldouble-routines): Likewise.
18413 (type-ldouble-yes): Likewise.
18414 (type-double-suffix): Likewise.
18415 (type-double-routines): Likewise.
18416 (type-float-suffix): Likewise.
18417 (type-float-routines): Likewise.
18418
18419 (dbl-only-routines): Remove.
18420 (long-c-yes): Likewise.
18421 (long-m-routines): Likewise.
18422 (long-m-support): Likewise.
18423 (long-m-yes): Likewise.
18424 (test-longdouble-yes): Likewise.
18425
18426 (test-float.o): Simplify by increasing the scope of the
18427 recipe which adds libm-test.stmp to the vector types.
18428 (test-ifloat.o): Likewise.
18429 (test-float-finite.o): Likewise.
18430 (test-double.o): Likewise
18431 (test-idouble.o): Likewise.
18432 (test-double-finite.o): Likewise.
18433 (test-ldouble.o): Likewise
18434 (test-ildoubl.o): Likewise.
18435 (test-ldouble-finite.o): Likewise.
18436
18437 (libm-tests): Redefine type tests using foreach and the
18438 list of types in types.
18439
18440 (CPPFLAGS-test-ildoubl.c): Rename to
18441 (CPPFLAGS-test-ildouble.c): New variable
18442
18443 * math/test-ildoubl.c: Rename to
18444 * math/test-ildouble.c: New file.
18445
18446 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18447
18448 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18449 Use fabsl instead of fabs.
18450 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18451 Likewise.
18452 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18453 Add long double suffix to constant to ensure proper
18454 promotion to long double.
18455
18456 2016-08-03 Tom Tromey <tom@tromey.com>
18457
18458 [BZ #20311]
18459 * nptl_db/Makefile (headers): Add proc_service.h.
18460 * nptl_db/proc_service.h: Add include guard. Use
18461 __BEGIN/__END_DECLS.
18462 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18463 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18464 arguments.
18465
18466
18467 2016-08-03 Florian Weimer <fweimer@redhat.com>
18468
18469 [BZ #17730]
18470 Avoid using memalign for TCB allocations.
18471 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18472 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18473 Avoid alignment gap in the TLS_DTV_AT_TP case.
18474 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18475 determine the pointer to free.
18476 * nptl/tst-tls3-malloc.c: New test.
18477 * nptl/Makefile (tests): Add it.
18478 (tst-tls3-malloc): Link with libdl, libpthread.
18479 (LDFLAGS-tst-tls3-malloc): Set.
18480 (tst-tls3-malloc.out): Depend on DSO used in test.
18481
18482 2016-08-03 Florian Weimer <fweimer@redhat.com>
18483
18484 [BZ #17730]
18485 Avoid using memalign for TLS allocations.
18486 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18487 is_static member with to_free member.
18488 (union dtv): Use struct dtv_pointer.
18489 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18490 dtv_pointer instead of is_static.
18491 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18492 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18493 instead of val.
18494 (allocate_dtv_entry): New function.
18495 (allocate_and_init): Return struct dtv_pointer. Call
18496 allocate_dtv_entry instead of __libc_memalign.
18497 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18498 instead of val.
18499 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18500 instead of is_static. Adjust call to allocate_and_init.
18501 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18502 struct dtv_pointer instead of val.
18503
18504 2016-08-03 Florian Weimer <fweimer@redhat.com>
18505
18506 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18507 (MALLOC_ALIGN_MASK): Move ...
18508 * malloc/malloc-internal.h: ... to here.
18509 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18510
18511 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18512
18513 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18514 (UDP_ENCAP_GTP1U): Likewise.
18515
18516 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18517 (PF_MAX): Update value.
18518 (AF_QIPCRTR): New macro.
18519
18520 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18521
18522 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18523 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18524 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18526 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18527 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18528 s_truncf-vis3, s_trunc-vis3.
18529 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18530 (CFLAGS-s_ceil-vis3.c): Likewise.
18531 (CFLAGS-s_floorf-vis3.c): Likewise.
18532 (CFLAGS-s_floor-vis3.c): Likewise.
18533 (CFLAGS-s_truncf-vis3.c): Likewise.
18534 (CFLAGS-s_trunc-vis3.c): Likewise.
18535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18543 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18544 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18545 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18546 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18547
18548 2016-08-02 David S. Miller <davem@davemloft.net>
18549
18550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18551 (__nearbyint_vis3): Don't check for sNaN before float register is
18552 loaded with the incoming argument.
18553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18554 (__nearbyintf_vis3): Likewise.
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18556 Likewise.
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18558 Likewise.
18559
18560 * string/test-strncmp.c (do_test_limit): Make sure the test data
18561 stream is aligned as required for the type "CHAR".
18562 (do_test): Likewise.
18563
18564 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18565
18566 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18567 by beq instructions jumping to the end of the function.
18568 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18569 clobber list. Use "i" constraint instead of "X".
18570 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18571 of "X".
18572
18573 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18574
18575 * bits/libc-header-start.h: New file.
18576 * Makefile (headers): Add bits/libc-header-start.h.
18577 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18578 (__GLIBC_USE): New macro.
18579 * libio/stdio.h: Define
18580 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18581 <bits/libc-header-start.h> instead of including <features.h>.
18582 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18583 (open_memstream): Likewise.
18584 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18585 (__asprintf): Likewise.
18586 (asprintf): Likewise.
18587 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18588 (getdelim): Likewise.
18589 (getline): Likewise.
18590 * string/string.h: Define
18591 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18592 <bits/libc-header-start.h> instead of including <features.h>.
18593 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18594 (strndup): Likewise.
18595 * wcsmbs/wchar.h: Define
18596 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18597 <bits/libc-header-start.h> instead of including <features.h>.
18598 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18599 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18600
18601 2016-08-02 Florian Weimer <fweimer@redhat.com>
18602
18603 Support linking against compatibility symbols, for use in tests.
18604 * include/libc-symbols.h (symbol_version_reference): New macro.
18605 (symbol_version): Use it.
18606 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18607 (compat_symbol): Use compat_symbol_reference.
18608 (compat_symbol_1, compat_symbol_2): Remove.
18609 (compat_symbol_reference, compat_symbol_reference_1)
18610 (compat_symbol_reference_2): New macro. Use
18611 symbol_version_reference.
18612
18613 2016-08-02 Florian Weimer <fweimer@redhat.com>
18614
18615 [BZ #19469]
18616 * malloc/Makefile (CPPFLAGS): Compile tests with
18617 -DTEST_NO_MALLOPT.
18618 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18619
18620 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18621
18622 [BZ #20033]
18623 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18624 finite version.
18625 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18626 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18627 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18628 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18629 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18630 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18631 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18632 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18633 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18634 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18635 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18636 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18637 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18638 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18639 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18640 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18641 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18642 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18643 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18644 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18645 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18646 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18647 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18648 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18649 in zero power.
18650
18651 2016-08-02 Florian Weimer <fweimer@redhat.com>
18652
18653 [BZ #20370]
18654 * malloc/arena.c (get_free_list): Update comment. Assert that
18655 arenas on the free list have no attached threads.
18656 (remove_from_free_list): New function.
18657 (reused_arena): Call it.
18658
18659 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18660
18661 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18662 when it is a NaN.
18663 [_IEEE_FP_INEXACT] Remove.
18664 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18665 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18666 when it is a NaN.
18667 [_IEEE_FP_INEXACT] Remove.
18668 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18669 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18670 when it is a NaN.
18671 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18672 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18673 when its absolute value is greater than 0x1.0p52.
18674 [_IEEE_FP_INEXACT] Remove.
18675 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18676 when its absolute value is greater than 0x1.0p23.
18677 [_IEEE_FP_INEXACT] Remove.
18678
18679 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18680
18681 * version.h (RELEASE): Set to "development"
18682 (VERSION): Set to 2.24.90.
18683 * NEWS: Add 2.25 section.
18684
18685 * version.h (RELEASE): Set to "stable"
18686 (VERSION): Set to 2.24.
18687 * include/features.h (__GLIBC_MINOR__): Set to 24.
18688
18689 * NEWS: Add 2.24 fixed bugs.
18690 * po/libc.pot: Regenerate.
18691
18692 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18693
18694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18695 [$(subdir) = math] (libm-sysdep_routines): Remove.
18696 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18697 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18698 s_truncf-vis3, s_trunc-vis3.
18699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18701 file.
18702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18735 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18736 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18737 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18738 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18739 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18740 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18741 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18742 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18743 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18744 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18745
18746 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18747
18748 [BZ #20384]
18749 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18750 test-double-libmvec-sincos-avx-main.o,
18751 test-double-libmvec-sincos-avx2-main.o,
18752 test-double-libmvec-sincos-main.o,
18753 test-float-libmvec-sincosf-avx-main.o,
18754 test-float-libmvec-sincosf-avx2-main.o and
18755 test-float-libmvec-sincosf-main.o.
18756 test-float-libmvec-sincosf-avx512-main.o.
18757 ($(objpfx)test-double-libmvec-sincos): Also link with
18758 $(objpfx)test-double-libmvec-sincos-main.o.
18759 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18760 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18761 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18762 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18763 ($(objpfx)test-float-libmvec-sincosf): Also link with
18764 $(objpfx)test-float-libmvec-sincosf-main.o.
18765 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18766 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18767 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18768 test-double-libmvec-sincos-avx512-main.o and
18769 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18770 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18771 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18772 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18773 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18774 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18775 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18776 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18777 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18778 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18779 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18780 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18781 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18782 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18783 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18784 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18785 -DREQUIRE_AVX2.
18786 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18787 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18788 -DREQUIRE_AVX512F.
18789 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18790 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18791 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18792 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18793 file.
18794 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18795 Likewise.
18796 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18797 Likewise.
18798 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18799 Likewise.
18800 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18801 Likewise.
18802 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18803 Likewise.
18804 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18805 Likewise.
18806 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18807 Likewise.
18808
18809 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18810
18811 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18812
18813 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18814
18815 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18816 and typo in a comment about AT_HWCAP entry.
18817
18818 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18819
18820 * sysdeps/aarch64/libm-test-ulps: Updated.
18821
18822 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18823
18824 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18825 of r13 as it is not restored in mvcle case.
18826
18827 2016-07-19 Mike Frysinger <vapier@gentoo.org>
18828
18829 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18830 Rename "ret" to "__ret".
18831 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18832 inline_syscall5, inline_syscall6): Likewise.
18833
18834 2016-07-19 Will Newton <will.newton@gmail.com>
18835
18836 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18837 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18838 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18839 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18840 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18841
18842 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
18843
18844 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18845 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18846 -mfpmath=387 with $(rtld-CFLAGS).
18847 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18848 $(rtld-CFLAGS).
18849
18850 2016-07-18 Ross Burton <ross.burton@intel.com>
18851 Khem Raj <raj.khem@gmail.com>
18852
18853 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18854 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18855 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18856 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18857 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18858 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18859 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18860 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18861 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18862 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18863 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18864 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18865 R_METAG_TLS_DTPOFF): New.
18866
18867 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
18868 Matt Clay <mclay@lycos.com>
18869
18870 [BZ #20357]
18871 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18872 to call __mpsin/__mpcos and to negate values.
18873 * math/auto-libm-test-in: Add test.
18874 * math/auto-libm-test-out: Regenerate.
18875
18876 2016-07-18 Zack Weinberg <zackw@panix.com>
18877
18878 * grp/Makefile: Don't install the internal header grp-merge.h.
18879
18880 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18881
18882 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18883
18884 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18885
18886 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18887
18888 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18889
18890 [BZ #15368]
18891 * sysdeps/unix/sysv/linux/nptl-signals.h
18892 (__nptl_clear_internal_signals): New function.
18893 (__libc_signal_block_all): Likewise.
18894 (__libc_signal_block_app): Likewise.
18895 (__libc_signal_restore_set): Likewise.
18896 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18897 implementation.
18898 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18899 the cached pid/tid value in pthread structure.
18900
18901 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
18902
18903 [BZ #20347]
18904 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18905
18906 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 [BZ #20348]
18909 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18910 preadv64, pwrite64 and pwritev64.
18911
18912 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18913
18914 [BZ #20350]
18915 * posix/tst-preadwrite.c: Renamed to ...
18916 * posix/tst-preadwrite-common.c: This.
18917 (PREAD): Removed.
18918 (PWRITE): Likewise.
18919 (STRINGIFY): Likewise.
18920 (STRINGIFY2): Likewise.
18921 (do_prepare): Make it static and remove function arguments.
18922 (do_test): Likewise.
18923 (PREPARE): Updated.
18924 (TEST_FUNCTION): New.
18925 (name): Make it static.
18926 (fd): Likewise.
18927 (do_prepare): Use create_temp_file.
18928 (do_test): Renamed to ...
18929 (do_test_with_offset): This. Make it static and accept offset.
18930 Properly check return value of PWRITE and PREAD. Return bytes
18931 read. Don't close fd nor unlink name.
18932 * posix/tst-preadwrite.c: Rewrite.
18933 * posix/tst-preadwrite64.c: Likewise.
18934
18935 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18936
18937 [BZ #20309]
18938 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18939 -mtls-dialect=gnu2 works.
18940 * configure: Regenerated.
18941 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18942 (tests): Add tst-gnu2-tls1.
18943 (modules-names): Add tst-gnu2-tls1mod.
18944 ($(objpfx)tst-gnu2-tls1): New.
18945 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18946 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18947 * elf/tst-gnu2-tls1.c: New file.
18948 * elf/tst-gnu2-tls1mod.c: Likewise.
18949 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18950 bytes for push in the PLT entry to align the stack.
18951
18952 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
18953
18954 [BZ #20349]
18955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18956
18957 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
18958
18959 [BZ #18707]
18960 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18961 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18962
18963 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18964
18965 * sysdeps/unix/sysv/linux/sysdep.h
18966 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18967 guards.
18968 * misc/tst-preadvwritev-common.c: New file.
18969 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18970 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18971 a check for files larger than 2GB.
18972
18973 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18974 (__ASSUME_OFF_DIFF_OFF64): Remove define.
18975 * sysdeps/unix/sysv/linux/pread.c
18976 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18977 __OFF_T_MATCHES_OFF64_T.
18978 * sysdeps/unix/sysv/linux/pread64.c
18979 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18980 * sysdeps/unix/sysv/linux/preadv.c
18981 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18982 * sysdeps/unix/sysv/linux/preadv64.c
18983 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18984 * sysdeps/unix/sysv/linux/pwrite.c
18985 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18986 * sysdeps/unix/sysv/linux/pwrite64.c
18987 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18988 * sysdeps/unix/sysv/linux/pwritev.c
18989 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18990 * sysdeps/unix/sysv/linux/pwritev64.c
18991 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18992
18993 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
18994
18995 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18996 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18997
18998 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18999
19000 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19001
19002 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19003
19004 [BZ #20240]
19005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19006 (CFLAGS-s_modf-ppc32.c): New variable.
19007 (CFLAGS-s_modff-ppc32.c): Likewise.
19008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19009 (CFLAGS-s_modf-ppc64.c): Likewise.
19010 (CFLAGS-s_modff-ppc64.c): Likewise.
19011
19012 2016-07-07 Andreas Schwab <schwab@suse.de>
19013
19014 [BZ #20263]
19015 * nptl/tst-robust10.c: New test.
19016 * nptl/Makefile (tests): Add tst-robust10.
19017
19018 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
19019
19020 [BZ #20263]
19021 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19022
19023 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19024
19025 * sysdeps/s390/linkmap.h (struct link_map_machine):
19026 Remove member gotplt and add member jmprel.
19027 * sysdeps/s390/s390-32/dl-machine.h
19028 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19029 instead of gotplt with &got[3].
19030 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19031 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19032
19033 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
19034
19035 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19036
19037 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19038
19039 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19040 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19041 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19042 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19043 * libio/vtables.c (_IO_vtable_check)
19044 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19045 * libio/libioP.h (IO_set_accept_foreign_vtables)
19046 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19047
19048 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19049
19050 [BZ #20314]
19051 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19052 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19053 $(common-objpfx)cmath.
19054 ($(common-objpfx)cstdlib): New target.
19055 ($(common-objpfx)cmath): Likewise.
19056
19057 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19058
19059 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19060
19061 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19062
19063 [BZ #20327]
19064 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19065 are not part of the string.
19066
19067 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19068
19069 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19070 * nptl/tst-cancel4-common.h (fifoname): New variable.
19071 (fifofd): Likewise.
19072 (cl_fifo): New function.
19073 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19074 SIGINT.
19075 (tf_open): Add early cancel test.
19076
19077 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19078
19079 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19080
19081 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19082
19083 * sysdeps/generic/ldsodefs.h
19084 (dl_symbol_visibility_binds_local_p): New inline function.
19085 * elf/dl-addr.c (determine_info): Treat hidden and internal
19086 symbols as local.
19087 * elf/dl-lookup.c (do_lookup_x): Likewise.
19088 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19089
19090 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19091
19092 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19093 invalid exception for a sNaN input.
19094 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19095 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19096 (__nearbyint_vis3): Likewise
19097 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19098 (__nearbyintf_vis3): Likewise
19099 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19100 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19101 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19102 Likewise.
19103 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19104 Likewise.
19105
19106 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19107
19108 [BZ #20139]
19109 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19110 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19111 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19112 2.24 or above.
19113 (HAVE_AVX512_ASM_SUPPORT): Removed.
19114 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19115 * sysdeps/x86_64/configure: Regenerated.
19116 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19117 check unconditional.
19118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19119 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19120 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19121 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19122 Likewise.
19123 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19124 Likewise.
19125 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19126 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19127 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19128 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19129 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19130 Likewise.
19131 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19132 Likewise.
19133 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19134 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19135 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19136 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19137 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19138 Likewise.
19139 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19140 Likewise.
19141 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19142 Likewise.
19143 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19144 Likewise.
19145 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19146 Likewise.
19147 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19148 Likewise.
19149 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19150 Likewise.
19151 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19152 Likewise.
19153 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19154 Likewise.
19155 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19156 Likewise.
19157 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19158 Likewise.
19159
19160 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19161
19162 [BZ #20024]
19163 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19165 of this implementation of vector function.
19166 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19167 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19168 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19169 Likewise.
19170 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19171 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19172 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19173 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19174 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19175 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19176 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19177 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19178 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19179 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19180 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19181 for testing vector sincos with fixed ABI.
19182 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19183 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19184 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19185 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19186 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19187 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19188 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19189 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19190 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19191 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19192 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19193 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19194 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19195 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19196 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19197 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19198
19199 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19200
19201 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19202
19203 2016-06-30 Anton Blanchard <anton@samba.org>
19204
19205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19206 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19207 s_sinf-ppc64.
19208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19211 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19212
19213 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19214
19215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19217 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19218 e_expf-ppc64.
19219 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19220 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19221 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19222 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19223
19224 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19225
19226 [BZ #20277]
19227 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19228 when SHARED is defined.
19229
19230 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19231
19232 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19233 (index_arch_Prefer_ERMS): Likewise.
19234 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19235 __memcpy_erms for Prefer_ERMS.
19236 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19237 (__memmove_erms): Enabled for libc.a.
19238 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19239 __memmove_erms or Prefer_ERMS.
19240 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19241 __mempcpy_erms for Prefer_ERMS.
19242 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19243 __memset_erms for Prefer_ERMS.
19244
19245 2016-06-30 Andreas Schwab <schwab@suse.de>
19246
19247 [BZ #20262]
19248 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19249 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19250 of memory.
19251
19252 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19253
19254 [BZ #18645]
19255 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19256 (test-extras): Add tst-cleanupx4aux.
19257 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19258 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19259 tst-cleanupx4aux.o.
19260 * nptl/tst-cleanupx4aux.c: New file.
19261
19262 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19263
19264 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19265
19266 2016-06-29 Andreas Schwab <schwab@suse.de>
19267
19268 [BZ #20260]
19269 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19270 address before the beginning of the string as an integer to avoid
19271 array-bounds warning.
19272
19273 2016-06-28 Richard Henderson <rth@redhat.com>
19274
19275 * elf/elf.h (EM_BPF): New.
19276 (EM_NUM): Update.
19277 (R_BPF_NONE, R_BPF_MAP_FD): New.
19278
19279 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19280 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19281 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19282 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19283 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19284 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19285 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19286 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19287 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19288 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19289 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19290 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19291 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19292 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19293 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19294 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19295 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19296 (EM_NUM): Update.
19297
19298 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19299
19300 [BZ #18960]
19301 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19302 Set _nl_current_LC_CATEGORY_used to two instead of one.
19303
19304 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19305
19306 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19307 (do_test): ... this.
19308 (TEST_FUNCTION): New macro.
19309 Include test-skeleton.c.
19310 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19311 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19312
19313 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19314
19315 [BZ #15479]
19316 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19317 floating-point environment rather than just control word.
19318 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19319 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19320 floating-point environment, with "invalid" exceptions merged in,
19321 rather than just control word.
19322 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19323 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19324 "inexact" exceptions.
19325
19326 [BZ #15479]
19327 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19328 floating-point environment rather than just control word.
19329 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19330 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19331 floating-point environment, with "invalid" exceptions merged in,
19332 rather than just control word.
19333 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19334 * math/libm-test.inc (floor_test_data): Do not allow spurious
19335 "inexact" exceptions.
19336
19337 [BZ #15479]
19338 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19339 floating-point environment rather than just control word.
19340 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19341 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19342 floating-point environment, with "invalid" exceptions merged in,
19343 rather than just control word.
19344 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19345 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19346 "inexact" exceptions.
19347
19348 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19349
19350 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19351 __libc_vfork.
19352 (__vfork) [IS_IN (libc)]: Remove alias.
19353 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19354 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19355 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19356
19357 2016-06-24 Torvald Riegel <triegel@redhat.com>
19358
19359 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19360 of atomic_compare_and_exchange_bool_rel.
19361 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19362 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19363 catomic_compare_and_exchange_bool_rel): Remove.
19364 * sysdeps/aarch64/atomic-machine.h
19365 (atomic_compare_and_exchange_bool_rel): Likewise.
19366 * sysdeps/alpha/atomic-machine.h
19367 (atomic_compare_and_exchange_bool_rel): Likewise.
19368 * sysdeps/arm/atomic-machine.h
19369 (atomic_compare_and_exchange_bool_rel): Likewise.
19370 * sysdeps/mips/atomic-machine.h
19371 (atomic_compare_and_exchange_bool_rel): Likewise.
19372 * sysdeps/microblaze/atomic-machine.h
19373 ( __arch_compare_and_exchange_bool_8_rel,
19374 __arch_compare_and_exchange_bool_16_rel): Likewise.
19375 * sysdeps/powerpc/atomic-machine.h
19376 ( __arch_compare_and_exchange_bool_8_rel,
19377 __arch_compare_and_exchange_bool_16_rel): Likewise.
19378 * sysdeps/powerpc/powerpc32/atomic-machine.h
19379 ( __arch_compare_and_exchange_bool_32_rel,
19380 __arch_compare_and_exchange_bool_64_rel): Likewise.
19381 * sysdeps/powerpc/powerpc64/atomic-machine.h
19382 ( __arch_compare_and_exchange_bool_32_rel,
19383 __arch_compare_and_exchange_bool_64_rel): Likewise.
19384 * sysdeps/tile/atomic-machine.h
19385 (atomic_compare_and_exchange_bool_rel): Likewise.
19386
19387 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19388
19389 [BZ #20296]
19390 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19391 when either argument is a NaN.
19392 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19393 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19394
19395 * math/libm-test.inc (snan_value_ld): New macro.
19396 (isgreater_test_data): Add sNaN tests.
19397 (isgreaterequal_test_data): Likewise.
19398 (isless_test_data): Likewise.
19399 (islessequal_test_data): Likewise.
19400 (islessgreater_test_data): Likewise.
19401 (isunordered_test_data): Likewise.
19402 (nextafter_test_data): Likewise.
19403 (nexttoward_test_data): Likewise.
19404 (remainder_test_data): Likewise.
19405 (remquo_test_data): Likewise.
19406 (significand_test_data): Likewise.
19407 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19408
19409 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19410
19411 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19412 environment macros are defined.
19413 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19414
19415 2016-06-23 Florian Weimer <fweimer@redhat.com>
19416
19417 [BZ #20191]
19418 Implement vtable verification in libio.
19419 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19420 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19421 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19422 _IO_new_file_init_internal instead of _IO_file_init.
19423 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19424 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19425 * libio/Makefile (routines): Add vtables.
19426 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19427 (_IO_init): Remove, not for internal use.
19428 (_IO_init_internal): Declare, internal replacement for _IO_init.
19429 (_IO_file_init): Remove, not for internal use.
19430 (_IO_new_file_init): Remove, not for internal use.
19431 (_IO_new_file_init_internal): Declare, internal replacement for
19432 _IO_new_file_init.
19433 (_IO_old_file_init): Remove, not for internal use.
19434 (_IO_old_file_init_internal): Declare, internal replacement for
19435 _IO_old_file_init.
19436 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19437 internal use.
19438 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19439 Declare.
19440 (libio_vtable): New macro.
19441 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19442 functions.
19443 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19444 _IO_new_file_init.
19445 (_IO_new_file_init): New externally visible wrapper which disables
19446 vtable verification.
19447 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19448 Define as vtables.
19449 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19450 (_IO_init): New externally visible wrapper which disables
19451 vtable verification.
19452 * libio/iofdopen.c (_IO_new_fdopen): Call
19453 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19454 comment.
19455 * libio/iofopen.c (__fopen_internal): Call
19456 _IO_new_file_init_internal instead of _IO_file_init.
19457 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19458 Define as vtables.
19459 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19460 _IO_new_file_init_internal instead of _IO_file_init.
19461 * libio/iopopen.c (_IO_new_popen): Likewise.
19462 (_IO_proc_jumps): Define as vtable.
19463 * libio/iovdprintf.c (_IO_vdprintf): Call
19464 _IO_new_file_init_internal instead of _IO_file_init.
19465 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19466 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19467 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19468 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19469 _IO_old_file_init.
19470 (_IO_old_file_init): New externally visible wrapper which disables
19471 vtable verification.
19472 (_IO_old_file_jumps): Define as vtable.
19473 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19474 _IO_old_file_init_internal instead of _IO_old_file_init.
19475 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19476 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19477 (_IO_old_proc_jumps): Define as vtable.
19478 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19479 Define as vtables.
19480 * libio/vtables.c: New file.
19481 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19482 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19483 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19484 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19485 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19486 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19487 instead of _IO_init.
19488
19489 2016-06-23 Florian Weimer <fweimer@redhat.com>
19490
19491 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19492
19493 2016-06-23 Florian Weimer <fweimer@redhat.com>
19494
19495 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19496 potentially unused.
19497
19498 2016-06-22 Florian Weimer <fweimer@redhat.com>
19499
19500 * test-skeleton.c (write_message): New function.
19501 * malloc/tst-mallocfork2.c (write_message): Remove.
19502 * debug/tst-longjmp_chk2.c (write_indented): New function.
19503 (write_message): Remove.
19504 (stackoverflow_handler): Call write_indented.
19505
19506 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19507
19508 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19509 "inexact" exceptions after fnstenv.
19510 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19511 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19512 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19513
19514 2015-06-22 Zack Weinberg <zackw@panix.com>
19515
19516 * sysdeps/generic/bits/hwcap.h: Moved to ...
19517 * bits/hwcap.h: Here.
19518
19519 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19520
19521 * sysdeps/aarch64/memcpy.S (memcpy):
19522 Further tuning for performance.
19523
19524 2016-06-21 Florian Weimer <fweimer@redhat.com>
19525
19526 [BZ #20284]
19527 * malloc/arena.c (reused_arena): Do not return NULL if we start
19528 out with a non-corrupted arena.
19529
19530 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19531
19532 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19533 * misc/tst-preadvwritev.c: New file.
19534 * misc/tst-preadvwritev64.c: Likewise.
19535 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19536 usage.
19537 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19538 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19539 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19540 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19541
19542 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19543
19544 [BZ #19654]
19545 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19546 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19547 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19548 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19549 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19550 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19551 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19552 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19553 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19554 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19555 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19556 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19557 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19558 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19559 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19560 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19561 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19562 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19563 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19564 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19565 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19566 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19567 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19568 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19569 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19570 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19571
19572 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19573
19574 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19575 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19576
19577 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19578
19579 * sysdeps/aarch64/memcpy.S (memcpy):
19580 Rewrite of optimized memcpy and memmove.
19581 * sysdeps/aarch64/memmove.S (memmove): Remove
19582 memmove code (merged into memcpy.S).
19583
19584 2016-06-20 Florian Weimer <fweimer@redhat.com>
19585
19586 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19587 * sysdeps/generic/dl-dtv.h: New file.
19588 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19589 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19590 (dtv_t): Remove.
19591 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19592 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19593 (dtv_t): Remove.
19594 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19595 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19596 (dtv_t): Remove.
19597 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19598 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19599 (dtv_t): Remove.
19600 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19601 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19602 (dtv_t): Remove.
19603 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19604 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19605 (dtv_t): Remove.
19606 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19607 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19608 (dtv_t): Remove.
19609 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19610 (dtv_t): Remove.
19611 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19612 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19613 (dtv_t): Remove.
19614 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19615 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19616 (dtv_t): Remove.
19617 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19618 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19619 (dtv_t): Remove.
19620 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19621 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19622 (dtv_t): Remove.
19623 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19624 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19625 (dtv_t): Remove.
19626 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19627 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19628 (dtv_t): Remove.
19629 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19630 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19631 (dtv_t): Remove.
19632 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19633 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19634 (dtv_t): Remove.
19635
19636 2016-06-20 Florian Weimer <fweimer@redhat.com>
19637
19638 Revert symbol poisoning of __malloc_initialize_hook.
19639 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19640 poisoning.
19641 * malloc/Makefile: Remove un-poisoning.
19642 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19643 instead of old__malloc_initialize_hook.
19644 * malloc/malloc-hooks.h: Likewise.
19645 * malloc/malloc.c: Likewise.
19646 * malloc/mcheck-init.c: Likewise.
19647
19648 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19649
19650 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19651
19652 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19653
19654 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19655 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19656 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19657 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19658
19659 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19660
19661 * NEWS: Mention addition of nextup and nextdown.
19662 * manual/arith.texi: Document nextup and nextdown.
19663 * manual/libm-err-tab.pl: Add nextup and nextdown.
19664 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19665 * math/Versions (libm): Add GLIBC_2.24.
19666 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19667 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19668 Add new test.
19669 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19670 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19671 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19672 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19673 (nextup_test_data): Likewise.
19674 (nextdown_test_data): Likewise.
19675 * math/s_nextdown.c: New file.
19676 * math/s_nextdownf.c: Likewise.
19677 * math/s_nextdownl.c: Likewise.
19678 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19679 F(nextup): New function.
19680 F(nextdown): Likewise.
19681 * math/tgmath.h: Add nextup and nextdown.
19682 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19683 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19684 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19685 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19686 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19687 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19688 Add nextup and nextdown.
19689 (CFLAGS-nldbl-nextup.c): New variable.
19690 (CFLAGS-nldbl-nextdown.c): Likewise.
19691 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19692 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19693 * sysdeps/nacl/libm.abilist: Update.
19694 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19696 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19697 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19698 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19699 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19700 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19701 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19702 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19703 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19704 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19705 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19708 Likewise.
19709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19711 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19712 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19713 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19714 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19715 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19718 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19719 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19720 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19721 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19722
19723 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19724
19725 * manual/pattern.texi: Fix typos & grammar errors.
19726
19727 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19728
19729 * manual/search.texi: Fix typos & grammar errors.
19730
19731 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19732
19733 * manual/message.texi: Fix typos & grammar errors.
19734
19735 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19736
19737 * manual/contrib.texi: Fix spelling typos.
19738 * manual/crypt.texi: Likewise.
19739 * manual/filesys.texi: Likewise.
19740 * manual/locale.texi: Likewise.
19741 * manual/message.texi: Likewise.
19742 * manual/nss.texi: Likewise.
19743 * manual/string.texi: Likewise.
19744
19745 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19746
19747 * manual/locale.texi: Fix typos & grammar errors.
19748
19749 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19750
19751 * manual/charset.texi: Fix typos & grammar errors.
19752
19753 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19754
19755 * manual/string.texi: Fix typos.
19756
19757 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19758
19759 * manual/ctype.texi: Fix typos.
19760
19761 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19762
19763 * manual/memory.texi: Fix various typos & grammar errors.
19764
19765 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19766
19767 [BZ #20255]
19768 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19769 * math/libm-test.inc (fdim_test_data): Add another test.
19770
19771 [BZ #6796]
19772 [BZ #20255]
19773 [BZ #20256]
19774 * math/s_fdim.c: Include <math_private.h>.
19775 (__fdim): Use math_narrow_eval on result.
19776 * math/s_fdimf.c: Include <math_private.h>.
19777 (__fdimf): Use math_narrow_eval on result.
19778 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19779 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19780 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19781 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19782 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19783 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19784 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19785 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19786 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19787 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19788 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19789 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19790 overflow. Add sNaN tests.
19791
19792 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19793 fpclassify.
19794 * math/s_fdimf.c (__fdimf): Likewise.
19795 * math/s_fdiml.c (__fdiml): Likewise.
19796
19797 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19798
19799 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19800 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19802 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19803 ifunc'ed strcasecmp/strncasecmp.
19804 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19805 [EALIGN]: Removed.
19806 [END]: Likewise.
19807 [__strcasecmp]: Define instead of the above to control symbol name.
19808 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19809 for __strcasecmp_power8.
19810 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19811 for __strncasecmp_power8.
19812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19814 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19815 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19816 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19817 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19818
19819 2016-06-13 Joseph Myers <joseph@codesourcery.com>
19820
19821 [BZ #20252]
19822 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19823 arguments when second argument is a NaN.
19824 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19825 qNaN tests.
19826
19827 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19828 (conj_test_data): Likewise.
19829 (copysign_test_data): Likewise.
19830 (creal_test_data): Likewise.
19831 (fma_test_data): Likewise.
19832 (fmod_test_data): Likewise.
19833
19834 [BZ #20250]
19835 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19836 itself.
19837 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19838 zero input to itself.
19839 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19840 Likewise.
19841 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19842 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19844 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19845 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19846
19847 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19848
19849 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19850 * nptl/tst-cancel4-common.c: New file.
19851 * nptl/tst-cancel4-common.h: Likewise.
19852 * nptl/tst-cancel4.c: Move common definitions to
19853 tst-cancel4-common.{c,h} file.
19854 * nptl/tst-cancel4_1.c: New test.
19855 * nptl/tst-cancel4_2.c: New test.
19856
19857 2016-06-13 Florian Weimer <fweimer@redhat.com>
19858
19859 [BZ #20248]
19860 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19861 (write_message): New function.
19862 (stackoverflow_handler): Call it instead of printf, to avoid
19863 excessive stack usage by printf.
19864 (do_test): Restore SIGSEGV, SIGBUS default handlers.
19865
19866 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19867
19868 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19869 (prio_inherit_missing): Remove define.
19870 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19871 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19872 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19873 Likewise.
19874 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19875 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19876 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19877 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19878 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19879 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19880
19881 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19882
19883 [BZ #19670]
19884 [BZ #19672]
19885
19886 * io/test-lfs.c (do_prepare): Use xmalloc.
19887 * io/tst-fcntl.c (do_prepare): Likewise.
19888 * libio/tst-fopenloc.c (do_bz17916): Likewise.
19889 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19890 * login/tst-utmp.c (do_prepare): Likewise.
19891 * posix/tst-exec.c (do_prepare): Likewise.
19892 * posix/tst-pathconf.c (prepare): Likewise.
19893 * posix/tst-spawn.c (do_prepare): Likewise.
19894 * posix/tst-truncate.c (do_prepare): Likewise.
19895 * rt/tst-aio.c (do_prepare): Likewise.
19896 * rt/tst-aio64.c (do_prepare): Likewise.
19897
19898 2016-06-11 Florian Weimer <fweimer@redhat.com>
19899
19900 [BZ #20237]
19901 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19902 (get*ent): Set entidx to NULL during initialization. If entidx is
19903 NULL, start iteration from the beginning.
19904
19905 2016-06-11 Florian Weimer <fweimer@redhat.com>
19906
19907 * malloc/malloc.c (musable): Return correct size for dumped fake
19908 mmapped chunk.
19909
19910 2016-06-11 Florian Weimer <fweimer@redhat.com>
19911
19912 [BZ #20222]
19913 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19914 (_IO_cookie_write): Likewise.
19915 (_IO_cookie_seek): Likewise.
19916 (_IO_cookie_close): Likewise.
19917 (_IO_old_cookie_seek): Likewise.
19918 (set_callbacks): New function.
19919 (_IO_cookie_init): Call set_callbacks to copy callbacks.
19920
19921 2016-06-11 Marko Myllynen <myllynen@redhat.com>
19922
19923 * locale/programs/localedef.c (oldstyle_tables): Remove.
19924 * locale/programs/localedef.h (oldstyle_tables): Likewise.
19925
19926 2016-06-10 Joseph Myers <joseph@codesourcery.com>
19927
19928 [BZ #20240]
19929 * math/Makefile (CFLAGS-s_modf.c): New variable.
19930 (CFLAGS-s_modff.c): Likewise.
19931 (CFLAGS-s_modfl.c): Likewise.
19932 * math/libm-test.inc (modf_test_data): Add sNaN tests.
19933
19934 2016-06-09 Carlos O'Donell <carlos@redhat.com>
19935
19936 [BZ #20215]
19937 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19938 [!__GNUC_PREREQ (3,2)]: Likewise.
19939
19940 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
19941
19942 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19943 (msghdr.msg_controllen): Likewise.
19944 (cmsghdr.cmsg_len): Likewise.
19945 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19946 ptw-oldsendmsg.
19947 (CFLAGS-oldrecvmsg.c): Remove rule.
19948 (CFLAGS-oldsendmsg.c): Likewise.
19949 (CFLAGS-recvmsg.c): Add rule.
19950 (CFLAGS-sendmsg.c): Likewise.
19951 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19952 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19953 (CFLAGS-recvmsg.c): Remove rule.
19954 (CFLAGS-sendmsg.c): Likewise.
19955 (CFLAGS-oldrecvmsg.c): Likewise.
19956 (CFLAGS-oldsendmsg.c): Likewise.
19957 (CFLAGS-recvmmsg.c): Likewise.
19958 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19959 to kernel defined interfaces.
19960 (msghdr.msg_controllen): Likewise.
19961 (cmsghdr.cmsg_len): Likewise.
19962 (msghdr.__glibc_reserved1): Remove member.
19963 (msghdr.__glibc_reserved2): Likewise.
19964 (cmsghdr.__glibc_reserved1): Likewise.
19965 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19966 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19967 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19968 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19969 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19970 version.
19971 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19972 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19973 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19974 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19975 Remove recvmsg and sendmsg.
19976 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19977 Likewise.
19978 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19979 Likewise.
19980 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19981 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19982 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19983 Likewise.
19984 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19985 Likewise.
19986 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19987 [libc] (GLIBC_2.24): Likewise.
19988 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19989 Likewise.
19990 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19991 Likewise.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19993 [libc] (GLIBC_2.24): Likewise.
19994 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19995 Likewise.
19996 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19997 Likewise.
19998 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19999 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20000 Likewise.
20001 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20002 Likewise.
20003 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20004 Likewise.
20005 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20006 Likewise.
20007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20008 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20009 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20010 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20011 version for {recv,send,recm,sendm}msg.
20012 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20013 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20014 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20015 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20016 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20017 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20018 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20019 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20020 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20021 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20022 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20023 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20025 Likewise.
20026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20027 Likewise.
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20030 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20031 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20032 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20033 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20034 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20035 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20038 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20039 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20040 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20041
20042 2016-06-10 Florian Weimer <fweimer@redhat.com>
20043
20044 [BZ #19564]
20045 Remove __malloc_initialize_hook from the API.
20046 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20047 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20048 #pragma GCC poison.
20049 * malloc/malloc-hooks.h: New file.
20050 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20051 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20052 (old__malloc_initialize_hook): Rename from
20053 __malloc_initialize_hook to evade poisoning. Turn into compat
20054 symbol.
20055 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20056 __malloc_initialize_hook.
20057 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20058 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20059 * manual/memory.texi (Hooks for Malloc): Remove
20060 __malloc_initialize_hook. Adjust hook example.
20061
20062 2016-06-09 Joseph Myers <joseph@codesourcery.com>
20063
20064 [BZ #20235]
20065 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20066 itself.
20067 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20068 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20069
20070 [BZ #20234]
20071 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20072 infinity or NaN input to itself.
20073
20074 [BZ #20233]
20075 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20076 to itself.
20077
20078 [BZ #20232]
20079 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20080 itself.
20081
20082 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20083
20084 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20085 __libc_start_main via GOT.
20086
20087 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20088
20089 * sysdeps/x86_64/memcopy.h: New file.
20090 * sysdeps/x86_64/wordcopy.c: Likewise.
20091
20092 2016-06-09 Florian Weimer <fweimer@redhat.com>
20093
20094 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20095 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20096 <cstdlib>.
20097 (optimization_barrier): New.
20098 (do_test): Use it. Call quick_exit in the global namespace.
20099 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20100 instead of <cstdlib>, <thread>.
20101 (optimization_barrier): New.
20102 (non_main_thread): Adjust declaration. Call optimization_barrier.
20103 Call quick_exit in the global namespace.
20104 (do_test): Call optimization_barrier. Use pthread_create,
20105 pthread_join instead of std::thread.
20106
20107 2016-06-09 Andreas Schwab <schwab@suse.de>
20108
20109 [BZ #19755]
20110 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20111 new entries in auto-propagate mode.
20112 * nscd/grpcache.c (cache_addgr): Likewise.
20113
20114 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20115
20116 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20117 New functions.
20118 (add_temp_file): Use them.
20119
20120 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20121
20122 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20123
20124 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20125
20126 [BZ #20229]
20127 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20128 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20129 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20130
20131 [BZ #20228]
20132 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20133 itself.
20134 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20135 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20136
20137 [BZ #20227]
20138 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20139 itself.
20140 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20141 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20142 * math/libm-test.inc (log_test_data): Add sNaN tests.
20143
20144 [BZ #20226]
20145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20146 itself.
20147 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20148 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20149 (exp10_test_data): Likewise.
20150 (expm1_test_data): Likewise.
20151
20152 [BZ #20225]
20153 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20154 itself.
20155 * math/s_ldexpf.c (__ldexpf): Likewise.
20156 * math/s_ldexpl.c (__ldexpl): Likewise.
20157 * math/w_scalbln.c (__w_scalbln): Likewise.
20158 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20159 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20160 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20161 (scalbln_test_data): Likewise.
20162
20163 [BZ #20224]
20164 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20165 argument to itself.
20166 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20167
20168 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20169
20170 [BZ #19776]
20171 * sysdeps/x86_64/memcpy.S: Make it dummy.
20172 * sysdeps/x86_64/mempcpy.S: Likewise.
20173 * sysdeps/x86_64/memmove.S: New file.
20174 * sysdeps/x86_64/memmove_chk.S: Likewise.
20175 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20176 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20177 * sysdeps/x86_64/memmove.c: Removed.
20178 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20179 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20180 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20181 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20182 Likewise.
20183 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20184 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20186 memcpy-sse2-unaligned, memmove-avx-unaligned,
20187 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20188 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20189 (__libc_ifunc_impl_list): Replace
20190 __memmove_chk_avx512_unaligned_2 with
20191 __memmove_chk_avx512_unaligned. Remove
20192 __memmove_chk_avx_unaligned_2. Replace
20193 __memmove_chk_sse2_unaligned_2 with
20194 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20195 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20196 with __memmove_avx512_unaligned. Replace
20197 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20198 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20199 with __memcpy_chk_avx512_unaligned. Remove
20200 __memcpy_chk_avx_unaligned_2. Replace
20201 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20202 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20203 Replace __memcpy_avx512_unaligned_2 with
20204 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20205 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20206 with __mempcpy_chk_avx512_unaligned. Remove
20207 __mempcpy_chk_avx_unaligned_2. Replace
20208 __mempcpy_chk_sse2_unaligned_2 with
20209 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20210 Replace __mempcpy_avx512_unaligned_2 with
20211 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20212 Replace __mempcpy_sse2_unaligned_2 with
20213 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20214 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20215 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20216 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20217 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20218 (ENTRY): Removed.
20219 (END): Likewise.
20220 (ENTRY_CHK): Likewise.
20221 (libc_hidden_builtin_def): Likewise.
20222 Don't include ../memcpy.S.
20223 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20224 __memcpy_chk_avx512_unaligned_erms and
20225 __memcpy_chk_avx512_unaligned. Use
20226 __memcpy_chk_avx_unaligned_erms and
20227 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20228 Default to __memcpy_chk_sse2_unaligned.
20229 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20230 Change function suffix from unaligned_2 to unaligned.
20231 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20232 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20233 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20234 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20235 (ENTRY): Removed.
20236 (END): Likewise.
20237 (ENTRY_CHK): Likewise.
20238 (libc_hidden_builtin_def): Likewise.
20239 Don't include ../mempcpy.S.
20240 (mempcpy): New. Add a weak alias.
20241 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20242 __mempcpy_chk_avx512_unaligned_erms and
20243 __mempcpy_chk_avx512_unaligned. Use
20244 __mempcpy_chk_avx_unaligned_erms and
20245 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20246 Default to __mempcpy_chk_sse2_unaligned.
20247
20248 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20249
20250 [BZ #19881]
20251 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20252 into ...
20253 * sysdeps/x86_64/memset.S: This.
20254 (__bzero): Removed.
20255 (__memset_tail): Likewise.
20256 (__memset_chk): Likewise.
20257 (memset): Likewise.
20258 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20259 defined.
20260 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20261 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20262 (__memset_zero_constant_len_parameter): Check SHARED instead of
20263 PIC.
20264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20265 memset-avx2 and memset-sse2-unaligned-erms.
20266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20267 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20268 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20269 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20270 (__bzero): Enabled.
20271 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20272 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20273 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20274 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20275 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20276 (memset): Removed.
20277 (__memset_chk): Likewise.
20278 (MEMSET_SYMBOL): New.
20279 (libc_hidden_builtin_def): Replace __memset_sse2 with
20280 __memset_sse2_unaligned.
20281 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20282 __memset_chk_sse2 and __memset_chk_avx2 with
20283 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20284 Use __memset_chk_sse2_unaligned_erms or
20285 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20286 __memset_chk_avx512_unaligned_erms and
20287 __memset_chk_avx512_unaligned.
20288
20289 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20290
20291 * math/gen-auto-libm-test.c (fp_format_desc): remove
20292 suffix member.
20293 (output_generic_value): Remove usage of suffix member,
20294 and the resulting unuse of the fp_format argument.
20295 (output_for_one_input_case): Remove unused fp_format
20296 parameter.
20297
20298 * math/auto-libm-test-out: Regenerate.
20299
20300 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20301 usage with TEST_COND_ibm128.
20302 (TEST_COND_flt_32): Remove.
20303 (TEST_COND_dbl_64): Remove.
20304 (TEST_COND_ldbl_96_intel): Remove.
20305 (TEST_COND_ldbl_96_m68k): Remove.
20306 (TEST_COND_ldbl_128): Remove.
20307
20308 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20309
20310 * auto-libm-test-in:
20311 Replace flt-32 usage with binary32.
20312 Replace dbl-64 usage with binary64.
20313 Replace ldbl-intel-96 usage with intel96.
20314 Replace ldbl-m68k-96 usage with m68k96.
20315 Replace ldbl-128ibm usage with ibm128.
20316 Replace ldbl-128 usage with binary128.
20317
20318 * auto-libm-test-out: Regenerate.
20319
20320 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20321
20322 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20323 (parse_ulps): Dynamically generate type name matching
20324 string from all_floats.
20325 (get_ulps): Generate the ulps as an array instead.
20326 (output_ulps): Dynamically compose the type based
20327 on the number of supported formats, and print
20328 the indices as type specific helper macros.
20329
20330 * math/libm-test.inc: Remove comment about CHOOSE.
20331 (ulp_data): Generate the type in libm-test-ulps.h.
20332 (ULP_IDX): New macro.
20333 (find_ulps): Update usage of max_ulp.
20334
20335 * math/test-double-vlen2.h (CHOOSE): Remove.
20336 * math/test-double-vlen4.h (CHOOSE): Likewise.
20337 * math/test-double-vlen8.h (CHOOSE): Likewise.
20338 * math/test-float.c (CHOOSE): Likewise.
20339 * math/test-float-finite.c (CHOOSE): Likewise.
20340 * math/test-double.c (CHOOSE): Likewise.
20341 * math/test-double-finite.c (CHOOSE): Likewise.
20342 * math/test-idouble.c (CHOOSE): Likewise.
20343 * math/test-ifloat.c (CHOOSE): Likewise.
20344 * math/test-ildoubl.c (CHOOSE): Likewise.
20345 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20346 * math/test-ldouble.c (CHOOSE): Likewise.
20347
20348 * math/test-float.h (TEST_FLOAT): Remove.
20349 * math/test-double.h (TEST_DOUBLE): Likewise.
20350 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20351
20352 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20353
20354 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20355 (parse_args): Strip C suffix from floating point literals
20356 typed with 'f' and wrap them with LIT().
20357
20358 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20359 (test_ff_f_data_nexttoward): Rename to
20360 (test_fj_f_data): New struct.
20361 (nexttoward_test_data): Relabel tests as
20362 TEST_fj_f instead of TEST_ff_f.
20363
20364 2016-06-08 Florian Weimer <fweimer@redhat.com>
20365
20366 Emacs bug 23726.
20367 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20368 (__libc_realloc): Correct size computation for dumped fake mmapped
20369 chunks.
20370
20371 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20372
20373 [BZ #20219]
20374 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20375 to itself.
20376 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20377
20378 [BZ #20218]
20379 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20380 to itself.
20381 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20382
20383 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20384
20385 [BZ #20195]
20386 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20387 check to ...
20388 (init_cpu_features): Here.
20389
20390 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20391
20392 [BZ #20214]
20393 * sysdeps/unix/sysv/linux/bits/in.h
20394 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20395 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20396 Define to 1.
20397 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20398 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20399 Define to 0.
20400 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20401 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20402
20403 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20404
20405 [BZ #20198]
20406 * stdlib/Makefile (tests): Add tst-quick_exit, and
20407 tst-thread-quick_exit.
20408 [ifeq ($(have-cxx-thread_local),yes)]
20409 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20410 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20411 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20412 (LDLIBS-tst-thread-quick_exit): Likewise.
20413 [ifneq ($(have-cxx-thread_local),yes)]
20414 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20415 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20416 If run_dtors is true call __call_tls_dtors.
20417 (exit): Call __run_exit_handlers with run_dtors set to true.
20418 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20419 definition.
20420 * stdlib/quick_exit.c (quick_exit): Remove function.
20421 (__new_quick_exit): New function.
20422 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20423 function.
20424 * stdlib/tst-quick_exit.cc: New file.
20425 * stdlib/tst-thread-quick_exit.cc: New file.
20426 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20427 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20428 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20429 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20430 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20431 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20432 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20433 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20434 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20435 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20436 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20437 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20438 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20439 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20440 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20441 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20446 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20447 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20448 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20449 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20450 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20453 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20454 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20455 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20456
20457 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20458
20459 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20460 a typo in comments.
20461
20462 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20463
20464 [BZ #20213]
20465 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20466 argument to itself.
20467 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20468
20469 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20470
20471 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20472 required flags.
20473 (CFLAGS-pwritev64.c): Likewise.
20474 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20475 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20476 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20477 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20478 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20479 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20480 syscall from auto-generation.
20481 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20482 [WORDSIZE == 64] (pwritev64): Remove macro.
20483 [!PWRITEV] (PWRITEV): Likewise.
20484 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20485 [!PWRITEV] (PWRITE): Likewise.
20486 [!PWRITEV] (OFF_T): Likewise.
20487 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20488 (LO_HI_LONG): Remove macro.
20489 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20490 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20491 (PWRITEV): Remove macro.
20492 (PWRITEV_REPLACEMENTE): Likewise.
20493 (PWRITE): Likewise.
20494 (OFF_T): Likewise.
20495 (pwritev64): New function.
20496 * nptl/tst-cancel4.c (tf_writev): Add test.
20497
20498 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20499 required flags.
20500 (CFLAGS-preadv64.c): Likewise.
20501 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20502 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20503 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20504 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20505 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20506 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20507 syscall from auto-generation.
20508 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20509 [WORDSIZE == 64] (preadv64): Remove macro.
20510 [!PREADV] (PREADV): Likewise.
20511 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20512 [!PREADV] (PREAD): Likewise.
20513 [!PREADV] (OFF_T): Likewise.
20514 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20515 (LO_HI_LONG): Remove macro.
20516 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20517 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20518 (PREADV): Remove macro.
20519 (PREADV_REPLACEMENTE): Likewise.
20520 (PREAD): Likewise.
20521 (OFF_T): Likewise.
20522 (preadv64): New function.
20523 * nptl/tst-cancel4.c (tf_preadv): Add test.
20524
20525 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20526
20527 [BZ #20212]
20528 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20529 argument to itself.
20530 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20531
20532 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20533
20534 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20535 New symbol defined as libc_hidden_def.
20536 (strcasestr): Became a weak alias to __strcasestr.
20537 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20538 according to multi-arch support. Move __stpncpy hidden
20539 definition from here to...
20540 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20541 symbol stpncpy.
20542 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20543 libc_hidden_builtin_def.
20544 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20545 memset symbol to use when multi-arch support is available.
20546
20547 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20548
20549 * dlfcn/tst-rec-dlopen.c: Include string.h.
20550
20551 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20552
20553 * manual/install.texi: Remove mention of --without-tls
20554 * INSTALL: Regenerate.
20555
20556 2016-06-05 Florian Weimer <fweimer@redhat.com>
20557
20558 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20559 Remove.
20560 (call_function, interposed_malloc_called): New variables.
20561 (malloc): New function.
20562 (do_test): Do not change malloc hooks. Initialize malloc. Set
20563 and clear call_function as needed.
20564
20565 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20566
20567 * include/wchar.h (__wmemset): Use __typeof.
20568
20569 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20570
20571 * include/wchar.h (__wmemset): Declare function without typeof.
20572
20573 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20574
20575 [BZ #20205]
20576 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20577 exponent when incrementing negative subnormal with low mantissa
20578 word zero.
20579 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20580 Add another test.
20581
20582 2016-06-03 Florian Weimer <fweimer@redhat.com>
20583
20584 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20585 __wmemset instead of wmemset.
20586
20587 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20588
20589 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20590 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20591 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20592 __USE_KERNEL_IPV6_DEFS to 0.
20593 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20594 Update comment.
20595
20596 2016-06-01 Florian Weimer <fweimer@redhat.com>
20597
20598 [BZ #19861]
20599 Do not use IFUNC resolver with potentially unrelocated symbol.
20600 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20601 (DEFINE_FORK): Remove macro and inline definition.
20602 (fork_alias): Renamed from fork_ifunc.
20603 (__fork_alias): Renamed from __fork_ifunc.
20604
20605 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20606
20607 [BZ 19653]
20608 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20609 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20610
20611 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20612
20613 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20614 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20615 i386-linux-gnu).
20616 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20617 Set to no.
20618 * sysdeps/mach/hurd/configure: Refresh.
20619
20620 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20621
20622 [BZ #20178]
20623 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20624 on failure instead of exit.
20625
20626 2016-05-30 Roland McGrath <roland@hack.frob.com>
20627
20628 [BZ #3629]
20629 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20630 of POSIX.1-2008.
20631
20632 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20633
20634 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20635 Use PLT entry for calling _hurd_self_sigstate.
20636
20637 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20638
20639 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20640 available logical processors with SMT level type sharing L2
20641 cache for Intel processors.
20642
20643 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20644
20645 [BZ #20160]
20646 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20647 argument to itself before returning the result.
20648 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20649 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20650 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20652 Likewise.
20653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20654 Likewise.
20655 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20656 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20657 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20658 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20659 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20660 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20661
20662 [BZ #20160]
20663 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20664 argument to itself before returning the result.
20665 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20666 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20667 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20669 Likewise.
20670 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20671 Likewise.
20672 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20673 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20674 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20675 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20676 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20677 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20678
20679 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20680
20681 * libm-test.inc: Replace usage of M_El with
20682 (lit_e): New macro.
20683
20684 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20685
20686 * libm-test.inc: Replace usage of M_PI_4l with
20687 (lit_pi_4_d): New macro.
20688
20689 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20690
20691 * libm-test.inc: Replace usage of M_PIl with
20692 (lit_pi): New macro.
20693
20694 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20695
20696 * libm-test.inc: Replace usage of M_PI2l with
20697 (lit_pi_2_d): New macro.
20698
20699 * math/test-double.h (LITM): New macro.
20700 * math/test-float.h (LITM): Likewise.
20701 * math/test-ldouble.h (LITM): Likewise.
20702
20703 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20704
20705 * libm-test.inc (M_PI_34l): Rename to
20706 (lit_pi_3_m_4_d): New Macro.
20707 (M_PI_34_LOG10El): Rename to
20708 (lit_pi_3_m_4_ln10_m_d): New Macro.
20709 (M_PI2_LOG10El): Rename to
20710 (lit_pi_2_ln10_m_d): New Macro.
20711 (M_PI4_LOG10El): Rename to
20712 (lit_pi_4_ln10_m_d): New Macro.
20713 (M_PI_LOG10El): Rename to
20714 (lit_pi_ln10_d): New Macro.
20715
20716 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20717
20718 [BZ #20157]
20719 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20720 determine whether to negate low half if [_ARCH_PPCGR], and integer
20721 comparison otherwise.
20722 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20723 determine whether to negate low half.
20724
20725 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20726 (NO_TEST_INLINE_DOUBLE): Likewise.
20727 (TEST_COND_x86_64): Likewise.
20728 (TEST_COND_x86): Likewise.
20729 (M_PI_6l): Likewise.
20730
20731 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20732
20733 * math/libm-test.inc:
20734 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20735 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20736 (TEST_LDOUBLE): Update usage to evaluate as true if
20737 the guarded tests match the property being tested.
20738 (LDBL_MAX_EXP): Change to MAX_EXP.
20739 (LDBL_MIN_EXP): Change to MIN_EXP.
20740 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20741 nexttoward tests.
20742
20743 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20744
20745 * math/libm-test.inc:
20746 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20747 (TYPE_MIN): Likewise.
20748 (TYPE_TRUE_MIN): Likewise.
20749 (TYPE_MAX): Likewise.
20750 (MIN_EXP): Likewise.
20751 (MAX_EXP): Likewise.
20752 (MANT_DIG): Likewise.
20753
20754 (FSTR_MAX): New macro.
20755 (__CONCATX): Likewise.
20756 (QTYPE_STR): Likewise.
20757 (TEST_COND_binary32): Likewise.
20758 (TEST_COND_binary64): Likewise.
20759 (TEST_COND_binary128): Likewise.
20760 (TEST_COND_ibm128): Likewise.
20761 (TEST_COND_intel96): Likewise.
20762 (TEST_COND_m68k96): Likewise.
20763
20764 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20765 (TEST_COND_dbl_64): Likewise.
20766 (TEST_COND_ldbl_96_intel): Likewise.
20767 (TEST_COND_ldbl_96_m68k): Likewise.
20768 (TEST_COND_ldbl_128): Likewise.
20769 (TEST_COND_ldbl_128ibm): Likewise.
20770
20771 (plus_zero): Redefine using LIT macro.
20772 (minus_zero): Likewise.
20773 (plus_infty): Redefine as (INF).
20774 (minux_infty): Redefine as (-INF).
20775 (max_value): Redefine as TYPE_MAX.
20776 (min_value): Redefine as TYPE_MIN.
20777 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20778
20779 (print_float): Refactor to use snprintf to convert FLOAT values
20780 to string. This brings it closer to dropin replacement of strtof
20781 for the TS 18661 defined types.
20782 (update_stats): Likewise.
20783 (print_complex_function_ulps): Likewise.
20784 (print_max_error): Likewise.
20785 (print_complex_max_error): Likewise.
20786 (check_float_internal): Likewise.
20787
20788 * math/test-float.h (PREFIX): New macro.
20789 (LIT): Likewise.
20790 (TYPE_STR): Likewise.
20791 (FTOSTR): Likewise.
20792
20793 * math/test-double.h (PREFIX): New macro.
20794 (LIT): Likewise.
20795 (TYPE_STR): Likewise.
20796 (FTOSTR): Likewise.
20797
20798 * math/test-ldouble.h (PREFIX): New macro.
20799 (LIT): Likewise.
20800 (TYPE_STR): Likewise.
20801 (FTOSTR): Likewise.
20802
20803 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20804
20805 [BZ #20156]
20806 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20807 to itself when zero or not finite.
20808 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20809 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20810 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20811 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20812
20813 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20814
20815 [BZ #20153]
20816 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20817 x * x + x for infinities and NaNs.
20818
20819 [BZ #20151]
20820 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20821 argument to itself before returning result.
20822 (__ieee754_y0l): Likewise.
20823 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20824 (__ieee754_y1l).
20825
20826 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20827 (atan_test_data): Likewise.
20828 (ceil_test_data): Likewise.
20829 (cos_test_data): Likewise.
20830 (cosh_test_data): Likewise.
20831 (erf_test_data): Likewise.
20832 (exp2_test_data): Likewise.
20833 (fabs_test_data): Likewise.
20834 (floor_test_data): Likewise.
20835 (ilogb_test_data): Likewise.
20836 (j0_test_data): Likewise.
20837 (j1_test_data): Likewise.
20838 (jn_test_data): Likewise.
20839 (lgamma_test_data): Likewise.
20840 (lrint_test_data): Likewise.
20841 (llrint_test_data): Likewise.
20842 (logb_test_data): Likewise.
20843 (lround_test_data): Likewise.
20844 (llround_test_data): Likewise.
20845 (nearbyint_test_data): Likewise.
20846 (rint_test_data): Likewise.
20847 (round_test_data): Likewise.
20848 (sin_test_data): Likewise.
20849 (sincos_test_data): Likewise.
20850 (sinh_test_data): Likewise.
20851 (sqrt_test_data): Likewise.
20852 (tan_test_data): Likewise.
20853 (tanh_test_data): Likewise.
20854 (tgamma_test_data): Likewise.
20855 (trunc_test_data): Likewise.
20856 (y0_test_data): Likewise.
20857 (y1_test_data): Likewise.
20858 (yn_test_data): Likewise.
20859
20860 * math/libm-test.inc: Update comment about NaN testing.
20861 (TEST_SNAN): New macro.
20862 (snan_value): Likewise.
20863 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20864 (fpclassify_test_data): Add sNaN tests.
20865 (isfinite_test_data): Likewise.
20866 (isinf_test_data): Likewise.
20867 (isnan_test_data): Likewise.
20868 (isnormal_test_data): Likewise.
20869 (issignaling_test_data): Likewise.
20870 (signbit_test_data): Likewise.
20871 * math/gen-libm-test.pl (%beautify): Add snan_value.
20872 (show_exceptions): Add argument $test_snan.
20873 (parse_args): Handle snan_value as non-finite. Update call to
20874 show_exceptions.
20875 * math/Makefile (libm-test-no-inline-cflags): Add
20876 -fsignaling-nans.
20877
20878 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20879
20880 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20881 (CFLAGS-oldsendmsg.c): Add rule.
20882 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20883 Correct recvmsg symbol name.
20884 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20885 Likewise.
20886
20887 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20888
20889 * sysdeps/unix/sysv/linux/Makefile
20890 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20891 oldsendmmsg.
20892 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20893 sendmmsg.
20894 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20895 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20896 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20897 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20899 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20900 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20902 Likewise.
20903 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20904 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20905 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20906 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20907 iovlen and controllen fields to adjust to POSIX specification.
20908 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20909
20910 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20911 and change to correct expected type.
20912 (msghdr.msg_controllen): Likewise.
20913 (cmsghdr.cmsg_len): Likewise.
20914 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20915 expected POSIX assumption about the size.
20916 (msghdr.msg_controllen): Likewise.
20917 (msghdr.__glibc_reserved1): Likewise.
20918 (msghdr.__glibc_reserved2): Likewise.
20919 (cmsghdr.cmsg_len): Likewise.
20920 (cmsghdr.__glibc_reserved1): Likewise.
20921 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20922 Add ptw-oldrecvmsg and ptw-oldsendmsg.
20923 (CFLAGS-sendmsg.c): Remove rule.
20924 (CFLAGS-recvmsg.c): Likewise.
20925 (CFLAGS-oldsendmsg.c): Add rule.
20926 (CFLAGS-oldrecvmsg.c): Likewise.
20927 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20928 recvmsg and sendmsg.
20929 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20930 Likewise.
20931 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20932 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20933 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20934 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20935 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20936 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20937 Likewise.
20938 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20939 Likewise.
20940 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20941 Likewise.
20942 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20943 Likewise.
20944 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20945 Likewise.
20946 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20947 Likewise.
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20949 (GLIBC_2.24): Likewise.
20950 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20951 Likewise.
20952 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20953 Likewise.
20954 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20955 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20956 Likewise.
20957 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20958 Likewise.
20959 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20960 Likewise.
20961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20962 (GLIBC_2.24): Likewise.
20963 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20964 Likewise.
20965 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20966 Likewise.
20967 * sysdeps/unix/sysv/linux/Makefile
20968 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20969 (CFLAGS-sendmsg.c): Add rule.
20970 (CFLAGS-recvmsg.c): Likewise.
20971 (CFLAGS-oldsendmsg.c): Likewise.
20972 (CFLAGS-oldrecvmsg.c): Likewise.
20973 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20974 initialization.
20975 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20976 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20977 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20978 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20979 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20980 iovlen and controllen fields to adjust to POSIX specification.
20981 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20982 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20983 added recvmsg and sendmsg.
20984 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20985 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20986 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20987 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20988 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20989 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20990 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20991 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20992 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20993 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20994 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20995 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20997 Likewise.
20998 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21000 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21001 Likewise.
21002 Likewise.
21003 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21004 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21005 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21006 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21007 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21008 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21010 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21012 Likewise.
21013 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21014 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21015
21016 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21017 from auto-generation.
21018 (sendmsg): Likewise.
21019 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21020 (sendmsg): Likewise.
21021 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21022 (sendmsg): Likewise.
21023 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21024 (sendmsg): Likewise.
21025 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21026 (sendmsg): Likewise.
21027 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21028 (sendmsg): Likewise.
21029 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21030 Likewise.
21031 (sendmsg): Likewise.
21032 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21033 (sendmsg): Likewise.
21034 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21035 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21036 Remove.
21037 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21038 Likewise.
21039 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21040 Undefine.
21041 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21042 Likewise.
21043 * sysdeps/unix/sysv/linux/kernel-features.h
21044 (__ASSUME_SENDMSG_SYSCALL): Define.
21045 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21046 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21047 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21048 Remove.
21049 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21050 Likewise.
21051 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21052 Undefine.
21053 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21054 Likewise.
21055 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21056 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21057 Remove.
21058 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21059 Likewise.
21060 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21061 Undefine.
21062 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21063 Likewise.
21064 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21065 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21066 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21067 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21068 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21069 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21070 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21071 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21072 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21073
21074 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21075
21076 * stdlib/gen-tst-strtod-round.c: Add backslash to
21077 compile command in comment.
21078 (printfp): Remove the literal suffix, and define an infinite
21079 value as INF to avoid expansion clash with INFINITY.
21080 (round_str): Remove the literal suffix.
21081 (round_for_all): Likewise, remove the now duplicate ldbl-64
21082 entry, and remove some magic constants.
21083
21084 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21085 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21086 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21087 (_CONCAT): New macro.
21088 (CONCAT): Likewise.
21089 (CHOOSE_ld): Likewise.
21090 (CHOOSE_f): Likewise.
21091 (CHOOSE_d): Likewise.
21092 (FTYPE_MEMBER): Likewise.
21093 (BOOL_MEMBER): Likewise.
21094 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21095 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21096 (_XNTRY): Likewise.
21097 (XNTRY): Likewise.
21098 (_ENTRY): Likewise.
21099 (ENTRY): Likewise.
21100 (test_exactness): Generate members via macro.
21101 (test_results): Likewise.
21102 (test): Update members.
21103 (TEST): Redefine using new macros.
21104 (INF): New macro.
21105 (fetestmodes): New structure.
21106 (do_test): Refactor to be type generic.
21107 (test_in_one_mode): Refactor duplicate code into
21108 (GEN_ONE_TEST): New macro.
21109
21110 * stdlib/tst-strtod-round-data.h: Regenerate.
21111
21112 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21113 Extend to pass additional arbitrary parameters to
21114 generators.
21115
21116 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21117
21118 [BZ #15479]
21119 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21120 floating-point state after first floating-point operation on
21121 input. Restore full floating-point state instead of just rounding
21122 mode.
21123 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21124 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21125 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21126 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21127 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21128
21129 [BZ #15479]
21130 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21131 floating-point state after first floating-point operation on
21132 input. Restore full floating-point state instead of just rounding
21133 mode.
21134 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21135 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21136 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21137 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21138 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21139
21140 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21141
21142 [BZ #19727]
21143 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21144 valid high surrogate.
21145 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21146 of an utf16 surrogate.
21147 * iconv/gconv_simple.c (BODY): Likewise.
21148 * iconvdata/bug-iconv12.c: New file.
21149 * iconvdata/Makefile (tests): Add bug-iconv12.
21150
21151 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21152
21153 [BZ #19726]
21154 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21155 outptrp in case of an illegal input.
21156 * iconv/tst-iconv6.c: New file.
21157 * iconv/Makefile (tests): Add tst-iconv6.
21158
21159 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21160
21161 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21162 an error in case of a value in range of an utf16 low surrogate.
21163
21164 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21165
21166 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21167 an error in case of a value in range of an utf16 low surrogate.
21168
21169 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21170
21171 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21172 Move to ...
21173 * sysdeps/s390/Makefile: ... here.
21174 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21175 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21176 (BRANCH_ON_COUNT): New define.
21177 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21178 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21179 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21180 run on s390-32, too.
21181 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21182 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21183 run on s390-32, too.
21184 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21185 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21186 run on s390-32, too.
21187
21188 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21189
21190 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21191 etf3eh or new vector loop-variant.
21192
21193 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21194
21195 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21196 etf3eh or new vector loop-variant.
21197
21198 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21199
21200 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21201 or new vector loop-variant.
21202
21203 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21204
21205 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21206 Rename to TR_LOOP and usage of tr instead of troo instruction.
21207
21208 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21209
21210 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21211 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21212
21213 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21214
21215 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21216 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21217 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21218 New override define.
21219 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21220
21221 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21222
21223 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21224 * sysdeps/s390/configure.ac: Add test for S390 vector register
21225 support in gcc.
21226 * sysdeps/s390/configure: Regenerated.
21227
21228 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21229
21230 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21231 Install file from $(objpfx)gconv-modules.
21232 ($(objpfx)gconv-modules): Concatenate architecture specific file
21233 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21234 * sysdeps/s390/gconv-modules: New file.
21235 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21236 Deleted.
21237 ($(objpfx)gconv-modules-s390): Deleted.
21238 (sysdeps-gconv-modules): New variable.
21239
21240 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21241
21242 [BZ #15479]
21243 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21244 of immediate operand to rounding instruction.
21245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21246 Likewise.
21247 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21248 Likewise.
21249 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21250 Likewise.
21251
21252 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21253
21254 * math/libm-test.inc (MIN_EXP): Directly define as
21255 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21256
21257 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21258
21259 * math/libm-test.inc (MANT_DIG): Directly define as
21260 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21261
21262 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21263
21264 * stdlib/gen-tst-strtod-round.c (main):
21265 Change usage to more closely match the generated
21266 output. Add usage and compilation instructions.
21267 (string_to_fp): Add and use FILE* parameter as
21268 output target.
21269 (print_fp): Likewise.
21270 (round_str): Likewise.
21271 (round_for_all): Likewise.
21272 * stdlib/tst-strtod-round.c (tests): Move into
21273 * stdlib/tst-strtod-round-data.h: New file.
21274
21275 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21276
21277 [BZ #15479]
21278 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21279 (__round): Do not force "inexact" exception.
21280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21281 variable.
21282 (__round): Do not force "inexact" exception.
21283 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21284 (__roundf): Do not force "inexact" exception.
21285 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21286 (__roundl): Do not force "inexact" exception.
21287 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21288 (__roundl): Do not force "inexact" exception.
21289 * math/libm-test.inc (round_test_data): Do not allow spurious
21290 "inexact" exceptions.
21291
21292 [BZ #15479]
21293 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21294 exception in comment.
21295 (huge): Remove variable.
21296 (__floor): Do not force "inexact" exception.
21297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21298 "inexact" exception in comment.
21299 (huge): Remove variable.
21300 (__floor): Do not force "inexact" exception.
21301 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21302 exception in comment.
21303 (huge): Remove variable.
21304 (__floorf): Do not force "inexact" exception.
21305 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21306 exception in comment.
21307 (huge): Remove variable.
21308 (__floorl): Do not force "inexact" exception.
21309
21310 [BZ #15479]
21311 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21312 exception in comment.
21313 (huge): Remove variable.
21314 (__ceil): Do not force "inexact" exception.
21315 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21316 "inexact" exception in comment.
21317 (huge): Remove variable.
21318 (__ceil): Do not force "inexact" exception.
21319 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21320 (__ceilf): Do not force "inexact" exception.
21321 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21322 exception in comment.
21323 (huge): Remove variable.
21324 (__ceill): Do not force "inexact" exception.
21325
21326 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21327
21328 * config.h.in (BIND_NOW): New.
21329 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21330 * configure: Regenerated.
21331 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21332 indirect branch via the GOT slot.
21333
21334 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21335
21336 [BZ #19765]
21337 * sysdeps/s390/mempcpy.S: New File.
21338 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21339 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21340 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21341 Add mempcpy variants.
21342 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21343 (memcpy): Adjust to be usable from mempcpy entry point.
21344 (__memcpy_mvcle): Likewise.
21345 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21346 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21347 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21348 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21349 (__memcpy_z10): Likewise.
21350 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21351
21352 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21353
21354 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21355 Remove __GI_ symbol.
21356 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21357 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21358 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21359 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21360 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21361 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21362
21363 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21364
21365 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21366 Use cghi instead of chi to compare 64bit value.
21367
21368 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21369
21370 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21371 Jump to 1MB check before executing mvc-loop.
21372
21373 2016-05-24 Florian Weimer <fweimer@redhat.com>
21374
21375 [BZ #6527]
21376 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21377 unconditionally.
21378 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21379
21380 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21381
21382 * stdlib/tst-strtod6.c (do_test): Use new type generic
21383 invocation of the test function.
21384 (test): Refactor into ...
21385 (TEST_STRTOD): New macro base function.
21386
21387 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21388
21389 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21390 (TEST_STRTOD): New macro.
21391 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21392
21393 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21394
21395 * stdlib/tst-strtod6.c (do_test): Use new type generic
21396 invocation of the test function.
21397 (test): Refactor into ...
21398 (TEST_STRTOD): New macro base function.
21399
21400 2016-05-23 Florian Weimer <fweimer@redhat.com>
21401
21402 CVE-2016-4429
21403 [BZ #20112]
21404 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21405 payload.
21406
21407 2016-05-23 Florian Weimer <fweimer@redhat.com>
21408
21409 [BZ #20111]
21410 * bits/sockaddr.h (_SS_SIZE): Define.
21411 * bits/socket.h (_SS_SIZE): Remove.
21412 (_SS_PADSIZE): Adjust to account for all padding.
21413 (struct sockaddr_storage): Update comment. Avoid implicit
21414 padding.
21415 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21416 (_SS_PADSIZE): Adjust to account for all padding.
21417 (struct sockaddr_storage): Update comment. Avoid implicit
21418 padding.
21419 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21420 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21421 (_SS_PADSIZE): Adjust to account for all padding.
21422 (struct sockaddr_storage): Update comment. Avoid implicit
21423 padding.
21424 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21425 __SS_SIZE is 126 in this version.
21426 * inet/tst-sockaddr.c: New file.
21427 * inet/Makefile (tests): Add tst-sockaddr.c
21428 (tst-sockaddr.c): Compile with non-strict aliasing.
21429
21430 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21431
21432 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21433 [XPG3 || XPG4].
21434 (NL_ARGMAX): Also expect for [XPG3].
21435 (NL_LANGMAX): Likewise.
21436 (NL_MSGMAX): Likewise.
21437 (NL_NMAX): Likewise.
21438 (NL_SETMAX): Likewise.
21439 (NL_TEXTMAX): Likewise.
21440 (NZERO): Likewise.
21441 (TMP_MAX): Likewise.
21442 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21443 variable.
21444
21445 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21446 (PF_MAX): Update value.
21447 (AF_KCM): New macro.
21448 (SOL_NETBEUI): Likewise.
21449 (SOL_LLC): Likewise.
21450 (SOL_DCCP): Likewise.
21451 (SOL_NETLINK): Likewise.
21452 (SOL_TIPC): Likewise.
21453 (SOL_RXRPC): Likewise.
21454 (SOL_PPPOL2TP): Likewise.
21455 (SOL_BLUETOOTH): Likewise.
21456 (SOL_PNPIPE): Likewise.
21457 (SOL_RDS): Likewise.
21458 (SOL_IUCV): Likewise.
21459 (SOL_CAIF): Likewise.
21460 (SOL_ALG): Likewise.
21461 (SOL_NFC): Likewise.
21462 (SOL_KCM): Likewise.
21463 (MSG_BATCH): New enum value and macro.
21464
21465 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21466
21467 [BZ #18185]
21468 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21469 sharing L2 cache to 2 for Knights Landing.
21470
21471 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21472
21473 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21474 (FTW_DP): Do not expect for [XPG3 || XPG4].
21475 (FTW_SL): Do not expect for [XPG3].
21476 (FTW_SLN): Likewise.
21477 (FTW_PHYS): Likewise.
21478 (FTW_MOUNT): Likewise.
21479 (FTW_DEPTH): Likewise.
21480 (FTW_CHDIR): Likewise.
21481 (nftw): Likewise.
21482 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21483 variable.
21484
21485 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21486
21487 * manual/errno.texi: Fix various typos & grammar errors.
21488
21489 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21490
21491 * manual/intro.texi: Fix duplicated typo.
21492
21493 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21494
21495 [BZ #13304]
21496 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21497 <float.h>, <math_private.h> and <stdlib.h>.
21498 (add_split): New function.
21499 (mul_split): Likewise.
21500 (ext_val): New typedef.
21501 (store_ext_val): New function.
21502 (mul_ext_val): New function.
21503 (compare): New function.
21504 (add_split_ext): New function.
21505 (__fmal): After checking for Inf, NaN and zero, compute result as
21506 an exact sum of scaled double values in round-to-nearest before
21507 adding those up and adjusting for other rounding modes.
21508 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21509 tests of fma.
21510 * math/auto-libm-test-out: Regenerated.
21511
21512 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21513
21514 [BZ #20119]
21515 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21516 processor level type mask for CPUID with EAX == 11.
21517
21518 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21519
21520 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21521 logical threads if the HTT bit is 0.
21522 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21523 (index_cpu_HTT): Likewise.
21524 (reg_HTT): Likewise.
21525
21526 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21527
21528 [BZ #20115]
21529 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21530 Remove alignments on jump targets.
21531
21532 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21533
21534 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21535 (getpwent): Likewise.
21536 (setpwent): Likewise.
21537 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21538 variable.
21539
21540 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21541 (remque): Likewise.
21542 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21543 variable.
21544
21545 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21546
21547 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21548 not being tested.
21549
21550 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21551
21552 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21553 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21554 call.
21555 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21556 (__condvar_cleanup1): Likewise.
21557
21558 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21559
21560 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21561 New
21562 (__pthread_unwind): Renamed to ...
21563 (PTHREAD_UNWIND): This.
21564 (__pthread_enable_asynccancel): Replace
21565 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21566
21567 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21568
21569 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21570 (CLONE_NEWCGROUP): New macro.
21571
21572 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21573 (Q_GETNEXTQUOTA): New macro.
21574
21575 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21576
21577 [BZ #19907]
21578 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21579 buffer updated by the previous run.
21580 * string/test-memcpy.c (do_one_test): Likewise.
21581 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21582 * string/test-memmove.c (do_one_test): Likewise.
21583
21584 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21585
21586 [BZ #20094]
21587 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21588 not [__USE_XOPEN].
21589 (unlockpt): Likewise.
21590 (ptsname): Likewise.
21591 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21592 variable.
21593
21594 [BZ #20076]
21595 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21596 instead of [__USE_UNIX98].
21597 (S_ISSOCK): Likewise.
21598 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21599 variable.
21600
21601 [BZ #20074]
21602 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21603 [__USE_POSIX].
21604 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21605 variable.
21606
21607 [BZ #20051]
21608 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21609 (ttyslot): Do not declare.
21610 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21611 (ttyslot): New prototype.
21612 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21613 variable.
21614 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21615
21616 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21617
21618 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21619
21620 2016-05-13 Florian Weimer <fweimer@redhat.com>
21621
21622 Fix race condition in tst-mallocfork2, use fewer resources.
21623 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21624 to current process group.
21625 (signal_sender): Yield in the non-sleeping case.
21626
21627 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21628
21629 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21630 (ecvt): Likewise.
21631 (fcvt): Likewise.
21632 (gcvt): Likewise.
21633 (getsubopt): Likewise.
21634 (grantpt): Likewise.
21635 (initstate): Likewise.
21636 (l64a): Likewise.
21637 (mktemp): Likewise.
21638 (mkstemp): Likewise.
21639 (ptsname): Likewise.
21640 (random): Likewise.
21641 (realpath): Likewise.
21642 (setstate): Likewise.
21643 (srandom): Likewise.
21644 (ttyslot): Likewise.
21645 (unlockpt): Likewise.
21646 (valloc): Likewise.
21647
21648 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21649 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21650 variable.
21651
21652 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21653
21654 [BZ #20072]
21655 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21656 init_cpu_features only if SHARED is defined.
21657 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21658
21659 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21660
21661 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21662 non-inclusive caches on Intel processors.
21663
21664 2016-05-13 Florian Weimer <fweimer@redhat.com>
21665
21666 * malloc/malloc.c (dumped_main_arena_start)
21667 (dumped_main_arena_end): New variables.
21668 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21669 (do_check_chunk): Skip dumped fake mmapped chunks.
21670 (munmap_chunk): Likewise.
21671 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21672 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21673 mmapped chunks.
21674 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21675 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21676 and dumped_main_arena_end to cover the dumped heap.
21677
21678 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21679
21680 * conform/data/time.h-data (getdate_err): Do not expect for
21681 [XPG3].
21682 (getdate): Likewise.
21683 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21684 variable.
21685
21686 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21687 (F_ULOCK): Likewise.
21688 (F_TEST): Likewise.
21689 (F_TLOCK): Likewise.
21690 (useconds_t): Likewise.
21691 (intptr_t): Do not expect for [XPG3] or [XPG4].
21692 (brk): Do not expect for [XPG3]
21693 (fchown): Likewise.
21694 (fchdir): Likewise.
21695 (ftruncate): Likewise.
21696 (getdtablesize): Likewise.
21697 (gethostid): Likewise.
21698 (getpagesize): Likewise.
21699 (getpgid): Likewise.
21700 (getsid): Likewise.
21701 (getwd): Likewise.
21702 (lchown): Likewise.
21703 (lockf): Likewise.
21704 (readlink): Likewise.
21705 (sbrk): Likewise.
21706 (setpgrp): Likewise.
21707 (setregid): Likewise.
21708 (setreuid): Likewise.
21709 (symlink): Likewise.
21710 (sync): Likewise.
21711 (truncate): Likewise.
21712 (ualarm): Likewise.
21713 (usleep): Likewise.
21714 (vfork): Likewise.
21715 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21716 variable.
21717
21718 [BZ #20054]
21719 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21720 not [__USE_UNIX98].
21721 * conform/data/unistd.h-data (gethostname): Do not expect for
21722 [XPG3].
21723
21724 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21725 [!POSIX] (S_IFBLK): Likewise.
21726 [!POSIX] (S_IFCHR): Likewise.
21727 [!POSIX] (S_IFIFO): Likewise.
21728 [!POSIX] (S_IFREG): Likewise.
21729 [!POSIX] (S_IFDIR): Likewise.
21730 [!POSIX] (S_IFLNK): Likewise.
21731 [!POSIX] (S_IFSOCK): Likewise.
21732 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21733 variable.
21734 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21735
21736 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21737
21738 * sysdeps/aarch64/memset.S (__memset):
21739 Rewrite of optimized memset.
21740
21741 2016-05-12 Florian Weimer <fweimer@redhat.com>
21742
21743 [BZ #19703]
21744 Partially async-signal-safe fork for single-threaded processes.
21745 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21746 variable. Do not acquire and reset/release malloc and libio locks
21747 in single-threaded processes.
21748 * malloc/tst-mallocfork2.c: New file.
21749 * malloc/Makefile (tests): Add it.
21750
21751 2016-05-12 Florian Weimer <fweimer@redhat.com>
21752
21753 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21754 argument. Use scratch buffer instead of extend_alloca.
21755 (gethosts): Use scratch buffer instead of extend_alloca.
21756 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21757 extend_alloca.
21758 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21759
21760 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21761
21762 [BZ #20055]
21763 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21764 instead of [__USE_UNIX98].
21765 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21766 [__USE_UNIX98].
21767 * conform/data/termios.h-data (tcgetsid): Do not expect for
21768 [XPG3].
21769 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21770 variable.
21771 (test-xfail-XPG4/termios.h/conform): Likewise.
21772
21773 2016-05-11 Florian Weimer <fweimer@redhat.com>
21774
21775 Do not use mcheck in localedef.
21776 * locale/programs/localedef.c (turn_on_mcheck)
21777 (__malloc_initialize_hook): Remove.
21778
21779 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21780
21781 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21782 * sysdeps/s390/s390-64/Makefile: Likewise.
21783
21784 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21785
21786 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21787 Remove ifunc-defines.sym.
21788 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21789 Likewise.
21790 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21791 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21792 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21793 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21794 rtld-global-offsets.sym.
21795 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21796 * sysdeps/x86/cpu-features-offsets.sym: This.
21797 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21798 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21799
21800 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21801
21802 [BZ #20073]
21803 * io/sys/stat.h (fchmod): Declare for
21804 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21805 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21806 variable.
21807
21808 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21809 [XPG3] (S_IFSOCK): Likewise.
21810 [XPG3] (S_ISVTX): Likewise.
21811 [XPG3] (S_ISLNK): Likewise.
21812 [XPG3] (S_ISSOCK): Likewise.
21813 [XPG3] (fchmod): Likewise.
21814 [XPG3] (lstat): Likewise.
21815 [XPG3] (mknod): Likewise.
21816
21817 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21818 [XPG3]. Expect type long and XFAIL for [XPG4].
21819 (st_blocks): Likewise.
21820
21821 [BZ #20044]
21822 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21823 (pthread_atfork): New prototype.
21824 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21825 variable.
21826
21827 [BZ #20043]
21828 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21829 prototype.
21830
21831 2016-05-10 Florian Weimer <fweimer@redhat.com>
21832
21833 [BZ #20017]
21834 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21835 gmtime.
21836
21837 2016-05-10 Florian Weimer <fweimer@redhat.com>
21838
21839 [BZ #19994]
21840 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21841 flag in _res.options.
21842
21843 2016-05-09 Joseph Myers <joseph@codesourcery.com>
21844
21845 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21846 [XPG3 || XPG4].
21847 (blksize_t): Likewise.
21848 (clockid_t): Likewise.
21849 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21850 variable.
21851 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21852
21853 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
21854
21855 * sysdeps/unix/sysv/linux/s390/init-first.c:
21856 Add VDSO_SYMBOL(getcpu).
21857 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21858 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21859 Add VDSO_SYMBOL(getcpu).
21860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21861 New define HAVE_GETCPU_VSYSCALL.
21862 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21863
21864 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
21865
21866 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21867 instead of <sysdeps/x86_64/cacheinfo.c>.
21868 * sysdeps/x86_64/cacheinfo.c: Moved to ...
21869 * sysdeps/x86/cacheinfo.c: Here.
21870
21871 2016-05-04 Florian Weimer <fweimer@redhat.com>
21872
21873 * malloc/malloc-internal.h: Adjust header file guard.
21874
21875 2016-05-04 Florian Weimer <fweimer@redhat.com>
21876
21877 [BZ #19787]
21878 * inet/getnameinfo.c (check_sprintf_result): New function.
21879 (CHECKED_SNPRINTF): New macro.
21880 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21881 to the host buffer.
21882 (gni_host_local): Use checked_copy to copy the host name.
21883 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21884 (gni_serv_local): Use checked_copy to copy the service name.
21885 (getnameinfo): Remove unnecessary truncation of result buffers.
21886
21887 2016-05-04 Florian Weimer <fweimer@redhat.com>
21888
21889 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21890 in case of inet_ntop failure.
21891
21892 2016-05-04 Florian Weimer <fweimer@redhat.com>
21893
21894 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21895 avoid long lines.
21896 (gni_host_inet_numeric): Likewise. Reduce scope of local
21897 variables.
21898 (gni_host_inet, gni_host_local): Add comment.
21899 (gni_host): Add comment. Use temporary to avoid long lines.
21900
21901 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21902
21903 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21904 registers specifiers where general purpose registers specifiers should
21905 have been used.
21906
21907 2016-05-04 Florian Weimer <fweimer@redhat.com>
21908
21909 [BZ #19779]
21910 CVE-2016-1234
21911 Avoid copying names of directory entries.
21912 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21913 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21914 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21915 (struct readdir_result): New type.
21916 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21917 (GL_READDIR): New macros.
21918 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21919 (convert_dirent, convert_dirent64): New functions.
21920 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
21921 convert_dirent64. Adjust references to the readdir result.
21922 * sysdeps/unix/sysv/linux/i386/glob64.c:
21923 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21924 * posix/bug-glob2.c (LONG_NAME): Define.
21925 (filesystem): Add LONG_NAME.
21926 (my_DIR): Increase the size of room_for_dirent.
21927
21928 2016-05-03 Joseph Myers <joseph@codesourcery.com>
21929
21930 [BZ #20041]
21931 * misc/sys/select.h (__need_timespec): Only define if
21932 [__USE_XOPEN2K].
21933 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21934 variable.
21935 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21936 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21937 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21938
21939 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21940 Segher Boessenkool <segher@gcc.gnu.org>
21941
21942 [BZ #20004]
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21944 (__novec_swapcontext): Add missing load.
21945
21946 2016-05-02 Joseph Myers <joseph@codesourcery.com>
21947
21948 [BZ #20023]
21949 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21950 <time.h>.
21951 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21952 variable.
21953 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21954
21955 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21956
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21958 flags CLONE_VM compare.
21959
21960 2016-05-02 Florian Weimer <fweimer@redhat.com>
21961
21962 [BZ #20031]
21963 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21964 completely empty.
21965
21966 2016-05-02 Florian Weimer <fweimer@redhat.com>
21967
21968 [BZ #19573]
21969 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21970 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21971 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21972 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21973 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21974 (hesiod_free_list): Mark as hidden.
21975 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21976 res_set, res_get.
21977 * hesiod/hesiod.c: Remove unnecessary forward declarations.
21978 (init, __hesiod_res_get, __hesiod_res_set): Remove.
21979 (hesiod_init): Remove obsolete res_ninit call.
21980 (hesiod_end): Do not free resolver state. Do not invoke callback.
21981 (hesiod_bind): Do not call init.
21982 (get_txt_records): Use res_mkquery, res_send instead of
21983 res_nmkquery, res_nsend.
21984 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21985 instead of _nss_hesiod_init.
21986 (_nss_hesiod_initgroups_dyn): Likewise.
21987 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21988 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21989 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21990
21991 2016-05-02 Florian Weimer <fweimer@redhat.com>
21992
21993 * hesiod/hesiod_p.h (DEF_RHS): Remove.
21994 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21995
21996 2016-05-02 Florian Weimer <fweimer@redhat.com>
21997
21998 * hesiod/hesiod.h: Remove RCS keyword.
21999 * hesiod/hesiod_p.h: Likewise.
22000
22001 * hesiod/hesiod.c: Likewise.
22002
22003 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22004
22005 [BZ #12450]
22006 * locale/iso-639.def: Add Samogitian/sgs.
22007
22008 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22009
22010 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22011
22012 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22013
22014 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22015 Carlos O'Donell <carlos@redhat.com>
22016
22017 [BZ #19072]
22018 * grp/Makefile (headers): Add grp-merge.h
22019 (routines): Add grp-merge.
22020 * grp/getgrgid_r.c: Include grp-merge.h.
22021 (DEEPCOPY_FN): Define.
22022 (MERGE_FN): Define.
22023 * grp/getgrname_r.c: Include grp-merge.h.
22024 (DEEPCOPY_FN): Define.
22025 (MERGE_FN): Define.
22026 * grp/grp-merge.c: New file.
22027 * grp/grp-merge.h: New file.
22028 * include/grp-merge.h: New file.
22029 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22030 __copy_grp@GLIBC_PRIVATE.
22031 * manual/nss.texi (Actions in the NSS configuration): Describe
22032 return, continue, and merge.
22033 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22034 (DEEPCOPY_FN): Define.
22035 (MERGE_FN): Define.
22036 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22037 (DEEPCOPY_FN): Define.
22038 (MERGE_FN): Define.
22039 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22040 [!MERGE_FN]: Define __merge_einval.
22041 (CHECK_MERGE): Define.
22042 (REENTRANT_NAME): Process merge if do_merge is true.
22043 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22044 (__nss_getent_r): Likewise.
22045 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22046 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22047
22048 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22049
22050 [BZ #20012]
22051 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22052 length to calculate the buffer to read.
22053 (fmemopen_write): Set the buffer position based on bytes written.
22054 (fmemopen_seek): Return EINVAL for invalid whence modes.
22055
22056 [BZ #19957]
22057 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22058 tst-getpid2.
22059 (test): Add tst-clone2.
22060 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22061 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22062 pid/tid fields for CLONE_VM.
22063 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22064 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22065 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22066 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22067 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22068 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22069 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22070 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22072 Likewise.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22074 Likewise.
22075 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22076 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22077 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22078 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22079 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22080 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22081 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22082 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22083
22084 2016-04-29 Florian Weimer <fweimer@redhat.com>
22085
22086 [BZ #19642]
22087 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22088 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22089 (gni_serv_local, gni_serv): New functions extracted from
22090 getnameinfo.
22091 (getnameinfo): Call gni_host and gni_serv to perform the
22092 processing. Always free scratch buffer.
22093
22094 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22095
22096 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22097 remaining bytes in the dest string, with zeros.
22098
22099 2016-04-29 Florian Weimer <fweimer@redhat.com>
22100
22101 [BZ #20010]
22102 CVE-2016-3706
22103 * sysdeps/posix/getaddrinfo.c
22104 (convert_hostent_to_gaih_addrtuple): New function.
22105 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22106 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22107 AF_INET data.
22108
22109 2016-04-29 Florian Weimer <fweimer@redhat.com>
22110
22111 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22112 callback function gl_readdir.
22113 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22114 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22115 (glob_in_dir): Remove len. Use strdup instead of malloc and
22116 memcpy to copy the name.
22117 * manual/pattern.texi (Calling Glob): Document requirements for
22118 implementations of the gl_readdir callback function.
22119 * manual/examples/mkdirent.c: New example.
22120 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22121 per the manual guidance.
22122 * posix/tst-gnuglob.c (my_readdir): Likewise.
22123
22124 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22125
22126 [BZ #20014]
22127 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22128 not [__USE_POSIX].
22129 (getchar_unlocked): Likewise.
22130 (putc_unlocked): Likewise.
22131 (putchar_unlocked): Likewise.
22132 (flockfile): Likewise.
22133 (ftrylockfile): Likewise.
22134 (funlockfile): Likewise.
22135 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22136 variable.
22137 (test-xfail-XPG4/stdio.h/conform): Likewise.
22138
22139 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22140 Expect constant.
22141 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22142 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22143 variable.
22144 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22145 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22146
22147 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22148 [__USE_LARGEFILE64] (off64_t): Likewise.
22149 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22150 variable.
22151
22152 2016-04-28 Florian Weimer <fweimer@redhat.com>
22153
22154 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22155
22156 2016-04-28 Florian Weimer <fweimer@redhat.com>
22157
22158 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22159 * resolv/res_init.c: Likewise.
22160 * resolv/res_mkquery.c: Likewise.
22161
22162 2016-04-28 Florian Weimer <fweimer@redhat.com>
22163
22164 * resolv/res_init.c (isascii): Do not define. Use definition in
22165 <ctype.h>.
22166 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22167 (LOG_AUTH): Remove.
22168 (SPRINTF): Remove, adjust caller.
22169 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22170
22171 2016-04-28 Florian Weimer <fweimer@redhat.com>
22172
22173 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22174 SUNSECURITY conditional.
22175 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22176
22177 2016-04-28 Florian Weimer <fweimer@redhat.com>
22178
22179 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22180 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22181 Remove BSD-related preprocessor conditionals.
22182 * conf/portability.h: Remove.
22183
22184 2016-04-28 Florian Weimer <fweimer@redhat.com>
22185
22186 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22187 * resolv/res_data.c: Likewise.
22188
22189 2016-04-28 Florian Weimer <fweimer@redhat.com>
22190
22191 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22192 * resolv/res_data.c: Remove code conditional on ultrix.
22193
22194 2016-04-28 Florian Weimer <fweimer@redhat.com>
22195
22196 * resolv/res_init.c (RFC1535): Do not define. Remove
22197 RFC1535 preprocessor conditionals.
22198 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22199 because there configuration options which make the resolver
22200 behavior different.
22201
22202 2016-04-28 Florian Weimer <fweimer@redhat.com>
22203
22204 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22205 RESOLVSORT preprocessor conditionals.
22206 * resolv/nss_dns/dns-host.c: Likewise.
22207 * resolv/res_init.c: Likewise.
22208
22209 2016-04-28 Florian Weimer <fweimer@redhat.com>
22210
22211 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22212 is never defined.
22213
22214 2016-04-28 Florian Weimer <fweimer@redhat.com>
22215
22216 * inet/inet_lnaof.c: Remove SCSS keyword.
22217 * inet/inet_mkadr.c: Likewise.
22218 * inet/inet_net.c: Likewise.
22219 * inet/inet_netof.c: Likewise.
22220 * inet/rcmd.c: Likewise.
22221 * inet/rexec.c: Likewise.
22222 * inet/ruserpass.c: Likewise.
22223
22224 2016-04-28 Florian Weimer <fweimer@redhat.com>
22225
22226 * resolv/inet_addr.c: Remove _LIBC conditionals.
22227 * resolv/res_data.c: Likewise.
22228 * resolv/res_init.c: Likewise.
22229 * resolv/res_mkquery.c: Likewise.
22230 * resolv/res_libc.c: Update comment.
22231 * resolv/README: Update.
22232
22233 2016-04-28 Florian Weimer <fweimer@redhat.com>
22234
22235 * resolv/gethnamaddr.c: Remove SCSS keyword.
22236 * resolv/herror.c: Likewise.
22237 * resolv/inet_addr.c: Likewise.
22238 * resolv/inet_net_ntop.c: Likewise.
22239 * resolv/inet_net_pton.c: Likewise.
22240 * resolv/inet_neta.c: Likewise.
22241 * resolv/inet_ntop.c: Likewise.
22242 * resolv/inet_pton.c: Likewise.
22243 * resolv/ns_date.c: Remove RCS keyword.
22244 * resolv/ns_name.c: Likewise.
22245 * resolv/ns_netint.c: Likewise.
22246 * resolv/ns_parse.c: Likewise.
22247 * resolv/ns_print.c: Likewise.
22248 * resolv/ns_samedomain.c: Likewise.
22249 * resolv/ns_ttl.c: Likewise.
22250 * resolv/nsap_addr.c: Likewise.
22251 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22252 * resolv/res_data.c: Remove RCS keyword.
22253 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22254 * resolv/res_init.c: Likewise.
22255 * resolv/res_mkquery.c: Likewise.
22256 * resolv/res_query.c: Likewise.
22257 * resolv/res_send.c: Likewise.
22258
22259 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22260
22261 * conform/data/stdio.h-data (fdopen): Expect also for
22262 [XPG3 || XPG4].
22263
22264 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22265 (fseeko): Likewise.
22266 (ftello): Likewise.
22267 (ftrylockfile): Likewise.
22268 (funlockfile): Likewise.
22269 (getc_unlocked): Likewise.
22270 (getchar_unlocked): Likewise.
22271 (putc_unlocked): Likewise.
22272 (putchar_unlocked): Likewise.
22273
22274 2016-04-27 Florian Weimer <fweimer@redhat.com>
22275
22276 [BZ #19868]
22277 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22278 DNS packet syntax checks (which were not needed before). Skip
22279 over non-PTR records.
22280
22281 2016-04-27 Florian Weimer <fweimer@redhat.com>
22282
22283 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22284 definition. Include <stddef.h> instead.
22285
22286 2016-04-27 Florian Weimer <fweimer@redhat.com>
22287
22288 [BZ #19831]
22289 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22290 function.
22291 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22292 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22293
22294 2016-04-27 Florian Weimer <fweimer@redhat.com>
22295
22296 [BZ #19862]
22297 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22298 (getanswer_r): Do not call syslog.
22299 (gaih_getanswer_slice): Likewise.
22300 * resolv/gethnamaddr.c (AskedForGot): Remove.
22301 (getanswer): Do not call syslog.
22302 (gethostbyaddr): Likewise.
22303
22304 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22305
22306 * conform/data/signal.h-data (union sigval): Expect also if
22307 [XOPEN2K].
22308 (struct sigevent): Likewise.
22309 (SIGEV_NONE): Likewise.
22310 (SIGEV_SIGNAL): Likewise.
22311 (SIGEV_THREAD): Likewise.
22312 (SIGRTMIN): Likewise.
22313 (SIGRTMAX): Likewise.
22314 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22315 variable.
22316 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22317
22318 2016-04-27 Florian Weimer <fweimer@redhat.com>
22319
22320 [BZ #19830]
22321 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22322 (gaih_getanswer_slice): Likewise.
22323 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22324 Also check for availability of RR metadata.
22325
22326 2016-04-27 Florian Weimer <fweimer@redhat.com>
22327
22328 [BZ #19825]
22329 * resolv/res_send.c (send_vc): Remove early *resplen2
22330 initialization. Set *resplen2 on socket error. Call
22331 close_and_return_error for other errors.
22332
22333 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22334
22335 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22336 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22337 (SCM_IUCV_TRGCLS): New define.
22338
22339 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22340
22341 [BZ #20005]
22342 * libio/fmemopen.c (fmemopen_write): Update internal position after
22343 write.
22344 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22345 * stdio-common/tst-fmemopen4.c: New file..
22346
22347 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22348
22349 [BZ #19996]
22350 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22351 not [__USE_XOPEN2K].
22352 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22353 variable.
22354
22355 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22356 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22357 variable.
22358
22359 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22360 [__USE_XOPEN2K8].
22361 [__USE_LARGEFILE64] (off64_t): Likewise.
22362 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22363 variable.
22364
22365 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22366
22367 [BZ #19989]
22368 * libio/stdio.h (cuserid): Do not declare if
22369 [__USE_XOPEN2K && !__USE_GNU].
22370 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22371 variable.
22372
22373 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22374
22375 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22376 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22378 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22379 ifunc'ed strcspn.
22380 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22381 [EALIGN]: Removed.
22382 [END]: Likewise
22383 [STRSPN]: Define instead of the above to control symbol name.
22384 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22385 New file.
22386 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22387 Likewise.
22388 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22389 Likewise.
22390 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22391 Likewise.
22392 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22393 [INITIAL_MASK]: New macro.
22394 [STRCSPN]: Likewise.
22395 [UPDATE_MASK]: Likewise.
22396 [USE_AS_STRCSPN]: Likewise.
22397
22398 2016-04-25 Florian Weimer <fweimer@redhat.com>
22399
22400 [BZ #19931]
22401 * stdio-common/tst-vfprintf-width-prec.c: New file.
22402 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22403 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22404 (generated): Add mtrace-related files.
22405 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22406 (tst-%-mem.out): New pattern rule, replaces
22407 tst-printf-bz18872-mem.out.
22408 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22409 specifier, deallocate any previously allocated work buffer.
22410
22411 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22412
22413 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22414 Add nop before __startcontext, add explaining comments.
22415
22416 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22417
22418 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22419 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22420 completely different API.
22421
22422 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22423 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22424 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22425 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22426 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22427 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22428 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22429 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22430 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22431 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22432
22433 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22434
22435 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22436
22437 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22438
22439 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22440 when it is the default of 0.
22441
22442 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22443
22444 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22445 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22446 (sysdep_routines): Add new strcasestr targets.
22447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22448 (__libc_ifunc_impl_list): Likewise.
22449 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22450 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22451 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22452 * sysdeps/powerpc/powerpc64/power8/Makefile:
22453 New file to add strcasestr-ppc64 to sysdep_routines.
22454 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22455 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22456
22457 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22458
22459 * benchtests/Makefile (wcsmbs-benchset): Include only for
22460 native builds and runs.
22461 (LOCALES): Likewise.
22462 (bench-build): Build timing-type here instead of the bench
22463 target. Generate locale only for native builds.
22464 * benchtests/README: Add note for cross-building.
22465
22466 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22467
22468 * benchtests/README: Update README to include instructions on
22469 using bench-build.
22470
22471 * Makefile.in (bench-build): New target.
22472 * Rules (PHONY): Add bench-build target.
22473 * benchtests/Makefile (bench): Depend on bench-build.
22474 (bench-build): New target.
22475
22476 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22477
22478 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22479 profil_reply_port.
22480 (profile_waiter): Do not initialize profil_reply_port.
22481 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22482 frequency instead of tick length in us.
22483
22484 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22485
22486 [BZ #18712]
22487 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22488 (__old_mempcpy_small): Likewise.
22489 (__old_strcpy_small): Likewise.
22490 (__old_stpcpy_small): Likewise.
22491 (__old_strpbrk_c2): Fix compat symbol name.
22492 (__old_strpbrk_c3): Likewise.
22493 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22494 (__mempcpy_small): Remove.
22495 (__strcpy_small): Remove.
22496 (__stpcpy_small): Remove.
22497
22498 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22499
22500 [BZ #19400]
22501 * locale/iso-639.def: Add the Talossan/tzl language.
22502
22503 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22504
22505 [BZ #16983]
22506 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22507 comment. Add "ln" to strchr check on postal_fmt.
22508
22509 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22510
22511 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22512 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22513 tel_dom_fmt.
22514
22515 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22516
22517 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22518 (sysdep_routines): Added __strlen_power8.
22519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22520 __strlen_power8 entry.
22521 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22522 Implementation for POWER8.
22523 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22524 for __strlen_power8.
22525 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22526 Implementation for POWER8.
22527
22528 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22529
22530 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22531
22532 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22533
22534 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22535 Goldmont and Airmont processors.
22536
22537 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22538
22539 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22540 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22541 (__STRING2_SMALL_GET32): Remove.
22542 (memset): Remove.
22543 (__memset_1): Remove.
22544 (__memset_gc): Remove.
22545 (__mempcpy): Remove.
22546 (mempcpy): Remove.
22547 (__mempcpy_args): Remove.
22548 (strchr): Remove.
22549 (strcpy): Remove.
22550 (strcpy_args): Remove.
22551 (__stpcpy_args): Remove.
22552 (__strcmp_cc): Remove.
22553 (__strcmp_gc): Remove.
22554 (strstr): Remove.
22555
22556 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22557
22558 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22559 * nis/nis_call.c (nis_server_cache_add): Likewise.
22560
22561 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22562
22563 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22564
22565 2016-04-14 Florian Weimer <fweimer@redhat.com>
22566
22567 * malloc/arena.c (__malloc_fork_lock_parent)
22568 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22569 internal_function attribute.
22570
22571 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22572
22573 * stdio-common/printf_fp.c (__printf_fp_l):
22574 Rename ___printf_fp_l to __printf_fp_l and
22575 remove strong alias. Use libc_hidden_def instead
22576 of ldbl_hidden_def macro.
22577
22578 2016-04-14 Florian Weimer <fweimer@redhat.com>
22579
22580 Remove malloc hooks from fork handler. They are no longer needed
22581 because malloc runs right before fork, and no malloc calls from
22582 other fork handlers are not possible anymore.
22583 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22584 declarations.
22585 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22586 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22587 (atfork_recursive_cntr): Remove.
22588 (__malloc_fork_lock_parent): Do not override malloc hooks and
22589 thread_arena.
22590 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22591 thread_arena.
22592 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22593 thread_arena instead of save_arena.
22594
22595 2016-04-14 Florian Weimer <fweimer@redhat.com>
22596
22597 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22598 (thread_atfork, thread_atfork_static): Remove.
22599 * sysdeps/mach/hurd/malloc-machine.h:
22600 (thread_atfork, thread_atfork_static): Remove.
22601
22602 2016-04-14 Florian Weimer <fweimer@redhat.com>
22603
22604 [BZ #19431]
22605 Run the malloc fork handler as late as possible to avoid deadlocks.
22606 * malloc/malloc-internal.h: New file.
22607 * malloc/malloc.c: Include it.
22608 * malloc/arena.c (ATFORK_MEM): Remove.
22609 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22610 Update comment.
22611 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22612 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22613 Remove outdated comment.
22614 (ptmalloc_init): Do not call thread_atfork. Remove
22615 thread_atfork_static.
22616 * malloc/tst-malloc-fork-deadlock.c: New file.
22617 * Makefile (tests): Add tst-malloc-fork-deadlock.
22618 (tst-malloc-fork-deadlock): Link against libpthread.
22619 * manual/memory.texi (Aligned Memory Blocks): Update safety
22620 annotation comments.
22621 * sysdeps/nptl/fork.c (__libc_fork): Call
22622 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22623 __malloc_fork_unlock_child.
22624 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22625
22626 2016-04-14 Florian Weimer <fweimer@redhat.com>
22627
22628 [BZ #19613]
22629 Remove union wait.
22630 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22631 (w_stopsig, w_stopval): Remove.
22632 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22633 stat_loc argument.
22634 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22635 (__WAIT_STATUS_DEFN): Remove.
22636 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22637 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22638 (wait, wait3, wait4): Use int * for the stat_loc argument.
22639 * posix/wait.c (__wait): Likewise.
22640 * posix/wait3.c (__wait3): Likewise.
22641 * posix/wait4.c (__wait4): Likewise.
22642 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22643 (__WAIT_STATUS_DEFN): Remove.
22644 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22645 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22646 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22647 argument.
22648 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22649 * sysdeps/posix/wait3.c (__wait3): Likewise.
22650 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22651 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22652 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22653 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22654 stat_loc argument.
22655 * manual/process.texi (BSD Wait Functions): Remove union wait.
22656
22657 2016-04-13 Andreas Schwab <schwab@suse.de>
22658
22659 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22660 (test-extras): Add tst-tlsalign-vars.
22661 * math/Makefile: Wrap long lines.
22662 (libm-vec-test-wrappers): Define.
22663 (test-extras): Add $(libm-vec-test-wrappers).
22664 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22665 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22666 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22667 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22668 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22669 (extra-test-objs): Add corresponding objects.
22670
22671 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22672
22673 [BZ #19928]
22674 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22675 New.
22676 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22677 times of shared cache size.
22678 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22679 (VMOVNT): New.
22680 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22681 (VMOVNT): Likewise.
22682 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22683 (VMOVNT): Likewise.
22684 (VMOVU): Changed to movups for smaller code sizes.
22685 (VMOVA): Changed to movaps for smaller code sizes.
22686 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22687 comments.
22688 (PREFETCH): New.
22689 (PREFETCH_SIZE): Likewise.
22690 (PREFETCHED_LOAD_SIZE): Likewise.
22691 (PREFETCH_ONE_SET): Likewise.
22692 Rewrite to use forward and backward loops, which move 4 vector
22693 registers at a time, to support overlapping addresses and use
22694 non temporal store if size is above the threshold and there is
22695 no overlap between destination and source.
22696
22697 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22698
22699 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22700 Include dl-vdso.
22701 * sysdeps/unix/sysv/linux/mips/Versions: Add
22702 __vdso_clock_gettime.
22703 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22704 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22705 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22706 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22707 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22708 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22709 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22710 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22711 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22712
22713 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22714
22715 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22716 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22717 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22718 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22719 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22720 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22723 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22725 syscalls generation.
22726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22727 [__NR_pwrite64] (__NR_write): Remove define.
22728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22729 [__NR_pwrite64] (__NR_write): Remove define.
22730 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22731 Remove define.
22732 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22733 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22734 Remove define.
22735 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22736 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22737 Linux implementation as base.
22738 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22739
22740 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22741 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22742 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22743 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22746 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22748 syscall generation.
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22750 [__NR_pread64] (__NR_pread): Remove define.
22751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22752 [__NR_pread64] (__NR_pread): Likewise.
22753 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22754 define.
22755 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22756 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22757 Remove define.
22758 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22759 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22760 Linux implementation as base.
22761 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22762 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22763 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22764
22765 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22766 definition.
22767 (__ALIGNMENT_COUNT): Likewise.
22768 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22769 (__ALIGNMENT_COUNT): Likewise.
22770 (SYSCALL_LL): New define.
22771 (SYSCALL_LL64): Likewise.
22772 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22773 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22774 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22775 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22776
22777 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22778 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22779 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22780 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22781 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22782 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22783
22784 2016-04-11 Florian Weimer <fweimer@redhat.com>
22785
22786 [BZ #19865]
22787 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22788 original buffer before retry.
22789
22790 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22791
22792 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22793 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22794 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22795 GLRO(dl_auxv) list.
22796 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22797 including <ldsodefs.h>.
22798 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22799
22800 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22801
22802 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22803 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22804 $(CPPFLAGS).
22805
22806 2016-04-09 Khem Raj <raj.khem@gmail.com>
22807
22808 [BZ #17950]
22809 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22810 Add -mfpmath=387.
22811
22812 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22813
22814 * sysdeps/i386/configure.ac: Change == to = when calling test.
22815 * sysdeps/x86_64/configure.ac: Likewise.
22816 * sysdeps/i386/configure: Regenerated.
22817 * sysdeps/x86_64/configure: Likewise.
22818
22819 2016-04-08 Mike Frysinger <vapier@gentoo.org>
22820
22821 [BZ #16137]
22822 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22823 * benchtests/bench-strcoll.c (input_files): Likewise.
22824 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22825 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22826 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22827
22828 2016-04-08 Joseph Myers <joseph@codesourcery.com>
22829
22830 [BZ #19929]
22831 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22832 [__USE_XOPEN2K8 && !__USE_GNU].
22833 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22834 variable.
22835
22836 [BZ #19925]
22837 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22838 define if [!__USE_MISC && __USE_XOPEN2K].
22839 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22840 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22841 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22842 Likewise.
22843 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22844 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22845 variable.
22846 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22847
22848 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22849
22850 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22851 (sysdep_routines): Add new strspn targets.
22852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22853 (__libc_ifunc_impl_list): Add strspn.
22854 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22855 New file.
22856 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22857 Likewise.
22858 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22859 Likewise.
22860 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22861 Likewise.
22862
22863 2016-04-07 Florian Weimer <fweimer@redhat.com>
22864
22865 * misc/hsearch_r.c: Include <limits.h>.
22866
22867 2016-04-07 Florian Weimer <fweimer@redhat.com>
22868
22869 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22870
22871 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22872
22873 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22874 (MEMCPY_SYMBOL): New.
22875 (MEMPCPY_SYMBOL): Likewise.
22876 (MEMMOVE_CHK_SYMBOL): Likewise.
22877 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22878 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22879 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
22880 Provide alias for memcpy in libc.a and ld.so.
22881
22882 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22885 (MEMSET_CHK_SYMBOL): New. Define if not defined.
22886 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22887 Disabled fro now.
22888 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22889 symbols. Properly check USE_MULTIARCH on __memset symbols.
22890
22891 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * benchtests/Makefile (string-benchset): Add memcpy-large,
22894 memmove-large and memset-large.
22895 * benchtests/bench-memcpy-large.c: New file.
22896 * benchtests/bench-memmove-large.c: Likewise.
22897 * benchtests/bench-memmove-large.c: Likewise.
22898 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22899
22900 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22901
22902 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22903 32-bit displacement to avoid long nop between instructions.
22904
22905 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22906
22907 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22908 a comment on VMOVU and VMOVA.
22909
22910 2016-04-04 Florian Weimer <fweimer@redhat.com>
22911
22912 [BZ #19633]
22913 Use specified locale for number formatting in strfmon_l.
22914 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22915 (__nl_lookup_word): New inline functions.
22916 * include/printf.h (__print_fp_l): Declare.
22917 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22918 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
22919 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22920 (___printf_fp): New function.
22921 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22922 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22923 * stdlib/tst-strfmon_l.c (do_test): New test.
22924 * stdlib/Makefile (tests): Add kt.
22925 (LOCALES): Build additional locales.
22926 (tst-strfmon_l.out): Require locales.
22927
22928 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22929
22930 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22931 if not in libc.
22932 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22933 Likewise.
22934 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22935 Likewise.
22936 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22937 Likewise.
22938
22939 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22942 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22943 with unaligned_erms.
22944 (__memmove_erms): Skip if source == destination.
22945 (__memmove_unaligned_erms): Don't check source == destination
22946 first.
22947
22948 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22949
22950 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22951 bit_arch_Fast_Copy_Backward for Intel Core proessors.
22952
22953 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22954
22955 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22956 * string/strspn.c (strspn): Likewise.
22957
22958 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22959
22960 * benchtests/bench-memset.c (do_test): Support 64-byte
22961 alignment.
22962 (test_main): Test 64-byte alignment.
22963
22964 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22965
22966 * benchtests/bench-memmove.c (test_main): Test 64-byte
22967 alignment.
22968
22969 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22970
22971 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22972
22973 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22974
22975 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22976 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22977 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22978
22979 * string/strpbrk.c (strpbrk): Rewrite function.
22980 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22981 (__strpbrk_c2): Likewise.
22982 (__strpbrk_c3): Likewise.
22983 * string/string-inlines.c
22984 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22985 Likewise.
22986 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22987 Likewise.
22988
22989 * string/strspn.c (strcspn): Rewrite function.
22990 * string/bits/string2.h (strspn): Use __builtin_strcspn.
22991 (__strspn_c1): Remove inline function.
22992 (__strspn_c2): Likewise.
22993 (__strspn_c3): Likewise.
22994 * string/string-inlines.c
22995 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22996 compatibility symbol.
22997 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22998 Likewise.
22999 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23000 Likewise.
23001 * string/string-inlines.c: Include generic version.
23002
23003 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23004 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23005
23006 * string/Version (libc): Add GLIBC_2.24.
23007 * string/strcspn.c (strcspn): Rewrite function.
23008 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23009 (__strcspn_c1): Remove inline function.
23010 (__strcspn_c2): Likewise.
23011 (__strcspn_c3): Likewise.
23012 * string/string-inline.c
23013 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23014 compatibility symbol.
23015 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23016 Likewise.
23017 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23018 Likewise.
23019 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23020
23021 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23022
23023 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23024 Use ahi instead of aghi to adjust stack pointer.
23025
23026 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23027
23028 [BZ #19853]
23029 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23030 TEST to take significant digits as second parameter.
23031 [TEST]: Redefine in terms of TEST_N taking 30
23032 significant digits.
23033 (do_test): Add test case to demonstrate precision
23034 failure in the ldbl-128ibm printf.
23035 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23036 (__mpn_extract_long_double): Carry 7 extra intermediate
23037 bits of precision to aide computing difference when
23038 signs differ.
23039
23040 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23041
23042 [BZ #19881]
23043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23044 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23045 memset-avx512-unaligned-erms.
23046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23047 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23048 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23049 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23050 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23051 __memset_sse2_unaligned_erms, __memset_erms,
23052 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23053 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23054 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23055 file.
23056 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23057 Likewise.
23058 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23059 Likewise.
23060 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23061 Likewise.
23062
23063 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23064
23065 [BZ #19776]
23066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23067 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23068 memmove-avx512-unaligned-erms.
23069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23070 (__libc_ifunc_impl_list): Test
23071 __memmove_chk_avx512_unaligned_2,
23072 __memmove_chk_avx512_unaligned_erms,
23073 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23074 __memmove_chk_sse2_unaligned_2,
23075 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23076 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23077 __memmove_avx512_unaligned_erms, __memmove_erms,
23078 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23079 __memcpy_chk_avx512_unaligned_2,
23080 __memcpy_chk_avx512_unaligned_erms,
23081 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23082 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23083 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23084 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23085 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23086 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23087 __mempcpy_chk_avx512_unaligned_erms,
23088 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23089 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23090 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23091 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23092 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23093 __mempcpy_erms.
23094 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23095 file.
23096 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23097 Likewise.
23098 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23099 Likewise.
23100 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23101 Likewise.
23102
23103 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23104
23105 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23106 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23107 (La_s390_64_regs): Likewise.
23108 (La_s390_32_retval): Append vector register lrv_v24.
23109 (La_s390_64_retval): Likeweise.
23110 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23111 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23112 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23113 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23114
23115 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23116
23117 [BZ #19916]
23118 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23119 to create a non-vector/vector version for _dl_runtime_resolve and
23120 _dl_runtime_profile. Move implementation to ...
23121 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23122 (_dl_runtime_resolve) Save and restore fpr/vrs.
23123 (_dl_runtime_profile) Save and restore vrs and fix some issues
23124 if _dl_call_pltexit is called.
23125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23126 Choose the correct resolver function if running on a machine with vx.
23127 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23128 to create a non-vector/vector version for _dl_runtime_resolve and
23129 _dl_runtime_profile. Move implementation to ...
23130 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23131 (_dl_runtime_resolve) Save and restore fpr/vrs.
23132 (_dl_runtime_profile) Save and restore vrs and fix some issues
23133 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23134 Choose the correct resolver function if running on a machine with vx.
23135
23136 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23137
23138 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23139
23140 2016-03-31 Florian Weimer <fweimer@redhat.com>
23141
23142 [BZ #19509]
23143 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23144 skip_map != NULL.
23145 * elf/tst-dlsym-error.c: New file.
23146 * elf/Makefile (tests): Add tst-dlsym-error.
23147 (tst-dlsym-error): Link against libdl.
23148
23149 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23150
23151 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23152 (__ASSUME_FUTIMESAT): Remove macro.
23153 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23154
23155 2016-03-29 Florian Weimer <fweimer@redhat.com>
23156
23157 [BZ #19879]
23158 CVE-2016-3075
23159 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23160 copy name.
23161
23162 2016-03-29 Florian Weimer <fweimer@redhat.com>
23163
23164 [BZ #19837]
23165 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23166 error if parse_line fails.
23167
23168 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23169
23170 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23171 (index_cpu_ERMS): Likewise.
23172 (reg_ERMS): Likewise.
23173
23174 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23175
23176 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23177 PER_LINUX_FDPIC): Add.
23178
23179 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23180
23181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23182 memcpy-avx512-no-vzeroupper.
23183 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23184 to ...
23185 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23186 (MEMCPY): Don't define.
23187 (MEMCPY_CHK): Likewise.
23188 (MEMPCPY): Likewise.
23189 (MEMPCPY_CHK): Likewise.
23190 (MEMPCPY_CHK): Renamed to ...
23191 (__mempcpy_chk_avx512_no_vzeroupper): This.
23192 (MEMPCPY_CHK): Renamed to ...
23193 (__mempcpy_chk_avx512_no_vzeroupper): This.
23194 (MEMCPY_CHK): Renamed to ...
23195 (__memmove_chk_avx512_no_vzeroupper): This.
23196 (MEMCPY): Renamed to ...
23197 (__memmove_avx512_no_vzeroupper): This.
23198 (__memcpy_avx512_no_vzeroupper): New alias.
23199 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23200
23201 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23202
23203 [BZ #18858]
23204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23205 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23206 and mempcpy-avx512-no-vzeroupper.
23207 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23208 New.
23209 (MEMPCPY): Likewise.
23210 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23211 (MEMPCPY_CHK): New.
23212 (MEMPCPY): Likewise.
23213 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23214 (MEMPCPY): Likewise.
23215 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23216 (MEMPCPY): Likewise.
23217 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23218 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23219 Likewise.
23220 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23221 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23222
23223 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23224 Amit Pawar <Amit.Pawar@amd.com>
23225
23226 [BZ #19583]
23227 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23228 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23229 processors. Set Fast_Copy_Backward for AMD Excavator
23230 processors.
23231 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23232 New.
23233 (index_arch_Fast_Unaligned_Copy): Likewise.
23234 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23235 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23236
23237 2016-03-25 Florian Weimer <fweimer@redhat.com>
23238
23239 [BZ #19791]
23240 * resolv/res_send.c (close_and_return_error): New function.
23241 (send_dg): Initialize *resplen2 after reopen failure. Call
23242 close_and_return_error for error returns. On error paths without
23243 __res_iclose, initialze *resplen2 explicitly. Update comment for
23244 successful return.
23245
23246 2016-03-25 Florian Weimer <fweimer@redhat.com>
23247
23248 [BZ #19860]
23249 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23250 zero if the compiler does not provide the AVX512F bit.
23251
23252 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23253
23254 [BZ #19848]
23255 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23256 from 8 to 4.
23257 (__ieee754_powl): Compare integer exponent against 4 not 8.
23258 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23259 from 8 to 4.
23260 (__ieee754_powl): Compare integer exponent against 4 not 8.
23261 * math/auto-libm-test-in: Add more tests of pow.
23262 * math/auto-libm-test-out: Regenerated.
23263 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23265
23266 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23267
23268 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23269 Make code unconditional.
23270 [!__NR_utimensat]: Remove conditional code.
23271 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23272 Make code unconditional.
23273 [!__NR_utimensat]: Remove conditional code.
23274 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23275 Make code unconditional.
23276 [!__NR_utimensat]: Remove conditional code.
23277
23278 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23279
23280 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23281 Make code unconditional.
23282
23283 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23284
23285 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23286 call-clobbered %eax on retry path.
23287 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23288
23289 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23290
23291 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23292 Don't set %rcx twice before "rep movsb".
23293
23294 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23295
23296 [BZ #19583]
23297 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23298 inline. Check family before setting family, model and
23299 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23300 bits here.
23301 (init_cpu_features): Replace HAS_CPU_FEATURE and
23302 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23303 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23304 for Intel processors with usable AVX2. Call get_common_indeces
23305 for other processors with family == NULL.
23306 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23307 (CPU_FEATURES_ARCH_P): Likewise.
23308 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23309 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23310
23311 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23312
23313 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23314 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23315 $(shared-thread-library) instead of hardcoding the path to libpthread.
23316
23317 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23318
23319 * sysdeps/unix/sysv/linux/kernel-features.h
23320 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23321 * sysdeps/unix/sysv/linux/getdents.c
23322 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23323 [!have_no_getdents64_defined]: Likewise.
23324 (__GETDENTS): Remove __have_no_getdents64 conditional.
23325
23326 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23327
23328 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23329 Remove macro.
23330 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23331 <kernel-features.h>.
23332 (signalfd) [__NR_signalfd4]: Make code unconditional.
23333 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23334
23335 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23336
23337 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23338 style.
23339
23340 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23341
23342 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23343 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23344 __pthread_unwind.
23345 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23346 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23347 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23348 (__condvar_cleanup1): Likewise.
23349
23350 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23351
23352 [BZ #19822]
23353 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23354 move it to the final $@ location.
23355
23356 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23357
23358 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23359 access where posix_spawn success and pid argument is null.
23360 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23361 success case.
23362
23363 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23364
23365 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23366
23367 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23368
23369 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23370 and __fcntl.
23371 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23372 __fcntl only.
23373 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23374 adding attribute_hidden to __open and __fcntl.
23375
23376 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23377 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23378 depend on libc-modules.h,
23379 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23380
23381 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23382
23383 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23384 Remove macro.
23385 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23386 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23387 entry.
23388
23389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23390 Remove macro.
23391 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23392 include <kernel-features.h>.
23393 [!__ASSUME_FALLOCATE]: Remove conditional code.
23394 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23395
23396 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23397
23398 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23399 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23400 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23401 (_ZGVdN4v_cos_avx2): Likewise.
23402 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23403 (_ZGVdN4v_cos): Likewise.
23404 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23405 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23406 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23407 (_ZGVdN4v_exp_avx2): Likewise.
23408 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23409 (_ZGVdN4v_exp): Likewise.
23410 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23411 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23412 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23413 (_ZGVdN4v_log_avx2): Likewise.
23414 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23415 (_ZGVdN4v_log): Likewise.
23416 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23417 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23418 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23419 (_ZGVdN4vv_pow_avx2): Likewise.
23420 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23421 (_ZGVdN4vv_pow): Likewise.
23422 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23423 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23424 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23425 (_ZGVdN4v_sin_avx2): Likewise.
23426 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23427 (_ZGVdN4v_sin): Likewise.
23428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23429 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23430 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23431 (_ZGVdN4vvv_sincos_avx2): Likewise.
23432 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23433 (_ZGVdN4vvv_sincos): Likewise.
23434 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23435 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23436 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23437 (_ZGVbN4v_cosf_sse4): Likewise.
23438 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23439 (_ZGVdN8v_cosf_avx2): Likewise.
23440 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23441 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23442 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23443 (_ZGVbN4v_expf_sse4): Likewise.
23444 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23445 (_ZGVdN8v_expf_avx2): Likewise.
23446 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23447 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23448 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23449 (_ZGVbN4v_logf_sse4): Likewise.
23450 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23451 (_ZGVdN8v_logf_avx2): Likewise.
23452 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23453 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23454 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23455 (_ZGVbN4vv_powf_sse4): Likewise.
23456 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23457 (_ZGVdN8vv_powf_avx2): Likewise.
23458 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23459 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23460 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23461 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23462 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23463 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23464 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23465 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23466 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23467 (_ZGVbN4v_sinf_sse4): Likewise.
23468 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23469 (_ZGVdN8v_sinf_avx2): Likewise.
23470 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23471 Use JUMPTARGET to call callee.
23472 (WRAPPER_IMPL_SSE2_ff): Likewise.
23473 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23474 (WRAPPER_IMPL_AVX): Likewise.
23475 (WRAPPER_IMPL_AVX_ff): Likewise.
23476 (WRAPPER_IMPL_AVX_fFF): Likewise.
23477 (WRAPPER_IMPL_AVX512): Likewise.
23478 (WRAPPER_IMPL_AVX512_ff): Likewise.
23479 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23480 Likewise.
23481 (WRAPPER_IMPL_SSE2_ff): Likewise.
23482 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23483 (WRAPPER_IMPL_AVX): Likewise.
23484 (WRAPPER_IMPL_AVX_ff): Likewise.
23485 (WRAPPER_IMPL_AVX_fFF): Likewise.
23486 (WRAPPER_IMPL_AVX512): Likewise.
23487 (WRAPPER_IMPL_AVX512_ff): Likewise.
23488 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23489
23490 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23491
23492 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23493 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23494 qualifier.
23495 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23496 internal_function qualifiers.
23497
23498 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23499
23500 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23501 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23502 * math/atest-exp.c (exp_mpn): Mark chk unused.
23503 * math/atest-exp2.c (exp_mpn): Likewise.
23504 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23505 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23506
23507 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23508
23509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23510 Remove macro.
23511 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23512 <kernel-features.h>.
23513 [__NR_ppoll]: Make code unconditional.
23514 [!__ASSUME_PPOLL]: Remove conditional code.
23515
23516 * sysdeps/unix/sysv/linux/kernel-features.h
23517 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23518 (__ASSUME_ACCEPT4): Likewise.
23519 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23520 Define.
23521 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23522 Likewise.
23523 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23524 Likewise.
23525 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23526 Likewise.
23527 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23528 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23530 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23531 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23532 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23533 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23534 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23535 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23536 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23537 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23538 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23539 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23540 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23541 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23542 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23543 Likewise.
23544 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23545 Likewise.
23546 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23547 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23548 0x040300].
23549 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23550 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23551 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23552 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23553 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23554 0x030300].
23555 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23556 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23557 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23558 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23559 0x040300].
23560 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23561 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23562 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23563 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23564 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23565 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23566 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23567 0x030300].
23568 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23569 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23570 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23571 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23572 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23573 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23574 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23575 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23576 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23577 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23578 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23579 0x040300].
23580 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23581 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23582 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23583 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23584 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23585 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23586 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23587 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23588 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23589 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23590 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23591 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23592 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23593 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23594 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23595 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23596 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23597 Likewise.
23598 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23599 Likewise.
23600
23601 2016-03-15 Andreas Schwab <schwab@suse.de>
23602
23603 [BZ #19257]
23604 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23605 statp->_u._ext.nscount as loop count.
23606
23607 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23608
23609 * math/test-signgam-finite-c99.c: Also #undef
23610 __LIBC_INTERNAL_MATH_INLINES.
23611 * math/test-signgam-main.c: Likewise.
23612
23613 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23614
23615 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23616 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23617 (MADV_FREE): Likewise.
23618 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23619 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23620 EPOLLEXCLUSIVE.
23621
23622 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23623
23624 * timezone/README: Remove mention of checktab.awk. Mention wiki
23625 SharedSourceFiles.
23626
23627 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23628
23629 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23630 WUNTRACED.
23631
23632 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23633
23634 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23635 order to match the type of p when calling atomic_exchange_acq().
23636
23637 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23638
23639 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23640 cfi_offset calls.
23641 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23642 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23643 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23644 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23645 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23646
23647 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23648
23649 * timezone/checktab.awk: Removed.
23650
23651 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23652
23653 * manual/math.texi (Errors in Math Functions): Document relaxed
23654 accuracy goals for IBM long double.
23655 * math/libm-test.inc (test_exceptions): Always allow spurious
23656 "underflow" and "inexact" exceptions for IBM long double.
23657
23658 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 [BZ #19762]
23661 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23662 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23663 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23664 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23665 (bit_arch_*): This for feature array.
23666 (bit_*): Renamed to ...
23667 (bit_cpu_*): This for cpu array.
23668 (index_*): Renamed to ...
23669 (index_arch_*): This for feature array.
23670 (index_*): Renamed to ...
23671 (index_cpu_*): This for cpu array.
23672 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23673 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23674 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23675 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23676 bit_##name with index_cpu_##name and bit_cpu_##name.
23677 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23678 bit_##name with index_arch_##name and bit_arch_##name.
23679
23680 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23681
23682 [BZ #19792]
23683 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23684 Terminate FDE before return label.
23685
23686 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23687
23688 [BZ #19790]
23689 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23690 (rintl): Define as macro.
23691 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23692 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23693 of fesetround. Ensure results are evaluated before end of scope.
23694 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23695 USE_AS_NEARBYINTL and include s_rintl.c.
23696 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23697 Disable exception traps in new environment.
23698 (libc_feholdsetround_ppc_ctx): Likewise.
23699
23700 2016-03-08 Roland McGrath <roland@hack.frob.com>
23701
23702 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23703 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23704 (tst_audit10_aux) [__AVX512F__]: ... here.
23705
23706 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23707
23708 * include/sys/auxv.h: New file.
23709
23710 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23711
23712 [BZ #19759]
23713 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23714
23715 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23716
23717 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23718 operand modifier.
23719 (feclearexcept): Likewise.
23720
23721 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23722
23723 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23724 to reflect the entire 32-bit HWCAP.
23725 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23726 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23727
23728 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23729
23730 [BZ #19783]
23731 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23732 $(test-via-rtld-prefix).
23733 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23734
23735 2016-03-08 Florian Weimer <fweimer@redhat.com>
23736
23737 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23738 union wait. Report any non-zero exit status as error.
23739
23740 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23741
23742 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23743 configured with --enable-hardcoded-path-in-tests.
23744
23745 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23746
23747 [BZ #19677]
23748 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23749 (__ieee754_remainderl): Put zero low parts in canonical form.
23750 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23751 file. Based on
23752 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23753 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23754 with wrapper round test-fmodrem-ldbl-128ibm.c.
23755 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23756 file.
23757 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23758 Likewise.
23759 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23760 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23761
23762 2016-03-07 Florian Weimer <fweimer@redhat.com>
23763
23764 [BZ #19610]
23765 * elf/ldconfig.c (opt_link): Update comment.
23766 (options): Update help string for option -X.
23767 (search_dir): Unlink stale symbolic link only if updating symbolic
23768 links.
23769 * elf/tst-ldconfig-X.sh: New file.
23770 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23771 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23772
23773 2016-03-07 Andreas Schwab <schwab@suse.de>
23774
23775 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23776 needed arguments.
23777
23778 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23779
23780 [BZ #15333]
23781 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23782 to lstat64.
23783
23784 2016-03-07 Florian Weimer <fweimer@redhat.com>
23785
23786 * libio/filedoalloc.c (isatty): Remove.
23787 (local_isatty): Add comment. Call __isatty directly.
23788 (_IO_file_doallocate): Update comment. Assume _LIBC.
23789 * libio/wfiledoalloc.c (isatty): Remove.
23790 (_IO_wfile_doallocate): Update comment.
23791
23792 2016-03-07 Florian Weimer <fweimer@redhat.com>
23793
23794 [BZ #19269]
23795 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23796 tst-audit4-aux.o.
23797 (tst-audit10): Depend on tst-audit10-aux.o.
23798 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23799 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23800 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23801 instead of inline AVX code.
23802 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23803 instead of inline AVX512 code.
23804 * sysdeps/x86_64/tst-audit4-aux.c: New file
23805 * sysdeps/x86_64/tst-audit10-aux.c: New file
23806
23807 [BZ #19648]
23808 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23809
23810 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23811
23812 [BZ #14750]
23813 [BZ #10354]
23814 [BZ #18433]
23815 * include/sched.h (__clone): Add hidden prototype.
23816 (__clone2): Likewise.
23817 * include/unistd.h (__dup): Likewise.
23818 * posix/Makefile (tests): Add tst-spawn2.
23819 * posix/tst-spawn2.c: New file.
23820 * sysdeps/posix/dup.c (__dup): Add hidden definition.
23821 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23822 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23823 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23824 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23825 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23826 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23827 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23828 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23829 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23830 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23832 Likewise.
23833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23834 Likewise.
23835 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23836 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23837 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23838 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23839 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23840 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23841 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23842 * sysdeps/unix/sysv/linux/nptl-signals.h
23843 (____nptl_is_internal_signal): New function.
23844 * sysdeps/unix/sysv/linux/spawni.c: New file.
23845
23846 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23847 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23848 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23849 * posix/tst-execvp2.c (do_test): Likewise.
23850 * posix/tst-execvp3.c (do_test): Likewise.
23851 * posix/tst-execvp4.c (do_test): Likewise.
23852 * posix/tst-execvpe1.c: New file.
23853 * posix/tst-execvpe2.c: Likewise.
23854 * posix/tst-execvpe3.c: Likewise.
23855 * posix/tst-execvpe4.c: Likewise.
23856 * posix/tst-execvpe5.c: Likewise.
23857 * posix/tst-execvpe6.c: Likewise.
23858
23859 [BZ #19534]
23860 * posix/execl.c (execl): Remove dynamic memory allocation.
23861 * posix/execle.c (execle): Likewise.
23862 * posix/execlp.c (execlp): Likewise.
23863
23864 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23865
23866 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23867 Replace .text with .text.avx512.
23868 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23869 Likewise.
23870
23871 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
23872
23873 * sysdeps/generic/libnsl.abilist: New file.
23874 * sysdeps/generic/libutil.abilist: New file.
23875
23876 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23877
23878 [BZ #19762]
23879 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23880 HAS_ARCH_FEATURE with Fast_Rep_String.
23881 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23882 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23883 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23884 Likewise.
23885 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23886 Likewise.
23887 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23888 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23889 Likewise.
23890 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23891 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23892 Likewise.
23893
23894 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23895
23896 [BZ #19745]
23897 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23898 with *%rax in call.
23899
23900 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23901
23902 [BZ #19745]
23903 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23904 with *__libc_start_main@GOTPCREL(%rip) in call.
23905
23906 2016-03-04 Roland McGrath <roland@hack.frob.com>
23907
23908 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23909 inside conditional for nonempty $(CXX).
23910
23911 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23912 nonempty.
23913
23914 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23915 to test for empty $(CXX) rather than $(CXX) of "no".
23916
23917 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23918
23919 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23920
23921 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
23922 H.J. Lu <hongjiu.lu@intel.com>
23923
23924 [BZ #18880]
23925 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23926 instead of Slow_BSF, and also check for Fast_Copy_Backward to
23927 enable __memcpy_ssse3_back.
23928
23929 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23930
23931 [BZ #19758]
23932 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23933 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23934
23935 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
23936
23937 [BZ #19490]
23938 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23939 (__fentry__): Likewise.
23940
23941 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23942
23943 * gmon/Makefile (noprof): Add $(sysdep_noprof).
23944 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23945
23946 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23947
23948 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23949 __mcount_internal directly.
23950 (C_LABEL(__fentry__)): Likewise.
23951 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23952 directly.
23953
23954 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23957 (__start_context): Call __setcontext directly.
23958
23959 2016-02-26 Joseph Myers <joseph@codesourcery.com>
23960
23961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23962 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23963 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23964 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23965 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23966 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23967 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23968 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23969 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23970 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23971 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23972 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23973 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23974 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23975 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23976 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23977 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23979 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23980 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23981 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23982 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23983 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23984 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23985 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23986 Remove conditional code.
23987 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23988 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23989 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23990 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23991 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23992 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23993 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23994 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23995 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23996 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23997 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23998 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23999
24000 2016-02-24 Marko Myllynen <myllynen@redhat.com>
24001
24002 * NEWS (2.23): Fix typo in bug 19048 text.
24003
24004 2016-02-24 Carlos O'Donell <carlos@redhat.com>
24005
24006 [BZ #14259]
24007 * Makeconfig: Rename msgcatdir to localedir.
24008 Rename inst_msgcatdir to inst_localedir.
24009 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24010 * config.make.in: Add localedir.
24011 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24012 (ldd-rewrite): Likewise.
24013 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24014 (install-others): Use inst_localedir.
24015 (CPPFLAGS): Use localedir.
24016 * locale/Makefile (locale-CPPFLAGS): Likewise.
24017 * po/Makefile (mo-installed): Use inst_localedir.
24018
24019 [BZ #19575]
24020 * localedata/charmaps/GB18030: Update comments regarding PAU to
24021 non-PUA mappings.
24022
24023 2016-02-24 Joseph Myers <joseph@codesourcery.com>
24024
24025 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24026 test for header.
24027 * sysdeps/unix/sysv/linux/configure: Regenerated.
24028 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24029 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24030 Remove conditional code.
24031 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24032
24033 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24034 Define to 3.2.0.
24035 (arch_minimum_kernel): Likewise.
24036 * sysdeps/unix/sysv/linux/configure: Regenerated.
24037 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24038 Define to 2.6.32.
24039 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24040 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24041 (arch_minimum_kernel): Define to 2.6.32.
24042 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24043 * README: Document Linux 3.2 requirement.
24044 * manual/install.texi (Linux): Document Linux 3.2 headers
24045 requirement.
24046 * INSTALL: Regenerated.
24047
24048 2016-02-24 Andreas Schwab <schwab@suse.de>
24049
24050 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24051 if !NO_LONG_DOUBLE.
24052
24053 2016-02-22 Roland McGrath <roland@hack.frob.com>
24054
24055 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24056 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24057
24058 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24059
24060 [BZ #19512]
24061 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24062
24063 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24064
24065 * posix/tst-dir.c: Include libc-internal.h.
24066
24067 2016-02-20 Florian Weimer <fweimer@redhat.com>
24068
24069 [BZ #19056]
24070 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24071 * manual/filesys.texi (Reading/Closing Directory): Mention
24072 deprecaion.
24073 * posix/tst-dir.c (main): Disable deprecation warning in test.
24074
24075 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24076
24077 [BZ #19679]
24078 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24079 Renamed to ...
24080 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24081 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24082 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24083 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24084 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24085 * sysdeps/x86_64/dl-trampoline.h
24086 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24087 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24088
24089 2016-02-19 Mark Wielaard <mjw@redhat.com>
24090
24091 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24092
24093 2016-02-19 Mark Wielaard <mjw@redhat.com>
24094
24095 * elf/elf.h (R_386_GOT32X): New.
24096 (R_386_NUM): Update.
24097 (R_X86_64_GOTPCRELX: New.
24098 (R_X86_64_REX_GOTPCRELX): New.
24099 (R_X86_64_NUM): Update.
24100
24101 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24102
24103 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24104
24105 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24106
24107 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24108 assign attr->stackaddr to it, and adjust it down when
24109 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24110 [_STACK_GROWS_UP]: Delete assert.
24111 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24112 Implement stack grows up logic.
24113 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24114 stack grows up logic.
24115
24116 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24117
24118 * NEWS: Update with 2.24 template.
24119
24120 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24121
24122 [BZ #19678]
24123 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24124 Ensure +0.0 is returned when taking the next value below the least
24125 positive value.
24126
24127 2016-02-19 Florian Weimer <fweimer@redhat.com>
24128
24129 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24130 available. Do not define NO_THREADS.
24131 * malloc/malloc.c: Do not check NO_THREADS.
24132 * malloc/arena.c: Likewise.
24133
24134 2016-02-19 Florian Weimer <fweimer@redhat.com>
24135
24136 * malloc/malloc.c (__libc_mallinfo): Update comment.
24137 (struct malloc_par): Remove max_total_mem member, it was always 0.
24138 (int_mallinfo): Store 0 into usmblks (no functional change).
24139 * malloc/hooks.c (struct malloc_state): Document that
24140 max_total_mem is always 0.
24141 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24142 always 0.
24143 * manual/memory.texi (Statistics of Malloc): Likewise.
24144
24145 2016-02-19 Florian Weimer <fweimer@redhat.com>
24146
24147 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24148 * malloc/arena.c (arena_max): Remove.
24149 (heap_trim, _int_new_arena): Do not update arena_max.
24150
24151 2016-02-19 Florian Weimer <fweimer@redhat.com>
24152
24153 * resolv/res_init.c (res_ninit): Update comment.
24154
24155 2016-02-19 Florian Weimer <fweimer@redhat.com>
24156
24157 [BZ #19505]
24158 * posix/spawn_int.h: Add headers and include guard.
24159 (__spawn_valid_fd): New function.
24160 * posix/spawn_faction_addopen.c
24161 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24162 * posix/spawn_faction_addclose.c
24163 (posix_spawn_file_actions_addclose): Likewise.
24164 * posix/spawn_faction_adddup2.c
24165 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24166 second file descriptor.
24167 * posix/spawn_valid_fd.c: New file.
24168 * posix/tst-posix_spawn-fd.c: New file.
24169 * posix/Makefile (routines): Add spawn_valid_fd.
24170 (tests): Add tst-posix_spawn-fd.
24171
24172 2016-02-19 Florian Weimer <fweimer@redhat.com>
24173
24174 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24175 (do_test): Limit the number of arenas, so that we can use fewer
24176 outer threads. Limit timeout to 3 seconds, in preparation for a
24177 larger TIMEOUT value.
24178
24179 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24180
24181 [BZ #19674]
24182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24183 sign in overflowing and underflowing results when overflow or
24184 underflow is detected early. Include sign in result before rather
24185 than after scaling.
24186
24187 [BZ #19603]
24188 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24189 (__ieee754_remainderl): Adjust sign of integer version of low part
24190 when taking absolute value of high part.
24191 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24192 * math/libm-test.inc (remainder_test_data): Add another test.
24193 (remquo_test_data): Likewise.
24194
24195 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24196
24197 [BZ #19602]
24198 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24199 equal high parts and both low parts zero specially.
24200 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24201 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24202 Add test-fmodl-ldbl-128ibm.
24203
24204 [BZ #19595]
24205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24206 common logic for all cases of shifting subnormal results. Do not
24207 insert sign bit in shifted mantissa. Always pass -1023 as biased
24208 exponent to ldbl_insert_mantissa in subnormal case.
24209
24210 [BZ #19594]
24211 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24212 on high and low parts then adjust result and use
24213 ldbl_canonicalize_int if needed.
24214
24215 [BZ #19593]
24216 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24217 on high part and __floor or __ceil on low part then use
24218 ldbl_canonicalize_int if needed.
24219
24220 [BZ #19592]
24221 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24222 high and low parts then use ldbl_canonicalize_int if needed.
24223
24224 [BZ #17899]
24225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24226 New function.
24227 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24228 on high and low parts then use ldbl_canonicalize_int if needed.
24229
24230 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24231
24232 * configure: Regenerated.
24233
24234 * po/libc.pot: Regenerated.
24235
24236 * po/be.po: Updated translation.
24237 * po/bg.po: Likewise.
24238 * po/ca.po: Likewise.
24239 * po/cs.po: Likewise.
24240 * po/da.po: Likewise.
24241 * po/el.po: Likewise.
24242 * po/eo.po: Likewise.
24243 * po/es.po: Likewise.
24244 * po/fi.po: Likewise.
24245 * po/fr.po: Likewise.
24246 * po/gl.po: Likewise.
24247 * po/hr.po: Likewise.
24248 * po/hu.po: Likewise.
24249 * po/ia.po: Likewise.
24250 * po/id.po: Likewise.
24251 * po/it.po: Likewise.
24252 * po/ja.po: Likewise.
24253 * po/lt.po: Likewise.
24254 * po/nb.po: Likewise.
24255 * po/nl.po: Likewise.
24256 * po/pt_BR.po: Likewise.
24257 * po/rw.po: Likewise.
24258 * po/sk.po: Likewise.
24259 * po/sl.po: Likewise.
24260 * po/sv.po: Likewise.
24261 * po/tr.po: Likewise.
24262 * po/zh_CN.po: Likewise.
24263 * po/zh_TW.po: Likewise.
24264
24265 * version.h (RELEAES): Set to "development".
24266 (VERSION): Set to 2.23.90.
24267
24268 * version.h (RELEASE): Set to "stable".
24269 (VERSION): Set to 2.23.
24270 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24271
24272 * NEWS: Updated fixed bugs.
24273
24274 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24275 Wilco Dijkstra <wdijkstr@arm.com>
24276
24277 [BZ #19462]
24278 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24279 (_STRING_INLINE_unaligned): This.
24280 * include/string.h: Include <string_private.h>.
24281 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24282 _STRING_INLINE_unaligned.
24283 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24284 (_STRING_INLINE_unaligned): New.
24285 * sysdeps/aarch64/string_private.h: New file.
24286 * sysdeps/generic/string_private.h: Likewise.
24287 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24288 * sysdeps/s390/string_private.h: Likewise.
24289 * sysdeps/x86/string_private.h: Likewise.
24290 * sysdeps/m68k/m680x0/m68020/bits/string.h
24291 (_STRING_ARCH_unaligned): Renamed to ...
24292 (_STRING_INLINE_unaligned): This.
24293 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24294 to ...
24295 (_STRING_INLINE_unaligned): This.
24296 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24297 to ...
24298 (_STRING_INLINE_unaligned): This.
24299 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24300 to ...
24301 (_STRING_INLINE_unaligned): This.
24302
24303 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24304 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 [BZ #19590]
24307 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24308 relocation.
24309
24310 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24311
24312 [BZ #18665]
24313 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24314 *herrno_p.
24315 (gaih_getanswer): Document functional behviour. Return tryagain
24316 if any result is tryagain.
24317 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24318 when freed.
24319 * resolv/res_send.c: Add copyright text.
24320 (__libc_res_nsend): Document that MAXPACKET is expected.
24321 (send_vc): Document. Remove buffer reuse.
24322 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24323 size of the buffer. Add Dprint for truncated UDP buffer.
24324
24325 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24326
24327 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24328 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24329 * INSTALL: Regenerate.
24330
24331 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24332 Jonathan Wakely <jwakely@redhat.com>
24333 Carlos O'Donell <carlos@redhat.com>
24334
24335 [BZ 19439]
24336 * math/Makefile (tests): Add test-math-isinff.
24337 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24338 * math/bits/mathcalls.h [__USE_MISC]: Use
24339 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24340 functions not in C++11 and which don't conflict e.g. isinff,
24341 isinfl etc.
24342 * math/test-math-isinff.cc: New file.
24343
24344 2016-02-12 Florian Weimer <fweimer@redhat.com>
24345
24346 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24347
24348 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24349
24350 [BZ #19529]
24351 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24352
24353 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24354
24355 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24356
24357 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24358
24359 [BZ #19550]
24360 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24361 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24362 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24363 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24364 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24365 New syscall entry.
24366 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24367 New syscall entry.
24368 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24369 syscall entry.
24370
24371 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24372
24373 [BZ #18240]
24374 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24375 unsigned int wraparound.
24376
24377 2016-01-27 Florian Weimer <fweimer@redhat.com>
24378
24379 [BZ #18240]
24380 * misc/bug18240.c: New test.
24381 * misc/Makefile (tests): Add it.
24382
24383 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24384 Joseph Myers <joseph@codesourcery.com>
24385
24386 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24387 load in branch delay slot when less than a word of input left.
24388
24389 2016-01-27 Andreas Schwab <schwab@suse.de>
24390
24391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24392 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24393 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24394 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24395
24396 2016-01-26 David S. Miller <davem@davemloft.net>
24397
24398 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24399
24400 2016-01-25 David S. Miller <davem@davemloft.net>
24401
24402 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24403 __sqrtl_finite.
24404 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24405 instead using versioned_symbol.
24406 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24407 of entries.
24408
24409 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24410 __sqrtl_finite to GLIBC_2.23
24411
24412 2016-01-25 Ricchard Henderson <rth@redhat.com>
24413
24414 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24415
24416 2016-01-25 Andreas Schwab <schwab@suse.de>
24417
24418 [BZ #17514]
24419 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24420 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24421 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24422 * nptl/tst-mutex-errorcheck.c: New file.
24423
24424 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24425
24426 [BZ #18560]
24427 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24428 (IPCOP_semop): Likewise.
24429 (IPCOP_semget): Likewise.
24430 (IPCOP_semctl): Likewise.
24431 (IPCOP_msgsnd): Likewise.
24432 (IPCOP_msgrcv): Likewise.
24433 (IPCOP_msgget): Likewise.
24434 (IPCOP_msgctl): Likewise.
24435 (IPCOP_shmat): Likewise.
24436 (IPCOP_shmdt): Likewise.
24437 (IPCOP_shmget): Likewise.
24438 (IPCOP_shmctl): Likewise.
24439
24440 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24441
24442 * string/tst-endian.c: Include <libc-internal.h>.
24443 (do_test): Ignore tautological-compare warnings around
24444 "htobeXX (beXXtoh (i)) != i" and
24445 "htoleXX (leXXtoh (i)) != i" if-statements.
24446
24447 2016-01-24 David S. Miller <davem@davemloft.net>
24448
24449 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24450 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24451 alias.
24452 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24453 __sqrtl_finite.
24454
24455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24456
24457 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24458
24459 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24460 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24461 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24462
24463 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24464
24465 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24466 (thread_func): Use new function to simplify barrier check.
24467 (do_test): Use new function to simplify checking barrier exit
24468 code, and actually join the child thread.
24469
24470 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24471
24472 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24473 semicolon.
24474 (__libc_tend): Likewise.
24475 (__libc_tabort): Likewise.
24476
24477 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24478
24479 * sysdeps/nios2/libm-test-ulps: Update.
24480 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24481 (__gtsf2): Likewise.
24482 (__unorddf2): Likewise.
24483 (__unordsf2): Likewise.
24484 (__ledf2): Likewise.
24485
24486 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24487
24488 * nis/nis_table.c (__follow_path): Disable diagnostic for
24489 uninitialized variable that is a false positive for gcc 4.7.
24490 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24491
24492 2016-01-20 Roland McGrath <roland@hack.frob.com>
24493
24494 * sysdeps/nacl/lowlevellock-futex.h
24495 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24496 Always evaluate PRIVATE argument.
24497
24498 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24499
24500 [BZ #19490]
24501 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24502 (pthread_cond_broadcast): Use ENTRY/END
24503 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24504 (pthread_cond_signal): Likewise.
24505 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24506 Likewise.
24507 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24508 Likewise.
24509 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24510 Likewise.
24511
24512 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24513
24514 * sysdeps/ieee754/dbl-64/s_finite.c
24515 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24516 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24517 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24518 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24519 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24520
24521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24522 (__gtsf2): Add as optional for libc.so.
24523 (__unordsf2): Likewise.
24524 (__signbit): Remove for libc.so.
24525 (__signbitl): Likewise.
24526
24527 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24528
24529 * iconvdata/bug-iconv11.c (test_ibm93x):
24530 Use %zu printf format specifier for size_t argument.
24531
24532 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24533
24534 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24535 already-recorded ulps.
24536 * sysdeps/arm/libm-test-ulps: Regenerated.
24537 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24538 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24539 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24540
24541 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24542 Paul Pluzhnikov <ppluzhnikov@google.com>
24543
24544 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24545 assembler not supporting AVX-512.
24546
24547 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24548
24549 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24550
24551 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24552
24553 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24554 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24555
24556 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24557
24558 * sysdeps/arm/libm-test-ulps: Regenerated.
24559
24560 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24561
24562 [BZ #19451]
24563 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24564
24565 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24566
24567 [BZ #19486]
24568 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24569 * sysdeps/generic/fix-fp-int-convert-overflow.h
24570 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24571 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24572 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24573 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24574 Likewise.
24575 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24576 Avoid conversions to long int where inexact exceptions
24577 could be raised.
24578 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24579 Likewise.
24580 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24581 Avoid conversions to long long int where inexact exceptions
24582 could be raised.
24583 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24584 Likewise.
24585
24586 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24587
24588 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24589 * configure: Regenerated.
24590
24591 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24592
24593 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24594
24595 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24596
24597 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24598 outside of comment.
24599
24600 2016-01-15 Torvald Riegel <triegel@redhat.com>
24601
24602 * nptl/tst-barrier1.c: Add description on first line.
24603 * nptl/tst-barrier2.c: Likewise.
24604 * nptl/tst-barrier3.c: Likewise.
24605 * nptl/tst-barrier4.c: Likewise.
24606 * nptl/tst-barrier5.c: Likewise.
24607
24608 2016-01-15 Torvald Riegel <triegel@redhat.com>
24609
24610 [BZ #18868]
24611 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24612
24613 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24614
24615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24617 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24618 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24619 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24620 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24621 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24622 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24623 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24624 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24625 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24626
24627 2016-01-15 Torvald Riegel <triegel@redhat.com>
24628
24629 [BZ #13065]
24630 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24631 new implementation.
24632 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24633 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24634 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24635 (BARRIER_IN_THRESHOLD): New macro.
24636 * nptl/pthread_barrierattr_setpshared.c
24637 (pthread_barrierattr_setpshared): Clean up.
24638 * nptl/tst-barrier4.c: Correct comment.
24639 * nptl/tst-barrier5.c: New file.
24640 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24641 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24642 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24643 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24644 * nptl/lowlevelbarrier.sym: Remove.
24645 * nptl/DESIGN-barrier.txt: Remove.
24646 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24647 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24648 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24649 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24650 error.
24651 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24652 implementation.
24653
24654 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24655
24656 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24657 (do_child): Mask SIGRTMIN while thr is running.
24658
24659 2016-01-15 Martin Sebor <msebor@redhat.com>
24660
24661 [BZ #19432]
24662 * iconvdata/Makefile: Add bug-iconv11.
24663 * iconvdata/bug-iconv11.c: New test.
24664 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24665 * iconvdata/ibm933.c: Same.
24666 * iconvdata/ibm935.c: Same.
24667 * iconvdata/ibm937.c: Same.
24668 * iconvdata/ibm939.c: Same.
24669
24670 2016-01-15 Martin Sebor <msebor@redhat.com>
24671
24672 [BZ #19443]
24673 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24674 [DEBUG] (_ufc_set_bits): Declare used.
24675 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24676 [DEBUG] (print_all): Declare used.
24677 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24678 operands of the ternary ?: expression to target type.
24679 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24680 calling the undeclared abort.
24681 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24682
24683 2016-01-15 Martin Sebor <msebor@redhat.com>
24684
24685 [BZ #18755]
24686 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24687 warnings.
24688 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24689 (__gai_create_helper_thread): Same.
24690 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24691 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24692 to suppress -Wmaybe-uninitialized warnings.
24693
24694 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24695
24696 [BZ #19465]
24697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24698 inside if.
24699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24700 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24701 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24702
24703 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24704
24705 [BZ #19466]
24706 * time/tst-mktime2.c (time_t_max): Removed.
24707 (time_t_min): Likewise.
24708 (TYPE_SIGNED): New.
24709 (TYPE_MINIMUM): Likewise.
24710 (TYPE_MAXIMUM): Likewise.
24711 (TIME_T_MIN): Likewise.
24712 (TIME_T_MAX): Likewise.
24713 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24714 and TIME_T_MIN.
24715 (do_test): Likewise.
24716
24717 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24718
24719 [BZ #19467]
24720 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24721 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24722
24723 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
24724
24725 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24726
24727 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24728
24729 * benchtests/Makefile (PYTHON): Define.
24730 (bench-func): Use $(PYTHON) to run python scripts.
24731 ($(objpfx)bench-%.c): Likewise.
24732
24733 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24734
24735 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24736 leading slash when `file_name' is "/".
24737
24738 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24739
24740 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24741 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24742 Likewise.
24743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24744 Likewise.
24745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24746 Likewise.
24747 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24748 enum constant and macro.
24749 (PTRACE_SETSIGMASK): Likewise.
24750 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24751 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24752 (PTRACE_GETSIGMASK): Likewise.
24753 (PTRACE_SETSIGMASK): Likewise.
24754 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24755 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24756 Likewise.
24757 (PTRACE_SETSIGMASK): Likewise.
24758 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24759 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24760 (PTRACE_GETSIGMASK): Likewise.
24761 (PTRACE_SETSIGMASK): Likewise.
24762 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24764 Likewise.
24765 (PTRACE_SETSIGMASK): Likewise.
24766 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24767 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24768 Likewise.
24769 (PTRACE_SETSIGMASK): Likewise.
24770 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24771 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24772 Likewise.
24773 (PTRACE_SETSIGMASK): Likewise.
24774 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24775
24776 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24777 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24778
24779 [BZ #19439]
24780 * math/bits/mathcalls.h
24781 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24782 prototype.
24783 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24784
24785 2016-01-11 Andreas Schwab <schwab@suse.de>
24786
24787 [BZ #19253]
24788 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24789 cache when TZDEFRULES was used.
24790 * time/tst-tzname.c: New file.
24791 * time/Makefile (test): Add tst-tzname.
24792 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24793 * timezone/Makefile (test-zones): Add $(posixrules-file).
24794 ($(testdata)/$(posixrules-file)): New rule.
24795
24796 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24797
24798 Fix doc quoting problems with Texinfo 5
24799 Without this change, in the info file output, Texinfo 5 quotes code
24800 in text with undirected single quotes 'like this' and generates
24801 code examples that with many PDF readers cannot be cut out of PDFs
24802 and pasted into code.
24803 * manual/libc.texinfo: Configure the libc manual like the GNU
24804 Emacs manual, by using @documentencoding and setting
24805 txicodequoteundirected and txicodequotebacktick. This way,
24806 Texinfo 5 quotes code in text with directed single quotes ‘like
24807 this’ and produces examples that can be cut out of PDFs. This
24808 change causes Texinfo 5 to generate info files that contain UTF-8
24809 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24810 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24811
24812 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24813
24814 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24815 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24816 barriers to their respective compiler built-ins.
24817 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24818 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24819 * sysdeps/powerpc/sysdep.h: Likewise.
24820 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24821 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24822 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24823
24824 2016-01-08 Marko Myllynen <myllynen@redhat.com>
24825
24826 * scripts/config.guess: Revert previous shebang change.
24827 * scripts/config.sub: Likewise.
24828 * scripts/mkinstalldirs: Likewise.
24829
24830 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24831
24832 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24833 PPC_FEATURE2_HAS_IEEE128.
24834 * sysdeps/powerpc/dl-procinfo.c:
24835 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24836
24837 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
24838
24839 [BZ #19415]
24840 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24841 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
24842 (_dl_lookup_address): Rewrite using function resolver trampoline.
24843 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24844 two bits in address.
24845
24846 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24847
24848 * longlong.h: Change !__SHMEDIA__ to
24849 (!defined (__SHMEDIA__) || !__SHMEDIA__).
24850 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24851
24852 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
24853 Joseph Myers <joseph@codesourcery.com>
24854 Mark Shinwell <shinwell@codesourcery.com>
24855 Andrew Stubbs <ams@codesourcery.com>
24856 Rich Felker <dalias@libc.org>
24857
24858 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24859
24860 2016-01-07 Richard Henderson <rth@redhat.com>
24861
24862 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24863
24864 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24865
24866 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24867 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24868 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24869 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24870 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24871
24872 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
24873 Joseph Myers <joseph@codesourcery.com>
24874
24875 * timezone/private.h: Update from tzcode 2015g.
24876 * timezone/tzfile.h: Likewise.
24877 * timezone/tzselect.ksh: Likewise.
24878 * timezone/zdump.c: Likewise.
24879 * timezone/zic.c: Likewise.
24880 * timezone/ialloc.c: Remove file.
24881 * timezone/scheck.c: Likewise.
24882 * timezone/Makefile (extra-objs): Remove variable.
24883 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24884 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24885 -Wno-maybe-uninitialized.
24886 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24887 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24888 (CFLAGS-ialloc.c): Remove variable.
24889 (CFLAGS-scheck.c): Likewise.
24890 * timezone/README: Update list of files from tzcode.
24891
24892 2016-01-07 Khem Raj <raj.khem@gmail.com>
24893
24894 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24895 instead of __fxprintf when _LIBC is undefined.
24896
24897 2016-01-07 Marko Myllynen <myllynen@redhat.com>
24898
24899 * catgets/test-gencat.sh: Remove space after shebang.
24900 * conform/GlibcConform.pm: Likewise.
24901 * conform/check-header-lists.sh: Likewise.
24902 * conform/conformtest.pl: Likewise.
24903 * conform/linknamespace.pl: Likewise.
24904 * conform/list-header-symbols.pl: Likewise.
24905 * debug/catchsegv.sh: Likewise.
24906 * elf/genrtldtbl.awk: Likewise.
24907 * elf/tst-pathopt.sh: Likewise.
24908 * elf/tst-rtld-load-self.sh: Likewise.
24909 * grp/tst_fgetgrent.sh: Likewise.
24910 * iconvdata/gen-8bit-gap-1.sh: Likewise.
24911 * iconvdata/gen-8bit-gap.sh: Likewise.
24912 * iconvdata/gen-8bit.sh: Likewise.
24913 * iconvdata/run-iconv-test.sh: Likewise.
24914 * intl/tst-gettext.sh: Likewise.
24915 * intl/tst-gettext2.sh: Likewise.
24916 * intl/tst-gettext4.sh: Likewise.
24917 * intl/tst-gettext6.sh: Likewise.
24918 * intl/tst-translit.sh: Likewise.
24919 * io/ftwtest-sh: Likewise.
24920 * libio/test-freopen.sh: Likewise.
24921 * locale/gen-translit.pl: Likewise.
24922 * malloc/tst-mtrace.sh: Likewise.
24923 * manual/check-safety.sh: Likewise.
24924 * manual/libc-texinfo.sh: Likewise.
24925 * manual/tsort.awk: Likewise.
24926 * manual/xtract-typefun.awk: Likewise.
24927 * nptl/tst-cancel-wrappers.sh: Likewise.
24928 * nptl/tst-tls6.sh: Likewise.
24929 * posix/globtest.sh: Likewise.
24930 * posix/tst-getconf.sh: Likewise.
24931 * posix/wordexp-tst.sh: Likewise.
24932 * scripts/check-c++-types.sh: Likewise.
24933 * scripts/check-local-headers.sh: Likewise.
24934 * scripts/config.guess: Likewise.
24935 * scripts/config.sub: Likewise.
24936 * scripts/cpp: Likewise.
24937 * scripts/cross-test-ssh.sh: Likewise.
24938 * scripts/documented.sh: Likewise.
24939 * scripts/evaluate-test.sh: Likewise.
24940 * scripts/gen-libc-abis: Likewise.
24941 * scripts/gen-sorted.awk: Likewise.
24942 * scripts/list-fixed-bugs.py: Likewise.
24943 * scripts/merge-test-results.sh: Likewise.
24944 * scripts/mkinstalldirs: Likewise.
24945 * scripts/rellns-sh: Likewise.
24946 * scripts/test-installation.pl: Likewise.
24947 * scripts/update-copyrights: Likewise.
24948 * stdio-common/tst-printf.sh: Likewise.
24949 * stdio-common/tst-unbputc.sh: Likewise.
24950 * stdlib/tst-fmtmsg.sh: Likewise.
24951 * stdlib/tst-setcontext3.sh: Likewise.
24952 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24953 * sysdeps/unix/make-syscalls.sh: Likewise.
24954
24955 2016-01-06 John David Anglin <dave.anglin@bell.net>
24956
24957 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24958 asm stw with atomic_exchange_rel. Add explanatory comment.
24959 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24960 Likewise.
24961
24962 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24963
24964 [BZ #19122]
24965 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24966 * sysdeps/generic/dl-unistd.h: New file.
24967 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24968
24969 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24970
24971 [BZ #19122]
24972 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24973 * sysdeps/generic/dl-mman.h: New file.
24974 * sysdeps/mach/hurd/dl-mman.h: Likewise.
24975
24976 2016-01-05 Joseph Myers <joseph@codesourcery.com>
24977
24978 * manual/texinfo.tex: Update to version 2016-01-04.21 with
24979 trailing whitespace removed.
24980 * scripts/config.guess: Update to version 2016-01-01.
24981 * scripts/config.sub: Update to version 2016-01-01.
24982 * scripts/move-if-change: Update from gnulib.
24983
24984 2016-01-04 Anton Blanchard <anton@samba.org>
24985
24986 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24987 for array indices.
24988 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24989
24990 2016-01-04 Joseph Myers <joseph@codesourcery.com>
24991
24992 * NEWS: Update copyright dates.
24993 * catgets/gencat.c (print_version): Likewise.
24994 * csu/version.c (banner): Likewise.
24995 * debug/catchsegv.sh: Likewise.
24996 * debug/pcprofiledump.c (print_version): Likewise.
24997 * debug/xtrace.sh (do_version): Likewise.
24998 * elf/ldconfig.c (print_version): Likewise.
24999 * elf/ldd.bash.in: Likewise.
25000 * elf/pldd.c (print_version): Likewise.
25001 * elf/sotruss.sh: Likewise.
25002 * elf/sprof.c (print_version): Likewise.
25003 * iconv/iconv_prog.c (print_version): Likewise.
25004 * iconv/iconvconfig.c (print_version): Likewise.
25005 * locale/programs/locale.c (print_version): Likewise.
25006 * locale/programs/localedef.c (print_version): Likewise.
25007 * login/programs/pt_chown.c (print_version): Likewise.
25008 * malloc/memusage.sh (do_version): Likewise.
25009 * malloc/memusagestat.c (print_version): Likewise.
25010 * malloc/mtrace.pl: Likewise.
25011 * manual/libc.texinfo: Likewise.
25012 * nptl/version.c (banner): Likewise.
25013 * nscd/nscd.c (print_version): Likewise.
25014 * nss/getent.c (print_version): Likewise.
25015 * nss/makedb.c (print_version): Likewise.
25016 * posix/getconf.c (main): Likewise.
25017 * scripts/test-installation.pl: Likewise.
25018 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25019
25020 * All files with FSF copyright notices: Update copyright dates
25021 using scripts/update-copyrights.
25022 * intl/plural.c: Regenerated.
25023 * locale/programs/charmap-kw.h: Likewise.
25024 * locale/programs/locfile-kw.h: Likewise.
25025
25026 2016-01-02 Helge Deller <deller@gmx.de>
25027
25028 [BZ #19285]
25029 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25030 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25031 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25032 (MADV_xxK_PAGES): Remove.
25033
25034 2016-01-01 Mike Frysinger <vapier@gentoo.org>
25035
25036 [BZ #15421]
25037 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25038 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25039 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25040 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25041
25042 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25043
25044 [BZ #19408]
25045 * sysdeps/unix/sysv/linux/personality.c: New file.
25046 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25047 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25048 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25049 (sysdep_routines): Add personality.
25050 (tests): Add tst-personality.
25051 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25053 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25054 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25055 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25056 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25057 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25058 Likewise.
25059 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25060 Likewise.
25061 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25062 Likewise.
25063 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25064 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25065 Likewise.
25066
25067 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25068
25069 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25070 (PATH_ARM_SYSTYPE): Remove.
25071 (PATH_CPUINFO): Likewise.
25072 (IO_BASE_FOOTBRIDGE): Likewise.
25073 (IO_SHIFT_FOOTBRIDGE): Likewise.
25074 (struct platform): Likewise.
25075 (init_iosys): Remove compatibility code for 2.4 kernels.
25076 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25077
25078 2015-12-29 Florian Weimer <fweimer@redhat.com>
25079
25080 * malloc/tst-malloc-thread-fail.c: New file.
25081 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25082 (tst-malloc-thread-fail): Link against libpthread.
25083
25084 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25085
25086 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25087 (get_parser): New function.
25088 (main): New function.
25089
25090 2015-12-29 Rob Wu <rob@robwu.nl>
25091
25092 [BZ #19369]
25093 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25094
25095 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25096
25097 [BZ #19270]
25098 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25099
25100 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25101
25102 [BZ #15421]
25103 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25104
25105 2015-12-23 Torvald Riegel <triegel@redhat.com>
25106
25107 [BZ #13690]
25108 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25109 after releasing it.
25110 (__lll_robust_unlock): Likewise.
25111 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25112 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25113 (lll_robust_unlock): Likewise.
25114 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25115 Prevent warnings in callers.
25116
25117 2015-12-23 Florian Weimer <fweimer@redhat.com>
25118
25119 * malloc/arena.c (list_lock): Update comment.
25120
25121 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25122
25123 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25124 __parse_hwcap_and_convert_at_platform to libc.a.
25125
25126 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25127
25128 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25129 platform and feature support for POWER9.
25130 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25131 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25132 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25133 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25134 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25135 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25136 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25137 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25138
25139 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25140
25141 Harmonize generic stdio-lock support with nptl
25142
25143 This fixes build when _IO_funlockfile is a macro, fixes build where
25144 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25145 stack unwind.
25146
25147 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25148 _IO_release_lock ): Use cleanup attribute on new
25149 _IO_acquire_lock_file variable instead of assuming that
25150 _IO_release_lock will be called.
25151 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25152 _IO_acquire_lock_needs_exceptions_enabled.
25153 (_IO_acquire_lock_clear_flags2): New macro.
25154
25155 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25156
25157 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25158
25159 2015-12-21 Florian Weimer <fweimer@redhat.com>
25160
25161 [BZ #19182]
25162 * malloc/arena.c (list_lock): Document lock ordering requirements.
25163 (free_list_lock): New lock.
25164 (ptmalloc_lock_all): Comment on free_list_lock.
25165 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25166 (detach_arena): Update comment. free_list_lock is now needed.
25167 (_int_new_arena): Use free_list_lock around detach_arena call.
25168 Acquire arena lock after list_lock. Add comment, including FIXME
25169 about incorrect synchronization.
25170 (get_free_list): Switch to free_list_lock.
25171 (reused_arena): Acquire free_list_lock around detach_arena call
25172 and attached threads counter update. Add two FIXMEs about
25173 incorrect synchronization.
25174 (arena_thread_freeres): Switch to free_list_lock.
25175 * malloc/malloc.c (struct malloc_state): Update comments to
25176 mention free_list_lock.
25177
25178 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25179
25180 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25181 Remove functions.
25182 (sloww, sloww1): Accept argument to offset quadrant.
25183 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25184 quadrant.
25185 (__sin, __cos): Consolidate common code into new functions.
25186 (reduce_sincos_1, do_sincos_1): New functions.
25187 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25188
25189 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25190 code to new functions.
25191 (reduce_sincos_2, do_sincos_2): New functions.
25192 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25193
25194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25195 common code for sincos.
25196 (__cos) [!IN_SINCOS]: Likewise.
25197 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25198 New function.
25199 (__sincos): Use it.
25200
25201 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25202
25203 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25204 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25205 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25206
25207 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25208
25209 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25212 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25213 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25214 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25215 index_Prefer_No_VZEROUPPER): New feature.
25216 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25217 Prefer_No_VZEROUPPER for Knights Landing.
25218
25219 015-12-18 Torvald Riegel <triegel@redhat.com>
25220
25221 * math/atest-exp2.c (mp_exp_m1): Remove.
25222
25223 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25224
25225 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25226 syscalls.
25227 (__SYSCALL0): New macro.
25228 (__SYSCALL1): Likewise.
25229 (__SYSCALL2): Likewise.
25230 (__SYSCALL3): Likewise.
25231 (__SYSCALL4): Likewise.
25232 (__SYSCALL5): Likewise.
25233 (__SYSCALL6): Likewise.
25234 (__SYSCALL_CONCAT_X): Likewise.
25235 (__SYSCALL_CONCAT): Likewise.
25236 (__SYSCALL_DIST): Likewise.
25237 (__SYSCALL_CALL): Likewise.
25238
25239 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25240
25241 [BZ #19363]
25242 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25243
25244 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25245
25246 [BZ #19375]
25247 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25248 negative subnormals.
25249
25250 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25251
25252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25253 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25254 (INTERNAL_SYSCALL_NCS): Use it.
25255 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25256
25257 2015-12-16 Florian Weimer <fweimer@redhat.com>
25258
25259 [BZ #19243]
25260 * malloc/arena.c (get_free_list): Remove assert and adjust
25261 reference count handling. Add comment about reused_arena
25262 interaction.
25263 (reused_arena): Add comments abount get_free_list interaction.
25264 * malloc/tst-malloc-thread-exit.c: New file.
25265 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25266 (tst-malloc-thread-exit): Link against libpthread.
25267
25268 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25269
25270 [BZ #19367]
25271 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25272 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25273 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25274 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25275 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25276
25277 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25278
25279 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25280 Silvermont optimizations for Knights Landing.
25281
25282 2015-12-15 Andreas Schwab <schwab@suse.de>
25283
25284 [BZ #17197]
25285 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25286 immediately after emitting SI.
25287 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25288 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25289 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25290 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25291 * iconvdata/bug-iconv10.c: New file.
25292 * iconvdata/Makefile (tests): Add bug-iconv10.
25293 ($(objpfx)bug-iconv10.out): New rule.
25294
25295 2015-12-15 Florian Weimer <fweimer@redhat.com>
25296
25297 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25298 aliasing violation.
25299
25300 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25301
25302 [BZ #18472]
25303 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25304 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25305 conditionals for them.
25306 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25307 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25309 sys/kdaemon.h.
25310 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25311 compat-only syscall, obsoleted in glibc 2.23.
25312 (create_module): Likewise.
25313 (get_kernel_syms): Likewise.
25314 (query_module): Likewise.
25315 (uselib): Likewise.
25316 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25317
25318 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25319
25320 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25321 <linux/version.h>.
25322 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25323 conditional code.
25324 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25325 and ioshift_name initialization.
25326
25327 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25328
25329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25330 Fix indentation.
25331
25332 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25333
25334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25335
25336 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25337
25338 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25339
25340 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25341 Jakub Wilk <jwilk@debian.org>
25342
25343 [BZ #19347]
25344 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25345 to change the group of the device to the tty group.
25346
25347 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25348
25349 Split large string section; add truncation advice
25350 * manual/examples/strncat.c: Remove.
25351 This example was misleading, as the code would have undefined
25352 behavior if "hello" was longer than SIZE. Anyway, the manual
25353 shouldn't encourage strncpy+strncat for this sort of thing.
25354 * manual/string.texi (Copying Strings and Arrays): Split into
25355 three sections Copying Strings and Arrays, Concatenating Strings,
25356 and Truncating Strings, as this section was way too long. All
25357 cross-referenced changed. Add advice about string-truncation
25358 functions. Remove misleading strncat example.
25359
25360 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25361
25362 * manual/nss.texi (NSS Modules Interface): Document
25363 NSS_STATUS_NOTFOUND and SUCCESS.
25364
25365 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25366
25367 [BZ 18568]
25368 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25369 201505L, for Unicode 8.
25370
25371 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25372
25373 * locale/C-translit.h: Regenerate.
25374
25375 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25376
25377 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25378 and U+0153.
25379
25380 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25381
25382 [BZ #19351]
25383 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25384 expanding log(1+z), compare z rather than its square with epsilon
25385 to determine when to avoid evaluating the expansion.
25386
25387 [BZ #19350]
25388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25389 Increase overflow threshold.
25390
25391 [BZ #19349]
25392 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25393 when small.
25394
25395 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25396 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25397 New macro.
25398 [__LINUX_KERNEL_VERSION >= 0x040300]
25399 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25400 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25401 Likewise.
25402 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25403 Likewise.
25404 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25405 Likewise.
25406 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25407 Likewise.
25408 [__LINUX_KERNEL_VERSION >= 0x040300]
25409 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25410 [__LINUX_KERNEL_VERSION >= 0x040300]
25411 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25412 [__LINUX_KERNEL_VERSION >= 0x040300]
25413 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25414 [__LINUX_KERNEL_VERSION >= 0x040300]
25415 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25416 [__LINUX_KERNEL_VERSION >= 0x040300]
25417 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25418 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25419 Likewise.
25420 [__LINUX_KERNEL_VERSION >= 0x040300]
25421 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25422 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25423 Likewise.
25424 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25425 Likewise.
25426 [__LINUX_KERNEL_VERSION >= 0x040300]
25427 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25428 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25429 Likewise.
25430 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25431 Likewise.
25432 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25433 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25434 Likewise.
25435 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25436 Likewise.
25437 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25438 Likewise.
25439 [__LINUX_KERNEL_VERSION >= 0x040300]
25440 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25441 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25442 Likewise.
25443 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25444 Likewise.
25445 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25446 Likewise.
25447 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25448 Likewise.
25449 [__LINUX_KERNEL_VERSION >= 0x040300]
25450 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25451 [__LINUX_KERNEL_VERSION >= 0x040300]
25452 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25453 [__LINUX_KERNEL_VERSION >= 0x040300]
25454 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25455 [__LINUX_KERNEL_VERSION >= 0x040300]
25456 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25457 [__LINUX_KERNEL_VERSION >= 0x040300]
25458 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25459 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25460 Likewise.
25461 [__LINUX_KERNEL_VERSION >= 0x040300]
25462 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25463 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25464 Likewise.
25465 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25466 Likewise.
25467 [__LINUX_KERNEL_VERSION >= 0x040300]
25468 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25469 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25470 Likewise.
25471 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25472 Likewise.
25473 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25474 (__ASSUME_SOCKET_SYSCALL): Likewise.
25475 (__ASSUME_BIND_SYSCALL): Likewise.
25476 (__ASSUME_CONNECT_SYSCALL): Likewise.
25477 (__ASSUME_LISTEN_SYSCALL): Likewise.
25478 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25479 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25480 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25481 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25482 (__ASSUME_SEND_SYSCALL): Likewise.
25483 (__ASSUME_SENDTO_SYSCALL): Likewise.
25484 (__ASSUME_RECV_SYSCALL): Likewise.
25485 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25486 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25487 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25488 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25489 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25490 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25491 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25492 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25493 Likewise.
25494 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25495 Likewise.
25496 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25497 Likewise.
25498 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25499 Likewise.
25500 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25501 Likewise.
25502 [__LINUX_KERNEL_VERSION >= 0x020625]
25503 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25504 [__LINUX_KERNEL_VERSION >= 0x020625]
25505 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25506 [__LINUX_KERNEL_VERSION >= 0x020625]
25507 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25508 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25509 Likewise.
25510 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25511 Likewise.
25512 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25513 Likewise.
25514 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25515 Likewise.
25516 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25517 Likewise.
25518 [__LINUX_KERNEL_VERSION >= 0x020625]
25519 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25520 [__LINUX_KERNEL_VERSION >= 0x020625]
25521 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25522 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25523 Likewise.
25524 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25525 Likewise.
25526
25527 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25528
25529 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25530 record the current if the current ABI and CPU support the FP64
25531 extension.
25532 (has-modd-spreg): Define to record the current if the current ABI and
25533 CPU support 32-bit floating point values in odd FPU registers.
25534 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25535 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25536 $(has-modd-spreg) equals yes.
25537 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25538 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25539 $(has-modd-spreg) equal yes.
25540
25541 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25542
25543 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25544 basename.
25545
25546 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25547
25548 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25549 (bench-string): ... here.
25550 (bench): Add bench-string.
25551 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25552 to *-benchset to reflect what they are.
25553 (benchset): Adjust.
25554
25555 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25556 cos-inputs.
25557
25558 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25559
25560 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25561 __attribute__ ((__simd__)) for vector math function declarations.
25562
25563 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25564
25565 Fix typo in strncat, wcsncat manual entries
25566 * manual/string.texi (Copying and Concatenation): Fix typos in
25567 sample implementations of strncat and wcsncat, by having them use
25568 the old value of the destination length, not the new one.
25569
25570 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25571
25572 [BZ #16961]
25573 [BZ #16962]
25574 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25575 string on the stack for strtod.
25576 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25577 a string on the stack for strtof.
25578 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25579 constructing a string on the stack for strtold.
25580 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25581 __strtold_nan to GLIBC_PRIVATE.
25582 * math/test-nan-overflow.c: New file.
25583 * math/test-nan-payload.c: Likewise.
25584 * math/Makefile (tests): Add test-nan-overflow and
25585 test-nan-payload.
25586
25587 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25588
25589 Consistency about byte vs character in string.texi
25590 * manual/string.texi (String and Array Utilities):
25591 Distinguish more carefully among bytes, multibyte characters,
25592 and wide characters. Use "byte" when talking about C 'char',
25593 to distinguish it more clearly from multibyte characters.
25594 Say "wide character" or "multibyte character" instead of
25595 "character", when a wide or multibyte character is intended.
25596 Similarly for "multibyte string" versus "string".
25597 Define these terms more carefully.
25598
25599 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25600
25601 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25602 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25603 Likewise.
25604 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25605 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25606 * sysdeps/sh/math_private.h: New file.
25607 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25608 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25609 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25610 long double function name.
25611 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25617 Remove __finitel, __isinfl, and __isnanl.
25618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25619 Likewise.
25620 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25622 Remove __finitel.
25623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25624 Likewise.
25625 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25626
25627 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25628
25629 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25630 installed libmvec_nonshared.a.
25631
25632 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25633
25634 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25635 (sysdep_routines): Likewise.
25636 (sysdep-rtld-routines): Likewise.
25637 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25638 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25639 * sysdeps/powerpc/Versions: Added new
25640 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25641 * sysdeps/powerpc/hwcapinfo.c: New file.
25642 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25643 and parse hwcap, hwcap2 and platform number information.
25644 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25645 to store HWCAP+HWCAP2 and platform number.
25646 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25647 for HWCAP+HWCAP2 and platform number in the TCB.
25648 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25649 the HWCAP, HWCAP2 and platform number in the TCB.
25650 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25651 (TLS_INIT_TP): Included calls to add the hwcap and
25652 at_platform values in the TCB in TP initialization.
25653 (TLS_DEFINE_INIT_TP): Likewise.
25654 (THREAD_GET_HWCAP): New macro.
25655 (THREAD_SET_HWCAP): Likewise.
25656 (THREAD_GET_AT_PLATFORM): Likewise.
25657 (THREAD_SET_AT_PLATFORM): Likewise.
25658 * sysdeps/powerpc/powerpc32/dl-machine.h:
25659 (dl_platform_init): New function that calls
25660 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25661 powerpc32.
25662 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25663 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25664 this functionality, static linking case.
25665 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25666 linking case.
25667 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25668 __parse_hwcap_and_convert_at_platform for the static linking case.
25669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25670 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25671 ABI list for GLIBC 2.23.
25672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25673 Likewise.
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25675 Likewise.
25676
25677 2015-12-02 Ludovic Courtès <ludo@gnu.org>
25678
25679 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25680 * configure: Regenerate.
25681 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25682 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25683
25684 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25685
25686 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25687 * iconvdata/ibm933.c: Likewise.
25688 * iconvdata/ibm935.c: Likewise.
25689 * iconvdata/ibm937.c: Likewise.
25690 * iconvdata/ibm939.c: Likewise.
25691
25692 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25693
25694 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25695 pthread_join.
25696 * nptl/tst-cancel21.c (tf): Likewise.
25697
25698 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25699
25700 [BZ #19313]
25701 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25702 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25703 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25704 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25705 Likewise.
25706 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25707 Likewise.
25708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25709 Likewise.
25710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25711 Likewise.
25712 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25713 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25714 unsigned long int with __CPU_MASK_TYPE.
25715
25716 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25717
25718 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25719
25720 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25721
25722 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25723 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25724 t512.x.
25725 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25726
25727 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25728
25729 [BZ #19214]
25730 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25731 argument to return extended model. Update family and model
25732 with extended family and model when family == 0x0f.
25733 (init_cpu_features): Updated.
25734
25735 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25736
25737 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25738 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25739
25740 * sysdeps/mach/hurd/mmap64.c: New file.
25741
25742 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25743
25744 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25745 rights for its main user thread in NEWTASK.
25746
25747 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25748
25749 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25750 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25751
25752 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25753
25754 [BZ #14259]
25755 * Makeconfig: Rename localedir to complocaledir.
25756 Rename inst_localedir to inst_complocaledir.
25757 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25758 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25759 * configure.ac: Use libc_cv_complocaledir.
25760 * configure: Regenerate.
25761 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25762 -DCOMPLOCALEDIR.
25763 * locale/findlocale.c: Use COMPLOCALEDIR.
25764 * locale/loadarchive.c: Likewise.
25765 * locale/programs/locale.c: Likewise.
25766 * locale/programs/localedef.c: Likewise.
25767 * locale/programs/locarchive.c: Likewise.
25768 * localedata/Makefile: Use inst_complocaledir.
25769 * sysdeps/gnu/configure: Regenerate.
25770 * sysdeps/hppa/configure: Regenerate.
25771 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25772 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25774 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25775 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25776 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25777 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25778
25779 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25780
25781 [BZ #19058]
25782 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25783 AS_NEEDED.
25784 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25785 workaround.
25786 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25787 libmvec-static-only-routines): Added new file.
25788 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25789
25790 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25791
25792 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25793 of interrupted RPC instead of restoring it.
25794
25795 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25796 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25797 libc_hidden_def.
25798 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25799 into initialized data instead of common. Define rtld_hidden_data_def.
25800 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25801 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25802 libc_hidden_def.
25803 (if_freenameindex): Add libc_hidden_weak.
25804 (if_nameindex): Add libc_hidden_weak.
25805 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25806 __open64.
25807 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25808 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25809 * sysdeps/mach/nanosleep.c: Include <time.h>
25810 (__nanosleep): Rename to __libc_nanosleep.
25811 (__nanosleep): Add weak_alias.
25812 (nanosleep): Update alias.
25813
25814 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25815
25816 * stdlib/strtod_nan.c: New file.
25817 * stdlib/strtod_nan_double.h: Likewise.
25818 * stdlib/strtod_nan_float.h: Likewise.
25819 * stdlib/strtod_nan_main.c: Likewise.
25820 * stdlib/strtod_nan_narrow.h: Likewise.
25821 * stdlib/strtod_nan_wide.h: Likewise.
25822 * stdlib/strtof_nan.c: Likewise.
25823 * stdlib/strtold_nan.c: Likewise.
25824 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25825 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25826 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25827 * wcsmbs/wcstod_nan.c: Likewise.
25828 * wcsmbs/wcstof_nan.c: Likewise.
25829 * wcsmbs/wcstold_nan.c: Likewise.
25830 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25831 strtold_nan.
25832 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25833 wcstof_nan.
25834 * include/stdlib.h (__strtof_nan): Declare and use
25835 libc_hidden_proto.
25836 (__strtod_nan): Likewise.
25837 (__strtold_nan): Likewise.
25838 (__wcstof_nan): Likewise.
25839 (__wcstod_nan): Likewise.
25840 (__wcstold_nan): Likewise.
25841 * include/wchar.h (____wcstoull_l_internal): Declare.
25842 * stdlib/strtod_l.c: Do not include <ieee754.h>.
25843 (____strtoull_l_internal): Remove declaration.
25844 (STRTOF_NAN): Define macro.
25845 (SET_MANTISSA): Remove macro.
25846 (STRTOULL): Likewise.
25847 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25848 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25849 (STRTOF_NAN): Define macro.
25850 (SET_MANTISSA): Remove macro.
25851 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25852 (SET_MANTISSA): Remove macro.
25853 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25854 macro.
25855 (SET_MANTISSA): Remove macro.
25856 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25857 macro.
25858 (SET_MANTISSA): Remove macro.
25859 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25860 (SET_MANTISSA): Remove macro.
25861 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25862 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25863 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25864
25865 [BZ #19266]
25866 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25867 upper case and lower case letters inside NAN(), not using TOLOWER.
25868 * stdlib/tst-strtod-nan-locale-main.c: New file.
25869 * stdlib/tst-strtod-nan-locale.c: Likewise.
25870 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25871 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25872 Depend on $(gen-locales).
25873 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25874 * wcsmbs/tst-wcstod-nan-locale.c: New file.
25875 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25876 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25877 Depend on $(gen-locales).
25878 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25879
25880 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
25881
25882 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25883
25884 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25886 __finitel, __isinfl, and __isnanl.
25887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25888 Likewise.
25889 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25891 __finitel.
25892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25893 Likewise.
25894 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25895
25896 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25897
25898 * malloc/memusage.c (me): Remove redundant getenv call.
25899
25900 2015-10-24 Florian Weimer <fweimer@redhat.com>
25901
25902 [BZ #19143]
25903 [BZ #19164]
25904 * nptl/check-cpuset.h: Remove.
25905 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25906 Remove CPU set size check.
25907 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25908 Likewise.
25909 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25910 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25911 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25912 (__pthread_setaffinity_new): Remove CPU set size check.
25913 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25914 (__kernel_cpumask_size): Remove.
25915 (__sched_setaffinity_new): Remove CPU set size check.
25916 * manual/threads.texi (Default Thread Attributes): Remove stale
25917 reference to check_cpuset_attr, determine_cpumask_size in comment.
25918 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25919 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
25920 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25921 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25922 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25923 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25924 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25925 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25926 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25927 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25928 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25929 skeleton test file.
25930 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
25931 tst-affinity-pid.
25932
25933 2015-11-24 Florian Weimer <fweimer@redhat.com>
25934
25935 * scripts/update-abilist.sh: New file.
25936 * Makefile (+subdir_targets): Add subdir_update-all-abi.
25937 * Makerules (update-all-abi-%, update-all-abi)
25938 (subdir_update-all-abi): New targets.
25939 * elf/Makefile (update-all-abi): New target.
25940
25941 2015-11-24 Florian Weimer <fweimer@redhat.com>
25942
25943 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25944 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25945 (__libc_lock_define_initialized): Use it.
25946 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25947 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25948 * malloc/malloc.c (main_arena): Likewise.
25949 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25950 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25951
25952 2015-11-23 Joseph Myers <joseph@codesourcery.com>
25953
25954 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25955 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25956 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25957 (PTRACE_O_MASK): Update value.
25958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25959 New value in enum __ptrace_setoptions.
25960 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25961 (PTRACE_O_MASK): Update value.
25962 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25963 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25964 (PTRACE_O_MASK): Update value.
25965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25966 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25967 (PTRACE_O_MASK): Update value.
25968 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25969 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25970 (PTRACE_O_MASK): Update value.
25971 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25972 New value in enum __ptrace_setoptions.
25973 (PTRACE_O_MASK): Update value.
25974 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25975 New value in enum __ptrace_setoptions.
25976 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25977 (PTRACE_O_MASK): Update value.
25978
25979 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25980 New macro.
25981 (PACKET_AUXDATA): Likewise.
25982 (PACKET_ORIGDEV): Likewise.
25983 (PACKET_VERSION): Likewise.
25984 (PACKET_HDRLEN): Likewise.
25985 (PACKET_RESERVE): Likewise.
25986 (PACKET_TX_RING): Likewise.
25987 (PACKET_LOSS): Likewise.
25988 (PACKET_VNET_HDR): Likewise.
25989 (PACKET_TX_TIMESTAMP): Likewise.
25990 (PACKET_TIMESTAMP): Likewise.
25991 (PACKET_FANOUT): Likewise.
25992 (PACKET_TX_HAS_OFF): Likewise.
25993 (PACKET_QDISC_BYPASS): Likewise.
25994 (PACKET_ROLLOVER_STATS): Likewise.
25995 (PACKET_FANOUT_DATA): Likewise.
25996 (PACKET_MR_UNICAST): Likewise.
25997
25998 [BZ #19242]
25999 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26000 (TOUPPER): Likewise.
26001 * stdlib/tst-strtol-locale-main.c: New file.
26002 * stdlib/tst-strtol-locale.c: Likewise.
26003 * stdlib/Makefile (tests): Add tst-strtol-locale.
26004 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26005 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26006 Depend on $(gen-locales).
26007 * wcsmbs/tst-wcstol-locale.c: New file.
26008 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26009 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26010 tr_TR.ISO-8859-9.
26011 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26012 Depend on $(gen-locales).
26013
26014 2015-11-20 Roland McGrath <roland@hack.frob.com>
26015
26016 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26017 __glibc_likely instead of __builtin_expect. After falling back to
26018 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26019 system interface to register the code pages as occupied.
26020
26021 2015-11-20 Joseph Myers <joseph@codesourcery.com>
26022
26023 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26024 [!ARM_MATH_PRIVATE_H].
26025 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26026 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26027 [!HPPA_MATH_PRIVATE_H].
26028 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26029 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26030 to [!I386_MATH_PRIVATE_H].
26031 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26032 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26033 Change guard to [!M68K_MATH_PRIVATE_H].
26034 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26035 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26036 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26037 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26038 macro.
26039 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26040 [!MIPS_MATH_PRIVATE_H].
26041 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26042 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26043 [!NIO2_MATH_PRIVATE_H].
26044 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26045 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26046 [!TILE_MATH_PRIVATE_H].
26047 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26048
26049 [BZ #15421]
26050 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26051 initialize with 0 and define as weak alias of __signgam.
26052 * include/math.h [!_ISOMAC] (__signgam): Declare.
26053 * math/Makefile (libm-calls): Add w_lgamma_compat.
26054 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26055 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26056 test-signgam-ullong-init.
26057 (tests-static): Add test-signgam-uchar-static,
26058 test-signgam-uchar-init-static, test-signgam-uint-static,
26059 test-signgam-uint-init-static, test-signgam-ullong-static and
26060 test-signgam-ullong-init-static.
26061 (CFLAGS-test-signgam-uchar.c): New variable.
26062 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26063 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26064 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26065 (CFLAGS-test-signgam-uint.c): Likewise.
26066 (CFLAGS-test-signgam-uint-init.c): Likewise.
26067 (CFLAGS-test-signgam-uint-static.c): Likewise.
26068 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26069 (CFLAGS-test-signgam-ullong.c): Likewise.
26070 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26071 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26072 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26073 * math/Versions (libm): Add GLIBC_2.23.
26074 * math/lgamma-compat.h: New file.
26075 * math/test-signgam-main.c: Likewise.
26076 * math/test-signgam-uchar-init-static.c: Likewise.
26077 * math/test-signgam-uchar-init.c: Likewise.
26078 * math/test-signgam-uchar-static.c: Likewise.
26079 * math/test-signgam-uchar.c: Likewise.
26080 * math/test-signgam-uint-init-static.c: Likewise.
26081 * math/test-signgam-uint-init.c: Likewise.
26082 * math/test-signgam-uint-static.c: Likewise.
26083 * math/test-signgam-uint.c: Likewise.
26084 * math/test-signgam-ullong-init-static.c: Likewise.
26085 * math/test-signgam-ullong-init.c: Likewise.
26086 * math/test-signgam-ullong-static.c: Likewise.
26087 * math/test-signgam-ullong.c: Likewise.
26088 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26089 wrapper of w_lgamma_main.c.
26090 * math/w_lgamma_compat.c: New file.
26091 * math/w_lgamma_compatf.c: Likewise.
26092 * math/w_lgamma_compatl.c: Likewise.
26093 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26094 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26095 defining compatibility symbols.
26096 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26097 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26098 wrapper of w_lgammaf_main.c.
26099 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26100 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26101 defining compatibility symbols.
26102 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26103 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26104 wrapper of w_lgammal_main.c.
26105 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26106 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26107 defining compatibility symbols.
26108 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26109 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26110 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26111 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26112 <lgamma-compat.h>.
26113 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26114 (__ieee754_gamma): Define as alias.
26115 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26116 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26117 <lgamma-compat.h>.
26118 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26119 (__ieee754_gammaf): Define as alias.
26120 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26121 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26122 <lgamma-compat.h>.
26123 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26124 (__ieee754_gammal): Define as alias.
26125 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26126 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26127 <math/w_lgamma_compat.c>.
26128 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26129 Define as alias of __lgamma_compat and use in defining lgammal.
26130 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26131 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26132 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26133 (USE_AS_COMPAT): New macro.
26134 (LGAMMA_OLD_VER): Undefine and redefine.
26135 (lgammal): Do not define here.
26136 (gammal): Only define here if [GAMMA_ALIAS].
26137 * conform/linknamespace.pl (@whitelist): Remove signgam.
26138 * sysdeps/nacl/libm.abilist: Update.
26139 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26140 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26141 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26142 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26143 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26144 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26145 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26146 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26147 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26148 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26149 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26150 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26152 Likewise.
26153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26154 Likewise.
26155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26156 Likewise.
26157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26158 Likewise.
26159 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26160 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26161 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26162 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26163 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26165 Likewise.
26166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26167 Likewise.
26168 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26169 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26170 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26171
26172 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26173
26174 [BZ #16364]
26175 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26176 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26177
26178 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26179
26180 * sysdeps/s390/fpu/bits/mathinline.h:
26181 Use __asm__ [__volatile__] instead of asm [volatile].
26182 * sysdeps/s390/abort-instr.h: Likewise.
26183 * sysdeps/s390/atomic-machine.h: Likewise.
26184 * sysdeps/s390/bits/string.h: Likewise.
26185 * sysdeps/s390/dl-tls.h: Likewise.
26186 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26187 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26188 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26189 * sysdeps/s390/fpu/fesetround.c: Likewise.
26190 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26191 * sysdeps/s390/fpu/s_fma.c: Likewise.
26192 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26193 * sysdeps/s390/memusage.h: Likewise.
26194 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26195 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26196 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26197 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26198 * sysdeps/s390/nptl/tls.h: Likewise.
26199 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26200 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26201 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26202 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26203 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26204 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26205 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26206 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26207 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26208 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26209 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26210 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26211 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26212 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26213 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26214 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26215 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26216 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26217 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26219 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26221 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26222
26223 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26224 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26225
26226 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26227 Add lwarx hint, and use macro for acquire instruction.
26228 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26229 Likewise.
26230 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26231 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26232 update to use new atomic macros.
26233
26234 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26235
26236 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26237 (__lll_trylock_elision): Fix setting of adapt_count.
26238 * sysdeps/unix/sysv/linux/powerpc/htm.h
26239 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26240 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26241 (_ABORT_SYSCALL): Renumber, and clarify definition.
26242 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26243
26244 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26245
26246 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26247 after system headers to prevent MIN/MAX redefinition. Define
26248 HAVE_ALLOCA to preserve builtin alloca usage.
26249
26250 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26251
26252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26253 static and don't set or restore rounding.
26254 (__cos)[IN_SINCOS]: Likewise.
26255 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26256 (__sincos): Set and restore rounding mode. Remove check for infinite
26257 or NaN input.
26258
26259 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26260
26261 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26262 as used.
26263
26264 2015-11-16 Florian Weimer <fweimer@redhat.com>
26265
26266 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26267
26268 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26269
26270 * config.make.in (have-glob-dat-reloc): New.
26271 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26272 target supports GLOB_DAT relocaton. AC_SUBST.
26273 * configure: Regenerated.
26274 * elf/Makefile (tests): Add tst-prelink.
26275 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26276 (tst-prelink-ENV): New.
26277 ($(objpfx)tst-prelink-conflict.out): Likewise.
26278 ($(objpfx)tst-prelink-cmp.out): Likewise.
26279 * sysdeps/x86/tst-prelink.c: Moved to ...
26280 * elf/tst-prelink.c: Here.
26281 * sysdeps/x86/tst-prelink.exp: Moved to ...
26282 * elf/tst-prelink.exp: Here.
26283 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26284 (tst-prelink-ENV): Removed.
26285 ($(objpfx)tst-prelink-conflict.out): Likewise.
26286 ($(objpfx)tst-prelink-cmp.out): Likewise.
26287 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26288
26289 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26290
26291 [BZ #14551]
26292 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26293 (__mpn_construct_long_double): If high part overflows to infinity,
26294 set errno and recompute overflowed result of the correct sign.
26295 * sysdeps/ieee754/ldbl-128ibm/Makefile
26296 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26297 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26298 $(libm).
26299 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26300
26301 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26302
26303 [BZ #15479]
26304 [BZ #19238]
26305 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26306 floating-point state after first operation on input. Restore full
26307 state rather than just rounding mode.
26308 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26309 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26310 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26311
26312 [BZ #19235]
26313 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26314 add 0.5 to integer arguments.
26315 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26316 Likewise.
26317 (.LC2): New object.
26318
26319 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26320
26321 * scripts/pylintrc (reports): Set to no.
26322
26323 2015-11-10 Roland McGrath <roland@hack.frob.com>
26324
26325 * elf/dl-load.c (open_verify): Take new argument FD.
26326 Skip __open call if passed FD is not -1.
26327 (_dl_map_object, open_path): Update callers.
26328 * elf/dl-sysdep-open.h: New file.
26329 * elf/dl-load.c: Include it.
26330 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26331 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26332 * sysdeps/nacl/dl-sysdep-open.h: New file.
26333 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26334 from libc to rtld.
26335
26336 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26337
26338 [BZ #19228]
26339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26340 and restore full floating-point state.
26341 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26342 Likewise.
26343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26344 Likewise.
26345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26346 Likewise.
26347 * math/test-nearbyint-except-2.c: New file.
26348 * math/Makefile (tests): Add test-nearbyint-except-2.
26349
26350 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26351
26352 [BZ #19178]
26353 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26354 (tst-prelink-ENV): New.
26355 ($(objpfx)tst-prelink-conflict.out): Likewise.
26356 ($(objpfx)tst-prelink-cmp.out): Likewise.
26357 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26358 * sysdeps/x86/tst-prelink.c: New file.
26359 * sysdeps/x86/tst-prelink.exp: Likewise.
26360
26361 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26362
26363 * math/auto-libm-test-in: Add another test of pow.
26364 * math/auto-libm-test-out: Regenerated.
26365 * math/libm-test.inc (pow_test_data): Add another test.
26366
26367 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26368
26369 [BZ #19219]
26370 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26371 weak_alias to nearbyintl.
26372
26373 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26374
26375 * sysdeps/aarch64/bits/string.h: New file.
26376 (_STRING_ARCH_unaligned): Define.
26377
26378 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26379
26380 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26381 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26382 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26383 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26385
26386 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26387
26388 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26389 for original name of the DSO. Add it to the name list of the DSO
26390 if it is actually given.
26391 (_dl_map_object): Keep track of whether an audit module rewrote
26392 the file name. If yes, pass the original name to
26393 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26394 debugging is enabled, log the change of the file name.
26395 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26396 _dl_map_object_from_fd.
26397 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26398 * elf/tst-audit11.c: New file
26399 * elf/tst-auditmod11.c: New file.
26400 * elf/tst-audit11mod1.c: New file.
26401 * elf/tst-audit11mod2.c: New file.
26402 * elf/tst-audit11mod2.map: New file.
26403 * elf/tst-audit12.c: New file
26404 * elf/tst-auditmod12.c: New file.
26405 * elf/tst-audit12mod1.c: New file.
26406 * elf/tst-audit12mod2.c: New file.
26407 * elf/tst-audit12mod2.map: New file.
26408 * elf/tst-audit12mod3.c: New file.
26409
26410 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26411
26412 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26413 Don't create weak aliases,
26414 because versioned symbols are created later.
26415 * sysdeps/s390/s390-32/setjmp.S
26416 (setjmp, _setjmp): Remove weak and rename to an unique name
26417 in SHARED case due to existing versioned symbols.
26418 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26419 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26420 (getcontext): Create weak alias only in non SHARED case.
26421 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26422
26423 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26424
26425 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26426 (__ASSUME_*_SYSCALL) Define new macros.
26427 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26428 Remove socketcall syscalls.
26429 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26430 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26431 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26432 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26433 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26434 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26435
26436 2015-11-09 Florian Weimer <fweimer@redhat.com>
26437
26438 [BZ #12926]
26439 Terminate process on invalid netlink response.
26440 * sysdeps/unix/sysv/linux/netlinkaccess.h
26441 (__netlink_assert_response): Declare.
26442 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26443 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26444 (sysdep_routines): Add netlink_assert_response.
26445 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26446 __netlink_assert_response.
26447 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26448 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26449 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26450 __netlink_assert_response.
26451
26452 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26453
26454 [BZ #19178]
26455 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26456 (RTYPE_CLASS_PLT): Likewise.
26457 (RTYPE_CLASS_COPY): Likewise.
26458 (RTYPE_CLASS_TLS): Likewise.
26459 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26460 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26461 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26462 DL_DEBUG_PRELINK.
26463
26464 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26465
26466 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26467 calls with argument -0.5.
26468 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26469
26470 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26471 (libc_cv_z_nodlopen): Likewise.
26472 (libc_cv_z_initfirst): Likewise.
26473 * configure: Regenerated.
26474
26475 2015-11-06 Florian Weimer <fweimer@redhat.com>
26476
26477 Simplify abilist format to be line-based.
26478 * scripts/abilist.awk: Collect descriptors in the descs variable.
26479 (emit): Write descs variable and sort it
26480 externally, with sort.
26481 * sysdeps/**/*.abilist: Convert to new format.
26482
26483 2015-11-06 Mark Wielaard <mjw@redhat.com>
26484
26485 [BZ #11460]
26486 * io/Makefile (routines): Add fts64.
26487 (tests): Add tst-fts and tst-fts-lfs.
26488 (CFLAGS-fts64.c): New.
26489 * io/Versions (GLIBC_2.23): New.
26490 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26491 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26492 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26493 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26494 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26495 (FTSENT64): Likewise.
26496 (fts64_children): Likewise.
26497 (fts64_close): Likewise.
26498 (fts64_open): Likewise.
26499 (fts64_read): Likewise.
26500 (fts64_set): Likewise.
26501 * io/fts64.c: New file.
26502 * io/tst-fts.c: New test.
26503 * io/tst-fts-lfs.c: Likewise.
26504 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26505 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26506 fts64_set.
26507 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26508 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26509 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26510 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26511 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26512 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26513 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26514 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26516 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26517 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26518 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26519 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26521 Likewise.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26523 Likewise.
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26526 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26527 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26528 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26529 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26530 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26533 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26534 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26535 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26536 * sysdeps/wordsize-64/fts.c: New file.
26537 * sysdeps/wordsize-64/fts64.c: Likewise.
26538 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26539 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26540 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26541 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26542
26543 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26544
26545 * math/libm-test.inc (NON_FINITE): New macro.
26546 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26547 * math/gen-libm-test.pl (show_exceptions): Add argument
26548 $non_finite.
26549 (parse_args): Update call to show_exceptions.
26550 * math/test-math-finite.h: New file.
26551 * math/test-math-no-finite.h: Likewise.
26552 * math/test-double-finite.c: Likewise.
26553 * math/test-float-finite.c: Likewise.
26554 * math/test-ldouble-finite.c: Likewise.
26555 * math/test-double.c: Include "test-math-no-finite.h".
26556 * math/test-float.c: Include "test-math-no-finite.h".
26557 * math/test-ldouble.c: Include "test-math-no-finite.h".
26558 * math/test-math-inline.h (TEST_FINITE): New macro.
26559 * math/test-math-vector.h (TEST_FINITE): Likewise.
26560 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26561 (libm-tests): Add test-float-finite and test-double-finite.
26562 ($(objpfx)test-float-finite.o): New dependency on
26563 $(objpfx)libm-test.stmp.
26564 ($(objpfx)test-double-finite.o): Likewise.
26565 ($(objpfx)test-ldouble-finite.o): Likewise.
26566 (libm-test-no-inline-cflags): New variable.
26567 (libm-test-finite-cflags): Likewise.
26568 (CFLAGS-test-float-finite.c): Likewise.
26569 (CFLAGS-test-double-finite.c): Likewise.
26570 (CFLAGS-test-ldouble-finite.c): Likewise.
26571 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26572 (CFLAGS-test-double.c): Likewise.
26573 (CFLAGS-test-ldouble.c): Likewise.
26574
26575 2015-11-05 Roland McGrath <roland@hack.frob.com>
26576
26577 * io/fcntl.c (__fcntl): Add ... to prototype.
26578 * misc/ioctl.c (__ioctl): Likewise.
26579 * misc/syscall.c (syscall): Likewise.
26580
26581 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26582
26583 * scripts/list-fixed-bugs.py: New file.
26584
26585 [BZ #19213]
26586 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26587 returned for argument 1.
26588 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26589 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26590 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26591 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26592 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26593 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26594
26595 [BZ #19211]
26596 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26597 __USE_XOPEN], not if [!__USE_ISOC99].
26598 (lgammaf): Likewise.
26599 (lgammal): Likewise.
26600 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26601 (gammaf): Likewise.
26602 (gammal): Likewise.
26603 * math/test-signgam-finite-c11.c: New file.
26604 * math/test-signgam-finite-c99.c: Likewise.
26605 * math/test-signgam-finite.c: Likewise.
26606 * math/Makefile (tests): Add test-signgam-finite,
26607 test-signgam-finite-c99 and test-signgam-finite-c11.
26608 (CFLAGS-test-signgam-finite.c): New variable.
26609 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26610 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26611
26612 [BZ #19212]
26613 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26614 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26615 500].
26616 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26617 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26618 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26619 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26620 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26621 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26622 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26623 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26624 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26625 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26626
26627 [BZ #19209]
26628 * math/bits/math-finite.h (ldexp): Remove declaration.
26629 (ldexpf): Likewise.
26630 (ldexpl): Likewise.
26631
26632 [BZ #19205]
26633 * math/bits/math-finite.h (acosf): Condition declaration on
26634 [__USE_ISOC99].
26635 (acosl): Likewise.
26636 (acoshf): Likewise.
26637 (acoshl): Likewise.
26638 (asinf): Likewise.
26639 (asinl): Likewise.
26640 (atan2f): Likewise.
26641 (atan2l): Likewise.
26642 (atanhf): Likewise.
26643 (atanhl): Likewise.
26644 (coshf): Likewise.
26645 (coshl): Likewise.
26646 (expf): Likewise.
26647 (expl): Likewise.
26648 (fmodf): Likewise.
26649 (fmodl): Likewise.
26650 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26651 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26652 (j0l): Likewise.
26653 (y0f): Likewise.
26654 (y0l): Likewise.
26655 (j1f): Likewise.
26656 (j1l): Likewise.
26657 (y1f): Likewise.
26658 (y1l): Likewise.
26659 (jnf): Likewise.
26660 (jnl): Likewise.
26661 (ynf): Likewise.
26662 (ynl): Likewise.
26663 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26664 (lgammal_r): Likewise.
26665 (__lgamma_r_finite): New declaration.
26666 (__lgammaf_r_finite): Likewise.
26667 (__lgammal_r_finite): Likewise.
26668 (lgamma): Use __lgamma_r_finite.
26669 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26670 __lgammaf_r_finite.
26671 (lgammal): Condition definition on [__USE_ISOC99]. Use
26672 __lgammal_r_finite.
26673 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26674 __lgamma_r_finite.
26675 (gammaf): Condition definition on [__USE_ISOC99]. Use
26676 __lgammaf_r_finite.
26677 (gammal): Condition definition on [__USE_ISOC99]. Use
26678 __lgammal_r_finite.
26679 (logf): Condition declaration on [__USE_ISOC99].
26680 (logl): Likewise.
26681 (log10f): Likewise.
26682 (log10l): Likewise.
26683 (ldexpf): Likewise.
26684 (ldexpl): Likewise.
26685 (powf): Likewise.
26686 (powl): Likewise.
26687 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26688 __USE_ISOC99].
26689 (remainderf): Condition declaration on [__USE_ISOC99].
26690 (remainderl): Likewise.
26691 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26692 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26693 (scalbl): Likewise.
26694 (sinhf): Condition declaration on [__USE_ISOC99].
26695 (sinhl): Likewise.
26696 (sqrtf): Likewise.
26697 (sqrtl): Likewise.
26698
26699 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26700
26701 * sysdeps/arm/atomic-machine.h
26702 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26703 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26704 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26705 Remove conditional code.
26706 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26707 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26708 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26709 Change conditional to [__ASSEMBLER__].
26710 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26711 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26712 [!__ASSEMBLER__].
26713 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26714 code.
26715 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26716 conditional macro definitions.
26717 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26718 (__arch_compare_and_exchange_val_16_acq): Likewise.
26719 (__arch_compare_and_exchange_val_32_acq): Likewise.
26720 (atomic_exchange_and_add): Likewise.
26721 (atomic_add): Likewise.
26722 (atomic_add_negative): Likewise.
26723 (atomic_add_zero): Likewise.
26724 (atomic_bit_set): Likewise.
26725 (atomic_bit_test_set): Likewise.
26726 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26727 code unconditional.
26728 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26729
26730 * math/test-math-errno.h: New file.
26731 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26732 empty.
26733 (TEST_ERRNO): New macro.
26734 (TEST_EXCEPTIONS): Likewise.
26735 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26736 (TEST_EXCEPTIONS): Likewise.
26737 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26738 * math/test-double.c: Include "test-math-errno.h".
26739 * math/test-float.c: Likewise.
26740 * math/test-ldouble.c: Likewise.
26741 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26742 code unconditional.
26743 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26744 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26745 unconditional.
26746 (test_errno): Only run code if TEST_ERRNO.
26747 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26748
26749 2015-11-04 Florian Weimer <fweimer@redhat.com>
26750
26751 * nptl/tst-once5.cc: Remove attribution.
26752
26753 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26754
26755 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26756 sqrt, tan, tanh, y0, y1 and yn.
26757 * math/auto-libm-test-out: Regenerated.
26758 * math/libm-test.inc (scalb_test_data): Add more tests.
26759 (scalbn_test_data): Likewise.
26760 (scalbln_test_data): Likewise.
26761 (signbit_test_data): Likewise.
26762 (sin_test_data): Likewise.
26763 (sincos_test_data): Likewise.
26764 (sinh_test_data): Likewise.
26765 (sqrt_test_data): Likewise.
26766 (tan_test_data): Likewise.
26767 (tanh_test_data): Likewise.
26768 (tgamma_test_data): Likewise.
26769 (y0_test_data): Likewise.
26770 (y1_test_data): Likewise.
26771 (yn_test_data): Likewise.
26772 (significand_test_data): Likewise.
26773 * sysdeps/i386/fpu/libm-test-ulps: Update.
26774
26775 2015-11-03 David Kastrup <dak@gnu.org>
26776
26777 [BZ #18604]
26778 * assert/assert.h (assert): Don't macro-expand failed assertion
26779 expression in error message.
26780 * malloc/malloc.c (assert): Likewise.
26781
26782 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26783
26784 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26785 test.
26786 * configure: Regenerated.
26787
26788 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26789
26790 * math/libm-test.inc (modf_test_data): Add more tests.
26791 (nearbyint_test_data): Likewise.
26792 (nextafter_test_data): Likewise.
26793 (nexttoward_test_data): Likewise.
26794 (pow_test_data): Likewise.
26795 (remainder_test_data): Likewise.
26796 (remquo_test_data): Likewise.
26797 (rint_test_data): Likewise.
26798
26799 [BZ #19201]
26800 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26801 Check for zero remainder in case of large exponents and ensure
26802 correct sign of result in that case.
26803 * math/libm-test.inc (remainder_test_data): Add more tests.
26804
26805 [BZ #6799]
26806 * math/s_nextafter.c: Include <errno.h>.
26807 (__nextafter): Set errno on overflow and underflow.
26808 * math/s_nexttowardf.c: Include <errno.h>.
26809 (__nexttowardf): Set errno on overflow and underflow.
26810 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26811 (__nextafterl): Set errno on overflow and underflow.
26812 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26813 (__nexttoward): Set errno on overflow and underflow.
26814 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26815 (__nexttowardf): Set errno on overflow and underflow.
26816 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26817 (__nextafterf): Set errno on overflow and underflow.
26818 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26819 (__nextafterl): Set errno on overflow and underflow.
26820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26821 (__nexttoward): Set errno on overflow and underflow.
26822 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26823 (__nexttowardf): Set errno on overflow and underflow.
26824 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26825 (__nextafterl): Set errno on overflow and underflow.
26826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26827 (__nexttoward): Set errno on overflow and underflow.
26828 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26829 (__nexttowardf): Set errno on overflow and underflow.
26830 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26831 (__nexttoward): Set errno on overflow and underflow.
26832 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26833 (__nexttowardf): Set errno on overflow and underflow.
26834 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26835 (__nldbl_nexttowardf): Set errno on overflow and underflow.
26836 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26837 (__nextafterl): Set errno on overflow and underflow.
26838 * math/libm-test.inc (nextafter_test_data): Do not allow errno
26839 setting to be missing on overflow. Add more tests.
26840 (nexttoward_test_data): Likewise.
26841
26842 * configure.ac (libc_cv_initfini_array): Remove configure test.
26843 * configure: Regenerated.
26844
26845 2015-10-29 Joseph Myers <joseph@codesourcery.com>
26846
26847 [BZ #19189]
26848 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26849 non-finite argument handle arguments with negative sign.
26850
26851 * math/libm-test.inc (j0_test_data): Do not test sign of zero
26852 result from infinite argument.
26853 (j1_test_data): Likewise.
26854 (jn_test_data): Likewise.
26855 (y0_test_data): Likewise.
26856 (y1_test_data): Likewise.
26857 (yn_test_data): Likewise.
26858
26859 [BZ #16171]
26860 * math/w_remainder.c (drem): Define as weak alias of __remainder.
26861 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26862 * math/w_remainderf.c (dremf): Define as weak alias of
26863 __remainderf.
26864 * math/w_remainderl.c (dreml): Define as weak alias of
26865 __remainderl.
26866 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26867 __remainder.
26868 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26869 __remainderf.
26870 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26871 __remainderl.
26872 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26873 weak alias of remainderl.
26874 * sysdeps/ieee754/ldbl-opt/w_remainder.c
26875 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26876 alias of __remainder.
26877 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26878 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26879 strong alias of __remainderl.
26880 (dreml): Use long_double_symbol.
26881 * math/Makefile (libm-calls): Remove w_drem.
26882 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26883 (CFLAGS-nldbl-drem.c): Remove variable.
26884 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26885 * math/w_drem.c: Remove file.
26886 * math/w_dremf.c: Likewise.
26887 * math/w_dreml.c: Likewise.
26888 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26889 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26890 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26891
26892 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26893 * sysdeps/i386/configure: Regenerated.
26894 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26895 * sysdeps/x86_64/configure: Regenerated.
26896
26897 * configure.ac (libc_cv_asm_protected_directive): Remove configure
26898 test.
26899 (libc_cv_visibility_attribute): Likewise.
26900 (libc_cv_protected_data): Test unconditionally.
26901 (libc_cv_broken_visibility_attribute): Remove configure test.
26902 (libc_cv_have_sdata_section): Test unconditionally.
26903 * configure: Regenerated.
26904
26905 * include/libc-internal.h (libc_max_align_t): Remove typedef.
26906 * include/scratch_buffer.h: Include <stddef.h> instead of
26907 <libc-internal.h>.
26908 (struct scratch_buffer): Use max_align_t instead of
26909 libc_max_align_t.
26910
26911 2015-10-29 Florian Weimer <fweimer@redhat.com>
26912
26913 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26914 instead of extend_alloca. Change control flow to avoid a goto.
26915 Remove assert which is trivially always true.
26916
26917 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26918
26919 [BZ #16068]
26920 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26921 (FE_ALL_EXCEPT_X86): New macro.
26922 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26923 FE_ALL_EXCEPT. Ensure precision control is included in
26924 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26925 handle "denormal operand exception" and clear FZ and DAZ bits.
26926 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26927 (FE_ALL_EXCEPT_X86): New macro.
26928 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26929 FE_ALL_EXCEPT. Ensure precision control is included in
26930 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26931 handle "denormal operand exception" and clear FZ and DAZ bits.
26932 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26933 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26934 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26935 test-fenv-x87 and test-fenv-sse-2.
26936 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26937
26938 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26939 * math/test-double.h (BUILD_COMPLEX): New macro.
26940 * math/test-float.h (BUILD_COMPLEX): Likewise.
26941 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26942
26943 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26944 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26945 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26947 instead of DBL_DENORM_MIN in comment.
26948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26949 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26951 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26953 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26954
26955 2015-10-28 Florian Weimer <fweimer@redhat.com>
26956
26957 [BZ #19048]
26958 * malloc/malloc.c (struct malloc_state): Update comment. Add
26959 attached_threads member.
26960 (main_arena): Initialize attached_threads.
26961 * malloc/arena.c (list_lock): Update comment.
26962 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26963 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26964 (deattach_arena): New function.
26965 (_int_new_arena): Initialize arena reference count and deattach
26966 replaced arena.
26967 (get_free_list, reused_arena): Update reference count and deattach
26968 replaced arena.
26969 (arena_thread_freeres): Update arena reference count and only put
26970 unreferenced arenas on the free list.
26971
26972 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26973
26974 [BZ #19181]
26975 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26976 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26977 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26978 * math/test-fenv-clear-main.c: New file.
26979 * math/test-fenv-clear.c: Likewise.
26980 * math/Makefile (tests): Add test-fenv-clear.
26981 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26982 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26983 test-fenv-clear-sse.
26984 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26985
26986 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26987 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26988 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26989
26990 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26991
26992 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26993 static libc.
26994
26995 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26996
26997 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26998 test.
26999 * sysdeps/i386/configure: Regenerated.
27000 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27001 test.
27002 * sysdeps/x86_64/configure: Regenerated.
27003 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27005 memset-avx2 unconditionally instead of conditionally on
27006 [$(config-cflags-avx2) = yes].
27007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27008 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27009 unconditional.
27010 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27011 * sysdeps/x86_64/multiarch/memset_chk.S
27012 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27013 to [IS_IN (libc) && SHARED].
27014
27015 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27016
27017 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27018 configure test.
27019 * sysdeps/arm/configure: Regenerated.
27020 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27021 Define variable if not already defined.
27022
27023 [BZ #17404]
27024 * sysdeps/mips/atomic-machine.h
27025 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27026 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27027 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27028
27029 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27030 unconditional.
27031 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27032 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27033 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27034 unconditional.
27035 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27036 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27037 unconditional.
27038 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27039 * stdlib/setenv.c
27040 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27041 code unconditional.
27042 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27043 Remove conditional code.
27044 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27045 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27046 unconditional.
27047 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27048 code.
27049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27050 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27051 unconditional.
27052 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27053 code.
27054 * sysdeps/ieee754/ldbl-128/k_tanl.c
27055 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27056 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27057 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27058 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27059 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27060 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27061 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27062 unconditional.
27063 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27064 code.
27065 * sysdeps/ieee754/ldbl-96/k_tanl.c
27066 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27067 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27068
27069 * nptl/tst-initializers1-c11.c: New file.
27070 * nptl/tst-initializers1-gnu11.c: Likewise.
27071 * nptl/Makefile (tests): Add these new tests.
27072 (CFLAGS-tst-initializers1-c11.c): New variable.
27073 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27074
27075 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27076 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27077 instead of -std=gnu99.
27078 * configure.ac (systemtap): Test with -std=gnu11 instead of
27079 -std=gnu99.
27080 * configure: Regenerated.
27081 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27082 in compilation command in comment.
27083
27084 * sysdeps/nptl/configure.ac: Remove file.
27085 * sysdeps/nptl/configure: Remove generated file.
27086 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27087 * configure: Regenerated.
27088 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27089 * config.make.in (have-forced-unwind): Remove variable.
27090 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27091 unconditional.
27092 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27093 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27094 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27095 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27096 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27097 unconditional.
27098
27099 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27100
27101 [BZ #19174]
27102 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27103 .skip_lock_out_of_tbegin_retries.
27104 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27105 (__lll_lock_elision): Likewise, and respect a value of
27106 try_tbegin <= 0.
27107
27108 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27109
27110 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27111 statement.
27112
27113 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27114
27115 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27116 variable.
27117 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27118 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27119
27120 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27121 of -std=c1x -D_ISOC11_SOURCE.
27122
27123 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27124 * configure: Regenerated.
27125 * manual/install.texi (Tools for Compilation): Document
27126 requirement for GCC 4.7 or later.
27127 * INSTALL: Regenerated.
27128
27129 2015-10-27 Ludovic Courtès <ludo@gnu.org>
27130
27131 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27132 on CNT to a conditional jump to 'puntdata'.
27133
27134 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27135
27136 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27137 (libc_cv_gcc_tls_model_attr): Likewise.
27138 * configure: Regenerated.
27139
27140 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27141 * configure: Regenerated.
27142 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27143
27144 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27145
27146 * configure.ac (old_glibc_headers): Remove configure test.
27147 * configure: Regenerated.
27148 * config.make.in (old-glibc-headers): Remove variable.
27149 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27150 (install): Remove dependency on remove-old-headers.
27151 (headers2_0): Remove variable.
27152 (remove-old-headers): Remove rule.
27153
27154 * configure.ac (libc_cv_dot_text): Remove configure test.
27155 (libc_cv_asm_set_directive): Use .text instead of
27156 ${libc_cv_dot_text} in configure test.
27157 * configure: Regenerated.
27158
27159 2015-10-26 Florian Weimer <fweimer@redhat.com>
27160
27161 [BZ #19168]
27162 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27163
27164 2015-10-26 Florian Weimer <fweimer@redhat.com>
27165
27166 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27167 not support static linking.
27168 * configure: Regenerate.
27169
27170 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27171
27172 * math/libm-test.inc (check_float_internal): Do not special-case
27173 errors up to 0.5 ulp.
27174
27175 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27176 log2.
27177 * math/auto-libm-test-out: Regenerated.
27178 * math/libm-test.inc (MAX_EXP): New macro.
27179 (ilogb_test_data): Add more tests.
27180 (isfinite_test_data): Likewise.
27181 (isgreater_test_data): Likewise.
27182 (isgreaterequal_test_data): Likewise.
27183 (isinf_test_data): Likewise.
27184 (isless_test_data): Likewise.
27185 (islessequal_test_data): Likewise.
27186 (islessgreater_test_data): Likewise.
27187 (isnan_test_data): Likewise.
27188 (isnormal_test_data): Likewise.
27189 (issignaling_test_data): Likewise.
27190 (isunordered_test_data): Likewise.
27191 (j0_test_data): Likewise.
27192 (j1_test_data): Likewise.
27193 (jn_test_data): Likewise.
27194 (lgamma_test_data): Likewise.
27195 (log_test_data): Likewise.
27196 (log10_test_data): Likewise.
27197 (log1p_test_data): Likewise.
27198 (log2_test_data): Likewise.
27199 (logb_test_data): Likewise.
27200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27201
27202 [BZ #18611]
27203 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27204 avoid excess range and precision on underflow.
27205 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27206 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27207 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27208 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27209 underflow.
27210 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27212 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27213 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27214 * math/auto-libm-test-in: Do not allow missing errno setting for
27215 tests of j1 and jn.
27216 * math/auto-libm-test-out: Regenerated.
27217
27218 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27219
27220 [BZ #15491]
27221 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27222 floating-point environment instead of clearing all exceptions.
27223 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27224 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27225 merging in "invalid" exceptions from frndint.
27226 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27227 * math/test-nearbyint-except.c: New file.
27228 * math/Makefile (tests): Add test-nearbyint-except.
27229
27230 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27231
27232 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27233
27234 * sysdeps/tile/libm-test-ulps: Regenerated.
27235
27236 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27237
27238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27239 (__NR_sync_file_range2): Assume it is always defined.
27240 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27241 (__NR_sync_file_range): Assume it is always defined.
27242
27243 2015-10-22 Andreas Schwab <schwab@suse.de>
27244
27245 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27246 INTERNAL_SYSCALL_ERRNO.
27247 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27248 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27249 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27250 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27251 Likewise.
27252 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27253
27254 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27255
27256 * io/tst-fcntl.c (fd): New static variable.
27257 (do_prepare): Open temporary file here....
27258 (do_test): ...not here.
27259
27260 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27261
27262 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27263
27264 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27265 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27266 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27267 Moved before "#ifdef __ASSEMBLER__".
27268
27269 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27270
27271 [BZ #19156]
27272 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27273 arguments very close to 0.
27274
27275 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27276
27277 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27278 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27279
27280 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27281
27282 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27283 New. Defined for GCC 5 and above when not compiling for
27284 profiling.
27285 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27286
27287 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27288 Renamed to ...
27289 (CFLAGS-epoll_pwait.o): This.
27290 (CFLAGS-mmap.c): Renamed to ...
27291 (CFLAGS-mmap.o): This.
27292 (CFLAGS-mmap64.c): Renamed to ...
27293 (CFLAGS-mmap64.o): This.
27294 (CFLAGS-epoll_pwait.os): New.
27295 (CFLAGS-mmap.os): Likewise.
27296 (CFLAGS-mmap64.os): Likewise.
27297 (CFLAGS-semtimedop.os): Likewise.
27298 (CFLAGS-semtimedop.c): Renamed to ...
27299 (CFLAGS-semtimedop.o): This.
27300
27301 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27302
27303 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27304 warning message.
27305
27306 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27307
27308 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27309 * Makefile ($(objpfx)c++-types-check.out): Filter out
27310 $(+gccwarn-c) instead of -Wstrict-prototypes.
27311
27312 * io/fts.c (fts_open): Convert to prototype-style function
27313 definition.
27314 * malloc/mcheck.c (mcheck): Likewise.
27315 (mcheck_pedantic): Likewise.
27316 * posix/regexec.c (re_search_2_stub): Likewise. Use
27317 internal_function.
27318 (re_search_internal): Likewise.
27319 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27320 prototype-style function definition.
27321 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27322 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27323 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27324 (xdr_utmpptr): Likewise.
27325 (xdr_utmparr): Likewise.
27326 (xdr_utmpidle): Likewise.
27327 (xdr_utmpidleptr): Likewise.
27328 (xdr_utmpidlearr): Likewise.
27329
27330 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27331 log, log10 and log2.
27332 * math/auto-libm-test-out: Regenerated.
27333 * math/libm-test.inc (fmod_test_data): Add more tests.
27334 (fpclassify_test_data): Likewise.
27335 (frexp_test_data): Likewise.
27336 (hypot_test_data): Likewise.
27337 (ilogb_test_data): Likewise.
27338
27339 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27340
27341 * debug/fortify_fail.c (__fortify_fail): Convert to
27342 prototype-style function definition. Use internal_function.
27343 * libio/genops.c (save_for_backup): Convert to prototype-style
27344 function definition.
27345 * libio/wgenops.c (save_for_wbackup): Likewise.
27346 * login/grantpt.c (grantpt): Likewise.
27347 * login/ptsname.c (ptsname): Likewise.
27348 (__ptsname_r): Likewise.
27349 * login/unlockpt.c (unlockpt): Likewise.
27350 * mach/msgserver.c (__mach_msg_server): Likewise.
27351 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27352 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27353 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27354 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27355 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27356 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27357 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27358 Likewise.
27359 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27360 internal_function.
27361 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27362 prototype-style function definition.
27363 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27364 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27365 (__pthread_create_2_0): Likewise.
27366 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27367 * nptl/register-atfork.c (__register_atfork): Likewise.
27368 * posix/glob.c (glob): Likewise.
27369 * posix/regcomp.c (re_comp): Likewise.
27370 * posix/regexec.c (re_exec): Likewise.
27371 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27372 [!__STDC__]: Remove conditional code.
27373 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27374 [!__STDC__]: Remove conditional code.
27375 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27376 [!__STDC__]: Remove conditional code.
27377 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27378 [!__STDC__]: Remove conditional code.
27379 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27380 [!__STDC__]: Remove conditional code.
27381 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27382 [!__STDC__]: Remove conditional code.
27383 * stdlib/mul.c [__STDC__]: Make code unconditional.
27384 [!__STDC__]: Remove conditional code.
27385 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27386 [!__STDC__]: Remove conditional code.
27387 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27388 [!__STDC__]: Remove conditional code.
27389 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27390 function definition.
27391 (STRTOF): Likewise.
27392 * stdlib/strtod_l.c (__STRTOF): Likewise.
27393 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27394 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27395 (__strtol_l): Likewise.
27396 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27397 [!__STDC__]: Remove conditional code.
27398 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27399 definition.
27400 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27401 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27402 type.
27403 (__strcasecmp): Convert to prototype-style function definition.
27404 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27405 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27406 type.
27407 (__strncasecmp): Convert to prototype-style function definition.
27408 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27409 * sunrpc/xdr.c (xdr_union): Likewise.
27410 * sunrpc/xdr_array.c (xdr_array): Likewise.
27411 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27412 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27413 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27414 Likewise.
27415 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27416 Likewise.
27417 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27418 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27419 Likewise.
27420 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27421 (LOCALE_PARAM_PROTO): Likewise.
27422 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27423 argument type.
27424 (ut_argument_spec): Remove macro.
27425 (ut_argument_spec_iso): Rename to ut_argument_spec.
27426 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27427 prototype-style function definition.
27428 (memcpy_uppcase): Likewise.
27429 (__strftime_internal): Likewise.
27430 (my_strftime): Likewise.
27431 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27432 (LOCALE_PARAM_DECL): Likewise.
27433 [_LIBC] (LOCALE_PARAM): Include argument type.
27434 (__strptime_internal): Convert to prototype-style function
27435 definition.
27436 (strptime): Likewise.
27437 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27438 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27439 type.
27440 (__wcscasecmp): Convert to prototype-style function definition.
27441 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27442 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27443 type.
27444 (__wcsncasecmp): Convert to prototype-style function definition.
27445
27446 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27447 function definition.
27448 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27449 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27450 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27451 * elf/dl-minimal.c (_itoa): Likewise.
27452 * hurd/hurdmalloc.c (malloc): Likewise.
27453 (free): Likewise.
27454 (realloc): Likewise.
27455 * inet/inet6_option.c (inet6_option_space): Likewise.
27456 (inet6_option_init): Likewise.
27457 (inet6_option_append): Likewise.
27458 (inet6_option_alloc): Likewise.
27459 (inet6_option_next): Likewise.
27460 (inet6_option_find): Likewise.
27461 * io/ftw.c (FTW_NAME): Likewise.
27462 (NFTW_NAME): Likewise.
27463 (NFTW_NEW_NAME): Likewise.
27464 (NFTW_OLD_NAME): Likewise.
27465 * libio/iofwide.c (_IO_fwide): Likewise.
27466 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27467 (_IO_str_init_static): Likewise.
27468 (_IO_str_init_readonly): Likewise.
27469 (_IO_str_overflow): Likewise.
27470 (_IO_str_underflow): Likewise.
27471 (_IO_str_count): Likewise.
27472 (_IO_str_seekoff): Likewise.
27473 (_IO_str_pbackfail): Likewise.
27474 (_IO_str_finish): Likewise.
27475 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27476 (_IO_wstr_overflow): Likewise.
27477 (_IO_wstr_underflow): Likewise.
27478 (_IO_wstr_count): Likewise.
27479 (_IO_wstr_seekoff): Likewise.
27480 (_IO_wstr_pbackfail): Likewise.
27481 (_IO_wstr_finish): Likewise.
27482 * locale/programs/localedef.c (normalize_codeset): Likewise.
27483 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27484 (add_locales_to_archive): Likewise.
27485 (delete_locales_from_archive): Likewise.
27486 * malloc/malloc.c (__libc_mallinfo): Likewise.
27487 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27488 * misc/tsearch.c (__tfind): Likewise.
27489 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27490 * nptl/pthread_attr_getdetachstate.c
27491 (__pthread_attr_getdetachstate): Likewise.
27492 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27493 Likewise.
27494 * nptl/pthread_attr_getinheritsched.c
27495 (__pthread_attr_getinheritsched): Likewise.
27496 * nptl/pthread_attr_getschedparam.c
27497 (__pthread_attr_getschedparam): Likewise.
27498 * nptl/pthread_attr_getschedpolicy.c
27499 (__pthread_attr_getschedpolicy): Likewise.
27500 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27501 Likewise.
27502 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27503 Likewise.
27504 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27505 Likewise.
27506 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27507 Likewise.
27508 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27509 (__pthread_attr_init_2_0): Likewise.
27510 * nptl/pthread_attr_setdetachstate.c
27511 (__pthread_attr_setdetachstate): Likewise.
27512 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27513 Likewise.
27514 * nptl/pthread_attr_setinheritsched.c
27515 (__pthread_attr_setinheritsched): Likewise.
27516 * nptl/pthread_attr_setschedparam.c
27517 (__pthread_attr_setschedparam): Likewise.
27518 * nptl/pthread_attr_setschedpolicy.c
27519 (__pthread_attr_setschedpolicy): Likewise.
27520 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27521 Likewise.
27522 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27523 Likewise.
27524 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27525 Likewise.
27526 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27527 Likewise.
27528 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27529 Likewise.
27530 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27531 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27532 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27533 use internal_function.
27534 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27535 prototype-style function definition.
27536 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27537 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27538 internal_function.
27539 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27540 Convert to prototype-style function definition.
27541 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27542 Likewise.
27543 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27544 Likewise.
27545 (__pthread_mutex_unlock): Likewise.
27546 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27547 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27548 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27549 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27550 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27551 * nss/makedb.c (process_input): Likewise.
27552 * posix/fnmatch.c (__strchrnul): Likewise.
27553 (__wcschrnul): Likewise.
27554 (fnmatch): Likewise.
27555 * posix/fnmatch_loop.c (FCT): Likewise.
27556 * posix/glob.c (globfree): Likewise.
27557 (__glob_pattern_type): Likewise.
27558 (__glob_pattern_p): Likewise.
27559 * posix/regcomp.c (re_compile_pattern): Likewise.
27560 (re_set_syntax): Likewise.
27561 (re_compile_fastmap): Likewise.
27562 (regcomp): Likewise.
27563 (regerror): Likewise.
27564 (regfree): Likewise.
27565 * posix/regexec.c (regexec): Likewise.
27566 (re_match): Likewise.
27567 (re_search): Likewise.
27568 (re_match_2): Likewise.
27569 (re_search_2): Likewise.
27570 (re_search_stub): Likewise. Use internal_function
27571 (re_copy_regs): Likewise.
27572 (re_set_registers): Convert to prototype-style function
27573 definition.
27574 (prune_impossible_nodes): Likewise. Use internal_function.
27575 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27576 prototype-style function definition.
27577 (inet_net_pton_ipv4): Likewise.
27578 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27579 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27580 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27581 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27582 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27583 Make variadic.
27584 * time/strptime_l.c (localtime_r): Convert to prototype-style
27585 function definition.
27586 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27587 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27588 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27589 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27590
27591 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27592 definition.
27593 (_ufc_doit_r): Likewise.
27594 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27595 (_ufc_output_conversion_r): Likewise.
27596 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27597 * inet/rcmd.c (rcmd_af): Likewise.
27598 (rcmd): Likewise.
27599 (ruserok_af): Likewise.
27600 (ruserok): Likewise.
27601 (ruserok2_sa): Likewise.
27602 (ruserok_sa): Likewise.
27603 (iruserok_af): Likewise.
27604 (iruserok): Likewise.
27605 (__ivaliduser): Likewise.
27606 (__validuser2_sa): Likewise.
27607 * inet/rexec.c (rexec_af): Likewise.
27608 (rexec): Likewise.
27609 * inet/ruserpass.c (ruserpass): Likewise.
27610 * locale/programs/xmalloc.c (xcalloc): Likewise.
27611 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27612 * math/w_drem.c (__drem): Likewise.
27613 * math/w_dremf.c (__dremf): Likewise.
27614 * math/w_dreml.c (__dreml): Likewise.
27615 * misc/daemon.c (daemon): Likewise.
27616 * resolv/res_debug.c (p_fqnname): Likewise.
27617 * stdlib/div.c (div): Likewise.
27618 * string/memcmp.c (memcmp_bytes): Likewise.
27619 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27620 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27621
27622 * crypt/cert.c (main): Convert to prototype-style function
27623 definition.
27624 * io/pipe.c (__pipe): Likewise.
27625 * io/pipe2.c (__pipe2): Likewise.
27626 * misc/futimesat.c (futimesat): Likewise.
27627 * misc/utimes.c (__utimes): Likewise.
27628 * posix/execve.c (__execve): Likewise.
27629 * posix/execvp.c (execvp): Likewise.
27630 * posix/execvpe.c (__execvpe): Likewise.
27631 * posix/fexecve.c (fexecve): Likewise.
27632 * socket/socketpair.c (socketpair): Likewise.
27633 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27634 * stdlib/erand48.c (erand48): Likewise.
27635 * stdlib/erand48_r.c (__erand48_r): Likewise.
27636 * stdlib/jrand48.c (jrand48): Likewise.
27637 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27638 * stdlib/lcong48.c (lcong48): Likewise.
27639 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27640 * stdlib/nrand48.c (nrand48): Likewise.
27641 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27642 * stdlib/seed48.c (seed48): Likewise.
27643 * stdlib/seed48_r.c (__seed48_r): Likewise.
27644 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27645 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27646 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27647
27648 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27649
27650 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27651 * configure: Regenerated.
27652 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27653 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27654 unconditional.
27655 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27656 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27657 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27658 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27659 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27660 unconditional.
27661 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27662
27663 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27664 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27665
27666 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27667 function definition.
27668 * crypt/crypt_util.c (__encrypt_r): Likewise.
27669 * libio/genops.c (_IO_no_init): Likewise.
27670 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27671 (_IO_old_fopencookie): Likewise.
27672 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27673 * libio/iogetline.c (_IO_getline): Likewise.
27674 (_IO_getline_info): Likewise.
27675 * libio/iogetwline.c (_IO_getwline): Likewise.
27676 (_IO_getwline_info): Likewise.
27677 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27678 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27679 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27680 (find_entry): Likewise.
27681 (iterate_table): Likewise.
27682 (lookup): Likewise.
27683 * login/forkpty.c (forkpty): Likewise.
27684 * misc/hsearch_r.c (__hsearch_r): Likewise.
27685 * misc/select.c (__select): Likewise.
27686 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27687 Likewise.
27688 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27689 Likewise.
27690 * nptl/old_pthread_cond_timedwait.c
27691 (__pthread_cond_timedwait_2_0): Likewise.
27692 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27693 * nptl/pthread_barrierattr_getpshared.c
27694 (pthread_barrierattr_getpshared): Likewise.
27695 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27696 Likewise.
27697 * nptl/pthread_mutex_setprioceiling.c
27698 (pthread_mutex_setprioceiling): Likewise.
27699 * nptl/pthread_mutexattr_getprioceiling.c
27700 (pthread_mutexattr_getprioceiling): Likewise.
27701 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27702 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27703 Likewise.
27704 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27705 Likewise.
27706 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27707 Likewise.
27708 * socket/recvfrom.c (__recvfrom): Likewise.
27709 * socket/sendto.c (__sendto): Likewise.
27710 * socket/setsockopt.c (__setsockopt): Likewise.
27711 * stdio-common/_itoa.c (_itoa): Likewise.
27712 * stdio-common/_itowa.c (_itowa): Likewise.
27713 * stdio-common/reg-printf.c (__register_printf_specifier):
27714 Likewise.
27715 (__register_printf_function): Likewise.
27716 * stdio-common/tempname.c (__path_search): Likewise.
27717 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27718 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27719 * stdlib/random_r.c (__initstate_r): Likewise.
27720 * stdlib/setenv.c (__add_to_environ): Likewise.
27721 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27722 * streams/getpmsg.c (getpmsg): Likewise.
27723 * streams/putmsg.c (putmsg): Likewise.
27724 * streams/putpmsg.c (putpmsg): Likewise.
27725 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27726 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27727 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27728 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27729 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27730 * sunrpc/svc_udp.c (cache_get): Likewise.
27731 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27732 * sysdeps/mach/hurd/getcwd.c
27733 (__canonicalize_directory_name_internal): Likewise.
27734 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27735 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27736 * sysdeps/mach/hurd/select.c (__select): Likewise.
27737 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27738 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27739 * sysdeps/sparc/nptl/pthread_barrier_init.c
27740 (__pthread_barrier_init): Likewise.
27741 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27742 (__pthread_cond_timedwait): Likewise.
27743 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27744 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27745 Likewise.
27746 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27747 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27748 Likewise.
27749 * sysvipc/semtimedop.c (semtimedop): Likewise.
27750 * time/setitimer.c (__setitimer): Likewise.
27751 * time/strftime_l.c (emacs_strftime): Likewise.
27752
27753 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27754
27755 * config.make.in (have-ssp): Delete.
27756 (stack-protector): New variable.
27757 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27758 cache test for -fstack-protector-strong. Export stack_protector to
27759 the best ssp flag.
27760 * configure: Regenerated.
27761 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27762 * nscd/Makefile (CFLAGS-nscd): Likewise.
27763 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27764
27765 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27766
27767 [BZ #19122]
27768 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27769 attribute_hidden.
27770
27771 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27772
27773 [BZ #18743]
27774 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27775 code to...
27776 (ELIDE_LOCK): ...here.
27777 (__get_new_count): New function with part of the code from
27778 __elide_lock that updates the value of adapt_count after a
27779 transaction abort.
27780 (__elided_trylock): Moved this code to...
27781 (ELIDE_TRYLOCK): ...here.
27782
27783 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27784
27785 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27786 * configure: Regenerate.
27787 * INSTALL: Regenerate.
27788 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27789 and tweak grammar.
27790
27791 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27792
27793 * login/programs/pt_chown.c: Include signal.h
27794 (main): Clear any signal mask from the parent process.
27795
27796 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27797
27798 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27799 * configure: Regenerated.
27800 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27801 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27802 $(gnu89-inline-CFLAGS).
27803
27804 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27805 test.
27806 (libc_cv_asm_weakext_directive): Likewise.
27807 * configure: Regenerated.
27808 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27809 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27810 * include/libc-symbols.h
27811 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27812 #error.
27813 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27814 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27815
27816 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27817 prototype-style function definition.
27818 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27819 * sysdeps/i386/ffs.c (__ffs): Likewise.
27820 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27821 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27822 Likewise.
27823 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27824 Likewise.
27825 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27826 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27827 Likewise.
27828 * sysdeps/m68k/ffs.c (__ffs): Likewise.
27829 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27830 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27831 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27832 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27833 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27834 * sysdeps/mach/hurd/access.c (__access): Likewise.
27835 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27836 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27837 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27838 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27839 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27840 (cthread_getspecific): Likewise.
27841 (cthread_setspecific): Likewise.
27842 (__libc_getspecific): Likewise.
27843 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27844 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27845 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27846 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27847 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27848 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27849 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27850 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27851 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27852 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27853 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27854 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27855 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27856 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27857 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27858 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27859 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27860 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27861 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27862 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27863 * sysdeps/mach/hurd/link.c (__link): Likewise.
27864 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27865 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27866 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27867 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27868 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27869 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27870 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27871 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27872 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27873 * sysdeps/mach/hurd/rename.c (rename): Likewise.
27874 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27875 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27876 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27877 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27878 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27879 * sysdeps/mach/hurd/send.c (__send): Likewise.
27880 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27881 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27882 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27883 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27884 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27885 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27886 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27887 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27888 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27889 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27890 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27891 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27892 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27893 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27894 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27895 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27896 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27897 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27898 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27899 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27900 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27901 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27902 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27903 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27904 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27905 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27906 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27907 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27908 * sysdeps/posix/alarm.c (alarm): Likewise.
27909 * sysdeps/posix/cuserid.c (cuserid): Likewise.
27910 * sysdeps/posix/dirfd.c (dirfd): Likewise.
27911 * sysdeps/posix/dup.c (__dup): Likewise.
27912 * sysdeps/posix/dup2.c (__dup2): Likewise.
27913 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27914 (main): Likewise.
27915 * sysdeps/posix/flock.c (__flock): Likewise.
27916 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27917 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27918 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27919 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27920 * sysdeps/posix/isatty.c (__isatty): Likewise.
27921 * sysdeps/posix/killpg.c (killpg): Likewise.
27922 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27923 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27924 * sysdeps/posix/raise.c (raise): Likewise.
27925 * sysdeps/posix/remove.c (remove): Likewise.
27926 * sysdeps/posix/rename.c (rename): Likewise.
27927 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27928 * sysdeps/posix/seekdir.c (seekdir): Likewise.
27929 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27930 * sysdeps/posix/sigignore.c (sigignore): Likewise.
27931 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27932 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27933 * sysdeps/posix/sigset.c (sigset): Likewise.
27934 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27935 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27936 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27937 * sysdeps/posix/time.c (time): Likewise.
27938 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27939 (ttyname): Likewise.
27940 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27941 * sysdeps/posix/utime.c (utime): Likewise.
27942 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27943 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27944 Likewise.
27945 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27946 (pthread_spin_trylock): Likewise.
27947 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27948 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27949 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27950 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27951 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27952 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27953 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27954 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27955 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27956 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27957 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27958 * sysdeps/s390/ffs.c (__ffs): Likewise.
27959 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27960 Likewise.
27961 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27962 Likewise.
27963 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27964 Likewise.
27965 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27966 (pthread_barrier_destroy): Likewise.
27967 * sysdeps/sparc/nptl/pthread_barrier_wait.c
27968 (__pthread_barrier_wait): Likewise.
27969 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27970 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27971 (__pthread_barrier_wait): Likewise.
27972 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27973 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27974 (memcmp_not_common_alignment): Likewise.
27975 (MEMCMP): Likewise.
27976 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27977 (_wordcopy_fwd_dest_aligned): Likewise.
27978 (_wordcopy_bwd_aligned): Likewise.
27979 (_wordcopy_bwd_dest_aligned): Likewise.
27980 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27981 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27982 * sysdeps/unix/bsd/stty.c (stty): Likewise.
27983 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27984 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27985 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27986 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27987 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27988 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27989 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27990 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27991 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27992 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27993 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27994 * sysdeps/unix/stime.c (stime): Likewise.
27995 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27996 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27997 Likewise. Use internal_function.
27998 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27999 Convert to prototype-style function definition.
28000 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28001 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28002 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28003 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28004 Likewise. Use internal_function.
28005 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28006 prototype-style function definition
28007 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28008 Likewise.
28009 (__getlogin_r): Likewise.
28010 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28011 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28012 (__pthread_cond_broadcast): Likewise.
28013 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28014 (__pthread_cond_destroy): Likewise.
28015 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28016 (__pthread_cond_init): Likewise.
28017 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28018 (__pthread_cond_signal): Likewise.
28019 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28020 (__pthread_cond_wait): Likewise.
28021 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28022 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28023 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28024 Likewise.
28025 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28026 Likewise.
28027 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28028 Likewise.
28029 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28030 Likewise.
28031 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28033 (__ftruncate64): Likewise.
28034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28035 (truncate64): Likewise.
28036 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28037 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28038 (pthread_getcpuclockid): Likewise.
28039 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28040 Likewise.
28041 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28042 Likewise.
28043 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28044 Likewise.
28045 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28046 Likewise.
28047 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28048 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28049 (__libc_sigaction): Likewise.
28050 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28051 Likewise.
28052 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28053 (__sigprocmask): Likewise.
28054 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28055 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28056 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28057 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28058 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28059 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28060 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28061 Likewise.
28062 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28063 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28064 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28065 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28067 Likewise.
28068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28069 (__sigprocmask): Likewise.
28070 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28071 (cfgetispeed): Likewise.
28072 (cfsetospeed): Likewise.
28073 (cfsetispeed): Likewise.
28074 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28075 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28076 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28077 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28078 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28079 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28080 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28081 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28082 Likewise.
28083 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28084 Likewise.
28085 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28086 Likewise.
28087 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28088 Likewise.
28089 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28090
28091 2015-10-17 Florian Weimer <fweimer@redhat.com>
28092
28093 sunrpc: Rewrite with explicit TLS access using __thread.
28094 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28095 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28096 directly.
28097 (__rpc_thread_variables): Access thread_rpc_vars directly.
28098 Eliminate redundant assignment of the tvp variable.
28099
28100 2015-10-17 Florian Weimer <fweimer@redhat.com>
28101
28102 malloc: Rewrite with explicit TLS access using __thread.
28103 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28104 (tsd_setspecific, tsd_getspecific): Remove.
28105 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28106 (tsd_setspecific, tsd_getspecific): Likewise.
28107 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28108 (tsd_setspecific, tsd_getspecific): Likewise.
28109 * malloc/arena.c (thread_arena): New TLS variable.
28110 (arena_key): Remove variable.
28111 (arena_get): Use thread_arena.
28112 (arena_lookup): Remove macro.
28113 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28114 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28115 (_int_new_arena, get_free_list, reused_arena)
28116 (arena_thread_freeres): Use thread_arena.
28117 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28118 tsd_getspecific, tsd_setspecific from safety annotations.
28119 (Allocating Cleared Space): Remove arena_lookup from safety
28120 annotations.
28121
28122 2015-10-17 Florian Weimer <fweimer@redhat.com>
28123
28124 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28125 struct scratch_buffer instead of extend_alloca.
28126
28127 2015-10-17 Florian Weimer <fweimer@redhat.com>
28128
28129 * sysdeps/unix/sysv/linux/kernel-features.h
28130 (__ASSUME_SOCK_CLOEXEC): Remove.
28131 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28132 (__have_paccept): Remove unused macro.
28133 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28134 * misc/syslog.c (openlog_internal): Remove fallback code for
28135 !__ASSUME_SOCK_CLOEXEC.
28136 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28137 missing SOCK_CLOEXEC.
28138 * nscd/connections.c (have_sock_cloexec): Remove definition.
28139 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28140 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28141 !__ASSUME_SOCK_CLOEXEC.
28142 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28143 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28144 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28145 definition.
28146 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28147 code for !__ASSUME_SOCK_CLOEXEC.
28148
28149 2015-10-17 Florian Weimer <fweimer@redhat.com>
28150
28151 [BZ #18982]
28152 * manual/stdio.texi (Variable Arguments Output): Add portability
28153 note, explaining that vfprintf clobbers the va_list pointer.
28154
28155 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28156
28157 * math/libm-test.inc (fabs_test_data): Add more tests.
28158 (fdim_test_data): Likewise.
28159 (fma_test_data): Likewise.
28160 (fmax_test_data): Likewise.
28161 (fmin_test_data): Likewise.
28162 (fmod_test_data): Likewise.
28163
28164 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28165
28166 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28167 data.
28168
28169 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28170
28171 * math/libm-test.inc (ceil_test_data): Add more tests and more
28172 expectations for "inexact".
28173 (floor_test_data): Add more tests.
28174 (round_test_data): Likewise.
28175 (trunc_test_data): Likewise.
28176
28177 * crypt/cert.c (good_bye): Convert to prototype-style function
28178 definition.
28179 (get8): Likewise.
28180 (put8): Likewise.
28181 * crypt/crypt-entry.c (crypt): Likewise.
28182 (__fcrypt): Likewise.
28183 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28184 (_ufc_set_bits): Likewise.
28185 (_ufc_clearmem): Likewise.
28186 (__init_des_r): Likewise.
28187 (shuffle_sb): Likewise.
28188 (shuffle_sb): Likewise.
28189 (_ufc_setup_salt_r): Likewise.
28190 (_ufc_mk_keytab_r): Likewise.
28191 (_ufc_dofinalperm_r): Likewise.
28192 (encrypt): Likewise.
28193 (__setkey_r): Likewise.
28194 (setkey): Likewise.
28195 * crypt/md5.c (md5_init_ctx): Likewise.
28196 (md5_read_ctx): Likewise.
28197 (md5_finish_ctx): Likewise.
28198 (md5_stream): Likewise.
28199 (md5_buffer): Likewise.
28200 (md5_process_bytes): Likewise.
28201 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28202 (__sha256_finish_ctx): Likewise.
28203 (__sha256_process_bytes): Likewise.
28204 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28205 (__sha512_finish_ctx): Likewise.
28206 (__sha512_process_bytes): Likewise.
28207 * ctype/isctype.c (__isctype): Likewise.
28208 * debug/backtrace.c (__backtrace): Likewise.
28209 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28210 * debug/fgets_chk.c (__fgets_chk): Likewise.
28211 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28212 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28213 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28214 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28215 * debug/memset_chk.c (__memset_chk): Likewise.
28216 * debug/strcat_chk.c (__strcat_chk): Likewise.
28217 * debug/strncat_chk.c (__strncat_chk): Likewise.
28218 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28219 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28220 * dirent/dirfd.c (dirfd): Likewise.
28221 * dirent/getdents.c (__getdirentries): Likewise.
28222 * dirent/getdents64.c (getdirentries64): Likewise.
28223 * dirent/rewinddir.c (__rewinddir): Likewise.
28224 * dirent/seekdir.c (seekdir): Likewise.
28225 * dirent/telldir.c (telldir): Likewise.
28226 * elf/sln.c (makesymlinks): Likewise.
28227 (makesymlink): Likewise.
28228 * gmon/gmon.c (__moncontrol): Likewise.
28229 (__monstartup): Likewise.
28230 (write_hist): Likewise.
28231 (write_call_graph): Likewise.
28232 (write_bb_counts): Likewise.
28233 * grp/setgroups.c (setgroups): Likewise.
28234 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28235 * inet/inet_net.c (inet_network): Likewise.
28236 * inet/inet_netof.c (inet_netof): Likewise.
28237 * inet/rcmd.c (rresvport_af): Likewise.
28238 (rresvport): Likewise.
28239 * io/access.c (__access): Likewise.
28240 * io/chdir.c (__chdir): Likewise.
28241 * io/chmod.c (__chmod): Likewise.
28242 * io/chown.c (__chown): Likewise.
28243 * io/close.c (__close): Likewise.
28244 * io/creat.c (creat): Likewise.
28245 * io/creat64.c (creat64): Likewise.
28246 * io/dup.c (__dup): Likewise.
28247 * io/dup2.c (__dup2): Likewise.
28248 * io/dup3.c (__dup3): Likewise.
28249 * io/euidaccess.c (__euidaccess): Likewise.
28250 * io/faccessat.c (faccessat): Likewise.
28251 * io/fchmod.c (__fchmod): Likewise.
28252 * io/fchmodat.c (fchmodat): Likewise.
28253 * io/fchown.c (__fchown): Likewise.
28254 * io/fchownat.c (fchownat): Likewise.
28255 * io/fcntl.c (__fcntl): Likewise.
28256 * io/flock.c (__flock): Likewise.
28257 * io/fts.c (fts_load): Likewise.
28258 (fts_close): Likewise.
28259 (fts_read): Likewise.
28260 (fts_set): Likewise.
28261 (fts_children): Likewise.
28262 (fts_build): Likewise.
28263 (fts_stat): Likewise.
28264 (fts_sort): Likewise.
28265 (fts_alloc): Likewise.
28266 (fts_lfree): Likewise.
28267 (fts_palloc): Likewise.
28268 (fts_padjust): Likewise.
28269 (fts_maxarglen): Likewise.
28270 (fts_safe_changedir): Likewise.
28271 * io/getwd.c (getwd): Likewise.
28272 * io/isatty.c (__isatty): Likewise.
28273 * io/lchown.c (__lchown): Likewise.
28274 * io/link.c (__link): Likewise.
28275 * io/linkat.c (linkat): Likewise.
28276 * io/lseek.c (__libc_lseek): Likewise.
28277 * io/mkdir.c (__mkdir): Likewise.
28278 * io/mkdirat.c (mkdirat): Likewise.
28279 * io/mkfifo.c (mkfifo): Likewise.
28280 * io/mkfifoat.c (mkfifoat): Likewise.
28281 * io/open.c (__libc_open): Likewise.
28282 * io/open64.c (__libc_open64): Likewise.
28283 * io/readlink.c (__readlink): Likewise.
28284 * io/readlinkat.c (readlinkat): Likewise.
28285 * io/rmdir.c (__rmdir): Likewise.
28286 * io/symlink.c (__symlink): Likewise.
28287 * io/symlinkat.c (symlinkat): Likewise.
28288 * io/ttyname.c (ttyname): Likewise.
28289 * io/ttyname_r.c (__ttyname_r): Likewise.
28290 * io/umask.c (__umask): Likewise.
28291 * io/unlink.c (__unlink): Likewise.
28292 * io/unlinkat.c (unlinkat): Likewise.
28293 * io/utime.c (utime): Likewise.
28294 * libio/clearerr.c (clearerr): Likewise.
28295 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28296 * libio/feof.c (_IO_feof): Likewise.
28297 * libio/feof_u.c (feof_unlocked): Likewise.
28298 * libio/ferror.c (_IO_ferror): Likewise.
28299 * libio/ferror_u.c (ferror_unlocked): Likewise.
28300 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28301 * libio/fileno.c (__fileno): Likewise.
28302 * libio/fputc.c (fputc): Likewise.
28303 * libio/fputc_u.c (fputc_unlocked): Likewise.
28304 * libio/fputwc.c (fputwc): Likewise.
28305 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28306 * libio/freopen.c (freopen): Likewise.
28307 * libio/freopen64.c (freopen64): Likewise.
28308 * libio/fseek.c (fseek): Likewise.
28309 * libio/fseeko.c (fseeko): Likewise.
28310 * libio/fseeko64.c (fseeko64): Likewise.
28311 * libio/ftello.c (__ftello): Likewise.
28312 * libio/ftello64.c (ftello64): Likewise.
28313 * libio/fwide.c (fwide): Likewise.
28314 * libio/genops.c (_IO_un_link): Likewise.
28315 (_IO_link_in): Likewise.
28316 (_IO_least_marker): Likewise.
28317 (_IO_switch_to_main_get_area): Likewise.
28318 (_IO_switch_to_backup_area): Likewise.
28319 (_IO_switch_to_get_mode): Likewise.
28320 (_IO_free_backup_area): Likewise.
28321 (_IO_switch_to_put_mode): Likewise.
28322 (__overflow): Likewise.
28323 (__underflow): Likewise.
28324 (__uflow): Likewise.
28325 (_IO_setb): Likewise.
28326 (_IO_doallocbuf): Likewise.
28327 (_IO_default_underflow): Likewise.
28328 (_IO_default_uflow): Likewise.
28329 (_IO_default_xsputn): Likewise.
28330 (_IO_sgetn): Likewise.
28331 (_IO_default_xsgetn): Likewise.
28332 (_IO_sync): Likewise.
28333 (_IO_default_setbuf): Likewise.
28334 (_IO_default_seekpos): Likewise.
28335 (_IO_default_doallocate): Likewise.
28336 (_IO_init): Likewise.
28337 (_IO_old_init): Likewise.
28338 (_IO_default_sync): Likewise.
28339 (_IO_default_finish): Likewise.
28340 (_IO_default_seekoff): Likewise.
28341 (_IO_sputbackc): Likewise.
28342 (_IO_sungetc): Likewise.
28343 (_IO_set_column): Likewise.
28344 (_IO_set_column): Likewise.
28345 (_IO_adjust_column): Likewise.
28346 (_IO_get_column): Likewise.
28347 (_IO_init_marker): Likewise.
28348 (_IO_remove_marker): Likewise.
28349 (_IO_marker_difference): Likewise.
28350 (_IO_marker_delta): Likewise.
28351 (_IO_seekmark): Likewise.
28352 (_IO_unsave_markers): Likewise.
28353 (_IO_nobackup_pbackfail): Likewise.
28354 (_IO_default_pbackfail): Likewise.
28355 (_IO_default_seek): Likewise.
28356 (_IO_default_stat): Likewise.
28357 (_IO_default_read): Likewise.
28358 (_IO_default_write): Likewise.
28359 (_IO_default_showmanyc): Likewise.
28360 (_IO_default_imbue): Likewise.
28361 (_IO_iter_next): Likewise.
28362 (_IO_iter_file): Likewise.
28363 * libio/getc.c (_IO_getc): Likewise.
28364 * libio/getwc.c (_IO_getwc): Likewise.
28365 * libio/iofclose.c (_IO_new_fclose): Likewise.
28366 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28367 * libio/iofflush.c (_IO_fflush): Likewise.
28368 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28369 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28370 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28371 * libio/iofgets.c (_IO_fgets): Likewise.
28372 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28373 * libio/iofgetws.c (fgetws): Likewise.
28374 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28375 * libio/iofopen64.c (_IO_fopen64): Likewise.
28376 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28377 (_IO_cookie_write): Likewise.
28378 (_IO_cookie_seek): Likewise.
28379 (_IO_cookie_close): Likewise.
28380 (_IO_cookie_seekoff): Likewise.
28381 (_IO_old_cookie_seek): Likewise.
28382 * libio/iofputs.c (_IO_fputs): Likewise.
28383 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28384 * libio/iofputws.c (fputws): Likewise.
28385 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28386 * libio/iofread.c (_IO_fread): Likewise.
28387 * libio/iofread_u.c (__fread_unlocked): Likewise.
28388 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28389 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28390 * libio/ioftell.c (_IO_ftell): Likewise.
28391 * libio/iofwrite.c (_IO_fwrite): Likewise.
28392 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28393 * libio/iogets.c (_IO_gets): Likewise.
28394 * libio/iopadn.c (_IO_padn): Likewise.
28395 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28396 (_IO_new_popen): Likewise.
28397 (_IO_new_proc_close): Likewise.
28398 * libio/ioputs.c (_IO_puts): Likewise.
28399 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28400 (_IO_seekoff): Likewise.
28401 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28402 (_IO_seekpos): Likewise.
28403 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28404 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28405 * libio/ioungetc.c (_IO_ungetc): Likewise.
28406 * libio/ioungetwc.c (ungetwc): Likewise.
28407 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28408 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28409 * libio/iowpadn.c (_IO_wpadn): Likewise.
28410 * libio/libc_fatal.c (__libc_fatal): Likewise.
28411 * libio/memstream.c (__open_memstream): Likewise.
28412 (_IO_mem_sync): Likewise.
28413 (_IO_mem_finish): Likewise.
28414 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28415 (_IO_old_file_close_it): Likewise.
28416 (_IO_old_file_finish): Likewise.
28417 (_IO_old_file_fopen): Likewise.
28418 (_IO_old_file_attach): Likewise.
28419 (_IO_old_file_setbuf): Likewise.
28420 (_IO_old_do_write): Likewise.
28421 (old_do_write): Likewise.
28422 (_IO_old_file_underflow): Likewise.
28423 (_IO_old_file_overflow): Likewise.
28424 (_IO_old_file_sync): Likewise.
28425 (_IO_old_file_seekoff): Likewise.
28426 (_IO_old_file_write): Likewise.
28427 (_IO_old_file_xsputn): Likewise.
28428 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28429 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28430 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28431 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28432 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28433 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28434 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28435 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28436 (_IO_old_popen): Likewise.
28437 (_IO_old_proc_close): Likewise.
28438 * libio/oldpclose.c (__old_pclose): Likewise.
28439 * libio/pclose.c (__new_pclose): Likewise.
28440 * libio/peekc.c (_IO_peekc_locked): Likewise.
28441 * libio/putc.c (_IO_putc): Likewise.
28442 * libio/putc_u.c (putc_unlocked): Likewise.
28443 * libio/putchar.c (putchar): Likewise.
28444 * libio/putchar_u.c (putchar_unlocked): Likewise.
28445 * libio/putwc.c (putwc): Likewise.
28446 * libio/putwc_u.c (putwc_unlocked): Likewise.
28447 * libio/putwchar.c (putwchar): Likewise.
28448 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28449 * libio/rewind.c (rewind): Likewise.
28450 * libio/setbuf.c (setbuf): Likewise.
28451 * libio/setlinebuf.c (setlinebuf): Likewise.
28452 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28453 * libio/vscanf.c (_IO_vscanf): Likewise.
28454 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28455 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28456 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28457 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28458 (_IO_switch_to_main_wget_area): Likewise.
28459 (_IO_switch_to_wbackup_area): Likewise.
28460 (_IO_wsetb): Likewise.
28461 (_IO_wdefault_pbackfail): Likewise.
28462 (_IO_wdefault_finish): Likewise.
28463 (_IO_wdefault_uflow): Likewise.
28464 (__woverflow): Likewise.
28465 (__wuflow): Likewise.
28466 (__wunderflow): Likewise.
28467 (_IO_wdefault_xsputn): Likewise.
28468 (_IO_wdefault_xsgetn): Likewise.
28469 (_IO_wdoallocbuf): Likewise.
28470 (_IO_wdefault_doallocate): Likewise.
28471 (_IO_switch_to_wget_mode): Likewise.
28472 (_IO_free_wbackup_area): Likewise.
28473 (_IO_switch_to_wput_mode): Likewise.
28474 (_IO_sputbackwc): Likewise.
28475 (_IO_sungetwc): Likewise.
28476 (_IO_adjust_wcolumn): Likewise.
28477 (_IO_init_wmarker): Likewise.
28478 (_IO_wmarker_delta): Likewise.
28479 (_IO_seekwmark): Likewise.
28480 (_IO_unsave_wmarkers): Likewise.
28481 * libio/wmemstream.c (open_wmemstream): Likewise.
28482 (_IO_wmem_sync): Likewise.
28483 (_IO_wmem_finish): Likewise.
28484 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28485 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28486 * locale/programs/simple-hash.c (init_hash): Likewise.
28487 (delete_hash): Likewise.
28488 (insert_entry): Likewise.
28489 (set_entry): Likewise.
28490 (next_prime): Likewise.
28491 (is_prime): Likewise.
28492 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28493 (xmalloc): Likewise.
28494 (xrealloc): Likewise.
28495 * locale/programs/xstrdup.c (xstrdup): Likewise.
28496 * localedata/collate-test.c (xstrcoll): Likewise.
28497 * localedata/xfrm-test.c (xstrcmp): Likewise.
28498 * login/getlogin_r.c (__getlogin_r): Likewise.
28499 * login/getpt.c (__posix_openpt): Likewise.
28500 * login/login_tty.c (login_tty): Likewise.
28501 * login/setlogin.c (setlogin): Likewise.
28502 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28503 (mach_msg_destroy_port): Likewise.
28504 (mach_msg_destroy_memory): Likewise.
28505 * malloc/mcheck.c (flood): Likewise.
28506 * misc/acct.c (acct): Likewise.
28507 * misc/brk.c (__brk): Likewise.
28508 * misc/chflags.c (chflags): Likewise.
28509 * misc/chroot.c (chroot): Likewise.
28510 * misc/fchflags.c (fchflags): Likewise.
28511 * misc/fstab.c (getfsspec): Likewise.
28512 (getfsfile): Likewise.
28513 * misc/fsync.c (fsync): Likewise.
28514 * misc/ftruncate.c (__ftruncate): Likewise.
28515 * misc/ftruncate64.c (__ftruncate64): Likewise.
28516 * misc/getdomain.c (getdomainname): Likewise.
28517 (getdomainname): Likewise.
28518 * misc/gethostname.c (__gethostname): Likewise.
28519 * misc/getpass.c (getpass): Likewise.
28520 * misc/getttyent.c (skip): Likewise.
28521 (value): Likewise.
28522 * misc/gtty.c (gtty): Likewise.
28523 * misc/hsearch.c (hsearch): Likewise.
28524 (hcreate): Likewise.
28525 * misc/hsearch_r.c (__hcreate_r): Likewise.
28526 (__hdestroy_r): Likewise.
28527 * misc/ioctl.c (__ioctl): Likewise.
28528 * misc/mkdtemp.c (mkdtemp): Likewise.
28529 * misc/mkostemp.c (mkostemp): Likewise.
28530 * misc/mkostemp64.c (mkostemp64): Likewise.
28531 * misc/mkostemps.c (mkostemps): Likewise.
28532 * misc/mkostemps64.c (mkostemps64): Likewise.
28533 * misc/mkstemp.c (mkstemp): Likewise.
28534 * misc/mkstemp64.c (mkstemp64): Likewise.
28535 * misc/mkstemps.c (mkstemps): Likewise.
28536 * misc/mkstemps64.c (mkstemps64): Likewise.
28537 * misc/mktemp.c (__mktemp): Likewise.
28538 * misc/preadv.c (preadv): Likewise.
28539 * misc/preadv64.c (preadv64): Likewise.
28540 * misc/pwritev.c (pwritev): Likewise.
28541 * misc/pwritev64.c (pwritev64): Likewise.
28542 * misc/readv.c (__readv): Likewise.
28543 * misc/revoke.c (revoke): Likewise.
28544 * misc/setdomain.c (setdomainname): Likewise.
28545 * misc/setegid.c (setegid): Likewise.
28546 * misc/seteuid.c (seteuid): Likewise.
28547 * misc/sethostid.c (sethostid): Likewise.
28548 * misc/sethostname.c (sethostname): Likewise.
28549 * misc/setregid.c (__setregid): Likewise.
28550 * misc/setreuid.c (__setreuid): Likewise.
28551 * misc/sstk.c (sstk): Likewise.
28552 * misc/stty.c (stty): Likewise.
28553 * misc/syscall.c (syscall): Likewise.
28554 * misc/syslog.c (setlogmask): Likewise.
28555 * misc/truncate.c (__truncate): Likewise.
28556 * misc/truncate64.c (truncate64): Likewise.
28557 * misc/ualarm.c (ualarm): Likewise.
28558 * misc/usleep.c (usleep): Likewise.
28559 * misc/ustat.c (ustat): Likewise.
28560 * misc/writev.c (__writev): Likewise.
28561 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28562 * nptl/old_pthread_cond_broadcast.c
28563 (__pthread_cond_broadcast_2_0): Likewise.
28564 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28565 Likewise.
28566 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28567 Likewise.
28568 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28569 Likewise.
28570 * nptl/pt-raise.c (raise): Likewise.
28571 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28572 Likewise.
28573 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28574 * nptl/pthread_barrierattr_destroy.c
28575 (pthread_barrierattr_destroy): Likewise.
28576 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28577 Likewise.
28578 * nptl/pthread_barrierattr_setpshared.c
28579 (pthread_barrierattr_setpshared): Likewise.
28580 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28581 Likewise.
28582 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28583 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28584 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28585 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28586 Likewise.
28587 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28588 Likewise.
28589 * nptl/pthread_condattr_getpshared.c
28590 (pthread_condattr_getpshared): Likewise.
28591 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28592 Likewise.
28593 * nptl/pthread_condattr_setpshared.c
28594 (pthread_condattr_setpshared): Likewise.
28595 * nptl/pthread_detach.c (pthread_detach): Likewise.
28596 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28597 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28598 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28599 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28600 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28601 Likewise.
28602 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28603 Likewise.
28604 * nptl/pthread_mutex_getprioceiling.c
28605 (pthread_mutex_getprioceiling): Likewise.
28606 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28607 Likewise.
28608 * nptl/pthread_mutexattr_getprotocol.c
28609 (pthread_mutexattr_getprotocol): Likewise.
28610 * nptl/pthread_mutexattr_getpshared.c
28611 (pthread_mutexattr_getpshared): Likewise.
28612 * nptl/pthread_mutexattr_getrobust.c
28613 (pthread_mutexattr_getrobust): Likewise.
28614 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28615 Likewise.
28616 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28617 Likewise.
28618 * nptl/pthread_mutexattr_setprioceiling.c
28619 (pthread_mutexattr_setprioceiling): Likewise.
28620 * nptl/pthread_mutexattr_setprotocol.c
28621 (pthread_mutexattr_setprotocol): Likewise.
28622 * nptl/pthread_mutexattr_setpshared.c
28623 (pthread_mutexattr_setpshared): Likewise.
28624 * nptl/pthread_mutexattr_setrobust.c
28625 (pthread_mutexattr_setrobust): Likewise.
28626 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28627 Likewise.
28628 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28629 Likewise.
28630 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28631 Likewise.
28632 * nptl/pthread_rwlockattr_getkind_np.c
28633 (pthread_rwlockattr_getkind_np): Likewise.
28634 * nptl/pthread_rwlockattr_getpshared.c
28635 (pthread_rwlockattr_getpshared): Likewise.
28636 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28637 Likewise.
28638 * nptl/pthread_rwlockattr_setkind_np.c
28639 (pthread_rwlockattr_setkind_np): Likewise.
28640 * nptl/pthread_rwlockattr_setpshared.c
28641 (pthread_rwlockattr_setpshared): Likewise.
28642 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28643 Likewise.
28644 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28645 Likewise.
28646 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28647 Likewise.
28648 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28649 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28650 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28651 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28652 * nptl/sem_close.c (sem_close): Likewise.
28653 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28654 * nptl/sem_init.c (__old_sem_init): Likewise.
28655 * nptl/sigaction.c (__sigaction): Likewise.
28656 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28657 * posix/_exit.c (_exit): Likewise.
28658 * posix/alarm.c (alarm): Likewise.
28659 * posix/confstr.c (confstr): Likewise.
28660 * posix/fpathconf.c (__fpathconf): Likewise.
28661 * posix/getgroups.c (__getgroups): Likewise.
28662 * posix/getpgid.c (__getpgid): Likewise.
28663 * posix/group_member.c (__group_member): Likewise.
28664 * posix/pathconf.c (__pathconf): Likewise.
28665 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28666 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28667 * posix/setgid.c (__setgid): Likewise.
28668 * posix/setpgid.c (__setpgid): Likewise.
28669 * posix/setuid.c (__setuid): Likewise.
28670 * posix/sleep.c (__sleep): Likewise.
28671 * posix/sysconf.c (__sysconf): Likewise.
28672 * posix/times.c (__times): Likewise.
28673 * posix/uname.c (__uname): Likewise.
28674 * posix/waitid.c (__waitid): Likewise.
28675 * pwd/getpw.c (__getpw): Likewise.
28676 * resolv/base64.c (b64_pton): Likewise.
28677 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28678 * resolv/gethnamaddr.c (Dprintf): Likewise.
28679 (gethostbyname): Likewise.
28680 (gethostbyname2): Likewise.
28681 (gethostbyaddr): Likewise.
28682 (_sethtent): Likewise.
28683 (_gethtbyname): Likewise.
28684 (_gethtbyname2): Likewise.
28685 (_gethtbyaddr): Likewise.
28686 (map_v4v6_address): Likewise.
28687 (map_v4v6_hostent): Likewise.
28688 (addrsort): Likewise.
28689 (ht_sethostent): Likewise.
28690 (ht_gethostbyname): Likewise.
28691 (ht_gethostbyaddr): Likewise.
28692 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28693 (inet_net_ntop_ipv4): Likewise.
28694 * resolv/inet_neta.c (inet_neta): Likewise.
28695 * resolv/inet_ntop.c (inet_ntop): Likewise.
28696 (inet_ntop4): Likewise.
28697 (inet_ntop6): Likewise.
28698 * resolv/inet_pton.c (__inet_pton): Likewise.
28699 (inet_pton4): Likewise.
28700 (inet_pton6): Likewise.
28701 * resolv/res_debug.c (loc_aton): Likewise.
28702 (loc_ntoa): Likewise.
28703 * resource/getpriority.c (__getpriority): Likewise.
28704 * resource/getrusage.c (__getrusage): Likewise.
28705 * resource/nice.c (nice): Likewise.
28706 * resource/setpriority.c (__setpriority): Likewise.
28707 * resource/setrlimit64.c (setrlimit64): Likewise.
28708 * resource/vlimit.c (vlimit): Likewise.
28709 * resource/vtimes.c (vtimes): Likewise.
28710 * rt/aio_error.c (aio_error): Likewise.
28711 * rt/aio_return.c (aio_return): Likewise.
28712 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28713 * signal/kill.c (__kill): Likewise.
28714 * signal/killpg.c (killpg): Likewise.
28715 * signal/raise.c (raise): Likewise.
28716 * signal/sigaction.c (__sigaction): Likewise.
28717 * signal/sigaddset.c (sigaddset): Likewise.
28718 * signal/sigaltstack.c (sigaltstack): Likewise.
28719 * signal/sigandset.c (sigandset): Likewise.
28720 * signal/sigblock.c (__sigblock): Likewise.
28721 * signal/sigdelset.c (sigdelset): Likewise.
28722 * signal/sigempty.c (sigemptyset): Likewise.
28723 * signal/sigfillset.c (sigfillset): Likewise.
28724 * signal/sighold.c (sighold): Likewise.
28725 * signal/sigignore.c (sigignore): Likewise.
28726 * signal/sigintr.c (siginterrupt): Likewise.
28727 * signal/sigisempty.c (sigisemptyset): Likewise.
28728 * signal/sigismem.c (sigismember): Likewise.
28729 * signal/signal.c (signal): Likewise.
28730 * signal/sigorset.c (sigorset): Likewise.
28731 * signal/sigpause.c (__sigpause): Likewise.
28732 * signal/sigpending.c (sigpending): Likewise.
28733 * signal/sigprocmask.c (__sigprocmask): Likewise.
28734 * signal/sigrelse.c (sigrelse): Likewise.
28735 * signal/sigreturn.c (__sigreturn): Likewise.
28736 * signal/sigset.c (sigset): Likewise.
28737 * signal/sigsetmask.c (__sigsetmask): Likewise.
28738 * signal/sigstack.c (sigstack): Likewise.
28739 * signal/sigsuspend.c (__sigsuspend): Likewise.
28740 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28741 * signal/sysv_signal.c (__sysv_signal): Likewise.
28742 * socket/accept.c (accept): Likewise.
28743 * socket/accept4.c (__libc_accept4): Likewise.
28744 * socket/bind.c (__bind): Likewise.
28745 * socket/connect.c (__connect): Likewise.
28746 * socket/getpeername.c (getpeername): Likewise.
28747 * socket/getsockname.c (__getsockname): Likewise.
28748 * socket/getsockopt.c (getsockopt): Likewise.
28749 * socket/listen.c (__listen): Likewise.
28750 * socket/recv.c (__recv): Likewise.
28751 * socket/recvmsg.c (__recvmsg): Likewise.
28752 * socket/send.c (__send): Likewise.
28753 * socket/sendmsg.c (__sendmsg): Likewise.
28754 * socket/shutdown.c (shutdown): Likewise.
28755 * socket/sockatmark.c (sockatmark): Likewise.
28756 * socket/socket.c (__socket): Likewise.
28757 * stdio-common/ctermid.c (ctermid): Likewise.
28758 * stdio-common/cuserid.c (cuserid): Likewise.
28759 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28760 * stdio-common/remove.c (remove): Likewise.
28761 * stdio-common/rename.c (rename): Likewise.
28762 * stdio-common/renameat.c (renameat): Likewise.
28763 * stdio-common/tempname.c (__gen_tempname): Likewise.
28764 * stdio-common/xbug.c (InitBuffer): Likewise.
28765 (AppendToBuffer): Likewise.
28766 (ReadFile): Likewise.
28767 * stdlib/a64l.c (a64l): Likewise.
28768 * stdlib/drand48_r.c (drand48_r): Likewise.
28769 * stdlib/getcontext.c (getcontext): Likewise.
28770 * stdlib/getenv.c (getenv): Likewise.
28771 * stdlib/l64a.c (l64a): Likewise.
28772 * stdlib/llabs.c (llabs): Likewise.
28773 * stdlib/lldiv.c (lldiv): Likewise.
28774 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28775 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28776 * stdlib/putenv.c (putenv): Likewise.
28777 * stdlib/random.c (__srandom): Likewise.
28778 (__initstate): Likewise.
28779 (__setstate): Likewise.
28780 * stdlib/random_r.c (__srandom_r): Likewise.
28781 (__setstate_r): Likewise.
28782 (__random_r): Likewise.
28783 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28784 * stdlib/setcontext.c (setcontext): Likewise.
28785 * stdlib/setenv.c (setenv): Likewise.
28786 (unsetenv): Likewise.
28787 * stdlib/srand48.c (srand48): Likewise.
28788 * stdlib/srand48_r.c (__srand48_r): Likewise.
28789 * stdlib/swapcontext.c (swapcontext): Likewise.
28790 * stdlib/system.c (__libc_system): Likewise.
28791 * stdlib/tst-strtod.c (expand): Likewise.
28792 * stdlib/tst-strtol.c (expand): Likewise.
28793 * stdlib/tst-strtoll.c (expand): Likewise.
28794 * streams/fattach.c (fattach): Likewise.
28795 * streams/fdetach.c (fdetach): Likewise.
28796 * streams/getmsg.c (getmsg): Likewise.
28797 * streams/isastream.c (isastream): Likewise.
28798 * string/ffs.c (__ffs): Likewise.
28799 * string/ffsll.c (ffsll): Likewise.
28800 * string/memcmp.c (memcmp_common_alignment): Likewise.
28801 (memcmp_not_common_alignment): Likewise.
28802 (MEMCMP): Likewise.
28803 * string/memcpy.c (memcpy): Likewise.
28804 * string/memmove.c (MEMMOVE): Likewise.
28805 * string/memset.c (memset): Likewise.
28806 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28807 * string/strchrnul.c (STRCHRNUL): Likewise.
28808 * string/strerror.c (strerror): Likewise.
28809 * string/strndup.c (__strndup): Likewise.
28810 * string/strverscmp.c (__strverscmp): Likewise.
28811 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28812 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28813 (clnttcp_freeres): Likewise.
28814 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28815 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28816 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28817 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28818 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28819 (xdr_callhdr): Likewise.
28820 * sunrpc/rpcinfo.c (udpping): Likewise.
28821 (tcpping): Likewise.
28822 (pstatus): Likewise.
28823 (pmapdump): Likewise.
28824 (brdcst): Likewise.
28825 (deletereg): Likewise.
28826 (getprognum): Likewise.
28827 (getvers): Likewise.
28828 (get_inet_address): Likewise.
28829 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28830 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28831 (svcudp_stat): Likewise.
28832 (svcudp_recv): Likewise.
28833 (svcudp_reply): Likewise.
28834 (svcudp_getargs): Likewise.
28835 (svcudp_freeargs): Likewise.
28836 (svcudp_destroy): Likewise.
28837 * sunrpc/xdr.c (xdr_bytes): Likewise.
28838 (xdr_netobj): Likewise.
28839 (xdr_string): Likewise.
28840 (xdr_wrapstring): Likewise.
28841 * sunrpc/xdr_float.c (xdr_float): Likewise.
28842 (xdr_double): Likewise.
28843 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28844 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28845 * sysvipc/ftok.c (ftok): Likewise.
28846 * sysvipc/msgctl.c (msgctl): Likewise.
28847 * sysvipc/msgget.c (msgget): Likewise.
28848 * sysvipc/msgrcv.c (msgrcv): Likewise.
28849 * sysvipc/msgsnd.c (msgsnd): Likewise.
28850 * sysvipc/semget.c (semget): Likewise.
28851 * sysvipc/semop.c (semop): Likewise.
28852 * sysvipc/shmat.c (shmat): Likewise.
28853 * sysvipc/shmctl.c (shmctl): Likewise.
28854 * sysvipc/shmdt.c (shmdt): Likewise.
28855 * sysvipc/shmget.c (shmget): Likewise.
28856 * termios/cfmakeraw.c (cfmakeraw): Likewise.
28857 * termios/speed.c (cfgetospeed): Likewise.
28858 (cfgetispeed): Likewise.
28859 (cfsetospeed): Likewise.
28860 (cfsetispeed): Likewise.
28861 * termios/tcflow.c (tcflow): Likewise.
28862 * termios/tcflush.c (tcflush): Likewise.
28863 * termios/tcgetattr.c (__tcgetattr): Likewise.
28864 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28865 * termios/tcgetsid.c (tcgetsid): Likewise.
28866 * termios/tcsendbrk.c (tcsendbreak): Likewise.
28867 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28868 * time/adjtime.c (__adjtime): Likewise.
28869 * time/dysize.c (dysize): Likewise.
28870 * time/ftime.c (ftime): Likewise.
28871 * time/getitimer.c (__getitimer): Likewise.
28872 * time/gettimeofday.c (__gettimeofday): Likewise.
28873 * time/gmtime.c (__gmtime_r): Likewise.
28874 (gmtime): Likewise.
28875 * time/localtime.c (__localtime_r): Likewise.
28876 (localtime): Likewise.
28877 * time/offtime.c (__offtime): Likewise.
28878 * time/settimeofday.c (__settimeofday): Likewise.
28879 * time/stime.c (stime): Likewise.
28880 * time/strftime_l.c (tm_diff): Likewise.
28881 (iso_week_days): Likewise.
28882 * time/strptime.c (strptime): Likewise.
28883 * time/time.c (time): Likewise.
28884 * time/timespec_get.c (timespec_get): Likewise.
28885 * time/tzset.c (tzset_internal): Likewise.
28886 (compute_change): Likewise.
28887 (__tz_compute): Likewise.
28888 * wcsmbs/btowc.c (__btowc): Likewise.
28889 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28890 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28891 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28892 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28893 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28894 * wcsmbs/wcscat.c (__wcscat): Likewise.
28895 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28896 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28897 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28898 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28899 * wcsmbs/wcsdup.c (wcsdup): Likewise.
28900 * wcsmbs/wcslen.c (__wcslen): Likewise.
28901 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28902 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28903 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28904 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28905 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28906 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28907 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28908 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28909 * wcsmbs/wcstok.c (wcstok): Likewise.
28910 * wcsmbs/wctob.c (wctob): Likewise.
28911 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28912 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28913 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28914 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28915 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28916 * wcsmbs/wmemset.c (__wmemset): Likewise.
28917 * wctype/wcfuncs.c (__towlower): Likewise.
28918 (__towupper): Likewise.
28919
28920 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28921 (lll_unlock_elision): Add adapt_count parameter.
28922
28923 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28924
28925 * sysdeps/nptl/configure.ac: Do not give errors based on the
28926 results of top-level configure tests.
28927 * sysdeps/nptl/configure: Regenerated.
28928
28929 * configure.ac (libc_cv_Bgroup): Remove configure test.
28930 * configure: Regenerated.
28931 * config.make.in (have-Bgroup): Remove variable.
28932
28933 * configure.ac (sizeof_long_double): Remove configure test.
28934 * configure: Regenerated.
28935 * config.make.in (sizeof-long-double): Remove variable.
28936
28937 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28938 * configure: Regenerated.
28939 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28940 variable.
28941 (exceptions): Likewise.
28942 * sysdeps/arm/configure: Regenerated.
28943 * config.make.in (exceptions): Remove variable.
28944 * Makeconfig (uses-callbacks): Use -fexceptions instead of
28945 $(exceptions).
28946 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28947 (CFLAGS-vdprintf_chk.c): Likewise.
28948 (CFLAGS-printf_chk.c): Likewise.
28949 (CFLAGS-fprintf_chk.c): Likewise.
28950 (CFLAGS-vprintf_chk.c): Likewise.
28951 (CFLAGS-vfprintf_chk.c): Likewise.
28952 (CFLAGS-gets_chk.c): Likewise.
28953 (CFLAGS-fgets_chk.c): Likewise.
28954 (CFLAGS-fgets_u_chk.c): Likewise.
28955 (CFLAGS-fread_chk.c): Likewise.
28956 (CFLAGS-fread_u_chk.c): Likewise.
28957 (CFLAGS-wprintf_chk.c): Likewise.
28958 (CFLAGS-fwprintf_chk.c): Likewise.
28959 (CFLAGS-vwprintf_chk.c): Likewise.
28960 (CFLAGS-vfwprintf_chk.c): Likewise.
28961 (CFLAGS-fgetws_chk.c): Likewise.
28962 (CFLAGS-fgetws_u_chk.c): Likewise.
28963 * libio/Makefile (CFLAGS-fileops.c): Likewise.
28964 (CFLAGS-fputc.c): Likewise.
28965 (CFLAGS-fputwc.c): Likewise.
28966 (CFLAGS-freopen64.c): Likewise.
28967 (CFLAGS-freopen.c): Likewise.
28968 (CFLAGS-fseek.c): Likewise.
28969 (CFLAGS-fseeko64.c): Likewise.
28970 (CFLAGS-fseeko.c): Likewise.
28971 (CFLAGS-ftello64.c): Likewise.
28972 (CFLAGS-ftello.c): Likewise.
28973 (CFLAGS-fwide.c): Likewise.
28974 (CFLAGS-genops.c): Likewise.
28975 (CFLAGS-getc.c): Likewise.
28976 (CFLAGS-getchar.c): Likewise.
28977 (CFLAGS-getwc.c): Likewise.
28978 (CFLAGS-getwchar.c): Likewise.
28979 (CFLAGS-iofclose.c): Likewise.
28980 (CFLAGS-iofflush.c): Likewise.
28981 (CFLAGS-iofgetpos64.c): Likewise.
28982 (CFLAGS-iofgetpos.c): Likewise.
28983 (CFLAGS-iofgets.c): Likewise.
28984 (CFLAGS-iofgetws.c): Likewise.
28985 (CFLAGS-iofputs.c): Likewise.
28986 (CFLAGS-iofputws.c): Likewise.
28987 (CFLAGS-iofread.c): Likewise.
28988 (CFLAGS-iofsetpos64.c): Likewise.
28989 (CFLAGS-iofsetpos.c): Likewise.
28990 (CFLAGS-ioftell.c): Likewise.
28991 (CFLAGS-iofwrite.c): Likewise.
28992 (CFLAGS-iogetdelim.c): Likewise.
28993 (CFLAGS-iogetline.c): Likewise.
28994 (CFLAGS-iogets.c): Likewise.
28995 (CFLAGS-iogetwline.c): Likewise.
28996 (CFLAGS-ioputs.c): Likewise.
28997 (CFLAGS-ioseekoff.c): Likewise.
28998 (CFLAGS-ioseekpos.c): Likewise.
28999 (CFLAGS-iosetbuffer.c): Likewise.
29000 (CFLAGS-iosetvbuf.c): Likewise.
29001 (CFLAGS-ioungetc.c): Likewise.
29002 (CFLAGS-ioungetwc.c): Likewise.
29003 (CFLAGS-oldfileops.c): Likewise.
29004 (CFLAGS-oldiofclose.c): Likewise.
29005 (CFLAGS-oldiofgetpos64.c): Likewise.
29006 (CFLAGS-oldiofgetpos.c): Likewise.
29007 (CFLAGS-oldiofsetpos64.c): Likewise.
29008 (CFLAGS-oldiofsetpos.c): Likewise.
29009 (CFLAGS-peekc.c): Likewise.
29010 (CFLAGS-putc.c): Likewise.
29011 (CFLAGS-putchar.c): Likewise.
29012 (CFLAGS-putwc.c): Likewise.
29013 (CFLAGS-putwchar.c): Likewise.
29014 (CFLAGS-rewind.c): Likewise.
29015 (CFLAGS-wfileops.c): Likewise.
29016 (CFLAGS-wgenops.c): Likewise.
29017 (CFLAGS-oldiofopen.c): Likewise.
29018 (CFLAGS-iofopen.c): Likewise.
29019 (CFLAGS-iofopen64.c): Likewise.
29020 (CFLAGS-oldtmpfile.c): Likewise.
29021 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29022 (CFLAGS-fprintf.c): Likewise.
29023 (CFLAGS-printf.c): Likewise.
29024 (CFLAGS-vfwprintf.c): Likewise.
29025 (CFLAGS-vfscanf.c): Likewise.
29026 (CFLAGS-vfwscanf.c): Likewise.
29027 (CFLAGS-fscanf.c): Likewise.
29028 (CFLAGS-scanf.c): Likewise.
29029 (CFLAGS-isoc99_vfscanf.c): Likewise.
29030 (CFLAGS-isoc99_vscanf.c): Likewise.
29031 (CFLAGS-isoc99_fscanf.c): Likewise.
29032 (CFLAGS-isoc99_scanf.c): Likewise.
29033 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29034 (CFLAGS-isoc99_fwscanf.c): Likewise.
29035 (CFLAGS-isoc99_vwscanf.c): Likewise.
29036 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29037
29038 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29039 after mkstemp64.
29040 * login/tst-utmp.c (do_prepare): Likewise.
29041 * rt/tst-aio.c (do_prepare): Likewise.
29042 * rt/tst-aio64.c (do_prepare): Likewise.
29043
29044 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29045
29046 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29047 (__lll_lock_elision): Remove adapt_count decrement...
29048 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29049 (__lll_trylock_elision): Likewise.
29050 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29051 (__lll_unlock_elision): ... to here. And utilize
29052 new adapt_count parameter.
29053 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29054 (__lll_unlock_elision): Update to include adapt_count
29055 parameter.
29056 (lll_unlock_elision): Pass pointer to adapt_count
29057 variable.
29058
29059 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29060
29061 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29062 Add elision adapt_count parameter to list of arguments.
29063 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29064 (lll_unlock_elision): Update with new parameter list
29065 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29066 (lll_unlock_elision): Likewise.
29067 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29068 (lll_unlock_elision): Likewise.
29069
29070 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29071
29072 [BZ #19122]
29073 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29074 attribute_hidden.
29075
29076 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29077 attribute_hidden.
29078 [IS_IN (rtld)] (__strdup): Likewise.
29079 [IS_IN (rtld)] (__strerror_r): Likewise.
29080 [IS_IN (rtld)] (__strsep_g): Likewise.
29081 [IS_IN (rtld)] (memchr): Likewise.
29082 [IS_IN (rtld)] (memcmp): Likewise.
29083 [IS_IN (rtld)] (memcpy): Likewise.
29084 [IS_IN (rtld)] (memmove): Likewise.
29085 [IS_IN (rtld)] (memset): Likewise.
29086 [IS_IN (rtld)] (rawmemchr): Likewise.
29087 [IS_IN (rtld)] (stpcpy): Likewise.
29088 [IS_IN (rtld)] (strchr): Likewise.
29089 [IS_IN (rtld)] (strcmp): Likewise.
29090 [IS_IN (rtld)] (strlen): Likewise.
29091 [IS_IN (rtld)] (strnlen): Likewise.
29092 [IS_IN (rtld)] (strsep): Likewise.
29093
29094 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29095 attribute_hidden.
29096 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29097
29098 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29099 attribute_hidden.
29100 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29101
29102 * include/setjmp.h (__longjmp): Add attribute_hidden.
29103 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29104
29105 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29106 Add attribute_hidden.
29107
29108 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29109 [IS_IN (rtld)] (__open): Likewise.
29110 [IS_IN (rtld)] (__fcntl): Likewise.
29111
29112 * include/dirent.h (__opendirat): Add attribute_hidden.
29113 (__getdents): Likewise.
29114 (__getdents64): Likewise.
29115 (__alloc_dir): Likewise.
29116 [IS_IN (rtld)] (__closedir): Likewise.
29117 [IS_IN (rtld)] (__fdopendir): Likewise.
29118 [IS_IN (rtld)] (__readdir): Likewise.
29119 [IS_IN (rtld)] (__readdir64): Likewise.
29120 [IS_IN (rtld)] (__rewinddir): Likewise.
29121
29122 * include/dlfcn.h (_dl_catch_error): Moved to ...
29123 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29124 attribute_hidden.
29125
29126 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29127 (_itoa_word): Likewise.
29128
29129 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29130 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29131 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29132 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29133 (_dl_higher_prime_number): Likewise.
29134 (_dl_debug_printf_c): Likewise.
29135 (_dl_signal_cerror): Likewise.
29136 (_dl_receive_error): Likewise.
29137 (_dl_reloc_bad_type): Likewise.
29138 (_dl_resolve_conflicts): Likewise.
29139 (_dl_check_all_versions): Likewise.
29140 (_dl_check_map_versions): Likewise.
29141 (_dl_sort_fini): Likewise.
29142 (_dl_debug_initialize): Likewise.
29143 (_dl_init_paths): Likewise.
29144 (_dl_show_auxv): Likewise.
29145 (_dl_next_ld_env_entry): Likewise.
29146 (_dl_important_hwcaps): Likewise.
29147 (_dl_load_cache_lookup): Likewise.
29148 (_dl_update_slotinfo): Likewise.
29149 (_dl_show_scope): Likewise.
29150
29151 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29152 attribute_hidden.
29153 (_wordcopy_fwd_dest_aligned): Likewise.
29154 (_wordcopy_bwd_aligned): Likewise.
29155 (_wordcopy_bwd_dest_aligned): Likewise.
29156
29157 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29158 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29159 Likewise.
29160 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29161 Likewise.
29162 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29163
29164 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29165
29166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29167 GCC 5 requirement.
29168
29169 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29170
29171 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29172 test.
29173 * sysdeps/i386/configure: Regenerated.
29174 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29175 code unconditional.
29176
29177 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29178 test.
29179 (libc_cv_asm_popsection_directive): Likewise.
29180 * configure: Regenerated.
29181 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29182 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29183 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29184 (__make_section_unallocated): Make definition unconditional.
29185 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29186 Remove conditional definition.
29187 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29188 (__make_section_unallocated): Likewise.
29189
29190 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29191 * configure: Regenerated.
29192 * config.make.in (static-libgcc): Remove variable.
29193 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29194 $(static-libgcc).
29195 (build-module-helper): Likewise.
29196
29197 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29198 * configure: Regenerated.
29199
29200 2015-10-15 Florian Weimer <fweimer@redhat.com>
29201
29202 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29203 (struct char_buffer): New type.
29204 (char_buffer_start, char_buffer_size, char_buffer_error)
29205 (char_buffer_rewind, char_buffer_add): New functions.
29206 (ADDW): Remove macro, replaced by the char_buffer_add function.
29207 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29208 of extend_alloca. Make control flow more explicit.
29209
29210 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 [BZ #19137]
29213 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29214 Add -fomit-frame-pointer.
29215 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29216
29217 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29218
29219 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29220 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29222 only if !__GNUC_PREREQ (5,0).
29223 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29224 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29225 (INTERNAL_SYSCALL_NCS): Likewise.
29226 (LOADREGS_0): New macro for GCC 5.
29227 (ASMARGS_0): Likewise.
29228 (LOADREGS_1): Likewise.
29229 (ASMARGS_1): Likewise.
29230 (LOADREGS_2): Likewise.
29231 (ASMARGS_2): Likewise.
29232 (LOADREGS_3): Likewise.
29233 (ASMARGS_3): Likewise.
29234 (LOADREGS_4): Likewise.
29235 (ASMARGS_4): Likewise.
29236 (LOADREGS_5): Likewise.
29237 (ASMARGS_5): Likewise.
29238 (LOADREGS_6): Likewise.
29239 (ASMARGS_6): Likewise.
29240
29241 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29242
29243 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29244 -fomit-frame-pointer.
29245 (CFLAGS-mmap64.c): Likewise.
29246 (CFLAGS-semtimedop.c): Likewise.
29247 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29248 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29249 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29250 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29251
29252 2015-10-15 Florian Weimer <fweimer@redhat.com>
29253
29254 [BZ #18928]
29255 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29256 _dl_pointer_guard member.
29257 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29258 initializer.
29259 (security_init): Always set up pointer guard.
29260 (process_envvars): Do not process LD_POINTER_GUARD.
29261
29262 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29263
29264 [BZ #19134]
29265 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29266 (.LC2): Likewise.
29267 (.LC3): Likewise.
29268 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29269
29270 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29271
29272 [BZ #19129]
29273 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29274 r0 and r1.
29275
29276 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29277
29278 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29279
29280 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29281
29282 * include/stap-probe.h: Fix macro definition formatting.
29283
29284 2015-10-14 Florian Weimer <fweimer@redhat.com>
29285
29286 [BZ #19074]
29287 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29288 load and store num_ifs.
29289
29290 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29291
29292 [BZ #18822]
29293 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29294 (__sched_getaffinity_new): Add libc_hidden_proto and
29295 libc_hidden_def.
29296
29297 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29298
29299 [BZ #19007]
29300 * scripts/localplt.awk: Also allow GOT references.
29301 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29302 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29303 with "+ REL R_386_GLOB_DAT".
29304 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29305 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29306
29307 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29308
29309 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29310 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29311 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29312 Likewise.
29313 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29314 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29315 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29316 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29317 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29318 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29319 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29320 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29321 Likewise.
29322 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29323
29324 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29325
29326 [BZ #19125]
29327 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29328 <math_private.h> and <stdint.h>.
29329 (__llround): Avoid conversions to and from long long int, and
29330 subtractions, where those might raise spurious exceptions.
29331 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29332 <math_private.h> and <stdint.h>.
29333 (__llroundf): Avoid conversions to and from long long int, and
29334 subtractions, where those might raise spurious exceptions.
29335
29336 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29337
29338 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29339 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29340 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29341 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29342 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29343 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29344 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29345 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29346 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29347 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29348 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29349 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29350 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29351 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29352 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29353 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29354 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29355 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29356 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29357 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29359 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29360 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29361 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29362 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29363 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29364 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29365 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29366 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29367 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29368 (__xstat64_conv): Likewise.
29369 (__xstat32_conv): Likewise.
29370
29371 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29372
29373 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29374 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29375 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29376 <sysdeps/unix/sysv/linux/sysdep.h>.
29377 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29378 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29379 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29380 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29381 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29382 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29383 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29384 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29385 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29390 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29391 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29393 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29394 (sysdep-dl-routines): Add sysdep.
29395 [$(subdir) == nptl] (libpthread-routines): Likewise.
29396 [$(subdir) == rt] (librt-routines): Likewise.
29397 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29398 PIC when branching to SYSCALL_ERROR_LABEL.
29399 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29400 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29401 <sysdeps/unix/sysv/linux/sysdep.h>.
29402 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29403 (SYSCALL_ERROR_ERRNO): Removed.
29404 (SYSCALL_ERROR_HANDLER): Changed to empty.
29405 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29406 (__syscall_error): New prototype.
29407 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29408 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29409
29410 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29411
29412 [BZ #19124]
29413 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29414 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29415 _dl_runtime_resolve_avx.
29416 (_dl_runtime_profile_avx512): Make it a hidden alias of
29417 _dl_runtime_profile_avx.
29418
29419 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29420
29421 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29422 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29423 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29424 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29425
29426 [BZ #16422]
29427 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29428 New configure test.
29429 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29430 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29431 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29432 <math_private.h> and <stdint.h>.
29433 (__llrint): Avoid conversions to long long int where those might
29434 raise spurious exceptions.
29435 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29436 <math_private.h> and <stdint.h>.
29437 (__llrintf): Avoid conversions to long long int where those might
29438 raise spurious exceptions.
29439
29440 2015-10-12 Andreas Schwab <schwab@suse.de>
29441
29442 [BZ #18969]
29443 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29444 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29445 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29446 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29447 $(gen-locales).
29448 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29449 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29450 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29451 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29452 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29453 $(gen-locales).
29454 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29455 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29456 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29457 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29458 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29459 ($(objpfx)tst-ftell-active-handler.out)
29460 ($(objpfx)tst-ftell-append.out)
29461 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29462 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29463 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29464 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29465 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29466 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29467 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29468 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29469 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29470 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29471 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29472 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29473 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29474 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29475 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29476 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29477 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29478 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29479 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29480 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29481 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29482 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29483 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29484 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29485 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29486 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29487 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29488 $(gen-locales).
29489 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29490 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29491 $(gen-locales).
29492 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29493 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29494 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29495 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29496 $(gen-locales).
29497 * libio/tst_wprintf2.c (main): Use explicit locale.
29498 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29499
29500 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29501
29502 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29503 __msg_sig_post.
29504 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29505
29506 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29507
29508 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29509 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29510
29511 * sysdeps/arm/libm-test-ulps: Regenerated.
29512
29513 [BZ #15470]
29514 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29515
29516 [BZ #16399]
29517 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29518 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29519 and <fix-fp-int-convert-overflow.h>.
29520 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29521 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29522 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29523 and <fix-fp-int-convert-overflow.h>.
29524 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29525 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29526 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29527 <fix-fp-int-convert-overflow.h>.
29528 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29529 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29530 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29531 <fix-fp-int-convert-overflow.h>.
29532 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29533 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29534 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29535 and <fix-fp-int-convert-overflow.h>.
29536 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29537 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29538 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29539 <limits.h> and <fix-fp-int-convert-overflow.h>.
29540 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29541 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29542 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29543 and <fix-fp-int-convert-overflow.h>.
29544 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29545 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29546 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29547 and <fix-fp-int-convert-overflow.h>.
29548 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29549 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29550 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29551
29552 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29553
29554 [BZ #18589]
29555 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29556 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29557 $(gen-locales).
29558
29559 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29560 Phil Blundell <pb@pbcl.net>
29561
29562 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29563 * nptl/tst-cancel26.c: New file.
29564 * nptl/tst-cancel27.c: Likewise.
29565
29566 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29567
29568 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29569 __ILP32__ isn't defined.
29570 (lrint): Likewise.
29571 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29572 (lrintf): Likewise.
29573 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29574 (lrintl): Likewise.
29575 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29576 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29577 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29578
29579 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29580
29581 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29582 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29583
29584 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29585 file.
29586 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29587 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29588
29589 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29590
29591 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29592 configure test.
29593 * sysdeps/i386/configure: Regenerated.
29594 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29595 configure test.
29596 * sysdeps/x86_64/configure: Regenerated.
29597 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29598 Make code unconditional.
29599
29600 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29601 test.
29602 * sysdeps/i386/configure: Regenerated.
29603 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29604 test.
29605 * sysdeps/x86_64/configure: Regenerated.
29606 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29607 Make code unconditional.
29608 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29609 Likewise.
29610 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29611 Likewise.
29612 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29613 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29614 code unconditional.
29615 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29616 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29617 code unconditional.
29618 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29619 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29620 code unconditional.
29621 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29622 code unconditional.
29623 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29624 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29625 code unconditional.
29626 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29627 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29628 code unconditional.
29629 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29630 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29631 code unconditional.
29632 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29633 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29634 code unconditional.
29635 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29636 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29637
29638 [BZ #19095]
29639 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29640 mantissa to long int before shifting left.
29641
29642 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29643
29644 [BZ #19094]
29645 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29646 <limits.h>.
29647 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29648 when result overflows but exception would not result from cast.
29649 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29650 <limits.h>.
29651 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29652 when result overflows but exception would not result from cast.
29653 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29654 <limits.h>.
29655 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29656 when result overflows but exception would not result from cast.
29657 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29658 <limits.h>.
29659 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29660 when result overflows but exception would not result from cast.
29661 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29662 <limits.h>.
29663 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29664 when result overflows but exception would not result from cast.
29665 * math/libm-test.inc (lrint_test_data): Add more tests.
29666 (llrint_test_data): Likewise.
29667
29668 2015-10-08 Roland McGrath <roland@hack.frob.com>
29669
29670 [BZ #18872]
29671 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29672 Move out from under [$(run-built-tests) = yes] conditional.
29673 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29674 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29675
29676 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29677
29678 [BZ #18589]
29679 * string/Makefile (tests): Add bug-strcoll2.
29680 (LOCALES): Add cs_CZ.UTF-8.
29681 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29682
29683 [BZ #18589]
29684 * string/bug-strcoll2.c: New file.
29685 * locale/categories.def: Revert commit
29686 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29687 * locale/langinfo.h: Likewise.
29688 * locale/localeinfo.h: Likewise.
29689 * locale/C-collate.c: Likewise.
29690 * locale/programs/ld-collate.c (collate_output): Likewise.
29691 * string/strcoll_l.c (STRDIFF): Likewise.
29692 (STRCOLL): Likewise.
29693 * wcsmbs/wcscoll_l.c: Likewise.
29694
29695 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29696
29697 * math/libm-test.inc (lround_test_data): Do not expect the absence
29698 of "inexact" for some tests with non-integer arguments.
29699 (llround_test_data): Likewise.
29700
29701 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29702 test.
29703 (libc_cv_cc_sse2avx): Likewise.
29704 * sysdeps/i386/configure: Regenerated.
29705 * sysdeps/i386/i686/multiarch/Makefile
29706 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29707 [$(subdir) = math].
29708 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29709 code unconditional.
29710 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29711 Likewise.
29712 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29713 Likewise.
29714 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29715 Likewise.
29716 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29717 test.
29718 (libc_cv_cc_sse2avx): Likewise.
29719 * sysdeps/x86_64/configure: Regenerated.
29720 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29721 unconditional.
29722 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29723 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29724 unconditional.
29725 (_dl_runtime_profile)
29726 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29727 conditional code.
29728 * sysdeps/x86_64/fpu/multiarch/Makefile
29729 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29730 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29731 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29732 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29733 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29734 * sysdeps/x86_64/fpu/multiarch/e_log.c
29735 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29736 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29737 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29738 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29739 Likewise.
29740 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29741 Likewise.
29742 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29743 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29744 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29745 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29746 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29747 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29748 (HAVE_SSE2AVX_SUPPORT): Likewise.
29749
29750 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29751
29752 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29753 instead of #pragma optimize.
29754
29755 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29756
29757 [BZ #17195]
29758 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29759 as is similarly done in systrim and _int_free already.
29760
29761 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29762
29763 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29764
29765 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29766
29767 [BZ #19088]
29768 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29769 <limits.h>.
29770 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29771 overflows but exception would not result from cast.
29772 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29773 and <limits.h>.
29774 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29775 overflows but exception would not result from cast.
29776 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29777 <limits.h>.
29778 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29779 overflows but exception would not result from cast.
29780 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29781 <limits.h>.
29782 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29783 overflows but exception would not result from cast.
29784 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29785 <limits.h>.
29786 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29787 overflows but exception would not result from cast.
29788 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29789 <limits.h>.
29790 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29791 overflows but exception would not result from cast.
29792 * math/libm-test.inc (lround_test_data): Add more tests.
29793 (llround_test_data): Likewise.
29794
29795 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29796
29797 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29798 (CFLAGS-ialloc.c): Ditto.
29799 (CFLAGS-scheck.c): Ditto.
29800
29801 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29802
29803 [BZ #19086]
29804 * manual/filesys.texi (Storage Allocation): Fix argument order for
29805 posix_fallocate64.
29806
29807 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29808
29809 [BZ #19085]
29810 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29811 exponent below 48 inside case for non-overflowing exponent.
29812 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29813
29814 2015-10-07 Florian Weimer <fweimer@redhat.com>
29815
29816 * iconvdata/cp737.h (from_idx): Add const.
29817 * iconvdata/cp775.h (from_idx): Likewise.
29818
29819 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29820
29821 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29822 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29823 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29824
29825 [BZ #19079]
29826 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29827 file, conditioned on [!_LP64].
29828 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29829 [!_LP64] (__lround): Do not define as function or alias.
29830 [!_LP64] (lround): Likewise.
29831 [!_LP64] (__lroundl): Likewise.
29832 [!_LP64] (lroundl): Likewise.
29833 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29834 macro.
29835 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29836 Likewise.
29837
29838 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29839
29840 * math/libm-test.inc (lrint_test_data): Add more tests.
29841 (llrint_test_data): Likewise.
29842 (lround_test_data): Likewise.
29843 (llround_test_data): Likewise.
29844
29845 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29846 (llrint_test_data): Add tests used for lrint.
29847
29848 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29849 test.
29850 * sysdeps/i386/configure: Regenerated.
29851 * sysdeps/i386/i686/multiarch/Makefile
29852 [$(config-cflags-sse4) = yes]: Make code unconditional.
29853 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29854 Likewise.
29855 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29856 Likewise.
29857 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29858 test.
29859 * sysdeps/x86_64/configure: Regenerated.
29860 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29861 Make code unconditional.
29862 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29863 Likewise.
29864 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29865 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29866
29867 * scripts/rpm2dynsym.sh: Remove file.
29868
29869 2015-10-06 Florian Weimer <fweimer@redhat.com>
29870
29871 * configure.ac (libc_cv_cxx_thread_local): Define.
29872 * configure: Regenerate.
29873 * config.make.in (have-cxx-thread_local): Define.
29874 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29875 (LDLIBS-tst-thread_local1): Define.
29876 (tests): Add tst-thread_local1.
29877 [have-cxx-thread_local != yes] (tests-unsupported): Add
29878 tst-thread_local1.
29879 * nptl/tst-thread_local1.cc: New file.
29880
29881 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29882
29883 [BZ #19078]
29884 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29885 (u_thres): Likewise.
29886 (__expl): Determine whether to call __kernel_standard_l based on
29887 value of result, not argument.
29888
29889 * math/libm-test.inc (scalb_test_data): Add more expectations for
29890 the "inexact" exception.
29891
29892 [BZ #19077]
29893 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29894 0.0L for argument 1.0L.
29895
29896 [BZ #19076]
29897 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29898 constant 0.0L when computing infinite result.
29899
29900 2015-10-06 Florian Weimer <fweimer@redhat.com>
29901
29902 [BZ #10432]
29903 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29904 malloc_usable_size.
29905
29906 2015-10-06 Florian Weimer <fweimer@redhat.com>
29907
29908 [BZ #19018]
29909 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29910 Mangle function pointer before storing it.
29911 (__call_tls_dtors): Demangle function pointer before calling it.
29912
29913 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29914
29915 [BZ #19012]
29916 * iconv/gconv_db.c (gen_steps): Check for additional errors.
29917 Clean up on failure.
29918
29919 2015-10-05 Joseph Myers <joseph@codesourcery.com>
29920
29921 [BZ #19071]
29922 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29923 long int variable to store possibly incremented high part of
29924 mantissa.
29925 * math/libm-test.inc (lround_test_data): Add tests used for
29926 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
29927 for tests requiring 64-bit long. Do not condition tests on
29928 [TEST_FLOAT] unnecessarily.
29929 (llround_test_data): Add tests used for lround. Add another
29930 expectation for the "inexact" exception. Do not condition tests
29931 on [TEST_FLOAT] unnecessarily.
29932
29933 [BZ #887]
29934 [BZ #19049]
29935 [BZ #19050]
29936 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29937 * sysdeps/ieee754/dbl-64/e_log10.c: Include
29938 <fix-int-fp-convert-zero.h>.
29939 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29940 * sysdeps/ieee754/dbl-64/e_log2.c: Include
29941 <fix-int-fp-convert-zero.h>.
29942 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29943 * sysdeps/ieee754/dbl-64/s_erf.c: Include
29944 <fix-int-fp-convert-zero.h>.
29945 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29946 * sysdeps/ieee754/dbl-64/s_logb.c: Include
29947 <fix-int-fp-convert-zero.h>.
29948 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29949 * sysdeps/ieee754/flt-32/e_log10f.c: Include
29950 <fix-int-fp-convert-zero.h>.
29951 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29952 * sysdeps/ieee754/flt-32/e_log2f.c: Include
29953 <fix-int-fp-convert-zero.h>.
29954 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29955 * sysdeps/ieee754/flt-32/s_erff.c: Include
29956 <fix-int-fp-convert-zero.h>.
29957 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29958 * sysdeps/ieee754/flt-32/s_logbf.c: Include
29959 <fix-int-fp-convert-zero.h>.
29960 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29962 <fix-int-fp-convert-zero.h>.
29963 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29964 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29965 <fix-int-fp-convert-zero.h>.
29966 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29967 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29968 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29969 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29970 file.
29971 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29972
29973 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
29974
29975 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29976
29977 2015-10-02 Joseph Myers <joseph@codesourcery.com>
29978
29979 [BZ #19059]
29980 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29981 overflowing computation.
29982 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29983 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29984 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29985 Likewise.
29986 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29987 Likewise.
29988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29989 Likewise.
29990 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29991 Likewise.
29992 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29993 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29994 Likewise.
29995 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29996 Likewise.
29997 * math/libm-test.inc (nexttoward_test_data): Add more tests.
29998
29999 * nss/rewrite_field.c (__nss_rewrite_field): Use
30000 internal_function.
30001 * nss/valid_field.c (__nss_valid_field): Likewise.
30002 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30003
30004 2015-10-02 Florian Weimer <fweimer@redhat.com>
30005
30006 [BZ #18724]
30007 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30008 (__nss_invalid_field_characters, __nss_valid_field)
30009 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30010 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30011 tst-field.c: New file.
30012 * nss/Makefile (routines): Add valid_field, rewrite_field.
30013 (tests-static): Define unconditionally.
30014 (tests): Include tests-static.
30015 [build-static-nss] (tests-static): Use append.
30016 [build-static-nss] (tests): Remove modification.
30017 * nss/getent.c (print_group): Call putgrent. Report error.
30018 (print_gshadow): Call putsgent. Report error.
30019 (print_passwd): Call putpwent. Report error.
30020 (print_shadow): Call putspent. Report error.
30021 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30022 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30023 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30024 name, password, directory, shell fields for valid syntax. Rewrite
30025 GECOS field to match syntax.
30026 * pwd/Makefile (tests): Add tst-putpwent.
30027 * pwd/tst-putpwent.c: New file.
30028 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30029 Check grName, grpasswd, gr_mem fields for valid syntax.
30030 Change loop variable i to size_t.
30031 * grp/Makefile (tests): Add tst-putgrent.
30032 * grp/tst-putgrent.c: New file.
30033 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30034 valid syntax.
30035 * shadow/Makefile (tests): Add tst-putspent.
30036 * shadow/tst-putspent.c: New file.
30037 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30038 sg_mem fields for valid syntax.
30039 * gshadow/Makefile (tests): Add tst-putsgent.
30040 * gshadow/tst-putsgent.c: New file.
30041
30042 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30043
30044 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30045 assembly instructions.
30046
30047 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30048
30049 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30050 prefix from operands.
30051
30052 2015-10-01 Joseph Myers <joseph@codesourcery.com>
30053
30054 [BZ #16347]
30055 [BZ #19046]
30056 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30057 <libc-internal.h>.
30058 (MAXLGM): Do not use diagnostic control macros.
30059 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30060 threshold for ldbl-128ibm.
30061 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30062 instead of multiplying by log then subtracting.
30063 * math/auto-libm-test-in: Add more tests of lgamma.
30064 * math/auto-libm-test-out: Regenerated.
30065
30066 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30067 (TYPE_HEX_DIG): Likewise.
30068 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30069 precisions when printing floating-point numbers.
30070 (check_float_internal): Likewise.
30071
30072 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30073
30074 [BZ #16620]
30075 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30076 of log (10) rounded downward to 48 bits.
30077 (log10_low): Use corresponding low part of log (10).
30078
30079 [BZ #19032]
30080 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30081 compute result as (x - x) / (x - x) not as 0 / 0.
30082 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30083 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30084
30085 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30086 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30087 and expm1.
30088 * math/auto-libm-test-out: Regenerated.
30089 * math/libm-test.inc (acos_test_data): Add more tests.
30090 (asin_test_data): Likewise.
30091 (asinh_test_data): Likewise.
30092 (atan_test_data): Likewise.
30093 (atanh_test_data): Likewise.
30094 (atan2_test_data): Likewise.
30095 (cbrt_test_data): Likewise.
30096 (ceil_test_data): Likewise.
30097 (copysign_test_data): Likewise.
30098 (cos_test_data): Likewise.
30099 (cosh_test_data): Likewise.
30100 (erf_test_data): Likewise.
30101 (erfc_test_data): Likewise.
30102 (exp_test_data): Likewise.
30103 (exp10_test_data): Likewise.
30104 (exp2_test_data): Likewise.
30105 (expm1_test_data): Likewise.
30106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30107
30108 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30109
30110 [BZ #19006]
30111 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30112 to ...
30113 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30114 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30115 to ...
30116 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30117 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30118 to ...
30119 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30120 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30121 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30122 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30123 to ...
30124 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30125 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30126 Moved to ...
30127 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30128 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30129 Moved to ...
30130 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30131 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30132 to ...
30133 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30134 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30135 Moved to ...
30136 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30137 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30138 to ...
30139 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30140 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30141 Removed.
30142 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30143 Likewise.
30144 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30145 Likewise.
30146 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30147 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30148 Likewise.
30149 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30150 Likewise.
30151 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30152 Likewise.
30153 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30154 Likewise.
30155 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30156 Likewise.
30157 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30158 Likewise.
30159 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30160 Likewise.
30161 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30162 Likewise.
30163 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30164 Likewise.
30165 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30166 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30167 Likewise.
30168 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30169 Likewise.
30170 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30171 Likewise.
30172 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30173 Likewise.
30174 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30175 Likewise.
30176 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30177 Replace ../i486/pthread_cond_timedwait.S with
30178 ../pthread_cond_timedwait.S.
30179
30180 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30181
30182 * math/libm-test.inc (acos_test_data): Refine expectations for
30183 errno and "inexact" exceptions.
30184 (acosh_test_data): Likewise.
30185 (asin_test_data): Likewise.
30186 (asinh_test_data): Likewise.
30187 (atan_test_data): Likewise.
30188 (atanh_test_data): Likewise.
30189 (atan2_test_data): Likewise.
30190 (cbrt_test_data): Likewise.
30191 (ceil_test_data): Likewise.
30192 (copysign_test_data): Likewise.
30193 (cosh_test_data): Likewise.
30194 (erf_test_data): Likewise.
30195 (erfc_test_data): Likewise.
30196 (exp_test_data): Likewise.
30197 (exp10_test_data): Likewise.
30198 (exp2_test_data): Likewise.
30199 (expm1_test_data): Likewise.
30200 (fabs_test_data): Likewise.
30201 (floor_test_data): Likewise.
30202 (fma_test_data): Likewise.
30203 (fmax_test_data): Likewise.
30204 (fmin_test_data): Likewise.
30205 (fmod_test_data): Likewise.
30206 (fpclassify_test_data): Likewise.
30207 (frexp_test_data): Likewise.
30208 (hypot_test_data): Likewise.
30209 (ilogb_test_data): Likewise.
30210 (isgreater_test_data): Likewise.
30211 (isgreaterequal_test_data): Likewise.
30212 (isinf_test_data): Likewise.
30213 (isless_test_data): Likewise.
30214 (islessequal_test_data): Likewise.
30215 (islessgreater_test_data): Likewise.
30216 (isnan_test_data): Likewise.
30217 (isnormal_test_data): Likewise.
30218 (issignaling_test_data): Likewise.
30219 (isunordered_test_data): Likewise.
30220 (j0_test_data): Likewise.
30221 (j1_test_data): Likewise.
30222 (jn_test_data): Likewise.
30223 (lgamma_test_data): Likewise.
30224 (lrint_test_data): Likewise.
30225 (llrint_test_data): Likewise.
30226 (log_test_data): Likewise.
30227 (log10_test_data): Likewise.
30228 (log1p_test_data): Likewise.
30229 (log2_test_data): Likewise.
30230 (logb_test_data): Likewise.
30231 (lround_test_data): Likewise.
30232 (llround_test_data): Likewise.
30233 (modf_test_data): Likewise.
30234 (nearbyint_test_data): Likewise.
30235 (nextafter_test_data): Likewise.
30236 (nexttoward_test_data): Likewise.
30237 (pow_test_data): Likewise.
30238 (remainder_test_data): Likewise.
30239 (remquo_test_data): Likewise.
30240 (rint_test_data): Likewise.
30241 (round_test_data): Likewise.
30242 (signbit_test_data): Likewise.
30243 (sinh_test_data): Likewise.
30244 (sqrt_test_data): Likewise.
30245 (tanh_test_data): Likewise.
30246 (tgamma_test_data): Likewise.
30247 (trunc_test_data): Likewise.
30248 (y0_test_data): Likewise.
30249 (y1_test_data): Likewise.
30250 (yn_test_data): Likewise.
30251 (significand_test_data): Likewise.
30252
30253 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30254
30255 * manual/filesys.texi (Storage Allocation): Document that
30256 posix_fallocate emulation fails when fd is open with O_WRONLY.
30257
30258 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30259
30260 [BZ #19016]
30261 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30262 allow more cases with X^2 + Y^2 >= 0.5.
30263 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30264 normal element in sum instead of special-casing based on values of
30265 arguments.
30266 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30267 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30268 -1 as normal element in sum instead of special-casing based on
30269 values of arguments.
30270 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30271 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30272 (__x2y2m1): Update comment.
30273 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30274 as normal element in sum instead of special-casing based on values
30275 of arguments.
30276 * math/s_clog.c (__clog): Handle more cases using log1p without
30277 hypot.
30278 * math/s_clog10.c (__clog10): Likewise.
30279 * math/s_clog10f.c (__clog10f): Likewise.
30280 * math/s_clog10l.c (__clog10l): Likewise.
30281 * math/s_clogf.c (__clogf): Likewise.
30282 * math/s_clogl.c (__clogl): Likewise.
30283 * math/auto-libm-test-in: Add more tests of clog and clog10.
30284 * math/auto-libm-test-out: Regenerated.
30285 * sysdeps/i386/fpu/libm-test-ulps: Update.
30286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30287
30288 2015-09-28 Martin Sebor <msebor@redhat.com>
30289
30290 [BZ #18969]
30291 * string/Makefile (LOCALES): Define.
30292 (gen-locales.mk): Include.
30293 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30294 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30295 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30296 on setlocale failure.
30297
30298 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30299
30300 [BZ #18985]
30301 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30302 (__strftime_internal): Likewise.
30303 * time/tst-strftime.c (do_bz18985): New test.
30304 (do_test): Call it.
30305
30306 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30307
30308 [BZ #18956]
30309 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30310 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30311 extracting high part.
30312 * math/auto-libm-test-in: Add another test of pow.
30313 * math/auto-libm-test-out: Regenerated.
30314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30315
30316 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30317
30318 [BZ #18825]
30319 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30320 New macro.
30321 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30322 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30323 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30324 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30325 DBL_NARROW_EVAL, reloading the PIC register as needed.
30326 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30327 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30328 FLT_NARROW_EVAL. Use separate return path for case when first
30329 argument is NaN.
30330 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30331 DEFINE_LDBL_MIN.
30332 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30333 PIC register.
30334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30335 math_check_force_underflow_nonneg.
30336 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30337 underflow for subnormal result.
30338 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30340 math_check_force_underflow_nonneg.
30341 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30342 math_check_force_underflow.
30343 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30344 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30345 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30346 DEFINE_LDBL_MIN.
30347 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30348 * math/auto-libm-test-in: Add more tests of pow.
30349 * math/auto-libm-test-out: Regenerated.
30350
30351 2015-09-25 Florian Weimer <fweimer@redhat.com>
30352
30353 * nss/bug17079.c (init_test_items): Add diagnostic for
30354 inconsistent entries.
30355 (test_buffer_size): Skip inconsistent entries.
30356
30357 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30358
30359 [BZ #13304]
30360 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30361 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30362 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30363
30364 [BZ #13304]
30365 * sysdeps/microblaze/s_fma.c: New file.
30366 * sysdeps/microblaze/s_fmaf.c: Likewise.
30367 * sysdeps/microblaze/sfp-machine.h: Likewise.
30368
30369 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30370
30371 [BZ #17250]
30372 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30373 member.
30374
30375 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30376
30377 [BZ #18803]
30378 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30379 (MO): New macro.
30380 (__ieee754_hypot) [PIC]: Load PIC register.
30381 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30382 DBL_NARROW_EVAL.
30383 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30384 math_check_force_underflow_nonneg in case where result might be
30385 tiny.
30386 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30387 Likewise.
30388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30389 Likewise.
30390 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30391 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30392 * math/auto-libm-test-in: Add more tests of hypot.
30393 * math/auto-libm-test-out: Regenerated.
30394
30395 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30396
30397 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30398
30399 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30400
30401 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30402 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30403 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30404 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30405 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30406 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30407 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30408
30409 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30410 LOAD_PIC_REG.
30411
30412 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30413 (FLT_CHECK_FORCE_UFLOW): Likewise.
30414 (DBL_CHECK_FORCE_UFLOW): Likewise.
30415 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30416 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30417 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30418 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30419 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30420 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30421 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30422 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30423 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30424 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30425 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30426 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30427 (flt_min): Replace with use of DEFINE_FLT_MIN.
30428 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30429 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30430 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30431 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30432 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30433 (flt_min): Replace with use of DEFINE_FLT_MIN.
30434 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30435 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30436 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30437 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30438 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30439 (flt_min): Replace with use of DEFINE_FLT_MIN.
30440 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30441 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30442 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30443 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30444 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30445 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30446 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30447 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30448 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30449 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30450 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30451 (flt_min): Replace with use of DEFINE_FLT_MIN.
30452 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30453 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30454 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30455 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30456 main computation.
30457 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30458 (flt_min): Replace with use of DEFINE_FLT_MIN.
30459 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30460 main computation.
30461 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30462 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30463 (MO): New macro.
30464 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30465 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30466 (flt_min): Replace with use of DEFINE_FLT_MIN.
30467 (MO): New macro.
30468 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30469 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30470 (__log1pl): Use MO.
30471
30472 [BZ #19003]
30473 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30474 $(config-cflags-nofma).
30475
30476 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30477
30478 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30479
30480 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30481
30482 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30483 (TWO127): Likewise.
30484
30485 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30486 (min_of_type): Likewise.
30487 (math_check_force_underflow): Likewise.
30488 (math_check_force_underflow_nonneg): Likewise.
30489 (math_check_force_underflow_complex): Likewise.
30490 * math/e_exp2l.c (__ieee754_exp2l): Use
30491 math_check_force_underflow_nonneg.
30492 * math/k_casinh.c (__kernel_casinh): Likewise.
30493 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30494 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30495 * math/s_catan.c (__catan): Use
30496 math_check_force_underflow_complex.
30497 * math/s_catanf.c (__catanf): Likewise.
30498 * math/s_catanh.c (__catanh): Likewise.
30499 * math/s_catanhf.c (__catanhf): Likewise.
30500 * math/s_catanhl.c (__catanhl): Likewise.
30501 * math/s_catanl.c (__catanl): Likewise.
30502 * math/s_ccosh.c (__ccosh): Likewise.
30503 * math/s_ccoshf.c (__ccoshf): Likewise.
30504 * math/s_ccoshl.c (__ccoshl): Likewise.
30505 * math/s_cexp.c (__cexp): Likewise.
30506 * math/s_cexpf.c (__cexpf): Likewise.
30507 * math/s_cexpl.c (__cexpl): Likewise.
30508 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30509 * math/s_clog10.c (__clog10): Likewise.
30510 * math/s_clog10f.c (__clog10f): Likewise.
30511 * math/s_clog10l.c (__clog10l): Likewise.
30512 * math/s_clogf.c (__clogf): Likewise.
30513 * math/s_clogl.c (__clogl): Likewise.
30514 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30515 * math/s_csinf.c (__csinf): Likewise.
30516 * math/s_csinh.c (__csinh): Likewise.
30517 * math/s_csinhf.c (__csinhf): Likewise.
30518 * math/s_csinhl.c (__csinhl): Likewise.
30519 * math/s_csinl.c (__csinl): Likewise.
30520 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30521 * math/s_csqrtf.c (__csqrtf): Likewise.
30522 * math/s_csqrtl.c (__csqrtl): Likewise.
30523 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30524 * math/s_ctanf.c (__ctanf): Likewise.
30525 * math/s_ctanh.c (__ctanh): Likewise.
30526 * math/s_ctanhf.c (__ctanhf): Likewise.
30527 * math/s_ctanhl.c (__ctanhl): Likewise.
30528 * math/s_ctanl.c (__ctanl): Likewise.
30529 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30530 instead of volatile.
30531 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30532 math_check_force_underflow.
30533 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30534 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30535 volatile when forcing underflow.
30536 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30537 math_check_force_underflow_nonneg.
30538 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30539 Likewise.
30540 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30541 math_check_force_underflow.
30542 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30543 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30544 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30545 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30546 math_check_force_underflow_nonneg.
30547 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30548 math_check_force_underflow.
30549 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30551 instead of volatile.
30552 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30553 math_check_force_underflow.
30554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30555 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30556 math_check_force_underflow_nonneg.
30557 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30558 math_check_force_underflow.
30559 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30560 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30561 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30562 math_check_force_underflow_nonneg.
30563 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30564 Likewise.
30565 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30566 math_check_force_underflow.
30567 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30568 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30569 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30570 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30571 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30572 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30573 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30574 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30575 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30576 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30577 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30578 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30579 Likewise.
30580 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30581 math_check_force_underflow_nonneg.
30582 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30583 Likewise.
30584 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30585 math_check_force_underflow.
30586 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30587 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30588 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30589 Likewise.
30590 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30591 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30592 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30593 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30594 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30595 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30597 instead of volatile.
30598 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30599 math_check_force_underflow.
30600 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30601 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30602 math_check_force_underflow.
30603 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30604 Likewise.
30605 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30606 Use math_check_force_underflow_nonneg.
30607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30608 math_check_force_underflow.
30609 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30610 Likewise.
30611 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30612 Likewise.
30613 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30618 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30619 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30620 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30621 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30622 math_check_force_underflow_nonneg.
30623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30624 math_check_force_underflow.
30625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30626 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30627 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30628 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30629 math_check_force_underflow_nonneg.
30630 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30631 math_check_force_underflow.
30632 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30634 instead of volatile.
30635 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30636 math_check_force_underflow.
30637
30638 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30639 * stdlib/strtod_l.c: Include <math_private.h>.
30640 (overflow_value): Use math_narrow_eval.
30641 (underflow_value): Likewise.
30642 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30643 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30644 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30645 (__ieee754_gamma_r): Likewise.
30646 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30647 Likewise.
30648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30649 Likewise.
30650 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30651 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30652 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30653 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30654 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30655 (__ieee754_gammaf_r): Likewise.
30656 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30657 Likewise.
30658 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30659 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30660 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30661 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30662 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30663 volatile.
30664 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30666 math_narrow_eval.
30667 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30668 Likewise.
30669 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30670 Likewise.
30671 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30672 Likewise.
30673 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30674 volatile.
30675 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30676 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30677 math_narrow_eval.
30678 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30679 Likewise.
30680 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30681 Likewise.
30682
30683 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30684
30685 * nptl/Versions: Remove ignored symbols.
30686
30687 2015-09-22 Florian Weimer <fweimer@redhat.com>
30688
30689 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30690 * nss/Makefile (tests): Update.
30691
30692 2015-09-22 Florian Weimer <fweimer@redhat.com>
30693
30694 * nss/bug18287.c: New file.
30695 * nss/Makefile (tests): Add bug18287.
30696
30697 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30698
30699 * mach/Versions (__mach_host_self_): Add symbol.
30700
30701 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30702
30703 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30704 vm_page_size.
30705
30706 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30707
30708 Really fix sysdeps/i386/fpu/s_scalbn.S build
30709
30710 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30711 (libc: GLIBC_2_22): Remove unused version set.
30712
30713 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30714
30715 * config.make.in (enable-timezone-tools): New variable.
30716 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30717 (enable_timezone_tools): Export to generated files.
30718 * configure: Regenerate.
30719 * INSTALL: Regenerate.
30720 * manual/install.texi (--disable-timezone-tools): Document new flag.
30721 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30722 ifeq ($(enable-timezone-tools),yes) check.
30723
30724 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30725
30726 * timezone/Makefile: Revert previous change.
30727
30728 [BZ #18980]
30729 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30730 (DEFINE_DBL_MIN): Likewise.
30731 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30732 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30733 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30734 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30735 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30736 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30737 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30738 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30739 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30740 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30741 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30742 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30743 (flt_min): Replace with use of DEFINE_FLT_MIN.
30744 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30745 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30746 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30747 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30748 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30749 (flt_min): Replace with use of DEFINE_FLT_MIN.
30750 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30751 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30752 (flt_min): Replace with use of DEFINE_FLT_MIN.
30753 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30754 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30755 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30756 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30757 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30758 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30759 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30760 (__ieee754_pow): Use DBL_NARROW_EVAL.
30761 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30762 (__ieee754_powf): Use FLT_NARROW_EVAL.
30763 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30764 (__ieee754_expf_sse2): Convert double-precision result to single
30765 precision.
30766 * sysdeps/i386/fpu/libm-test-ulps: Update.
30767
30768 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30769
30770 * timezone/Makefile: Ignore unused variable errors due to private.h
30771 (time_t_min) and (time_t_max).
30772 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30773 Likewise.
30774
30775 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30776
30777 [BZ #18981]
30778 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30779 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30780 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30781 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30782 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30783 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30784 (__scalbn): Use DBL_NARROW_EVAL.
30785 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30786 (__scalbnf): Use FLT_NARROW_EVAL.
30787
30788 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30789
30790 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30791 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30792 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30793 * stdio-common/printf_fp.c (___printf_fp):
30794 Use signbit to get the sign. Use isinf macro to allow inlining.
30795 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30796 * stdio-common/printf_size.c (__printf_size): Likewise.
30797
30798 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30799
30800 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30801
30802 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30803
30804 [BZ #18980]
30805 * sysdeps/generic/math_private.h: Include <float.h>.
30806 (math_narrow_eval): New macro.
30807 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30808 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30809 math_narrow_eval on overflowing return value.
30810 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30811 Likewise.
30812 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30813 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30814 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30815 Likewise.
30816 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30817
30818 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30819
30820 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30821 * math/Makefile: Remove isinf_ns.c.
30822 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30823 * math/multc3.c (__multc3): Likewise.
30824 * math/s_casin.c (__casin): Likewise.
30825 * math/s_casinf.c (__casinf): Likewise.
30826 * math/s_casinl.c (__casinl): Likewise.
30827 * math/s_cproj.c (__cproj): Likewise.
30828 * math/s_cprojf.c (__cprojf): Likewise.
30829 * math/s_cprojl.c (__cprofl): Likewise.
30830 * math/s_ctan.c (__ctan): Likewise.
30831 * math/s_ctanf.c (__ctanf): Likewise.
30832 * math/s_ctanh.c (__ctanh): Likewise.
30833 * math/s_ctanhf.c (__ctanhf): Likewise.
30834 * math/s_ctanhl.c (__ctanhl): Likewise.
30835 * math/s_ctanl.c (__ctanl): Likewise.
30836 * math/w_fmod.c (__fmod): Likewise.
30837 * math/w_fmodf.c (__fmodf): Likewise.
30838 * math/w_fmodl.c (_fmodl): Likewise.
30839 * math/w_remainder.c (__remainder): Likewise.
30840 * math/w_remainderf.c (__remainderf): Likewise.
30841 * math/w_remainderl.c (__remainderl): Likewise.
30842 * math/w_scalb.c (__scalb): Likewise.
30843 * math/w_scalbf.c (__scalbf): Likewise.
30844 * math/w_scalbl.c (__scalbl): Likewise.
30845 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30846 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30847 with isinf.
30848 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30850 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30851 __isinf_nsf with isinf.
30852 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30853 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30854 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30855 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30856 with isinf.
30857 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30858 __isinf_nsl with isinf.
30859 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30860 with isinf.
30861 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30862 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30863 __isinf_nsl with isinf.
30864 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30865 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30866 with isinf.
30867
30868 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30869
30870 * resolv/base64.c (rcsid): Remove unused static.
30871 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30872 static. (tqpi1): Likewise.
30873 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30874 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30875 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30876 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30877 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30878 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30879 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30880 * timezone/private.h (time_t_min): Likewise. (time_t_max):
30881 Likewise.
30882
30883 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
30884
30885 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30886 <nptl/pthreadP.h>.
30887 (_longjmp_unwind): Use __libc_ptf_call.
30888 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30889
30890 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
30891
30892 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30893 * sysdeps/arm/__longjmp.S: Likewise.
30894
30895 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30896
30897 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30898 Use __builtin_signbit.
30899 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30900 Use __builtin_signbitf.
30901 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30902 Use __builtin_signbitl.
30903 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30904 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30905
30906 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30907
30908 [BZ #15367]
30909 [BZ #17441]
30910
30911 * math/Makefile: Build test-snan.c with -fsignaling-nans.
30912 * math/math.h (fpclassify): Use __builtin_fpclassify when
30913 available. (signbit): Use __builtin_signbit(f/l).
30914 (isfinite): Use__builtin_isfinite. (isnormal): Use
30915 __builtin_isnormal. (isnan): Use __builtin_isnan.
30916 (isinf): Use __builtin_isinf_sign.
30917
30918 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30919
30920 * benchtests/Makefile: Add bench-math-inlines, link with libm.
30921 * benchtests/bench-math-inlines.c: New benchmark.
30922 * benchtests/bench-util.h: New file.
30923 * benchtests/bench-util.c: New file.
30924 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30925
30926 2015-09-18 Carlos O'Donell <carlos@redhat.com>
30927
30928 * elf/tst-dlmopen1.c: Define TEST_SO.
30929 (do_test): Use TEST_SO.
30930
30931 * elf/dl-load.c: Include libc-internal.h.
30932 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30933
30934 2015-09-18 Vincent Bernat <vincent@bernat.im>
30935
30936 [BZ #17887]
30937 * time/strptime_l.c (__strptime_internal): Make %z accept
30938 [+-]HH:MM time zones.
30939
30940 2015-09-18 Vincent Bernat <vincent@bernat.im>
30941
30942 [BZ #17886]
30943 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30944 valid time zone.
30945
30946 2015-09-17 Mike Frysinger <vapier@gentoo.org>
30947
30948 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30949 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30950 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30951 (__ASSUME_FDATASYNC): Delete.
30952
30953 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30954
30955 * conform/linknamespace.pl: Require weak undefined symbols to be
30956 in the standard namespace.
30957 (%strong_syms): Rename to %seen_syms.
30958 (%strong_seen): Rename to %seen_where.
30959
30960 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
30961
30962 [BZ #18970]
30963 * misc/error.c (error): Replace pthread_setcancelstate with
30964 __pthread_setcancelstate.
30965 (error_at_line): Likewise.
30966 * posix/wordexp.c (parse_comm): Likewise.
30967 * stdlib/fmtmsg.c (fmtmsg): Likewise.
30968 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30969 (__pthread_setcancelstate): This.
30970 (pthread_setcancelstate): Add an alias.
30971 * nptl/nptl-init.c (pthread_functions): Replace
30972 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30973 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30974 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30975 hidden_proto.
30976 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30977 it with hidden_def.
30978 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30979 (pthread_setcancelstate): Renamed to ...
30980 (__pthread_setcancelstate): This.
30981 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30982 __libc_ptf_call with __pthread_setcancelstate.
30983
30984 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30985 Andreas Schwab <schwab@suse.de>
30986
30987 [BZ #17118]
30988 * math/s_ctan.c (__ctan): Determine sign of zero real part of
30989 result when imaginary part of argument is infinite using sine and
30990 cosine.
30991 * math/s_ctanf.c (__ctanf): Likewise.
30992 * math/s_ctanl.c (__ctanl): Likewise.
30993 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30994 of result when real part of argument is infinite using sine and
30995 cosine.
30996 * math/s_ctanhf.c (__ctanhf): Likewise.
30997 * math/s_ctanhl.c (__ctanhl): Likewise.
30998 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30999 (ctanh_test_data): Add more tests of ctanh.
31000
31001 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31002
31003 [BZ #15384]
31004 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31005 bit-mask as in subtraction.
31006 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31007 Likewise.
31008 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31009 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31010 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31011
31012 [BZ #18951]
31013 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31014 underflow exception for small results.
31015 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31016 Likewise.
31017 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31018 Likewise.
31019 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31020 Likewise.
31021 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31022 Likewise.
31023 * math/auto-libm-test-in: Add more tests of tgamma.
31024 * math/auto-libm-test-out: Regenerated.
31025
31026 2015-09-17 Andreas Schwab <schwab@suse.de>
31027
31028 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31029
31030 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31031
31032 [BZ #18977]
31033 * math/bits/mathcalls.h
31034 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31035 not declare.
31036 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31037 Likewise.
31038 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31039 Likewise.
31040 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31041 Likewise.
31042 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31043 Likewise.
31044 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31045 Likewise.
31046 * conform/data/math.h-data
31047 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31048 function.
31049 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31050 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31051 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31052 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31053 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31054 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31055 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31056 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31057 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31058 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31059 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31060
31061 [BZ #6803]
31062 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31063 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31064 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31065 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31066 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31067 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31068 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31069 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31070 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31071 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31072 Likewise.
31073 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31074 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31075 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31076 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31077 long_double_symbol calls.
31078 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31079 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31080 strong alias of __ldexpl.
31081 (scalbnl): Define using long_double_symbol.
31082 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31083 Remove alias.
31084 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31085 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31086 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31087 (scalbln_test_data): Add more errno expectations.
31088
31089 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31090
31091 Cache the host port like we cache the task port. This way we do not
31092 need to call the kernel just to get the port. Furthermore, we no
31093 longer increase the reference count on every invocation of
31094 `mach_host_self'.
31095
31096 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31097 Protect declarations against the macro expansion.
31098 * mach/mach_init.c (__mach_host_self_): New variable.
31099 (mach_init): Initialize `__mach_host_self_'.
31100 * mach/mach_init.h (__mach_host_self_): New declaration.
31101 (__mach_host_self, mach_host_self): New macros.
31102 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31103 Release reference.
31104
31105 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31106
31107 [BZ #4404]
31108 * po/de.po: Update from Translation Project.
31109
31110 [BZ #16415]
31111 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31112 (__expm1l): Remove code to handle positive infinity and overflow.
31113 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31114 variable.
31115 (__expm1l): Remove code to handle positive infinity and overflow.
31116
31117 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31118 Paul Pluzhnikov <ppluzhnikov@google.com>
31119
31120 [BZ #18872]
31121 * stdio-common/Makefile (tst-printf-bz18872): New test.
31122 (tst-printf-bz18872-mem.out): Likewise.
31123 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31124 * stdio-common/vfprintf.c: Fix memory leaks.
31125
31126 2015-09-16 Andreas Schwab <schwab@suse.de>
31127
31128 [BZ #17244]
31129 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31130 Remove extra va_start/va_end calls.
31131
31132 [BZ #17243]
31133 * posix/execl.c (execl): Add missing va_end.
31134 * posix/execle.c (execle): Likewise.
31135 * posix/execlp.c (execlp): Likewise.
31136
31137 2015-09-15 Roland McGrath <roland@hack.frob.com>
31138
31139 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31140 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31141
31142 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31143
31144 [BZ #18967]
31145 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31146 undefine around includes of <bits/mathcalls.h>.
31147 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31148 not declare function.
31149 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31150 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31151 (scalb): Likewise.
31152 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31153 not define macro.
31154 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31155 variable.
31156 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31157 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31158 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31159
31160 [BZ #18857]
31161 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31162 return non-finite argument without doing ordered comparisons on
31163 it.
31164
31165 [BZ #16296]
31166 * math/fenv.h (fegetround): Use __attribute_pure__.
31167 * include/fenv.h (__fegetround): Likewise.
31168
31169 [BZ #18595]
31170 * math/s_ctan.c (__ctan): Force underflow exception for results
31171 whose real or imaginary part has small absolute value.
31172 * math/s_ctanf.c (__ctanf): Likewise.
31173 * math/s_ctanh.c (__ctanh): Likewise.
31174 * math/s_ctanhf.c (__ctanhf): Likewise.
31175 * math/s_ctanhl.c (__ctanhl): Likewise.
31176 * math/s_ctanl.c (__ctanl): Likewise.
31177 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31178 and ctanh. Add more tests of ctan and ctanh.
31179
31180 [BZ #15918]
31181 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31182 handling of cases where one argument is an infinity.
31183
31184 [BZ #18875]
31185 [BZ #18966]
31186 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31187 (MO): New macro.
31188 (__ieee754_exp10): For small results, force underflow exception
31189 and remove excess range and precision from return value.
31190 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31191 (MO): New macro.
31192 (__ieee754_exp10f): For small results, force underflow exception
31193 and remove excess range and precision from return value.
31194 * math/auto-libm-test-in: Add more tests of exp10.
31195 * math/auto-libm-test-out: Regenerated.
31196
31197 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31198
31199 [BZ #18875]
31200 [BZ #18961]
31201 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31202 (MO): New macro.
31203 (__ieee754_exp): For small results, force underflow exception and
31204 remove excess range and precision from return value.
31205 (__exp_finite): Likewise.
31206 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31207 (MO): New macro.
31208 (__ieee754_expf): For small results, force underflow exception and
31209 remove excess range and precision from return value.
31210 (__expf_finite): Likewise.
31211 * math/auto-libm-test-in: Add more tests of exp.
31212 * math/auto-libm-test-out: Regenerated.
31213
31214 [BZ #16521]
31215 [BZ #18875]
31216 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31217 small results.
31218 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31219 (MO): New macro.
31220 (__ieee754_exp2): For small results, force underflow exception and
31221 remove excess range and precision from return value.
31222 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31223 (MO): New macro.
31224 (__ieee754_exp2f): For small results, force underflow exception
31225 and remove excess range and precision from return value.
31226 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31227 (MO): New macro.
31228 (__ieee754_exp2l): Force underflow exception for small results.
31229 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31230 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31231 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31232 (MO): New macro.
31233 (__ieee754_exp2l): Force underflow exception for small results.
31234 * math/auto-libm-test-in: Add more tests or exp2.
31235 * math/auto-libm-test-out: Regenerated.
31236
31237 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31238
31239 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31240
31241 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31242 /dev/null.
31243
31244 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31245
31246 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31247 io fs process)): Drop spurious backslash.
31248
31249 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31250
31251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31252 Use sysinfo system call instead of parsing /proc/meminfo.
31253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31254 Likewise.
31255
31256 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31257
31258 [BZ #16985]
31259 * programs/localedef.c (main): Display argv[remaining] when
31260 output_path is NULL.
31261
31262 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31263
31264 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31265 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31266 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31267 tanh.
31268 * math/auto-libm-test-out: Regenerated.
31269 * sysdeps/i386/fpu/libm-test-ulps: Update.
31270 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31271 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31273
31274 2015-09-11 Roland McGrath <roland@hack.frob.com>
31275
31276 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31277 Use 'override' keyword to freeze the value here, preventing
31278 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31279
31280 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31281
31282 [BZ #14912]
31283 * sysdeps/aarch64/bits/atomic.h: Move to ...
31284 * sysdeps/aarch64/atomic-machine.h: ...here.
31285 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31286 _AARCH64_ATOMIC_MACHINE_H.
31287 * sysdeps/alpha/bits/atomic.h: Move to ...
31288 * sysdeps/alpha/atomic-machine.h: ...here.
31289 * sysdeps/arm/bits/atomic.h: Move to ...
31290 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31291 * bits/atomic.h: Move to ...
31292 * sysdeps/generic/atomic-machine.h: ...here.
31293 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31294 * sysdeps/i386/bits/atomic.h: Move to ...
31295 * sysdeps/i386/atomic-machine.h: ...here.
31296 * sysdeps/ia64/bits/atomic.h: Move to ...
31297 * sysdeps/ia64/atomic-machine.h: ...here.
31298 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31299 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31300 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31301 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31302 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31303 * sysdeps/microblaze/bits/atomic.h: Move to ...
31304 * sysdeps/microblaze/atomic-machine.h: ...here.
31305 * sysdeps/mips/bits/atomic.h: Move to ...
31306 * sysdeps/mips/atomic-machine.h: ...here.
31307 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31308 * sysdeps/powerpc/bits/atomic.h: Move to ...
31309 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31310 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31311 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31312 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31313 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31314 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31315 <atomic-machine.h> instead of <bits/atomic.h>.
31316 * sysdeps/s390/bits/atomic.h: Move to ...
31317 * sysdeps/s390/atomic-machine.h: ...here.
31318 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31319 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31320 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31321 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31322 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31323 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31324 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31325 * sysdeps/tile/bits/atomic.h: Move to ...
31326 * sysdeps/tile/atomic-machine.h: ...here.
31327 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31328 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31329 <sysdeps/tile/atomic-machine.h> instead of
31330 <sysdeps/tile/bits/atomic.h>.
31331 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31332 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31333 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31334 <sysdeps/tile/atomic-machine.h> instead of
31335 <sysdeps/tile/bits/atomic.h>.
31336 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31337 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31338 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31339 <sysdeps/arm/atomic-machine.h> instead of
31340 <sysdeps/arm/bits/atomic.h>.
31341 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31342 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31343 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31344 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31345 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31346 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31347 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31348 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31349 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31350 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31351 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31352 * sysdeps/x86_64/bits/atomic.h: Move to ...
31353 * sysdeps/x86_64/atomic-machine.h: ...here.
31354 * include/atomic.h: Include <atomic-machine.h> instead of
31355 <bits/atomic.h>.
31356
31357 * sysdeps/mips/mips32/libm-test-ulps: Update.
31358 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31359
31360 [BZ #18952]
31361 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31362 not convert non-integer negative arguments to int to determine the
31363 value of signgam.
31364 * math/auto-libm-test-in: Add more tests of lgamma.
31365 * math/auto-libm-test-out: Regenerated.
31366
31367 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31368 cosh, csqrt, erfc, expm1 and lgamma.
31369 * math/auto-libm-test-out: Regenerated.
31370 * sysdeps/i386/fpu/libm-test-ulps: Update.
31371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31372
31373 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31374
31375 [BZ #2542]
31376 [BZ #2543]
31377 [BZ #2558]
31378 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31379 __lgamma_neg for arguments from -28.0 to -2.0.
31380 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31381 __lgamma_negf for arguments from -15.0 to -2.0.
31382 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31383 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31384 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31385 Call __lgamma_negl for arguments from -33.0 to -2.0.
31386 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31387 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31388 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31389 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31390 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31391 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31392 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31393 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31394 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31395 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31396 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31397 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31398 (__lgamma_neg): Likewise.
31399 (__lgamma_negl): Likewise.
31400 (__lgamma_product): Likewise.
31401 (__lgamma_productl): Likewise.
31402 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31403 * math/auto-libm-test-in: Add more tests of lgamma.
31404 * math/auto-libm-test-out: Regenerated.
31405 * sysdeps/i386/fpu/libm-test-ulps: Update.
31406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31407
31408 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31409
31410 [BZ #18675]
31411 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31412
31413 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31414
31415 [BZ #14912]
31416 * bits/libc-lock.h: Move to ...
31417 * sysdeps/generic/libc-lock.h: ...here.
31418 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31419 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31420 * sysdeps/mach/hurd/libc-lock.h: ...here.
31421 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31422 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31423 * sysdeps/mach/bits/libc-lock.h: Move to ...
31424 * sysdeps/mach/libc-lock.h: ...here.
31425 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31426 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31427 * sysdeps/nptl/libc-lock.h: ...here.
31428 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31429 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31430 * sysdeps/nptl/libc-lockP.h: ...here.
31431 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31432 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31433 <bits/libc-lock.h>.
31434 * dirent/scandir-tail.c: Likewise.
31435 * dlfcn/dlerror.c: Likewise.
31436 * elf/dl-close.c: Likewise.
31437 * elf/dl-iteratephdr.c: Likewise.
31438 * elf/dl-lookup.c: Likewise.
31439 * elf/dl-open.c: Likewise.
31440 * elf/dl-support.c: Likewise.
31441 * elf/dl-writev.h: Likewise.
31442 * elf/rtld.c: Likewise.
31443 * grp/fgetgrent.c: Likewise.
31444 * gshadow/fgetsgent.c: Likewise.
31445 * gshadow/sgetsgent.c: Likewise.
31446 * iconv/gconv_conf.c: Likewise.
31447 * iconv/gconv_db.c: Likewise.
31448 * iconv/gconv_dl.c: Likewise.
31449 * iconv/gconv_int.h: Likewise.
31450 * iconv/gconv_trans.c: Likewise.
31451 * include/link.h: Likewise.
31452 * inet/getnameinfo.c: Likewise.
31453 * inet/getnetgrent.c: Likewise.
31454 * inet/getnetgrent_r.c: Likewise.
31455 * intl/bindtextdom.c: Likewise.
31456 * intl/dcigettext.c: Likewise.
31457 * intl/finddomain.c: Likewise.
31458 * intl/gettextP.h: Likewise.
31459 * intl/loadmsgcat.c: Likewise.
31460 * intl/localealias.c: Likewise.
31461 * intl/textdomain.c: Likewise.
31462 * libidn/idn-stub.c: Likewise.
31463 * libio/libioP.h: Likewise.
31464 * locale/duplocale.c: Likewise.
31465 * locale/freelocale.c: Likewise.
31466 * locale/newlocale.c: Likewise.
31467 * locale/setlocale.c: Likewise.
31468 * login/getutent_r.c: Likewise.
31469 * login/getutid_r.c: Likewise.
31470 * login/getutline_r.c: Likewise.
31471 * login/utmp-private.h: Likewise.
31472 * login/utmpname.c: Likewise.
31473 * malloc/mtrace.c: Likewise.
31474 * misc/efgcvt.c: Likewise.
31475 * misc/error.c: Likewise.
31476 * misc/fstab.c: Likewise.
31477 * misc/getpass.c: Likewise.
31478 * misc/mntent.c: Likewise.
31479 * misc/syslog.c: Likewise.
31480 * nis/nis_call.c: Likewise.
31481 * nis/nis_callback.c: Likewise.
31482 * nis/nss-default.c: Likewise.
31483 * nis/nss_compat/compat-grp.c: Likewise.
31484 * nis/nss_compat/compat-initgroups.c: Likewise.
31485 * nis/nss_compat/compat-pwd.c: Likewise.
31486 * nis/nss_compat/compat-spwd.c: Likewise.
31487 * nis/nss_nis/nis-alias.c: Likewise.
31488 * nis/nss_nis/nis-ethers.c: Likewise.
31489 * nis/nss_nis/nis-grp.c: Likewise.
31490 * nis/nss_nis/nis-hosts.c: Likewise.
31491 * nis/nss_nis/nis-network.c: Likewise.
31492 * nis/nss_nis/nis-proto.c: Likewise.
31493 * nis/nss_nis/nis-pwd.c: Likewise.
31494 * nis/nss_nis/nis-rpc.c: Likewise.
31495 * nis/nss_nis/nis-service.c: Likewise.
31496 * nis/nss_nis/nis-spwd.c: Likewise.
31497 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31498 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31499 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31500 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31501 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31502 * nis/nss_nisplus/nisplus-network.c: Likewise.
31503 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31504 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31505 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31506 * nis/nss_nisplus/nisplus-service.c: Likewise.
31507 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31508 * nis/ypclnt.c: Likewise.
31509 * nptl/libc_pthread_init.c: Likewise.
31510 * nss/getXXbyYY.c: Likewise.
31511 * nss/getXXent.c: Likewise.
31512 * nss/getXXent_r.c: Likewise.
31513 * nss/nss_db/db-XXX.c: Likewise.
31514 * nss/nss_db/db-netgrp.c: Likewise.
31515 * nss/nss_db/nss_db.h: Likewise.
31516 * nss/nss_files/files-XXX.c: Likewise.
31517 * nss/nss_files/files-alias.c: Likewise.
31518 * nss/nsswitch.c: Likewise.
31519 * posix/regex_internal.h: Likewise.
31520 * posix/wordexp.c: Likewise.
31521 * pwd/fgetpwent.c: Likewise.
31522 * resolv/res_hconf.c: Likewise.
31523 * resolv/res_libc.c: Likewise.
31524 * shadow/fgetspent.c: Likewise.
31525 * shadow/lckpwdf.c: Likewise.
31526 * shadow/sgetspent.c: Likewise.
31527 * socket/opensock.c: Likewise.
31528 * stdio-common/reg-modifier.c: Likewise.
31529 * stdio-common/reg-printf.c: Likewise.
31530 * stdio-common/reg-type.c: Likewise.
31531 * stdio-common/vfprintf.c: Likewise.
31532 * stdio-common/vfscanf.c: Likewise.
31533 * stdlib/abort.c: Likewise.
31534 * stdlib/cxa_atexit.c: Likewise.
31535 * stdlib/fmtmsg.c: Likewise.
31536 * stdlib/random.c: Likewise.
31537 * stdlib/setenv.c: Likewise.
31538 * string/strsignal.c: Likewise.
31539 * sunrpc/auth_none.c: Likewise.
31540 * sunrpc/bindrsvprt.c: Likewise.
31541 * sunrpc/create_xid.c: Likewise.
31542 * sunrpc/key_call.c: Likewise.
31543 * sunrpc/rpc_thread.c: Likewise.
31544 * sysdeps/arm/backtrace.c: Likewise.
31545 * sysdeps/generic/ldsodefs.h: Likewise.
31546 * sysdeps/generic/stdio-lock.h: Likewise.
31547 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31548 * sysdeps/i386/backtrace.c: Likewise.
31549 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31550 * sysdeps/m68k/backtrace.c: Likewise.
31551 * sysdeps/mach/hurd/cthreads.c: Likewise.
31552 * sysdeps/mach/hurd/dirstream.h: Likewise.
31553 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31554 * sysdeps/nptl/malloc-machine.h: Likewise.
31555 * sysdeps/nptl/stdio-lock.h: Likewise.
31556 * sysdeps/posix/dirstream.h: Likewise.
31557 * sysdeps/posix/getaddrinfo.c: Likewise.
31558 * sysdeps/posix/system.c: Likewise.
31559 * sysdeps/pthread/aio_suspend.c: Likewise.
31560 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31561 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31562 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31563 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31564 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31565 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31566 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31567 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31568 * sysdeps/unix/sysv/linux/system.c: Likewise.
31569 * sysdeps/x86_64/backtrace.c: Likewise.
31570 * time/alt_digit.c: Likewise.
31571 * time/era.c: Likewise.
31572 * time/tzset.c: Likewise.
31573 * wcsmbs/wcsmbsload.c: Likewise.
31574 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31575 instead of <bits/libc-lock.h> in comment.
31576
31577 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31578
31579 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31580 Only use .set mips2 if the current ISA is below mips2.
31581 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31582 Likewise.
31583 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31584 mips32r2 if the current ISA is below mips32r2.
31585 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31586 (TLS_IE): Updated to use the TLD_RDHWR macro.
31587 (TLS_LE): Likewise.
31588 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31589 __ASSEMBLER__ condition.
31590
31591 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31592
31593 Fix parallel build of before-compile targets.
31594
31595 * sysdeps/mach/Makefile ($(patsubst
31596 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31597 mach-before-compile target.
31598 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31599 io fs process)): Move rule to dedicated hurd-before-compile target.
31600
31601 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31602
31603 Fix rules generating headers in hurd/ and mach/ when initial make call
31604 has subdir= explicitly set.
31605
31606 * sysdeps/mach/Makefile ($(patsubst
31607 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31608 calling $(MAKE).
31609 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31610 io fs process)): Force subdir to hurd when calling $(MAKE).
31611 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31612 subdir to mach when calling $(MAKE).
31613
31614 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31615
31616 Check sysheaders when looking for Mach and Hurd headers
31617
31618 * sysdeps/mach/configure.ac: Add sysheaders check.
31619 * sysdeps/mach/configure: Regenerate.
31620 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31621 * sysdeps/mach/hurd/configure: Regenerate.
31622
31623 2015-09-04 Roland McGrath <roland@hack.frob.com>
31624
31625 [BZ #18921]
31626 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31627 Fix inverted sense of test of 'o_directory_works' value.
31628 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31629 Bernhard Voelker <mail@bernhard-voelker.de>.
31630
31631 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31632
31633 [BZ #14912]
31634 * bits/linkmap.h: Move to ...
31635 * sysdeps/generic/linkmap.h: ...here.
31636 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31637 * sysdeps/aarch64/linkmap.h: ...here.
31638 * sysdeps/arm/bits/linkmap.h: Move to ...
31639 * sysdeps/arm/linkmap.h: ...here.
31640 * sysdeps/hppa/bits/linkmap.h: Move to ...
31641 * sysdeps/hppa/linkmap.h: ...here.
31642 * sysdeps/ia64/bits/linkmap.h: Move to ...
31643 * sysdeps/ia64/linkmap.h: ...here.
31644 * sysdeps/mips/bits/linkmap.h: Move to ...
31645 * sysdeps/mips/linkmap.h: ...here.
31646 * sysdeps/s390/bits/linkmap.h: Move to ...
31647 * sysdeps/s390/linkmap.h: ...here.
31648 * sysdeps/sh/bits/linkmap.h: Move to ...
31649 * sysdeps/sh/linkmap.h: ...here.
31650 * sysdeps/x86/bits/linkmap.h: Move to ...
31651 * sysdeps/x86/linkmap.h: ...here.
31652 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31653
31654 2015-09-04 Andreas Schwab <schwab@suse.de>
31655
31656 [BZ #18635]
31657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31658 (__makecontext): Terminate FDE before return label.
31659 (__novec_makecontext): Likewise.
31660
31661 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31662
31663 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31664 first member of struct sv in syscall macro.
31665
31666 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31667
31668 [BZ #14912]
31669 * bits/stdio-lock.h: Move to ...
31670 * sysdeps/generic/stdio-lock.h: ...here.
31671 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31672 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31673 * sysdeps/nptl/stdio-lock.h: ...here.
31674 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31675 * include/libio.h: Include <stdio-lock.h> instead of
31676 <bits/stdio-lock.h>.
31677 * sysdeps/nptl/fork.c: Likewise.
31678 * sysdeps/pthread/flockfile.c: Likewise.
31679 * sysdeps/pthread/ftrylockfile.c: Likewise.
31680 * sysdeps/pthread/funlockfile.c: Likewise.
31681
31682 [BZ #14912]
31683 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31684 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31685 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31686 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31687 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31688 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31689 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31690
31691 2015-09-03 Roland McGrath <roland@hack.frob.com>
31692
31693 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31694 (test-xfail-tst-protected1b): New variable.
31695
31696 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31697
31698 [BZ #14912]
31699 * bits/libc-tsd.h: Move to ...
31700 * sysdeps/generic/libc-tsd.h: ...here.
31701 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31702 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31703 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31704 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31705 * include/ctype.h: Include <libc-tsd.h> instead of
31706 <bits/libc-tsd.h>.
31707 * include/rpc/rpc.h: Likewise.
31708 * locale/localeinfo.h: Likewise.
31709 * sunrpc/rpc_thread.c: Likewise.
31710 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31711 * sysdeps/nptl/malloc-machine.h: Likewise.
31712
31713 * Makefile (headers): Remove bits/libc-lock.h.
31714 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31715
31716 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31717 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31718 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31719 <bits/stdio-lock.h>.
31720 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31721 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31722
31723 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31724
31725 [BZ #18757]
31726 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31727 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31728 BZ #18757.
31729
31730 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31731
31732 * malloc/mtrace.pl: Filter out NULL entries.
31733
31734 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31735
31736 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31737 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31738 macro.
31739
31740 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31741 (TCP_CC_INFO): Likewise.
31742 (TCP_SAVE_SYN): Likewise.
31743 (TCP_SAVED_SYN): Likewise.
31744
31745 2015-08-31 Brett Neumeier <brett@neumeier.us>
31746
31747 [BZ #18870]
31748 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31749
31750 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31751
31752 [BZ #18873]
31753 Fix broken overflow check in posix_fallocate
31754 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31755 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31756 Fix parenthesization typo.
31757
31758 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31759
31760 [BZ #18887]
31761 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31762 tst-mntent-blank-passno.
31763 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31764 * misc/tst-mntent-blank-corrupt.c: New test.
31765 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31766 * misc/tst-mntent.c (do_test): ... here.
31767
31768 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31769
31770 [BZ #4404]
31771 * po/de.po: Fix SIGALRM typo.
31772
31773 2015-08-28 James Perkins <james@loowit.net>
31774
31775 * time/tst-strptime2.c (tests): Replace short list of test
31776 strings for strptime %z specifier with code which exhaustively
31777 tests every combination of sign and 0 to 5 digits. Tests for
31778 rejection of invalid strings.
31779
31780 2015-08-28 James Perkins <james@loowit.net>
31781
31782 [BZ #16141]
31783 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31784 calculation, removing incorrect decimal time rounding, so that
31785 all minute values result in a valid seconds value.
31786 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31787 offset range limits to UTC-99:59 through UTC+99:59 to parse
31788 current and historical use cases.
31789 * time/tst-strptime2.c (tests): Modify and add tests for the
31790 strptime %z input field descriptor, specifically conversion of
31791 minutes to seconds and validating an offset range of -9959 to
31792 +9959.
31793
31794 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31795 Dmitry V. Levin <ldv@altlinux.org>
31796
31797 [BZ #18877]
31798 * posix/Makefile (tests): Add tst-mmap-offset.
31799 * posix/tst-mmap.c: New file.
31800 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31801 offset calculation for negative values.
31802
31803 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31804
31805 * sysdeps/i386/init-arch.h: New file.
31806 * sysdeps/i386/i586/init-arch.h: Likewise.
31807 * sysdeps/i386/i686/init-arch.h: Likewise.
31808 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31809 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31810 * sysdeps/x86/cpu-features.h (bit_I586): New.
31811 (bit_I686): Likewise.
31812 (bit_CX8): Likewise.
31813 (bit_CMOV): Likewise.
31814 (index_CX8): Likewise.
31815 (index_CMOV): Likewise.
31816 (index_I586): Likewise.
31817 (index_I686): Likewise.
31818 (reg_CX8): Likewise.
31819 (reg_CMOV): Likewise.
31820 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31821 available at compile-time.
31822 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31823 available at compile-time.
31824 * sysdeps/x86/init-arch.h (USE_I586): New macro.
31825 (USE_I686): Likewise.
31826
31827 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31828
31829 * sysdeps/i386/bcopy.S: New file.
31830 * sysdeps/i386/bzero.S: Likewise.
31831 * sysdeps/i386/memcpy.S: Likewise.
31832 * sysdeps/i386/memmove.S: Likewise.
31833 * sysdeps/i386/mempcpy.S: Likewise.
31834 * sysdeps/i386/memset.S: Likewise.
31835 * sysdeps/i386/bzero.c: Removed.
31836 * sysdeps/i386/memset.c: Likewise.
31837 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31838 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31839 * sysdeps/i386/i586/memset_chk.S: Likewise.
31840 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31841 * sysdeps/i386/memcpy_chk.S: Here.
31842 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31843 * sysdeps/i386/memmove_chk.S: Here.
31844 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31845 * sysdeps/i386/mempcpy_chk.S: Likewise.
31846 * sysdeps/i386/i686/memset_chk.S: Moved to ...
31847 * sysdeps/i386/memset_chk.S: Likewise.
31848
31849 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
31850
31851 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31852 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31853 file, move DIAG_POP_NEEDS_COMMENT to end of file.
31854 * soft-fp/fmadf4.c: Ditto.
31855 * soft-fp/fmatf4.c: Ditto.
31856
31857 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31858
31859 * sysdeps/i386/i586/Implies: Removed.
31860 * sysdeps/i386/i686/Implies: Likewise.
31861
31862 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31863
31864 * sysdeps/i386/i486/strlen.S: Moved to ...
31865 * sysdeps/i386/strlen.S: Here.
31866
31867 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31868
31869 * sysdeps/i386/i486/strcat.S: Moved to ...
31870 * sysdeps/i386/strcat.S: Here.
31871
31872 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31873
31874 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31875 * sysdeps/i386/pthread_spin_trylock.S: Here.
31876 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31877 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31878
31879 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31880
31881 * sysdeps/i386/i486/string-inlines.c: Moved to ...
31882 * sysdeps/i386/string-inlines.c: Here.
31883
31884 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31885
31886 * sysdeps/i386/i486/htonl.S: Moved ...
31887 * sysdeps/i386/htonl.S: here.
31888
31889 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31890
31891 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31892 * sysdeps/i386/bits/atomic.h: Here.
31893
31894 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31895
31896 * sysdeps/i386/i486/Versions: Removed.
31897
31898 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
31899
31900 [BZ #2898]
31901 * misc/mktemp.c: Add mkdtemp to the link_warning message.
31902 Based on patch by Aurelien Jarno.
31903
31904 2015-08-26 Stan Shebs <stanshebs@google.com>
31905
31906 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31907 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31908
31909 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31910
31911 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31912 * sysdeps/powerpc/dl-procinfo.c:
31913 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31914 feature so it shows when LD_SHOW_AUXV=1.
31915
31916 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31917
31918 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31919 (__arch_compare_and_exchange_val_32_acq): Remove and use common
31920 definition. ISA 2.07B no longer requires full sync.
31921
31922 2015-08-26 Mike Frysinger <vapier@gentoo.org>
31923
31924 [BZ #18863]
31925 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31926 (si_call_addr): Define.
31927 (si_syscall): Define.
31928 (si_arch): Define.
31929
31930 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
31931
31932 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31933 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31934 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31935 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31936 (__memset_zero_constant_len_parameter): New.
31937 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31938 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31939 (__memset_zero_constant_len_parameter): Don't define if
31940 __memset_chk or USE_AS_BZERO are defined.
31941
31942 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31943 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31944 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31945
31946 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31947 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31948 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31949 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
31950 comments.
31951 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31952 -mno-mmx for $(all-rtld-routines).
31953 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31954 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
31955 i386.
31956
31957 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
31958
31959 * sysdeps/generic/unwind.h
31960 (_Unwind_Word): Use __mode__(__unwind_word__)
31961 instead of __mode__(__word__).
31962 (_Unwind_Sword): Likewise.
31963
31964 * sysdeps/s390/s390-64/utf8-utf16-z9.c
31965 (MAX_NEEDED_INPUT): New define.
31966 (MAX_NEEDED_OUTPUT): New define.
31967
31968 * NEWS: New item for IBM z13 string optimizations.
31969
31970 * sysdeps/s390/multiarch/memrchr-c.c: New File.
31971 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31972 * sysdeps/s390/multiarch/memrchr.c: Likewise.
31973 * sysdeps/s390/multiarch/Makefile
31974 (sysdep_routines): Add memrchr functions.
31975 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31976 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31977
31978 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31979 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31980 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31981 * sysdeps/s390/multiarch/Makefile
31982 (sysdep_routines): Add wmemcmp functions.
31983 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31984 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31985 * benchtests/bench-wmemcmp.c: New File.
31986 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31987
31988 * sysdeps/s390/multiarch/wmemset-c.c: New File.
31989 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31990 * sysdeps/s390/multiarch/wmemset.c: Likewise.
31991 * sysdeps/s390/multiarch/Makefile
31992 (sysdep_routines): Add wmemset functions.
31993 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31994 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31995 * wcsmbs/wmemset.c: Use WMEMSET if defined.
31996 * string/test-memset.c: Add wmemset support.
31997 * wcsmbs/test-wmemset.c: New File.
31998 * wcsmbs/Makefile (strop-tests): Add wmemset.
31999 * benchtests/bench-memset.c: Add wmemset support.
32000 * benchtests/bench-wmemset.c: New File.
32001 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32002
32003 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32004 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32005 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32006 * sysdeps/s390/multiarch/Makefile
32007 (sysdep_routines): Add memccpy functions.
32008 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32009 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32010 * string/memccpy.c: Use MEMCCPY if defined.
32011
32012 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32013 * sysdeps/s390/multiarch/memchr.c: Likewise.
32014 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32015 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32016 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32017 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32018 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32019 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32020 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32021 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32022 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32023 and rawmemchr functions.
32024 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32025 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32026 and wmemchr.
32027 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32028 * string/test-memchr.c: Add wmemchr support.
32029 * wcsmbs/test-wmemchr.c: New File.
32030 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32031 * benchtests/bench-memchr.c: Add wmemchr support.
32032 * benchtests/bench-wmemchr.c: New File.
32033 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32034
32035 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32036 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32037 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32038 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32039 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32040 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32041 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32042 wcscspn functions.
32043 * sysdeps/s390/multiarch/ifunc-impl-list.c
32044 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32045 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32046 * string/test-strcspn.c: Add wcscspn support.
32047 * wcsmbs/test-wcscspn.c: New File.
32048 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32049 * benchtests/bench-strcspn.c: Add wcscspn support.
32050 * benchtests/bench-wcscspn.c: New File.
32051 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32052
32053 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32054 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32055 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32056 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32057 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32058 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32059 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32060 wcspbrk functions.
32061 * sysdeps/s390/multiarch/ifunc-impl-list.c
32062 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32063 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32064 * string/test-strpbrk.c: Add wcspbrk support.
32065 * wcsmbs/test-wcspbrk.c: New File.
32066 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32067 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32068 * benchtests/bench-wcspbrk.c: New File.
32069 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32070
32071 * sysdeps/s390/multiarch/strspn-c.c: New File.
32072 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32073 * sysdeps/s390/multiarch/strspn.c: Likewise.
32074 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32075 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32076 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32077 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32078 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32079 wcsspn functions.
32080 * sysdeps/s390/multiarch/ifunc-impl-list.c
32081 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32082 * string/test-strspn.c: Add wcsspn support.
32083 * wcsmbs/test-wcsspn.c: New File.
32084 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32085 * benchtests/bench-strspn.c: Add wcsspn support.
32086 * benchtests/bench-wcsspn.c: New File.
32087 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32088
32089 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32090 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32091 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32092 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32093 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32094 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32095 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32096 wcsrchr functions.
32097 * sysdeps/s390/multiarch/ifunc-impl-list.c
32098 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32099 * benchtests/bench-wcsrchr.c: New File.
32100 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32101
32102 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32103 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32104 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32105 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32106 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32107 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32108 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32109 wcschrnul functions.
32110 * sysdeps/s390/multiarch/ifunc-impl-list.c
32111 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32112 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32113 * string/test-strchr.c: Add wcschrnul support.
32114 * wcsmbs/test-wcschrnul.c: New File.
32115 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32116 * benchtests/bench-strchr.c: Add wcschrnul support.
32117 * benchtests/bench-wcschrnul.c: New File.
32118 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32119
32120 * sysdeps/s390/multiarch/strchr-c.c: New File.
32121 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32122 * sysdeps/s390/multiarch/strchr.c: Likewise.
32123 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32124 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32125 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32126 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32127 wcschr functions.
32128 * sysdeps/s390/multiarch/ifunc-impl-list.c
32129 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32130 * string/strchr.c (STRCHR): Define and use macro.
32131 * benchtests/bench-wcschr.c: New File.
32132 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32133
32134 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32135 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32136 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32137 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32138 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32139 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32140 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32141 wcsncmp functions.
32142 * sysdeps/s390/multiarch/ifunc-impl-list.c
32143 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32144 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32145 * benchtests/bench-strncmp.c: Add wcsncmp support.
32146 * benchtests/bench-wcsncmp.c: New File.
32147 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32148
32149 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32150 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32151 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32152 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32153 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32154 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32155 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32156 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32157 wcscmp functions.
32158 * sysdeps/s390/multiarch/ifunc-impl-list.c
32159 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32160 * string/strcmp.c (STRCMP): Define and use macro.
32161 * benchtests/bench-wcscmp.c: New File.
32162 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32163 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32164 instead of _HAVE_STRING_ARCH_memchr.
32165
32166 * sysdeps/s390/multiarch/strncat-c.c: New File.
32167 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32168 * sysdeps/s390/multiarch/strncat.c: Likewise.
32169 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32170 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32171 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32172 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32173 wcsncat functions.
32174 * sysdeps/s390/multiarch/ifunc-impl-list.c
32175 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32176 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32177 * string/test-strncat.c: Add wcsncat support.
32178 * wcsmbs/test-wcsncat.c: New File.
32179 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32180 * benchtests/bench-strncat.c: Add wcsncat support.
32181 * benchtests/bench-wcsncat.c: New File.
32182 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32183
32184 * sysdeps/s390/multiarch/strcat-c.c: New File.
32185 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32186 * sysdeps/s390/multiarch/strcat.c: Likewise.
32187 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32188 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32189 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32190 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32191 wcscat functions.
32192 * sysdeps/s390/multiarch/ifunc-impl-list.c
32193 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32194 * string/strcat.c (STRCAT): Define and use macro.
32195 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32196 * string/test-strcat.c: Add wcscat support.
32197 * wcsmbs/test-wcscat.c: New File.
32198 * wcsmbs/Makefile (strop-tests): Add wcscat.
32199 * benchtests/bench-strcat.c: Add wcscat support.
32200 * benchtests/bench-wcscat.c: New File.
32201 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32202
32203 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32204 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32205 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32206 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32207 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32208 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32209 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32210 wcpncpy functions.
32211 * sysdeps/s390/multiarch/ifunc-impl-list.c
32212 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32213 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32214 * string/test-stpncpy.c: Add wcpncpy support.
32215 * wcsmbs/test-wcpncpy.c: New File.
32216 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32217 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32218 * benchtests/bench-wcpncpy.c: New File.
32219 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32220
32221 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32222 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32223 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32224 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32225 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32226 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32227 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32228 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32229 wcsncpy functions.
32230 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32231 * sysdeps/s390/multiarch/ifunc-impl-list.c
32232 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32233 * string/test-strncpy.c: Add wcsncpy support.
32234 * wcsmbs/test-wcsncpy.c: New File.
32235 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32236 * benchtests/bench-strncpy.c: Add wcsncpy support.
32237 * benchtests/bench-wcsncpy.c: New File.
32238 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32239
32240 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32241 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32242 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32243 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32244 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32245 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32246 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32247 wcpcpy functions.
32248 * string/stpcpy.c: Use STPCPY if defined.
32249 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32250 * sysdeps/s390/multiarch/ifunc-impl-list.c
32251 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32252 * string/test-stpcpy.c: Add wcpcpy support.
32253 * wcsmbs/test-wcpcpy.c: New File.
32254 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32255 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32256 * benchtests/bench-wcpcpy.c: New File.
32257 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32258
32259 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32260 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32261 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32262 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32263 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32264 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32265 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32266 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32267 wcscpy functions.
32268 * sysdeps/s390/multiarch/ifunc-impl-list.c
32269 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32270 * benchtests/bench-wcscpy.c: New File.
32271 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32272
32273 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32274 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32275 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32276 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32277 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32278 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32279 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32280 wcsnlen functions.
32281 * sysdeps/s390/multiarch/ifunc-impl-list.c
32282 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32283 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32284 * string/test-strnlen.c: Add wcsnlen support.
32285 * wcsmbs/test-wcsnlen.c: New File.
32286 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32287 * benchtests/bench-strnlen.c: Add wcsnlen support.
32288 * benchtests/bench-wcsnlen.c: New File.
32289 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32290
32291 * sysdeps/s390/multiarch/Makefile: New File.
32292 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32293 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32294 * sysdeps/s390/multiarch/strlen.c: Likewise.
32295 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32296 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32297 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32298 * string/strlen.c (STRLEN): Define and use macro.
32299 * sysdeps/s390/multiarch/ifunc-impl-list.c
32300 (IFUNC_VX_IMPL): New macro function.
32301 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32302 * benchtests/Makefile (wcsmbs-bench): New variable.
32303 (string-bench-all): Added wcsmbs-bench.
32304 * benchtests/bench-wcslen.c: New File.
32305
32306 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32307 s390_vx_libc_ifunc2): New macro function.
32308
32309 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32310 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32311 assembler support.
32312 * sysdeps/s390/configure: Regenerated.
32313
32314 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32315 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32316
32317 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32318 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32319 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32320
32321 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32322 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32323 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32324 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32325 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32326 (memcmp, bcmp): Use __memcmp_default as alias source.
32327 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32328 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32329 Rename to __memcmp_default.
32330 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32331 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32332 (memcpy): Use __memcpy_default as alias source.
32333 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32334 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32335 Rename to __memcpy_default.
32336 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32337 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32338 (memset): Use __memset_default as alias source.
32339 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32340 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32341 Rename to __memset_default.
32342 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32343 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32344 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32345 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32346 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32347 (memcmp, bcmp): Use __memcmp_default as alias source.
32348 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32349 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32350 Rename to __memcmp_default.
32351 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32352 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32353 (memcpy): Use __memcpy_default as alias source.
32354 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32355 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32356 Rename to __memcpy_default.
32357 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32358 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32359 (memset): Use __memset_default as alias source.
32360 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32361 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32362 Rename to __memset_default.
32363 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32364 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32365
32366 [BZ #18610]
32367 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32368 __ieee_instruction_pointer to __unused.
32369 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32370 __ieee_instruction_pointer.
32371 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32372 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32373 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32374 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32375 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32376 Mark dxc-field as reserved.
32377
32378 2015-08-25 Roland McGrath <roland@hack.frob.com>
32379
32380 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32381 if the weak reference is not null.
32382
32383 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32384
32385 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32386
32387 [BZ #11214]
32388 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32389
32390 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32391
32392 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32393 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32394 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32395 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32396 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32397 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32398 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32399 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32400 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32401 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32402 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32403 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32404 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32405 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32406 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32407 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32408 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32409 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32410
32411 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32412
32413 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32414 register other than r0 for tabort, it has special meaning.
32415 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32416 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32417 transaction before starting syscall.
32418
32419 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32420
32421 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32422
32423 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32424
32425 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32426
32427 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32428 * sysdeps/x86_64/rtld-memset.S: Likewise.
32429 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32430 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32431 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32432 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32433
32434 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32435
32436 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
32437
32438 * debug/strcpy_chk.c: Improve performance.
32439 * debug/stpcpy_chk.c: Likewise.
32440 * sysdeps/x86_64/strcpy_chk.S: Remove.
32441 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32442
32443 [BZ #18240]
32444 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32445
32446 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32447
32448 [BZ #15128]
32449 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32450 ifuncmain8.
32451 (modules-names): Add ifuncmod8.
32452 ($(objpfx)ifuncmain8): New rule.
32453 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32454 <cpuid.h>.
32455 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32456 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32457 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32458 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32459 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32460 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32461 * sysdeps/x86_64/ifuncmain8.c: New file.
32462 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32463 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32464 Removed.
32465 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32466 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32467 Change rtld_savespace_sse to __glibc_unused2.
32468 (RTLD_CHECK_FOREIGN_CALL): Removed.
32469 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32470 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32471 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32472
32473 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32474
32475 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32476
32477 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32478
32479 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32480 Unconditionally set __fpcr to avoid uninialized warning.
32481 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32482
32483 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32484
32485 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32486 is corrupt.
32487
32488 * malloc/arena.c (arena_get2): Drop unused argument.
32489 (arena_lock): Adjust.
32490 (arena_get_retry): Likewise.
32491
32492 2015-08-24 Andreas Schwab <schwab@suse.de>
32493
32494 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32495 Don't define.
32496 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32497 (__ASSUME_IPC64): Don't undef.
32498 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32499 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32500 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32501 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32502 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32503 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32504 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32505 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32506 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32507 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32508 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32509 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32510 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32511 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32512 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32513 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32514 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32515 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32516 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32517 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32518 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32519
32520 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32521
32522 * manual/Makefile (install): Only build manual when perl is available.
32523
32524 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32525
32526 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32527 '#undef memcpy' by '#undef memchr'.
32528
32529 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32530
32531 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32532 memchr not point to the internal __GI_memchr implementation.
32533
32534 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32535
32536 * timezone/Makefile (CFLAGS-zdump.c): Remove
32537 -Wno-strict-prototypes.
32538 (CFLAGS-zic.c): Likewise.
32539 (CFLAGS-ialloc.c): Likewise.
32540 (CFLAGS-scheck.c): Likewise.
32541
32542 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32543 -Wno-error=undef.
32544
32545 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32546
32547 * i386/i686/multiarch/strcasestr-c.c: Removed.
32548 * x86_64/multiarch/strcasestr.c: Likewise.
32549 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32550 Remove strcasestr.
32551
32552 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32553
32554 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32555
32556 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32557 variables for high and low parts before possibly modifying them.
32558
32559 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32560
32561 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32562 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32563 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32564 of "multiarch/init-arch.h".
32565 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32566 * sysdeps/x86/init-arch.h: This.
32567
32568 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32569
32570 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32571 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32572
32573 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32574
32575 [BZ #17787]
32576 * manual/macros.texi: Add twoexp macro.
32577 * manual/filesys.texi: Fix exponents.
32578 * manual/llio.texi: Likewise.
32579 * manual/stdio.texi: Likewise.
32580
32581 2015-08-20 Florian Weimer <fweimer@redhat.com>
32582
32583 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32584 incorrect use.
32585
32586 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32587
32588 [BZ #18370]
32589 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32590 whose real or imaginary part has small absolute value.
32591 * math/s_csqrtf.c (__csqrtf): Likewise.
32592 * math/s_csqrtl.c (__csqrtl): Likewise.
32593 * math/auto-libm-test-in: Add more tests of csqrt.
32594 * math/auto-libm-test-out: Regenerated.
32595 * sysdeps/i386/fpu/libm-test-ulps: Update.
32596
32597 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32598
32599 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32600 __ppc_set_ppr_very_low): New functions.
32601 * manual/platform.texi: Add documentation about
32602 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32603
32604 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32605
32606 * string/stpncpy.c (stpncpy): Improve performance using
32607 __strnlen/memcpy/memset.
32608
32609 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32610
32611 [BZ #18796]
32612 * scripts/test-installation.pl: Don't add -lmvec to build options if
32613 libmvec wasn't built.
32614
32615 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32616
32617 [BZ #14341]
32618 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32619 case when there is a gap between DT_REL and DT_JMPREL sections.
32620 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32621 (LDFLAGS-tst-split-dynreloc): New.
32622 (tst-split-dynreloc-ENV): Likewise.
32623 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32624 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32625
32626 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32627
32628 [BZ #18822]
32629 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32630 attribute_hidden.
32631 (__xstat64_conv): Likewise.
32632 (__xstat32_conv): Likewise.
32633
32634 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32635
32636 [BZ #18822]
32637 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32638 Don't load %ebx when calling __setcontext. Call __setcontext
32639 with HIDDEN_JUMPTARGET.
32640 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32641 libc_hidden_def.
32642
32643 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32644
32645 * sysdeps/i386/i686/Makefile
32646 [$(subdir) == string] (sysdep_routines): Moved to ...
32647 * sysdeps/i386/Makefile: Here.
32648 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32649 * sysdeps/i386/cacheinfo.c: Here.
32650 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32651 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32652 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32653 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32654
32655 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32656
32657 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32658 __i586__ is defined.
32659 (HAS_I686): Defined to 1 if __i686__ is defined.
32660
32661 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32662
32663 * elf/Makefile [$(have-z-execstack) = yes]
32664 (CPPFLAGS-tst-execstack.c): New variable.
32665
32666 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32667 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32668 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32669 UTMPX || _HAVE_UT_TV].
32670 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32671 UTMPX || _HAVE_UT_TV - 0].
32672
32673 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32674
32675 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32676 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32677 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32678
32679 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32680
32681 * sysdeps/powerpc/dl-procinfo.c:
32682 (_dl_powerpc_cap_flags): Added missing strings for some
32683 hwcap features.
32684 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32685
32686 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32687
32688 Port the 0x7efe...feff pattern to GCC 6.
32689 See Steve Ellcey's bug report in:
32690 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32691 * string/memrchr.c (MEMRCHR):
32692 * string/rawmemchr.c (RAWMEMCHR):
32693 * string/strchr.c (strchr):
32694 * string/strchrnul.c (STRCHRNUL):
32695 Rewrite code to avoid issues with signed shift overflow.
32696
32697 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32698
32699 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32700 whether cpuid is available only if HAS_CPUID is 0.
32701 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32702 (HAS_I586): Likewise.
32703 (HAS_I686): Likewise.
32704
32705 2015-08-18 Zack Weinberg <zackw@panix.com>
32706
32707 * misc/Versions (libc): Add GLIBC_2.23.
32708
32709 2015-08-18 Alan Modra <amodra@gmail.com>
32710
32711 [BZ #18421]
32712 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32713 .Lp__global.
32714 (_start): Load %dp via .Lp__global.
32715 [!SHARED]: Use .section .rodata.
32716
32717 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32718
32719 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32720 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32721
32722 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32723
32724 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32725 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32726
32727 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32728
32729 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32730 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32731
32732 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32733
32734 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32735 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32736
32737 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32738
32739 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32740 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32741
32742 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32743
32744 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32745 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32746
32747 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32748
32749 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32750
32751 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32752
32753 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32754 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32755 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32756 (__ASSUME_LWS_CAS): Delete.
32757
32758 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32759
32760 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32761 * sysdeps/hppa/configure: Regenerated.
32762 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32763 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32764 * sysdeps/hppa/nptl/tls.h: Likewise.
32765
32766 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32767
32768 [BZ #18823]
32769 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32770 for scaling up small arguments.
32771 * math/s_csqrtf.c (__csqrtf): Likewise.
32772 * math/s_csqrtl.c (__csqrtl): Likewise.
32773 * math/auto-libm-test-in: Add more tests of csqrt.
32774 * math/auto-libm-test-out: Regenerated.
32775
32776 2015-08-17 Andreas Schwab <schwab@suse.de>
32777
32778 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32779 version set GLIBC_2.19.
32780
32781 2015-08-16 Zack Weinberg <zackw@panix.com>
32782
32783 [BZ #18681]
32784 * misc/regexp.h: This interface is no longer supported.
32785 Remove all contents, leaving only an #error directive.
32786 * misc/regexp.c (loc1, loc2, locs, step, advance):
32787 Demote to compatibility symbols.
32788
32789 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32790
32791 [BZ #18084]
32792 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32793 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32794 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32795 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32796 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32797 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32798 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32799 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32800 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32801
32802 2015-08-15 Zack Weinberg <zackw@panix.com>
32803
32804 [BZ #18795]
32805 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32806 buffer length is known to be too large, not if it's known to be
32807 small enough.
32808 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32809 overflow at runtime, involving a length parameter, twice: once
32810 with a compile-time constant length parameter, once without.
32811
32812 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32813
32814 [BZ #18824]
32815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32816 scaling x * y up instead of down.
32817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32819 * math/auto-libm-test-in: Add more tests of fma.
32820 * math/auto-libm-test-out: Regenerated.
32821
32822 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
32823
32824 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32825
32826 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32827
32828 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32829 unnecessary movq.
32830 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32831 Likewise.
32832
32833 2015-08-13 Joseph Myers <joseph@codesourcery.com>
32834
32835 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32836 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32837 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32838 and tgamma.
32839 * math/auto-libm-test-out: Regenerated.
32840 * sysdeps/i386/fpu/libm-test-ulps: Update.
32841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32842
32843 [BZ #16520]
32844 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32845 (__tanh): Force underflow exception for arguments with small
32846 absolute value.
32847 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32848 (__tanhf): Force underflow exception for arguments with small
32849 absolute value.
32850 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32851 (__tanhl): Force underflow exception for arguments with small
32852 absolute value.
32853 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32854 (__tanhl): Force underflow exception for arguments with small
32855 absolute value.
32856 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32857 (__tanhl): Force underflow exception for arguments with small
32858 absolute value.
32859 * math/auto-libm-test-in: Add more tests of tanh.
32860 * math/auto-libm-test-out: Regenerated.
32861 * sysdeps/i386/fpu/libm-test-ulps: Update.
32862
32863 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32864
32865 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32866 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32867
32868 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32869
32870 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32871 <cpuid.h>.
32872
32873 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32874
32875 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32876 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32877
32878 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32879
32880 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32881 Remove $(objpfx)init-arch.o.
32882 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32883 init-arch.
32884 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32885 (INIT_ARCH_EXT): Defined as empty.
32886 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32887 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32888 __init_cpu_features call. Replace HAS_XXX with
32889 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32890 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32891 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32892 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32893 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32894 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32895 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32896 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32897 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32898 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32899 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32900 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32901 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32902 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32903 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32904 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32905 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32906 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32907 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32908 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32909 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32910 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32911 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32912 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32913 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32914 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32915 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32916 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32917 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32918 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32919 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32920 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32921 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32922 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32923 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32924 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32925
32926 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32927
32928 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32929 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32930 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32931 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32932 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32933 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32934 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32935 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32936 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32937 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32938 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32939 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
32940 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32941 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32942 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32943 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32944 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32945 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32946 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32947 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32948 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32949 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32950 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32951 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32952 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32953 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32954 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32955 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32956 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32957 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32958 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32959 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32960 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32961 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32962 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32963 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32964 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32965 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32966 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32967 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32968 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32969 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32970 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32971
32972 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32973
32974 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32975 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32978 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32979 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32982 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32983 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32984 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32985 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32986 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32987 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32988 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32989 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32990 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32991 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32992 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32993 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32995 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32996 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32997 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32998 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32999 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33000 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33001 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33002 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33003 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33004 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33005 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33006 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33007 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33008 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33009 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33010 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33011 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33012 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33013 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33014 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33015 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33016 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33017
33018 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33019
33020 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33021 (dl_platform_init): Call init_cpu_features.
33022 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33023 * sysdeps/i386/i686/cacheinfo.c
33024 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33025 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33026 * sysdeps/i386/i686/multiarch/Versions: Removed.
33027 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33028 Removed.
33029 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33030 * sysdeps/unix/sysv/linux/x86/Makefile
33031 (libpthread-sysdep_routines): Remove init-arch.
33032 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33033 <sysdeps/x86_64/dl-procinfo.c> instead of
33034 sysdeps/generic/dl-procinfo.c>.
33035 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33036 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33037 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33038 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33039 [$(subdir) == elf] (tests-static): Add
33040 tst-get-cpu-features-static.
33041 * sysdeps/x86/Versions: New file.
33042 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33043 * sysdeps/x86/cpu-features.c: Likewise.
33044 * sysdeps/x86/cpu-features.h: Likewise.
33045 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33046 * sysdeps/x86/libc-start.c: Likewise.
33047 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33048 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33049 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33050 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33051 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33052 Assume USE_MULTIARCH is defined and don't check it.
33053 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33054 (is_amd): Likewise.
33055 (max_cpuid): Likewise.
33056 (intel_check_word): Likewise.
33057 (__cache_sysconf): Don't call __init_cpu_features.
33058 (__x86_preferred_memory_instruction): Removed.
33059 (init_cacheinfo): Don't call __init_cpu_features. Replace
33060 __cpu_features with GLRO(dl_x86_cpu_features).
33061 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33062 (dl_platform_init): Call init_cpu_features.
33063 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33064 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33065 * sysdeps/x86_64/multiarch/Versions: Removed.
33066 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33067 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33068 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33069 Removed.
33070 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33071
33072 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33073
33074 [BZ #18820]
33075 * libio/Makefile (test-fmemopen-mem): New test.
33076 * libio/test-fmemopen.c (do_bz18820): New test.
33077 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33078 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33079
33080 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33081
33082 [BZ #16734]
33083 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33084 (FREE_BUF): Delete.
33085 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33086 * libio/genops.c (_IO_setb): Use malloc and free directly.
33087 (_IO_default_doallocate, _IO_default_finish): Likewise.
33088 ( _IO_unbuffer_all): Likewise.
33089 ( libc_freeres_fn): Likewise.
33090 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33091 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33092 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33093 (_IO_wdefault_doallocate): Likewise.
33094
33095 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33096
33097 [BZ #18086]
33098 * sysdeps/posix/nice.c (nice): Restore old errno.
33099 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33100
33101 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33102
33103 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33104
33105 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33106
33107 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33108 __bcopy and add a weak_alias to bcopy.
33109 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33110 for static build.
33111
33112 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33113 cleanup macro usage.
33114 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33115 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33116 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33117 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33118 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33119 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33120 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33121 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33122 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33123 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33124 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33125 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33126 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33127 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33128 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33129 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33130 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33131 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33132 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33133
33134 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33135 libc_hidden_def.
33136 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33137
33138 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33139 (sysdep_routines): Add strstr-ppc64.
33140 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33141
33142 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33143
33144 [BZ #18778]
33145 * elf/Makefile (tests): Add Add tst-nodelete2.
33146 (modules-names): Add tst-nodelete2mod.
33147 (tst-nodelete2mod.so-no-z-defs): New.
33148 ($(objpfx)tst-nodelete2): Likewise.
33149 ($(objpfx)tst-nodelete2.out): Likewise.
33150 (LDFLAGS-tst-nodelete2): Likewise.
33151 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33152 out of loop through all loaded libraries.
33153 * elf/tst-nodelete2.c: New file.
33154 * elf/tst-nodelete2mod.c: Likewise.
33155 * elf/tst-znodelete-zlib.cc: Delete.
33156
33157 2015-08-11 Andreas Schwab <schwab@suse.de>
33158
33159 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33160 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33161 (__openat64_nocancel): Likewise.
33162
33163 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33164
33165 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33166 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33167 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33168 * math/auto-libm-test-out: Regenerated.
33169 * sysdeps/i386/fpu/libm-test-ulps: Update.
33170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33171
33172 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33173
33174 [BZ #18790]
33175 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33176 threshold for returning +/- 1.
33177 * math/auto-libm-test-in: Add more tests of tanh.
33178 * math/auto-libm-test-out: Regenerated.
33179 * sysdeps/i386/fpu/libm-test-ulps: Update.
33180
33181 2015-08-10 Andreas Schwab <schwab@suse.de>
33182
33183 [BZ #18781]
33184 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33185 MORE_OFLAGS to oflag.
33186 * io/test-lfs.c (do_test): Test openat64.
33187
33188 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33189
33190 [BZ #18789]
33191 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33192 smaller threshold for returning the argument.
33193 * math/auto-libm-test-in: Add more tests of sinh.
33194 * math/auto-libm-test-out: Regenerated.
33195 * sysdeps/i386/fpu/libm-test-ulps: Update.
33196
33197 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33198
33199 [BZ #18674]
33200 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33201 break.
33202
33203 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33204
33205 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33206 (generated): Don't add $(addprefix z.,$(tzfiles)).
33207
33208 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33209
33210 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33211 * scripts/sysd-rules.awk: Likewise.
33212
33213 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33214
33215 * iconvdata/tst-tables.sh: Change echo -n to printf.
33216 * nss/db-Makefile: Likewise.
33217 * posix/tst-getconf.sh: Likewise.
33218 * stdio-common/tst-unbputc.sh: Likewise.
33219
33220 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33221
33222 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33223 MADV_*_PAGES defines behind this feature check.
33224
33225 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33226
33227 [BZ #18480]
33228 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33229 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33230 Define.
33231 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33232 LOAD_REGS_5, LOAD_REGS_6): Update.
33233 (INTERNAL_SYSCALL): Update using new LOAD defines.
33234 (INTERNAL_SYSCALL_NCS): Likewise.
33235 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33236
33237 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33238
33239 [BZ #16734]
33240 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33241
33242 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33243
33244 [BZ #17905]
33245 * catgets/Makefile (tst-catgets-mem): New test.
33246 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33247 * catgets/open_catalog.c (__open_catalog): Likewise.
33248 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33249
33250 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33251
33252 [BZ #18787]
33253 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33254 clobber registers.
33255 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33256 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33257 Cast return to __typeof (oldval).
33258
33259 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33260
33261 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33262 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33263 and delete sys/syscall.h include.
33264
33265 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33266
33267 [BZ #16517]
33268 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33269 (tan): Force underflow exception for arguments with small absolute
33270 value.
33271 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33272 (__kernel_tanf): Force underflow exception for arguments with
33273 small absolute value.
33274 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33275 (__kernel_tanl): Force underflow exception for arguments with
33276 small absolute value.
33277 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33278 (__kernel_tanl): Force underflow exception for arguments with
33279 small absolute value.
33280 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33281 (__kernel_tanl): Force underflow exception for arguments with
33282 small absolute value.
33283 * math/auto-libm-test-in: Add more tests of tan.
33284 * math/auto-libm-test-out: Regenerated.
33285
33286 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33287
33288 Fix sysdeps/i386/fpu/s_scalbn.S build
33289
33290 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33291
33292 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33293
33294 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33295
33296 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33297
33298 Fix gcrt0.o compilation
33299
33300 When static-start-installed-name is different from
33301 start-installed-name, we must not use the shared objects.
33302
33303 * csu/Makefile
33304 (extra-objs): Add gmon-start.o when building shared library and
33305 $(static-start-installed-name) is different from
33306 $(start-installed-name).
33307 $(objpfx)g$(static-start-installed-name): When building shared
33308 library and $(static-start-installed-name) is different from
33309 $(static-start-installed-name), revert to non-shared rule,
33310 i.e. using $(objpfx)% and gmon-start.o.
33311
33312 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33313
33314 [BZ #16519]
33315 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33316 (__ieee754_sinh): Force underflow exception for arguments with
33317 small absolute value.
33318 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33319 (__ieee754_sinhf): Force underflow exception for arguments with
33320 small absolute value.
33321 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33322 (__ieee754_sinhl): Force underflow exception for arguments with
33323 small absolute value.
33324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33325 (__ieee754_sinhl): Force underflow exception for arguments with
33326 small absolute value.
33327 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33328 (__ieee754_sinhl): Force underflow exception for arguments with
33329 small absolute value.
33330 * math/auto-libm-test-in: Add more tests of sinh.
33331 * math/auto-libm-test-out: Regenerated.
33332 * sysdeps/i386/fpu/libm-test-ulps: Update.
33333
33334 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33335
33336 * libio/oldfileops.c: Include unistd.h.
33337
33338 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33339
33340 * stdlib/isomac.c: Include ctype.h.
33341
33342 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33343
33344 * dirent/tst-seekdir.c (main): Converted to ...
33345 (do_test): ... this.
33346 (TEST_FUNCTION): New macro.
33347 Include test-skeleton.c.
33348 * elf/tst-dlmodcount.c (main): Converted to ...
33349 (do_test): ... this.
33350 (TEST_FUNCTION): New macro.
33351 Include test-skeleton.c.
33352 * elf/tst-order-main.c (main): Converted to ...
33353 (do_test): ... this.
33354 (TEST_FUNCTION): New macro.
33355 Include test-skeleton.c.
33356 * elf/tst-pie2.c (main): Converted to ...
33357 (do_test): ... this.
33358 (TEST_FUNCTION): New macro.
33359 Include test-skeleton.c.
33360 * inet/tst-ether_aton.c (main): Converted to ...
33361 (do_test): ... this.
33362 (TEST_FUNCTION): New macro.
33363 Include test-skeleton.c.
33364 * misc/tst-mntent.c (main): Converted to ...
33365 (do_test): ... this.
33366 (TEST_FUNCTION): New macro.
33367 Include test-skeleton.c.
33368 * misc/tst-tsearch.c (main): Converted to ...
33369 (do_test): ... this.
33370 (TEST_FUNCTION): New macro.
33371 Include test-skeleton.c.
33372 * posix/tst-regexloc.c (main): Converted to ...
33373 (do_test): ... this.
33374 (TEST_FUNCTION): New macro.
33375 Include test-skeleton.c.
33376 * resolv/tst-aton.c (main): Converted to ...
33377 (do_test): ... this.
33378 (TEST_FUNCTION): New macro.
33379 Include test-skeleton.c.
33380 * stdio-common/test-fwrite.c (main): Converted to ...
33381 (do_test): ... this.
33382 (TEST_FUNCTION): New macro.
33383 Include test-skeleton.c.
33384 * stdio-common/tst-ferror.c (main): Converted to ...
33385 (do_test): ... this.
33386 (TEST_FUNCTION): New macro.
33387 Include test-skeleton.c.
33388 * stdio-common/tst-printf.c (main): Converted to ...
33389 (do_test): ... this.
33390 (TEST_FUNCTION): New macro.
33391 Include test-skeleton.c.
33392 * stdio-common/tst-printfsz.c (main): Converted to ...
33393 (do_test): ... this.
33394 (TEST_FUNCTION): New macro.
33395 Include test-skeleton.c.
33396 * stdlib/tst-strtod.c (main): Converted to ...
33397 (do_test): ... this.
33398 (TEST_FUNCTION): New macro.
33399 Include test-skeleton.c.
33400 * string/tst-strlen.c (main): Converted to ...
33401 (do_test): ... this.
33402 (TEST_FUNCTION): New macro.
33403 Include test-skeleton.c.
33404 * string/tst-svc.c (main): Converted to ...
33405 (do_test): ... this.
33406 (TEST_FUNCTION): New macro.
33407 Include test-skeleton.c.
33408 * time/tst-strptime.c (main): Converted to ...
33409 (do_test): ... this.
33410 (TEST_FUNCTION): New macro.
33411 Include test-skeleton.c.
33412 * timezone/tst-timezone.c (main): Converted to ...
33413 (do_test): ... this.
33414 (TEST_FUNCTION): New macro.
33415 Include test-skeleton.c.
33416
33417 2015-08-05 Zack Weinberg <zackw@panix.com>
33418
33419 * misc/regexp.h: Update comments.
33420
33421 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33422
33423 [BZ #18635]
33424 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33425 before return label.
33426
33427 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33428
33429 [BZ #18661]
33430 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33431 when calling __errno_location.
33432 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33433 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33434
33435 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33436
33437 [BZ #18661]
33438 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33439 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33440 __gettimeofday.
33441
33442 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33443
33444 [BZ #18661]
33445 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33446 (__start_context): Don't use pop to restore %rdi so that stack
33447 is aligned to 16 bytes when calling __setcontext.
33448
33449 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33450
33451 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33452 only for libc.
33453 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33454
33455 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33456
33457 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33458 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33459 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33460
33461 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33462
33463 * string/memccpy.c (memccpy):
33464 Improve performance by using memchr/memcpy/__mempcpy.
33465
33466 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33467
33468 * string/strncpy.c (strncpy):
33469 Improve performance by using __strnlen/memcpy.
33470
33471 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33472
33473 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33474 Optimize to avoid an unnecessary FPCR read.
33475
33476 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33477
33478 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33479 Optimize to reduce FPCR/FPSR accesses.
33480
33481 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33482
33483 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33484 dead->data[category] != NULL.
33485
33486 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33487
33488 [BZ #18647]
33489 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33490 and |x| close to 1, use absolute value of x when computing log.
33491 * math/auto-libm-test-in: Add more tests of pow.
33492 * math/auto-libm-test-out: Regenerated.
33493
33494 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33495
33496 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33497 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33498 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33499
33500 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33501
33502 [BZ #18525]
33503 * locales/km_KH: Remove timezone definition.
33504 * locales/lo_LA: Likewise.
33505 * locales/my_MM: Likewise.
33506 * locales/nan_TW@latin: Likewise.
33507 * locales/th_TH: Likewise.
33508 * locales/uk_UA: Likewise.
33509
33510 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33511
33512 [BZ #18265]
33513 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33514 (wcsncat): Likewise.
33515 (wcscmp): Likewise.
33516 (wcsncmp): Likewise.
33517
33518 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33519
33520 * test-skeleton.c (usage): New function.
33521 (main): Call usage when opt is '?'.
33522
33523 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33524
33525 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33526 before first use.
33527
33528 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33529
33530 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33531 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33532 in there too.
33533
33534 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33535
33536 * version.h (RELEASE): Set to "development".
33537 (VERSION): Set to "2.22.90"
33538
33539 * version.h (RELEASE): Set to "stable".
33540 (VERSION): Set to "2.22"
33541 * include/features.h (__GLIBC_MINOR__): Set to 22.
33542
33543 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33544
33545 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33546 Restructure macro to avoid "value computed is not used" warning.
33547 (atomic_compare_and_exchange_val_acq): Likewise.
33548
33549 2015-08-04 Andreas Schwab <schwab@suse.de>
33550
33551 [BZ #18635]
33552 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33553 ret.
33554 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33555
33556 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33557
33558 * po/pl.po: Updated translation.
33559 * po/uk.po: Likewise.
33560 * po/fi.po: Likewise.
33561 * po/ko.po: Likewise.
33562 * po/ru.po: Likewise.
33563 * po/vi.po: Likewise.
33564
33565 2015-07-31 Zack Weinberg <zackw@panix.com>
33566
33567 [BZ #18681]
33568 * regexp.h: Add unconditional #warning stating that this header
33569 will be removed soon. Revise banner comment to match.
33570 (compile): Consistently use ERROR instead of RETURN to report
33571 errors (partial fix for BZ #18681).
33572 * regexp.c: Don't include regexp.h. Remove some unnecessary
33573 declarations.
33574
33575 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33576
33577 * po/libc.pot: Regenerated.
33578
33579 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33580
33581 [BZ #18740]
33582 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33583 float-vlen4-arch-ext-cflags): Removed.
33584 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33585 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33586
33587 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33588
33589 [BZ #14113]
33590 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33591 aligned to __aligned__.
33592 (pthread_cond_t, pthread_rwlock_t): Likewise.
33593
33594 2015-07-30 Torvald Riegel <triegel@redhat.com>
33595
33596 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33597
33598 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33599
33600 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33601 (struct sigaction): Change sa_flags from a long to an int, and add
33602 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33603
33604 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33605
33606 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33607 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33608 sysdeps/generic/sysdep.h include.
33609 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33610 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33611 sysdeps/hppa/sysdep.h.
33612 (ENTRY, PSEUDO): Undefine before defining.
33613
33614 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33615
33616 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33617 from scratch to use INTERNAL_SYSCALL.
33618
33619 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33620
33621 [BZ #18078]
33622 * scripts/check-localplt.awk: Support alternate relocations.
33623 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33624 sections.
33625 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33626 malloc entries with + REL R_386_GLOB_DAT.
33627 * sysdeps/x86_64/localplt.data: New file.
33628
33629 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33630
33631 [BZ #18731]
33632 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33633 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33634 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33635
33636 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33637
33638 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33639
33640 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33641
33642 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33643 directly in terms of __sync_fetch_and_add and delete (int) cast.
33644
33645 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33646
33647 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33648 the -D_ASM_IA64_CURRENT_H flag.
33649
33650 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33651
33652 [BZ #18641]
33653 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33654
33655 2015-07-27 Andreas Schwab <schwab@suse.de>
33656
33657 * conform/conformtest.pl (checknamespace): Filter out string
33658 literals while tokenizing.
33659
33660 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33661
33662 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33663 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33664 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33665
33666 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33667
33668 * nptl/tst-join7mod.c: Add #include <string.h>.
33669
33670 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33671
33672 * sysdeps/nios2/libm-test-ulps: Update.
33673
33674 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33675
33676 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33677 Fix order of arguments to the rt_sigprocmask syscall.
33678 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33679 Likewise.
33680
33681 2015-07-24 Roland McGrath <roland@hack.frob.com>
33682
33683 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33684
33685 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33686
33687 [BZ #18457]
33688 * nptl/Makefile (tests): New test case tst-join7.
33689 (modules-names): New test case module tst-join7mod.
33690 * nptl/tst-join7.c: New file.
33691 * nptl/tst-join7mod.c: New file.
33692 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33693 all translation units in libc.so, libpthread.so and rtld.
33694
33695 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33696
33697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33698
33699 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33700
33701 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33702 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33703 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33704 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33705 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33706 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33707 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33708 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33709 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33710 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33711 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33712 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33713 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33714 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33715 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33716 implementation.
33717
33718 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33719
33720 [BZ #17711]
33721 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33722 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33723 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33724 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33725 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33726 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33727
33728 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33729
33730 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33731 instead of just saying load lock in the comments.
33732
33733 2015-07-23 Roland McGrath <roland@hack.frob.com>
33734
33735 * sysdeps/unix/Subdirs: Moved ...
33736 * sysdeps/posix/Subdirs: ... here.
33737 * login/pty.h (struct termios, struct winsize): Add forward decls.
33738 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33739 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33740 * sysdeps/arm/nacl/libc.abilist: Updated.
33741 * sysdeps/nacl/libutil.abilist: New file.
33742
33743 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33744 (SIGWINCH): New macro.
33745
33746 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33747 * sysdeps/arm/nacl/libc.abilist: Add it.
33748
33749 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33750
33751 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33752
33753 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33754
33755 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33756 Swap __glibc_reserved0 and sa_flags order.
33757
33758 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33759
33760 [BZ #18657]
33761 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33762 are pending TLS destructor calls.
33763 * include/link.h (struct link_map): Add concurrency note for
33764 L_TLS_DTOR_COUNT.
33765 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33766 Don't touch the link map flag. Atomically increment
33767 l_tls_dtor_count.
33768 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33769 Avoid taking the load lock and don't touch the link map flag.
33770 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33771 * stdlib/Makefile (tests): Use it.
33772 * stdlib/tst-tls-atexit.c (do_test): dlopen
33773 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33774 to allow tst-tls-atexit-nodelete test case to use it.
33775
33776 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33777
33778 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33779 to bits/types.h.
33780 (msgqnum_t): New typedef.
33781 (msglen_t): Likewise.
33782 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33783 and msg_qbytes type to msglen_t.
33784
33785 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33786
33787 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33788 pad0 to __glibc_reserved0.
33789 (struct stat64): Likewise.
33790
33791 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33792
33793 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33794 Change sa_flags from a long to an int and add __glibc_reserved0 before
33795 it for padding.
33796
33797 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33798
33799 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33800 anonymous by deleting "siginfo" name.
33801
33802 2015-07-21 Roland McGrath <roland@hack.frob.com>
33803
33804 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33805 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33806 rather than __nacl_irt_filename.
33807 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33808
33809 * NEWS: New item for arm-nacl port.
33810 * sysdeps/arm/nacl/libc.abilist: New file.
33811 * sysdeps/nacl/ld.abilist: New file.
33812 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33813 * sysdeps/nacl/libanl.abilist: New file.
33814 * sysdeps/nacl/libcrypt.abilist: New file.
33815 * sysdeps/nacl/libdl.abilist: New file.
33816 * sysdeps/nacl/libm.abilist: New file.
33817 * sysdeps/nacl/libpthread.abilist: New file.
33818 * sysdeps/nacl/libresolv.abilist: New file.
33819 * sysdeps/nacl/librt.abilist: New file.
33820
33821 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
33822
33823 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33824 __startcontext to initialize the new context.
33825 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33826 up CFI directive to forbid further backtracing.
33827
33828 2015-07-21 Marko Myllynen <myllynen@redhat.com>
33829
33830 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33831 reference.
33832 * charmaps/ANSI_X3.4-1968: Likewise.
33833 * charmaps/BS_4730: Likewise.
33834 * charmaps/BS_VIEWDATA: Likewise.
33835 * charmaps/CP1250: Likewise.
33836 * charmaps/CP1251: Likewise.
33837 * charmaps/CP1252: Likewise.
33838 * charmaps/CP1253: Likewise.
33839 * charmaps/CP1254: Likewise.
33840 * charmaps/CP1255: Likewise.
33841 * charmaps/CP1256: Likewise.
33842 * charmaps/CSN_369103: Likewise.
33843 * charmaps/EBCDIC-DK-NO: Likewise.
33844 * charmaps/GB_1988-80: Likewise.
33845 * charmaps/GREEK-CCITT: Likewise.
33846 * charmaps/GREEK7: Likewise.
33847 * charmaps/INIS-8: Likewise.
33848 * charmaps/ISIRI-3342: Likewise.
33849 * charmaps/ISO_2033-1983: Likewise.
33850 * charmaps/ISO_5427-EXT: Likewise.
33851 * locales/POSIX: Likewise.
33852 * locales/ar_SA: Likewise.
33853 * locales/be_BY: Likewise.
33854 * locales/be_BY@latin: Likewise.
33855 * locales/ca_ES: Likewise.
33856 * locales/cs_CZ: Likewise.
33857 * locales/da_DK: Likewise.
33858 * locales/de_BE: Likewise.
33859 * locales/de_CH: Likewise.
33860 * locales/de_LU: Likewise.
33861 * locales/en_AU: Likewise.
33862 * locales/en_BW: Likewise.
33863 * locales/en_CA: Likewise.
33864 * locales/en_DK: Likewise.
33865 * locales/en_GB: Likewise.
33866 * locales/en_IE: Likewise.
33867 * locales/en_NZ: Likewise.
33868 * locales/en_ZA: Likewise.
33869 * locales/en_ZW: Likewise.
33870 * locales/es_AR: Likewise.
33871 * locales/es_BO: Likewise.
33872 * locales/es_CL: Likewise.
33873 * locales/es_CO: Likewise.
33874 * locales/es_DO: Likewise.
33875 * locales/es_EC: Likewise.
33876 * locales/es_ES: Likewise.
33877 * locales/es_HN: Likewise.
33878 * locales/es_MX: Likewise.
33879 * locales/es_PA: Likewise.
33880 * locales/es_PE: Likewise.
33881 * locales/es_PY: Likewise.
33882 * locales/es_SV: Likewise.
33883 * locales/es_US: Likewise.
33884 * locales/es_UY: Likewise.
33885 * locales/es_VE: Likewise.
33886 * locales/et_EE: Likewise.
33887 * locales/fa_IR: Likewise.
33888 * locales/fo_FO: Likewise.
33889 * locales/fr_CA: Likewise.
33890 * locales/fr_CH: Likewise.
33891 * locales/gv_GB: Likewise.
33892 * locales/he_IL: Likewise.
33893 * locales/hr_HR: Likewise.
33894 * locales/id_ID: Likewise.
33895 * locales/is_IS: Likewise.
33896 * locales/it_CH: Likewise.
33897 * locales/iw_IL: Likewise.
33898 * locales/kl_GL: Likewise.
33899 * locales/ko_KR: Likewise.
33900 * locales/kw_GB: Likewise.
33901 * locales/lg_UG: Likewise.
33902 * locales/lt_LT: Likewise.
33903 * locales/lv_LV: Likewise.
33904 * locales/mi_NZ: Likewise.
33905 * locales/nhn_MX: Likewise.
33906 * locales/nl_BE: Likewise.
33907 * locales/pl_PL: Likewise.
33908 * locales/sk_SK: Likewise.
33909 * locales/sl_SI: Likewise.
33910 * locales/sv_FI: Likewise.
33911 * locales/tl_PH: Likewise.
33912 * locales/tr_TR: Likewise.
33913 * locales/vi_VN: Likewise.
33914
33915 2015-07-21 Khem Raj <raj.khem@gmail.com>
33916
33917 [BZ #17475]
33918 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33919 of tu_IN and bh_IN.
33920
33921 2015-07-21 Mike Frysinger <vapier@gentoo.org>
33922
33923 [BZ #18694]
33924 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33925 bits/wordsize.h.
33926 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33927
33928 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33929
33930 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33931 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33932 (spawn_thread): New function.
33933 (load): Rename to reg_dtor_and_close. Move dlopen to...
33934 (do_test): ... here. Use IS_LOADED to test for its
33935 availability.
33936
33937 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
33938
33939 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33940
33941 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
33942
33943 [BZ #18696]
33944 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33945 si_addr_bnd.
33946 (si_lower): New.
33947 (si_upper): Likewise.
33948
33949 2015-07-16 David S. Miller <davem@davemloft.net>
33950
33951 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33952
33953 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33954
33955 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33956 buffer.
33957 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33958 fail output information.
33959
33960 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33961
33962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33963 and strstr-ppc64..
33964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33965 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33966 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33967 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33968 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33969
33970 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33971
33972 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33973 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33974 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33975 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33976
33977 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33978
33979 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33980 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33981 rtld_hidden_proto.
33982 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33983
33984 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33985
33986 * tst-nodelete-opened.c (do_test): Add comment to clarify how
33987 the test can fail.
33988
33989 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33990
33991 [BZ #18676]
33992 * elf/tst-nodelete-opened.c: New test case.
33993 * elf/tst-nodelete-opened-lib.c: New test case module.
33994 * elf/Makefile (tests, modules-names): Use them.
33995 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33996 early.
33997
33998 2015-07-15 David S. Miller <davem@davemloft.net>
33999
34000 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34001 futex-intenal.h
34002 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34003 * sysdeps/sparc/sparc64/Makefile: Likewise.
34004 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34005 Remove space from macro define.
34006 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34007
34008 2015-07-15 Pravin Satpute <psatpute@redhat.com>
34009
34010 [BZ #17475]
34011 * locale/iso-639.def: Update Bhili and Tulu language codes as
34012 per iso639-3.
34013
34014 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
34015
34016 * elf/tst-leaks1.c (main): Converted to ...
34017 (do_test): ... this.
34018 (TEST_FUNCTION): New macro.
34019 Include test-skeleton.c.
34020 * localedata/tst-langinfo.c (main): Converted to ...
34021 (do_test): ... this.
34022 (TEST_FUNCTION): New macro.
34023 Include test-skeleton.c.
34024 * math/test-fpucw.c (main): Converted to ...
34025 (do_test): ... this.
34026 (TEST_FUNCTION): New macro.
34027 Include test-skeleton.c.
34028 * math/test-tgmath.c (main): Converted to ...
34029 (do_test): ... this.
34030 (TEST_FUNCTION): New macro.
34031 Include test-skeleton.c.
34032 * math/test-tgmath2.c (main): Converted to ...
34033 (do_test): ... this.
34034 (TEST_FUNCTION): New macro.
34035 Include test-skeleton.c.
34036 * setjmp/tst-setjmp.c (main): Converted to ...
34037 (do_test): ... this.
34038 (TEST_FUNCTION): New macro.
34039 Include test-skeleton.c.
34040 * stdio-common/tst-sscanf.c (main): Converted to ...
34041 (do_test): ... this.
34042 (TEST_FUNCTION): New macro.
34043 Include test-skeleton.c.
34044 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34045 (do_test): ... this.
34046 (TEST_FUNCTION): New macro.
34047 Include test-skeleton.c.
34048
34049 * elf/tst-audit9.c (main): Converted to ...
34050 (do_test): ... this.
34051 (TEST_FUNCTION): New macro.
34052 Include test-skeleton.c.
34053
34054 2015-07-15 Mike Frysinger <vapier@gentoo.org>
34055
34056 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34057
34058 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34059
34060 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34061 New variable.
34062
34063 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34064
34065 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34066
34067 2015-07-14 Roland McGrath <roland@hack.frob.com>
34068
34069 * sysdeps/generic/dl-fileid.h: New file.
34070 * sysdeps/posix/dl-fileid.h: New file.
34071 * sysdeps/nacl/dl-fileid.h: New file.
34072 * include/link.h: Include <dl-fileid.h>.
34073 (struct link_map): Replace l_dev and l_ino with l_file_id.
34074 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34075 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34076 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34077
34078 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34079
34080 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34081
34082 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34083
34084 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34085 Add iff $CXX is set.
34086 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34087 Likewise.
34088 (tst-nodelete-zmodiff): Likewise.
34089 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34090
34091 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34092
34093 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34094
34095 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34096
34097 * sysdeps/aarch64/fpu/math_private.h
34098 (define math_opt_barrier): Add AArch64 version.
34099 (math_force_eval): Likewise.
34100
34101 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34102
34103 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34104
34105 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34106
34107 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34108 %ld with %jd and cast to intmax_t.
34109 (do_test_length_zero): Likewise.
34110
34111 2015-07-10 Roland McGrath <roland@hack.frob.com>
34112
34113 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34114
34115 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34116
34117 * sysdeps/tile/libm-test-ulps: Regenerated.
34118
34119 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34120 Comment out the whole function, not just its body.
34121
34122 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34123
34124 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34125 locks.
34126
34127 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34128
34129 2015-07-10 Torvald Riegel <triegel@redhat.com>
34130
34131 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34132 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34133
34134 2015-07-10 Torvald Riegel <triegel@redhat.com>
34135
34136 * sysdeps/nptl/futex-internal.h: New file.
34137 * sysdeps/nacl/futex-internal.h: New file.
34138 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34139 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34140 error checking.
34141 (setxid_unmark_thread): Likewise.
34142 (__nptl_setxid): Likewise.
34143 (__wait_lookup_done): Likewise.
34144 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34145 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34146 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34147 * nptl/pthread_once.c (clear_once_control): Likewise.
34148 (__pthread_once_slow): Likewise.
34149 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34150 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34151 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34152 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34153 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34154 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34155 Likewise.
34156 (__pthread_rwlock_rdlock): Likewise.
34157 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34158 Likewise.
34159 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34160 Likewise.
34161 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34162 Likewise.
34163 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34164 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34165 Likewise.
34166 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34167 __ASSUME_PRIVATE_FUTEX check.
34168 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34169 Check that shared futexes are supported.
34170 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34171 wrappers with error checking.
34172 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34173 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34174 * nptl/pthread_barrierattr_setpshared.c
34175 (pthread_barrierattr_setpshared): Check that shared futexes are
34176 supported.
34177 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34178 Likewise.
34179 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34180 Likewise.
34181 * nptl/sem_init.c (futex_private_if_supported): Remove.
34182 (__new_sem_init): Adapt and check that shared futexes are supported.
34183 * nptl/sem_open.c (sem_open): Likewise.
34184 * nptl/sem_post.c (futex_wake): Remove.
34185 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34186 (do_futex_wait): Use futex wrappers with error checking.
34187 * nptl/sem_wait.c: Include lowlevellock.h.
34188 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34189 Use futex_supports_pshared.
34190 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34191 Use futex wrappers with error checking.
34192 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34193 Likewise.
34194 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34195 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34196 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34197 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34198 (futex_wake): Likewise.
34199 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34200 (do_futex_wait): Use futex wrappers with error checking.
34201 (__new_sem_wait_slow): Update EINTR handling.
34202 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34203
34204 2015-07-09 Martin Sebor <msebor@redhat.com>
34205
34206 [BZ #18435]
34207 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34208 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34209 * nptl/Makefile (test-xfail-tst-once5): Define.
34210
34211 2015-07-09 Roland McGrath <roland@hack.frob.com>
34212
34213 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34214 * elf/dl-minimal.c: For readability, reorder some definitions and
34215 introduce more page breaks. Include <stdio.h>.
34216 (__libc_fatal): New function.
34217
34218 * include/unistd.h: Add rtld_hidden_proto for _exit.
34219 * posix/_exit.c: Add rtld_hidden_def.
34220 * sysdeps/mach/hurd/_exit.c: Likewise.
34221 * sysdeps/nacl/_exit.c: Likewise.
34222 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34223 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34224
34225 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34226
34227 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34228 bndmov encoding with zero displacement.
34229
34230 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34231 H.J. Lu <hongjiu.lu@intel.com>
34232
34233 [BZ #18134]
34234 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34235 * sysdeps/i386/configure: Regenerated.
34236 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34237 (_dl_runtime_profile): Save and restore Intel MPX return bound
34238 registers when calling _dl_call_pltexit. Add
34239 PRESERVE_BND_REGS_PREFIX before return.
34240 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34241 (LRV_BND1_OFFSET): Likewise.
34242 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34243 lrv_bnd1.
34244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34245 typo in bndmov encoding.
34246 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34247 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34248 branch instructions to preserve bounds.
34249
34250 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34251
34252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34253 [GLIBC_2.22]: Add fmemopen.
34254
34255 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34256
34257 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34258 returns an error, also try to use host port from __mach_host_self for
34259 the __vm_wire call.
34260 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34261
34262 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34263
34264 [BZ #18400]
34265 [BZ #18648]
34266 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34267 Fix pr_uid and pr_gid members.
34268 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34269 definition to elf_greg_t.
34270
34271 2015-07-08 Roland McGrath <roland@hack.frob.com>
34272
34273 [BZ #18383]
34274 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34275 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34276 * sysdeps/arm/configure: Regenerated.
34277 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34278 (test-xfail-tst-tlsalign-static): Variable removed.
34279
34280 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34281 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34282 rather than explicit 'ln -s'.
34283
34284 * resolv/rpc/netdb.h: New file.
34285 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34286
34287 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34288
34289 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34290 length buffers.
34291 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34292 test-skeleton.c.
34293
34294 [BZ #6544]
34295 [BZ #11216]
34296 [BZ #12836]
34297 [BZ #13151]
34298 [BZ #13152]
34299 [BZ #14292]
34300 * include/stdio.h (fmemopen): Remove hidden prototype.
34301 (__fmemopen): Add new hidden prototype.
34302 * libio/Makefile: Add oldfmemopen object.
34303 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34304 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34305 compliance.
34306 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34307 symbol compatibility.
34308 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34309 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34310 fmemopen.
34311 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34312 on append and read mode.
34313 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34314 fmemopen.
34315 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34316 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34317 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34318 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34319 Likewise.
34320 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34321 [GLIBC_2.22]: Likewise.
34322 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34323 Likewise.
34324 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34325 Likewise.
34326 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34327 [GLIBC_2.22]: Likewise.
34328 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34329 [GLIBC_2.22]: Likewise.
34330 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34331 [GLIBC_2.22]: Likewise.
34332 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34333 [GLIBC_2.22]: Likewise.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34335 [GLIBC_2.22]: Likewise.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34337 [GLIBC_2.22]: Likewise.
34338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34339 [GLIBC_2.22]: Likewise.
34340 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34341 Likewise.
34342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34343 Likewise.
34344 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34346 [GLIBC_2.22]: Likewise.
34347 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34348 [GLIBC_2.22]: Likewise.
34349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34350 [GLIBC_2.22]: Likewise.
34351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34352 [GLIBC_2.22]: Likewise.
34353 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34354 Likewise.
34355 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34356 Likewise.
34357 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34358 Likewise.
34359 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34360 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34361
34362 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34363
34364 [BZ #18643]
34365 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34366 IPV6_PATHMTU, and IPV6_DONTFRAG.
34367
34368 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34369
34370 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34371 and _IO_UNBUFFERED.
34372 * libio/oldfileops.c: Likewise.
34373 * libio/wfileops.c: Likewise.
34374
34375 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34376
34377 * nscd/selinux.c: Delete selinux/flask.h include.
34378
34379 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34380
34381 [BZ #18641]
34382 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34383 (putpwent): Likewise.
34384 (getpwnam): Likewise.
34385 (getpwent_r): Likewise.
34386 (getpwuid_r): Likewise.
34387 (getpwnam_r): Likewise.
34388 (fgetpwent_r): Likewise.
34389
34390 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34391
34392 [BZ #18557]
34393 * inet/rcmd.c (__validuser2_sa): Check user first to
34394 short-circuit host check.
34395
34396 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34397 Mikhail Ilin <m.ilin@samsung.com>
34398
34399 [BZ #17833]
34400 * elf/Makefile (tests): Add tst-nodelete.
34401 (modules-names): Add tst-nodelete-uniquemod.
34402 (tst-nodelete-uniquemod.so-no-z-defs): New.
34403 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34404 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34405 ($(objpfx)tst-nodelete): Likewise.
34406 ($(objpfx)tst-nodelete.out): Likewise.
34407 (LDFLAGS-tst-nodelete): Likewise.
34408 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34409 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34410 implement forced object deletion.
34411 (_dl_close): Pass false to _dl_close_worker.
34412 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34413 * elf/tst-nodelete.cc: New file.
34414 * elf/tst-nodeletelib.cc: Likewise.
34415 * elf/tst-znodeletelib.cc: Likewise.
34416 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34417
34418 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34419
34420 [BZ #18508]
34421 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34422 Depend on $(libdl).
34423 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34424 is not called infinitely times.
34425 (backtrace_helper): New function.
34426 (trace_arg): New struct.
34427 (st1): Enlarge stack size.
34428 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34429 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34430 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34431 Likewise.
34432
34433 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34434
34435 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34436
34437 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34438
34439 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34440 Include sys/types.h instead of bits/types.h.
34441 Remove inclusion of bits/wordsize.h.
34442
34443 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34444
34445 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34446 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34447 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34448 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34449 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34450 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34451
34452 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34453
34454 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34455 link-defines.sym.
34456 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34457 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34458 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34459 and LR_SIZE.
34460 * sysdeps/i386/link-defines.sym: New file.
34461
34462 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34463
34464 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34465 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34466 ($(objpfx)tst-audit3): New rule.
34467 ($(objpfx)tst-audit3.out): Likewise.
34468 * sysdeps/i386/tst-audit3.c: New file.
34469 * sysdeps/i386/tst-audit3.h: Likewise.
34470 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34471 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34472
34473 2015-07-07 Torvald Riegel <triegel@redhat.com>
34474
34475 [BZ #18633]
34476 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34477 pointer in C code.
34478 (__strcat_c): Likewise.
34479 (__strcat_g): Likewise.
34480
34481 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34482
34483 [BZ #18592]
34484 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34485
34486 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34487
34488 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34489 New function. (__ieee754_sqrtf): New function.
34490 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34491 New function.
34492 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34493 New function.
34494
34495 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34496
34497 * sysdeps/ieee754/support.c: Remove unused file.
34498
34499 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34500
34501 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34502 registers instead of d ones so the layout is kernel abi compatible.
34503 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34504 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34505 Likewise.
34506
34507 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34508
34509 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34510
34511 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34512
34513 [BZ #18619]
34514 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34515 and return argument in case of subnormal argument.
34516
34517 2015-07-01 Martin Sebor <msebor@redhat.com>
34518
34519 [BZ #18435]
34520 * nptl/Makefile: Add tst-once5.cc.
34521 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34522 Remove macro redefinitions.
34523 * nptl/tst-once5.cc: New test.
34524
34525 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34526
34527 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34528
34529 * sysdeps/arm/libm-test-ulps: Regenerated.
34530
34531 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34532 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34533
34534 2015-06-30 Torvald Riegel <triegel@redhat.com>
34535
34536 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34537 lll_lock_wait_private and lll_futex_wake probes.
34538
34539 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34540 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34541 Likewise.
34542 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34543 atomic_spin_nop.
34544 * sysdeps/x86_64/bits/atomic.h: Likewise.
34545 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34546 to atomic_spin_nop and move ...
34547 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34548 ... here and ...
34549 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34550 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34551 atomic_spin_nop instead of BUSY_WAIT_NOP.
34552 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34553 Likewise.
34554 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34555 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34556 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34557 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34558 instead of atomic_delay.
34559
34560 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34561
34562 [BZ #18613]
34563 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34564 X_ADJ not X when adjusting exponent.
34565 (__ieee754_gamma_r): Do intermediate computations in
34566 round-to-nearest then adjust overflowing and underflowing results
34567 as needed.
34568 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34569 of X_ADJ not X when adjusting exponent.
34570 (__ieee754_gammaf_r): Do intermediate computations in
34571 round-to-nearest then adjust overflowing and underflowing results
34572 as needed.
34573 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34574 log of X_ADJ not X when adjusting exponent.
34575 (__ieee754_gammal_r): Do intermediate computations in
34576 round-to-nearest then adjust overflowing and underflowing results
34577 as needed. Use 1.0L not 1.0f as numerator of division.
34578 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34579 log of X_ADJ not X when adjusting exponent.
34580 (__ieee754_gammal_r): Do intermediate computations in
34581 round-to-nearest then adjust overflowing and underflowing results
34582 as needed. Use 1.0L not 1.0f as numerator of division.
34583 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34584 of X_ADJ not X when adjusting exponent.
34585 (__ieee754_gammal_r): Do intermediate computations in
34586 round-to-nearest then adjust overflowing and underflowing results
34587 as needed. Use 1.0L not 1.0f as numerator of division.
34588 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34589 to auto-libm-test-in.
34590 (tgamma_test): Use ALL_RM_TEST.
34591 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34592 tests of tgamma with spurious-overflow.
34593 * math/auto-libm-test-out: Regenerated.
34594 * math/gen-libm-have-vector-test.sh: Do not check for START.
34595 * sysdeps/i386/fpu/libm-test-ulps: Update.
34596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34597
34598 [BZ #18612]
34599 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34600 arguments, just return 0.5 times the argument, with underflow
34601 forced as needed.
34602 * math/auto-libm-test-in: Add more tests of j1.
34603 * math/auto-libm-test-out: Regenerated.
34604
34605 [BZ #16559]
34606 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34607 (__ieee754_j1): Force underflow exception for small results.
34608 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34609 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34610 (__ieee754_j1f): Force underflow exception for small results.
34611 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34612 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34614 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34615 (__ieee754_j1l): Force underflow exception for small results.
34616 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34617 * math/auto-libm-test-in: Add more tests of j1 and jn.
34618 * math/auto-libm-test-out: Regenerated.
34619
34620 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34621 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34622 (PF_MPLS): Likewise.
34623 (AF_IB): Likewise.
34624 (AF_MPLS): Likewise.
34625 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34626 value and macro.
34627 (MS_RMT_MASK): Include MS_LAZYTIME.
34628
34629 2015-06-26 Mel Gorman <mgorman@suse.de>
34630
34631 [BZ #18502]
34632 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34633 already minimal.
34634
34635 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34636
34637 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34638 (DT_MIPS_NUM): Update.
34639 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34640 DT_MIPS_RLD_MAP_REL.
34641
34642 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34643
34644 [BZ #16559]
34645 [BZ #18602]
34646 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34647 round-to-nearest internally then recompute results that
34648 underflowed to zero in the original rounding mode.
34649 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34650 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34652 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34653 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34654 * sysdeps/i386/fpu/libm-test-ulps: Update.
34655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34656
34657 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34658
34659 * NEWS: Fixed description of link with vector math library.
34660
34661 2015-06-25 Andreas Schwab <schwab@suse.de>
34662
34663 [BZ #18549]
34664 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34665 * libio/test-fmemopen.c (do_test): Add test for it.
34666
34667 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34668
34669 [BZ #17841]
34670 * Makeconfig (no-pie-ldflag): New.
34671 (+link): Set to $(+link-pie) if default to PIE.
34672 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34673 * config.make.in (build-pie-default): New.
34674 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34675 is default. AC_SUBST.
34676 * configure: Regenerated.
34677 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34678
34679 2015-06-24 Roland McGrath <roland@hack.frob.com>
34680
34681 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34682 to 'unsigned int'.
34683
34684 * resolv/gai_misc.h (struct waitlist): Change type of field
34685 counterp to 'volatile unsigned int *'.
34686 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34687 FUTEXADDR and OLDVAL.
34688 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34689 Give local variable TOTAL type 'volatile unsigned int'.
34690 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34691 * resolv/gai_suspend.c (gai_suspend):
34692 Give local variable CNTR type 'unsigned int'.
34693
34694 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34695 counterp to 'volatile unsigned int *'.
34696 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34697 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34698 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34699 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34700 Give local variable TOTAL type 'volatile unsigned int'.
34701 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34702
34703 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34704
34705 [BZ #18383]
34706 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34707 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34708 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34709 comment for i386/x86-64.
34710 (test-xfail-tst-tlsalign-extern-static): Removed.
34711
34712 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34713
34714 * math/test-double.h: New file.
34715 * math/test-float.h: Likewise.
34716 * math/test-ldouble.h: Likewise.
34717 * math/test-math-inline.h: Likewise.
34718 * math/test-math-no-inline.h: Likewise.
34719 * math/test-math-scalar.h: Likewise.
34720 * math/test-math-vector.h: Likewise.
34721 * math/test-vec-loop.h: Remove file. Contents moved into
34722 test-math-vector.h.
34723 * math/libm-test.inc (MATHCONST): Do not document macro.
34724 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34725 and test-math-scalar.h.
34726 (FUNC): Remove macro.
34727 (FUNC_TEST): Likewise.
34728 (FLOAT): Likewise.
34729 (MATHCONST): Likewise.
34730 (PRINTF_EXPR): Likewise.
34731 (PRINTF_XEXPR): Likewise.
34732 (PRINTF_NEXPR): Likewise.
34733 (TEST_DOUBLE): Likewise.
34734 (TEST_MATHVEC): Likewise.
34735 (__NO_MATH_INLINES): Likewise.
34736 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34737 and test-math-scalar.h.
34738 (FUNC): Remove macro.
34739 (FUNC_TEST): Likewise.
34740 (FLOAT): Likewise.
34741 (MATHCONST): Likewise.
34742 (PRINTF_EXPR): Likewise.
34743 (PRINTF_XEXPR): Likewise.
34744 (PRINTF_NEXPR): Likewise.
34745 (TEST_FLOAT): Likewise.
34746 (TEST_MATHVEC): Likewise.
34747 (__NO_MATH_INLINES): Likewise.
34748 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34749 and test-math-scalar.h.
34750 (FUNC): Remove macro.
34751 (FUNC_TEST): Likewise.
34752 (FLOAT): Likewise.
34753 (MATHCONST): Likewise.
34754 (PRINTF_EXPR): Likewise.
34755 (PRINTF_XEXPR): Likewise.
34756 (PRINTF_NEXPR): Likewise.
34757 (TEST_DOUBLE): Likewise.
34758 (TEST_MATHVEC): Likewise.
34759 (TEST_INLINE): Likewise.
34760 (__NO_MATH_INLINES): Likewise.
34761 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34762 test-math-scalar.h.
34763 (FUNC): Remove macro.
34764 (FUNC_TEST): Likewise.
34765 (FLOAT): Likewise.
34766 (MATHCONST): Likewise.
34767 (PRINTF_EXPR): Likewise.
34768 (PRINTF_XEXPR): Likewise.
34769 (PRINTF_NEXPR): Likewise.
34770 (TEST_FLOAT): Likewise.
34771 (TEST_MATHVEC): Likewise.
34772 (TEST_INLINE): Likewise.
34773 (__NO_MATH_INLINES): Likewise.
34774 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34775 and test-math-scalar.h.
34776 (FUNC): Remove macro.
34777 (FUNC_TEST): Likewise.
34778 (FLOAT): Likewise.
34779 (MATHCONST): Likewise.
34780 (PRINTF_EXPR): Likewise.
34781 (PRINTF_XEXPR): Likewise.
34782 (PRINTF_NEXPR): Likewise.
34783 (TEST_LDOUBLE): Likewise.
34784 (TEST_MATHVEC): Likewise.
34785 (TEST_INLINE): Likewise.
34786 (__NO_MATH_INLINES): Likewise.
34787 * math/test-ldouble.c: Include test-ldouble.h,
34788 test-math-no-inline.h and test-math-scalar.h.
34789 (FUNC): Remove macro.
34790 (FUNC_TEST): Likewise.
34791 (FLOAT): Likewise.
34792 (MATHCONST): Likewise.
34793 (PRINTF_EXPR): Likewise.
34794 (PRINTF_XEXPR): Likewise.
34795 (PRINTF_NEXPR): Likewise.
34796 (TEST_LDOUBLE): Likewise.
34797 (TEST_MATHVEC): Likewise.
34798 (__NO_MATH_INLINES): Likewise.
34799 * math/test-double-vlen2.h: Include test-double.h,
34800 test-math-no-inline.h and test-math-vector.h.
34801 (FLOAT): Remove macro.
34802 (FUNC): Likewise.
34803 (MATHCONST): Likewise.
34804 (PRINTF_EXPR): Likewise.
34805 (PRINTF_XEXPR): Likewise.
34806 (PRINTF_NEXPR): Likewise.
34807 (TEST_DOUBLE): Likewise.
34808 (TEST_MATHVEC): Likewise.
34809 (__NO_MATH_INLINES): Likewise.
34810 (CNCT): Likewise.
34811 (CONCAT): Likewise.
34812 (WRAPPER_NAME): Likewise.
34813 (WRAPPER_DECL): Likewise.
34814 (WRAPPER_DECL_ff): Likewise.
34815 (WRAPPER_DECL_fFF): Likewise.
34816 (VECTOR_WRAPPER): Likewise.
34817 (VECTOR_WRAPPER_ff): Likewise.
34818 (VECTOR_WRAPPER_fFF): Likewise.
34819 (VEC_LEN): New macro.
34820 * math/test-double-vlen4.h: Include test-double.h,
34821 test-math-no-inline.h and test-math-vector.h.
34822 (FLOAT): Remove macro.
34823 (FUNC): Likewise.
34824 (MATHCONST): Likewise.
34825 (PRINTF_EXPR): Likewise.
34826 (PRINTF_XEXPR): Likewise.
34827 (PRINTF_NEXPR): Likewise.
34828 (TEST_DOUBLE): Likewise.
34829 (TEST_MATHVEC): Likewise.
34830 (__NO_MATH_INLINES): Likewise.
34831 (CNCT): Likewise.
34832 (CONCAT): Likewise.
34833 (WRAPPER_NAME): Likewise.
34834 (WRAPPER_DECL): Likewise.
34835 (WRAPPER_DECL_ff): Likewise.
34836 (WRAPPER_DECL_fFF): Likewise.
34837 (VECTOR_WRAPPER): Likewise.
34838 (VECTOR_WRAPPER_ff): Likewise.
34839 (VECTOR_WRAPPER_fFF): Likewise.
34840 (VEC_LEN): New macro.
34841 * math/test-double-vlen8.h: Include test-double.h,
34842 test-math-no-inline.h and test-math-vector.h.
34843 (FLOAT): Remove macro.
34844 (FUNC): Likewise.
34845 (MATHCONST): Likewise.
34846 (PRINTF_EXPR): Likewise.
34847 (PRINTF_XEXPR): Likewise.
34848 (PRINTF_NEXPR): Likewise.
34849 (TEST_DOUBLE): Likewise.
34850 (TEST_MATHVEC): Likewise.
34851 (__NO_MATH_INLINES): Likewise.
34852 (CNCT): Likewise.
34853 (CONCAT): Likewise.
34854 (WRAPPER_NAME): Likewise.
34855 (WRAPPER_DECL): Likewise.
34856 (WRAPPER_DECL_ff): Likewise.
34857 (WRAPPER_DECL_fFF): Likewise.
34858 (VECTOR_WRAPPER): Likewise.
34859 (VECTOR_WRAPPER_ff): Likewise.
34860 (VECTOR_WRAPPER_fFF): Likewise.
34861 (VEC_LEN): New macro.
34862 * math/test-float-vlen4.h: Include test-float.h,
34863 test-math-no-inline.h and test-math-vector.h.
34864 (FLOAT): Remove macro.
34865 (FUNC): Likewise.
34866 (MATHCONST): Likewise.
34867 (PRINTF_EXPR): Likewise.
34868 (PRINTF_XEXPR): Likewise.
34869 (PRINTF_NEXPR): Likewise.
34870 (TEST_FLOAT): Likewise.
34871 (TEST_MATHVEC): Likewise.
34872 (__NO_MATH_INLINES): Likewise.
34873 (CNCT): Likewise.
34874 (CONCAT): Likewise.
34875 (WRAPPER_NAME): Likewise.
34876 (WRAPPER_DECL): Likewise.
34877 (WRAPPER_DECL_ff): Likewise.
34878 (WRAPPER_DECL_fFF): Likewise.
34879 (VECTOR_WRAPPER): Likewise.
34880 (VECTOR_WRAPPER_ff): Likewise.
34881 (VECTOR_WRAPPER_fFF): Likewise.
34882 (VEC_LEN): New macro.
34883 * math/test-float-vlen8.h: Include test-float.h,
34884 test-math-no-inline.h and test-math-vector.h.
34885 (FLOAT): Remove macro.
34886 (FUNC): Likewise.
34887 (MATHCONST): Likewise.
34888 (PRINTF_EXPR): Likewise.
34889 (PRINTF_XEXPR): Likewise.
34890 (PRINTF_NEXPR): Likewise.
34891 (TEST_FLOAT): Likewise.
34892 (TEST_MATHVEC): Likewise.
34893 (__NO_MATH_INLINES): Likewise.
34894 (CNCT): Likewise.
34895 (CONCAT): Likewise.
34896 (WRAPPER_NAME): Likewise.
34897 (WRAPPER_DECL): Likewise.
34898 (WRAPPER_DECL_ff): Likewise.
34899 (WRAPPER_DECL_fFF): Likewise.
34900 (VECTOR_WRAPPER): Likewise.
34901 (VECTOR_WRAPPER_ff): Likewise.
34902 (VECTOR_WRAPPER_fFF): Likewise.
34903 (VEC_LEN): New macro.
34904 * math/test-float-vlen16.h: Include test-float.h,
34905 test-math-no-inline.h and test-math-vector.h.
34906 (FLOAT): Remove macro.
34907 (FUNC): Likewise.
34908 (MATHCONST): Likewise.
34909 (PRINTF_EXPR): Likewise.
34910 (PRINTF_XEXPR): Likewise.
34911 (PRINTF_NEXPR): Likewise.
34912 (TEST_FLOAT): Likewise.
34913 (TEST_MATHVEC): Likewise.
34914 (__NO_MATH_INLINES): Likewise.
34915 (CNCT): Likewise.
34916 (CONCAT): Likewise.
34917 (WRAPPER_NAME): Likewise.
34918 (WRAPPER_DECL): Likewise.
34919 (WRAPPER_DECL_ff): Likewise.
34920 (WRAPPER_DECL_fFF): Likewise.
34921 (VECTOR_WRAPPER): Likewise.
34922 (VECTOR_WRAPPER_ff): Likewise.
34923 (VECTOR_WRAPPER_fFF): Likewise.
34924 (VEC_LEN): New macro.
34925 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34926 test-vec-loop.h.
34927 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34928 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34929 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34930 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34931 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34932 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34933 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34934
34935 2015-06-24 Roland McGrath <roland@hack.frob.com>
34936
34937 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34938 (__getlogin_r): ... this.
34939
34940 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34941
34942 [BZ #18594]
34943 * math/s_ccosh.c (__ccosh): Compare with least normal value
34944 instead of comparing class with FP_SUBNORMAL.
34945 * math/s_ccoshf.c (__ccoshf): Likewise.
34946 * math/s_ccoshl.c (__ccoshl): Likewise.
34947 * math/s_cexp.c (__cexp): Likewise.
34948 * math/s_cexpf.c (__cexpf): Likewise.
34949 * math/s_cexpl.c (__cexpl): Likewise.
34950 * math/s_csin.c (__csin): Likewise.
34951 * math/s_csinf.c (__csinf): Likewise.
34952 * math/s_csinh.c (__csinh): Likewise.
34953 * math/s_csinhf.c (__csinhf): Likewise.
34954 * math/s_csinhl.c (__csinhl): Likewise.
34955 * math/s_csinl.c (__csinl): Likewise.
34956 * math/s_ctan.c (__ctan): Likewise.
34957 * math/s_ctanf.c (__ctanf): Likewise.
34958 * math/s_ctanh.c (__ctanh): Likewise.
34959 * math/s_ctanhf.c (__ctanhf): Likewise.
34960 * math/s_ctanhl.c (__ctanhl): Likewise.
34961 * math/s_ctanl.c (__ctanl): Likewise.
34962 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34963 csin, csinh, ctan and ctanh.
34964 * math/auto-libm-test-out: Regenerated.
34965 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34966 * sysdeps/i386/fpu/libm-test-ulps: Update.
34967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34968
34969 2015-06-24 Roland McGrath <roland@hack.frob.com>
34970
34971 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34972 return value is wrong, print the expected value too.
34973
34974 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34975
34976 [BZ #18585]
34977 * elf/readlib.c (is_gdb_python_file): New.
34978 (process_file): Don't issue errors on filenames with -gdb.py
34979 suffix.
34980
34981 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34982
34983 * math/auto-libm-test-in: Add more tests of csin and csinh.
34984 * math/auto-libm-test-out: Regenerated.
34985 * math/libm-test.inc (csin_test_data): Remove tests moved to
34986 auto-libm-test-in.
34987 (csinh_test_data): Likewise.
34988
34989 [BZ #18593]
34990 * math/s_csin.c (__csin): Negate before rather than after possibly
34991 overflowing multiplication.
34992 * math/s_csinf.c (__csinf): Likewise.
34993 * math/s_csinh.c (__csinh): Likewise.
34994 * math/s_csinhf.c (__csinhf): Likewise.
34995 * math/s_csinhl.c (__csinhl): Likewise.
34996 * math/s_csinl.c (__csinl): Likewise.
34997 * math/auto-libm-test-in: Add some tests of csin and csinh.
34998 * math/auto-libm-test-out: Regenerated.
34999 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35000 (csinh_test_data): Likewise.
35001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35002
35003 [BZ #18586]
35004 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35005 underflow exception for small results.
35006
35007 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35008
35009 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35010 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35011 variable and included header.
35012 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35013 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35014 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35015 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35016 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35017 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35018 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35019 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35020 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35021 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35022 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35023 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35024 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35025 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35026 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35027 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35028
35029 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35030
35031 [BZ #16526]
35032 [BZ #16538]
35033 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35034 (__sin): Force underflow exception for arguments with small
35035 absolute value.
35036 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35037 (__kernel_sinf): Force underflow exception for arguments with
35038 small absolute value.
35039 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35040 (__kernel_sincosl): Force underflow exception for arguments with
35041 small absolute value.
35042 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35043 (__kernel_sinl): Force underflow exception for arguments with
35044 small absolute value.
35045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35046 (__kernel_sincosl): Force underflow exception for arguments with
35047 small absolute value.
35048 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35049 (__kernel_sinl): Force underflow exception for arguments with
35050 small absolute value.
35051 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35052 (__kernel_sinl): Force underflow exception for arguments with
35053 small absolute value.
35054 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35055 (__kernel_sinf): Force underflow exception for arguments with
35056 small absolute value.
35057 * math/auto-libm-test-in: Add more tests of sin and sincos.
35058 * math/auto-libm-test-out: Regenerated.
35059
35060 [BZ #18245]
35061 [BZ #18583]
35062 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35063 (__kernel_standard_l): Use feholdexcept and fesetenv around
35064 conversion to double instead of special-casing overflow and
35065 underflow.
35066 * math/libm-test.inc (fmod_test_data): Add more tests.
35067 (remainder_test_data): Likewise.
35068 (sqrt_test_data): Likewise.
35069
35070 2015-06-23 Torvald Riegel <triegel@redhat.com>
35071
35072 [BZ #17403]
35073 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35074 atomic_read_barrier, atomic_write_barrier): Define.
35075 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35076 atomic_read_barrier, atomic_write_barrier): Define.
35077
35078 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35079
35080 * math/Makefile [$(PERL) != no]
35081 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35082 dependency on libm-test.stmp below the inclusion of Rules.
35083
35084 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35085
35086 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35088 and included header.
35089 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35090 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35091 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35092 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35093 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35094 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35095 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35096 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35097 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35098 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35099 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35100 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35101 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35102 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35103 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35104 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35105 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35106 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35107 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35108
35109 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35110
35111 [BZ #18371]
35112 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35113 intermediate but not final result might underflow.
35114 * math/s_csqrtf.c (__csqrtf): Likewise.
35115 * math/s_csqrtl.c (__csqrtl): Likewise.
35116 * math/auto-libm-test-in: Add more tests of csqrt.
35117 * math/auto-libm-test-out: Regenerated.
35118 * sysdeps/i386/fpu/libm-test-ulps: Update.
35119
35120 [BZ #18219]
35121 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35122 threshold on absolute value of exponent for which scaling is used.
35123 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35124 * math/auto-libm-test-in: Add more tests of exp2.
35125 * math/auto-libm-test-out: Regenerated.
35126
35127 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35128
35129 [BZ #17977]
35130 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35131 when initializing interface list, based on the bug analysis
35132 and the patch proposed by Eric Newton.
35133 * resolv/tst-res_hconf_reorder.c: New test.
35134 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35135 tst-res_hconf_reorder.
35136 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35137 and $(shared-thread-library).
35138 (tst-res_hconf_reorder-ENV): New variable.
35139
35140 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35141 in comment.
35142
35143 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35144
35145 [BZ #16353]
35146 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35147 (__expm1): Force underflow exception for arguments with small
35148 absolute value.
35149 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35150 (__expm1f): Force underflow exception for arguments with small
35151 absolute value.
35152 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35153 (__expm1): Force underflow exception for arguments with small
35154 absolute value.
35155 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35156 (__expm1f): Force underflow exception for arguments with small
35157 absolute value.
35158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35159 Check for small arguments before calling __expm1.
35160 * math/auto-libm-test-in: Do not mark underflow exceptions as
35161 possibly missing for bug 16353.
35162 * math/auto-libm-test-out: Regenerated.
35163
35164 2015-06-22 Andreas Schwab <schwab@suse.de>
35165
35166 [BZ #18513]
35167 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35168 PTR queries.
35169
35170 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35171
35172 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35173
35174 * string/strcoll_l.c: Remove unused struct element idxnow.
35175
35176 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35177
35178 [BZ #18569]
35179 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35180 underflow and return argument in case of subnormal argument.
35181 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35182 Likewise.
35183 * math/auto-libm-test-in: Add more tests of expm1.
35184 * math/auto-libm-test-out: Regenerated.
35185
35186 [BZ #16361]
35187 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35188 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35189 tiny results.
35190 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35191 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35192 tiny results.
35193 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35194 mark underflow exceptions as possibly missing for bug 16361.
35195 * math/auto-libm-test-out: Regenerated.
35196
35197 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35198
35199 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35200 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35201 Remove variable.
35202 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35203 (test-xfail-XOPEN2K8/utmpx.h/conform).
35204
35205 * conform/conformtest.pl ($xerrors): New variable.
35206 (note_error): New function.
35207 (compiletest): New argument $xfail. Use not_error.
35208 (runtest): Likewise.
35209 (top level): Handle xfail- lines. Update calls to compiletest and
35210 runtest. Handle xfail- and optional- in headers listed with
35211 allow-header.
35212 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35213 (O_EXEC): Likewise.
35214 (O_SEARCH): Likewise.
35215 * conform/data/stropts.h-data (ioctl): Likewise.
35216 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35217 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35218 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35219 (msghdr.msg_controllen): Likewise.
35220 (cmsghdr.cmsg_len): Likewise.
35221 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35222 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35223 variable.
35224 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35225 (test-xfail-XPG4/stropts.h/conform): Likewise.
35226 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35227 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35228 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35229 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35230 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35231 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35232 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35233 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35234 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35235 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35236 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35237 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35238 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35239 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35240 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35241 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35242 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35243 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35244 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35245
35246 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35247
35248 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35249 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35250 definitions for proper unfolding of __MATHDECL_VEC.
35251
35252 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35253
35254 * benchtests/bench-strcoll.c:
35255 Include string.h.
35256 (main): Remove unused variable res.
35257
35258 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35259
35260 * timezone/Makefile (%/UTC %/Universal):
35261 Generate test-result files for UTC and Universal.
35262
35263 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35264
35265 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35266
35267 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35268
35269 [BZ #16350]
35270 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35271 for arguments with small absolute value.
35272 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35273 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35274 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35275 (__asinh): Force underflow exception for arguments with small
35276 absolute value.
35277 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35278 (__asinhf): Force underflow exception for arguments with small
35279 absolute value.
35280 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35281 (__asinhl): Force underflow exception for arguments with small
35282 absolute value.
35283 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35284 (__asinhl): Force underflow exception for arguments with small
35285 absolute value.
35286 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35287 (__asinhl): Force underflow exception for arguments with small
35288 absolute value.
35289 * math/auto-libm-test-in: Do not mark underflow exceptions as
35290 possibly missing for bug 16350.
35291 * math/auto-libm-test-out: Regenerated.
35292
35293 * include/bits/ipc.h: Remove file.
35294 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35295 variable.
35296 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35297 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35298 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35299 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35300 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35301 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35302 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35303 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35304 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35305
35306 * math/auto-libm-test-in: Remove spurious underflow allowance for
35307 tests of cexp.
35308 * math/auto-libm-test-out: Regenerated.
35309
35310 [BZ #18558]
35311 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35312 unconditional definition.
35313 (MCAST_BLOCK_SOURCE): Likewise.
35314 (MCAST_UNBLOCK_SOURCE): Likewise.
35315 (MCAST_LEAVE_GROUP): Likewise.
35316 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35317 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35318 (MCAST_MSFILTER): Likewise.
35319 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35320 Remove variable.
35321 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35322 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35323 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35324 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35325 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35326
35327 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35328
35329 * NEWS: Mention addition of x86_64 vector sincosf.
35330 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35331 * math/test-float-vlen4.h: Likewise.
35332 * math/test-float-vlen8.h: Likewise.
35333 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35334 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35335 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35336 * sysdeps/x86_64/fpu/Versions: New versions added.
35337 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35338 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35339 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35340 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35341 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35342 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35343 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35344 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35345 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35346 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35347 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35348 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35349 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35350 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35351 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35352 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35353 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35354 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35355 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35356 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35357 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35358 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35359 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35360 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35361
35362 * NEWS: Mention addition of x86_64 vector sincos.
35363 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35364 * math/math.h (__MATHDECL_VEC): New macro.
35365 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35366 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35367 declaration under condition.
35368 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35369 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35370 TEST_VEC_LOOP change.
35371 * math/test-double-vlen4.h: Likewise.
35372 * math/test-double-vlen8.h: Likewise.
35373 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35374 * math/test-float-vlen4.h: Likewise.
35375 * math/test-float-vlen8.h: Likewise.
35376 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35377 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35378 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35379 * sysdeps/x86_64/fpu/Versions: New versions added.
35380 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35381 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35382 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35386 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35387 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35388 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35389 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35390 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35391 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35392 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35393 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35394 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35395 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35396 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35397 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35398 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35399 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35400 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35401 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35402 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35403 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35404
35405 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35406 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35407 redirections for powf.
35408 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35409 * sysdeps/x86_64/fpu/Versions: New versions added.
35410 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35411 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35412 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35413 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35414 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35415 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35416 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35417 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35418 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35419 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35420 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35421 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35422 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35423 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35424 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35425 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35426 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35427 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35428 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35429 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35430 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35431 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35432 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35433 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35434 * math/test-float-vlen16.h: Fixed 2 argument macro.
35435 * math/test-float-vlen4.h: Likewise.
35436 * math/test-float-vlen8.h: Likewise.
35437 * NEWS: Mention addition of x86_64 vector powf.
35438
35439 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35440
35441 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35442 and redefine.
35443 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35444 and redefine.
35445 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35446 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35448
35449 [BZ #18553]
35450 * resource/getpriority.c (getpriority): Rename to __getpriority
35451 and define as weak alias of __getpriority.
35452 * resource/setpriority.c (setpriority): Rename to __setpriority
35453 and define as weak alias of __setpriority.
35454 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35455 __getpriority and define as weak alias of __getpriority.
35456 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35457 __setpriority and define as weak alias of __setpriority.
35458 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35459 strong name.
35460 (setpriority): Use __setpriority as strong name.
35461 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35462 __getpriority and define as weak alias of __getpriority.
35463 * include/sys/resource.h (__getpriority): Declare. Use
35464 libc_hidden_proto.
35465 (__setpriority): Likewise.
35466 (getpriority): Don't use libc_hidden_proto.
35467 (setpriority): Likewise.
35468 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35469 getpriority. Call __setpriority instead of setpriority.
35470 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35471 Remove variable.
35472
35473 [BZ #18547]
35474 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35475 as weak alias of __getttynam. Use prototype function definition.
35476 Call __setttyent, __getttyent and __endttyent instead of
35477 setttyent, getttyent and endttyent.
35478 (getttyent): Rename to __getttyent and define as weak alias of
35479 __getttyent. Call __setttyent instead of setttyent. Call
35480 __fgets_unlocked instead of fgets_unlocked.
35481 (setttyent): Rename to __setttyent and define as weak alias of
35482 __setttyent.
35483 (endttyent): Rename to __endttyent and define as weak alias of
35484 __endttyent.
35485 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35486 (__setttyent): Likewise.
35487 (__endttyent): Likewise.
35488 (getttyent): Don't use libc_hidden_proto.
35489 (setttyent): Likewise.
35490 (endttyent): Likewise.
35491 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35492 __endttyent instead of setttyent, getttyent and endttyent.
35493 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35494 Remove variable.
35495
35496 [BZ #18546]
35497 * socket/recv.c (__recv): Use libc_hidden_def.
35498 * socket/socket.c (__socket): Likewise.
35499 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35500 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35501 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35502 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35503 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35504 libc_hidden_def.
35505 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35506 libc_hidden_weak.
35507 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35508 Use libc_hidden_proto.
35509 (__recv): Likewise.
35510 * socket/Versions (libc): Export __recv and __socket at version
35511 GLIBC_PRIVATE.
35512 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35513 instead of recv.
35514 (init_mq_netlink): Call __socket instead of socket.
35515 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35516 Remove variable.
35517
35518 [BZ #18545]
35519 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35520 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35521 hidden_weak.
35522 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35523 define as alias of __mq_timedsend. Use hidden_weak.
35524 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35525 __mq_timedsend as strong name.
35526 (mq_timedreceive): Use __mq_timedreceive as strong name.
35527 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35528 (__mq_timedreceive): Likewise.
35529 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35530 __mq_timedreceive instead of mq_timedreceive.
35531 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35532 instead of mq_timedsend.
35533 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35534 Remove variable.
35535
35536 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35537 hidden_def and hidden_weak instead of libc_hidden_def and
35538 libc_hidden_weak.
35539 (top level): Refer to hidden_def in comment.
35540 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35541 macro. Use it instead of libc_hidden_def.
35542 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35543 specify __GI_* name explicitly.
35544 (mq_timedreceive): Likewise.
35545 (mq_setattr): Likewise.
35546
35547 [BZ #18544]
35548 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35549 __pthread_barrier_init and define as weak alias of
35550 __pthread_barrier_init.
35551 * sysdeps/sparc/nptl/pthread_barrier_init.c
35552 (pthread_barrier_init): Likewise.
35553 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35554 __pthread_barrier_wait and define as weak alias of
35555 __pthread_barrier_wait.
35556 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35557 (pthread_barrier_wait): Likewise.
35558 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35559 (pthread_barrier_wait): Likewise.
35560 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35561 (pthread_barrier_wait): Likewise.
35562 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35563 (pthread_barrier_wait): Likewise.
35564 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35565 __pthread_barrier_wait at version GLIBC_PRIVATE.
35566 * include/pthread.h (__pthread_barrier_init): Declare.
35567 (__pthread_barrier_wait): Likewise.
35568 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35569 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35570 (helper_thread): Likewise.
35571 (init_mq_netlink): Call __pthread_barrier_init instead of
35572 pthread_barrier_init.
35573
35574 [BZ #18542]
35575 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35576 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35577 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35578 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35579 vswscanf.
35580 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35581 Remove variable.
35582
35583 [BZ #18540]
35584 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35585 strong alias of _IO_fflush. Use libc_hidden_def.
35586 * libio/iofflush_u.c (fflush_unlocked): Rename to
35587 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35588 Use libc_hidden_weak.
35589 * include/stdio.h (__fflush_unlocked): Declare. Use
35590 libc_hidden_proto.
35591 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35592 fflush_unlocked.
35593 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35594 Remove variable.
35595
35596 [BZ #18539]
35597 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35598 define as weak alias of __addseverity.
35599 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35600 Remove variable.
35601 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35602 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35603 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35604
35605 [BZ #18536]
35606 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35607 (__tfind): Likewise.
35608 (__tdelete): Likewise.
35609 (__twalk): Likewise.
35610 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35611 __twalk to GLIBC_PRIVATE.
35612 * include/search.h (__tsearch): Use libc_hidden_proto.
35613 (__tfind): Likewise.
35614 (__tdelete): Likewise.
35615 (__twalk): Likewise.
35616 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35617 Call __tdelete instead of tdelete.
35618 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35619 tfind. Call __tsearch instead of tsearch.
35620 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35621 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35622 Remove variable.
35623 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35624
35625 [BZ #18534]
35626 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35627 (dprintf): Define as a weak alias of __dprintf, not a strong
35628 alias.
35629 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35630 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35631 dprintf.
35632 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35633 Remove variable.
35634 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35635 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35636
35637 [BZ #18533]
35638 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35639 not a strong alias.
35640 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35641 Remove variable.
35642
35643 [BZ #18532]
35644 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35645 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35646 (in6addr_loopback): Rename to __in6addr_loopback and define as
35647 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35648 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35649 libc_hidden_proto.
35650 (__in6addr_any): Likewise.
35651 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35652 in6addr_any.
35653 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35654 variable.
35655 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35656
35657 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35658
35659 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35660 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35661 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35662 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35663 redirections for pow.
35664 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35665 * sysdeps/x86_64/fpu/Versions: New versions added.
35666 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35667 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35668 build of SSE, AVX2 and AVX512 IFUNC versions.
35669 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35670 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35671 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35672 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35673 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35674 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35675 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35676 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35677 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35678 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35679 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35680 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35681 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35682 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35683 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35684 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35685 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35686 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35687 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35688 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35689 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35690 * NEWS: Mention addition of x86_64 vector pow.
35691
35692 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35693 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35694 redirections for expf.
35695 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35696 * sysdeps/x86_64/fpu/Versions: New versions added.
35697 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35698 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35699 build of SSE, AVX2 and AVX512 IFUNC versions.
35700 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35701 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35702 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35703 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35704 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35705 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35706 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35707 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35708 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35709 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35710 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35711 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35712 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35713 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35714 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35715 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35716 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35717 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35718 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35719 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35720 * NEWS: Mention addition of x86_64 vector expf.
35721
35722 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35723 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35724 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35725 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35726 redirections for exp.
35727 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35728 * sysdeps/x86_64/fpu/Versions: New versions added.
35729 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35730 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35731 build of SSE, AVX2 and AVX512 IFUNC versions.
35732 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35733 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35734 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35735 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35736 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35737 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35738 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35739 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35740 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35741 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35742 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35743 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35744 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35745 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35746 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35747 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35748 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35749 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35750 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35751 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35752 * NEWS: Mention addition of x86_64 vector exp.
35753
35754 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35755 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35756 redirections for logf.
35757 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35758 * sysdeps/x86_64/fpu/Versions: New versions added.
35759 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35760 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35761 build of SSE, AVX2 and AVX512 IFUNC versions.
35762 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35763 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35764 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35765 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35766 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35767 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35768 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35769 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35770 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35771 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35772 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35773 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35774 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35775 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35776 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35777 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35778 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35779 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35780 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35781 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35782 * NEWS: Mention addition of x86_64 vector logf.
35783
35784 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35785 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35786 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35787 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35788 redirections for log.
35789 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35790 * sysdeps/x86_64/fpu/Versions: New versions added.
35791 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35792 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35793 build of SSE, AVX2 and AVX512 IFUNC versions.
35794 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35795 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35796 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35797 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35798 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35799 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35800 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35801 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35802 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35803 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35804 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35805 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35806 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35807 test.
35808 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35809 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35810 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35811 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35812 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35813 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35814 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35815 * NEWS: Mention addition of x86_64 vector log.
35816
35817 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35818
35819 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35820 cfi_adjust_cfa_offset argument.
35821 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35822 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35823
35824 [BZ #18034]
35825 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35826 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35827 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35828 ordering using ldar.
35829 (_dl_tlsdesc_dynamic): Likewise.
35830 (_dl_tlsdesc_return_lazy): Likewise.
35831 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35832 relaxed atomics instead of volatile and synchronize with release store.
35833 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35834 volatile.
35835 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35836
35837 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
35838
35839 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35840 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35841 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35842 * sysdeps/x86_64/fpu/Versions: New versions added.
35843 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35844 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35845 build of SSE, AVX2 and AVX512 IFUNC versions.
35846 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35847 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35848 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35849 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35850 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35851 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35852 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35853 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35854 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35855 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35856 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35857 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35858 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35859 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35860 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35861 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35862 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35863 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35864 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35865 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35866 * NEWS: Mention addition of x86_64 vector sinf.
35867
35868 2015-06-14 Joseph Myers <joseph@codesourcery.com>
35869
35870 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35871 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35872 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35873 Remove variable.
35874 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35875 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35876
35877 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35878
35879 [BZ #18530]
35880 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35881 strong alias of _IO_fputs. Use libc_hidden_def.
35882 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35883 and define as weak alias of __fputs_unlocked. Use
35884 libc_hidden_weak.
35885 * include/stdio.h (__fputs_unlocked): Declare. Use
35886 libc_hidden_proto.
35887 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35888 fputs_unlocked.
35889
35890 [BZ #18529]
35891 * resolv/netdb.h [__USE_POSIX]: Change condition to
35892 [__USE_XOPEN2K].
35893 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35894 not expect.
35895 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35896 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35897 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35898 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35899 [XPG4 || UNIX98] (AI_ALL): Likewise.
35900 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35901 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35902 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35903 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35904 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35905 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35906 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35907 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35908 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35909 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35910 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35911 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35912 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35913 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35914 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35915 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35916 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35917 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35918 [XPG4 || UNIX98] (gai_strerror): Likewise.
35919 [XPG4 || UNIX98] (getaddrinfo): Likewise.
35920 [XPG4 || UNIX98] (getnameinfo): Likewise.
35921
35922 [BZ #18528]
35923 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35924 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35925 __USE_XOPEN2K8].
35926 (getgrent): Likewise.
35927 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35928 expect.
35929 [XPG3 || POSIX2008] (endgrent): Likewise.
35930 [XPG3] (setgrent): Likewise.
35931 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35932 variable.
35933 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35934
35935 [BZ #18527]
35936 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35937 define as weak alias of __getlogin_r. Use libc_hidden_weak.
35938 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35939 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35940 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35941 * include/unistd.h (__getlogin_r): Declare. Use
35942 libc_hidden_proto.
35943 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35944 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35945 variable.
35946 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35947 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35948 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35949
35950 2015-06-12 Martin Sebor <msebor@redhat.com>
35951
35952 [BZ #18512]
35953 * Makerules (check-install-supported): New target.
35954 (install): Add check-install-supported as a dependency.
35955 * manual/install.texi (Installing the C Library): Document
35956 that overriding prefix and exec_prefix is not supported.
35957 Mention DESTDIR.
35958 * INSTALL: Regenerate from the above.
35959
35960 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35961
35962 [BZ #18519]
35963 * posix/Versions (libc): Export __libc_pread at version
35964 GLIBC_PRIVATE.
35965 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35966 instead of pread.
35967 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35968 variable.
35969
35970 [BZ #18522]
35971 * misc/efgcvt_r.c
35972 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35973 (cvt_symbol): Use weak_alias instead of strong_alias.
35974 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35975 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35976 Remove variable.
35977 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35978 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35979
35980 [BZ #18520]
35981 * inet/herrno.c (h_errno): Rename to __h_errno.
35982 (__libc_h_errno): Define as alias of __h_errno not h_errno.
35983 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35984 to __h_errno instead of h_errno.
35985 * nptl/herrno.c (h_errno): Rename to __h_errno.
35986 (__h_errno_location): Refer to __h_errno not h_errno.
35987 * resolv/Versions (h_errno): Rename to __h_errno.
35988 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35989 Remove variable.
35990 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35991
35992 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
35993
35994 * configure.ac: More strict check for AVX512 assembler support.
35995 * configure: Regenerated.
35996
35997 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35998 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35999 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36000 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36001 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36002 * sysdeps/x86_64/fpu/Versions: New versions added.
36003 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36004 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36005 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36006 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36007 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36008 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36009 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36010 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36011 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36012 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36013 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36014 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36015 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36016 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36017 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36018 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36019 test.
36020 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36021 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36022 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36023 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36024 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36025 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36026 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36027 * NEWS: Mention addition of x86_64 vector sin.
36028
36029 2015-06-11 Florian Weimer <fweimer@redhat.com>
36030
36031 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36032 comment.
36033
36034 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36035
36036 [BZ #18479]
36037 * nptl/pt-interp.c: New file.
36038 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36039 Add pt-interp.
36040 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36041 $(common-objpfx)runtime-linker.h.
36042
36043 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36044
36045 * Makeconfig (+interp): Remove unused variable.
36046 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36047 only. Depend on $(common-objpfx)runtime-linker.h instead of
36048 $(elf-objpfx)runtime-linker.h.
36049 ($(elf-objpfx)runtime-linker.h): Rename to
36050 $(common-objpfx)runtime-linker.h and move ...
36051 * Makerules [$(build-shared) = yes]: ... here.
36052 * elf/interp.c: Include <runtime-linker.h> instead of
36053 <elf/runtime-linker.h>.
36054
36055 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36056
36057 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36058 (__gettimeofday_syscall): Remove vsyscall fallback.
36059 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36060 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36061 Add syscall fallback function.
36062 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36063 if vDSO is not present.
36064 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36065 fallback function.
36066 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36067 present.
36068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36069 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36070
36071 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36072
36073 [BZ #18497]
36074 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36075 of wcscmp.
36076 (wcscmp): Define as weak alias of WCSCMP.
36077 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36078 wcscoll.
36079 (USE_HIDDEN_DEF): Define.
36080 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36081 __wcscoll. Don't use libc_hidden_weak.
36082 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36083 wcscmp.
36084 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36085 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36086 __GI_wcscmp.
36087 (weak_alias): Undefine and redefine.
36088 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36089 __wcscmp and define as weak alias of __wcscmp.
36090 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36091 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36092 (__wcscoll): Likewise.
36093 (wcscmp): Don't use libc_hidden_proto.
36094 (wcscoll): Likewise.
36095 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36096 wcscoll.
36097 * posix/regexec.c (check_node_accept_bytes): Likewise.
36098 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36099 variable.
36100 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36101 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36102
36103 [BZ #18507]
36104 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36105 __fstatvfs and define as weak alias of __fstatvfs. Use
36106 libc_hidden_weak.
36107 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36108 and define as weak alias of __statvfs. Use libc_hidden_weak.
36109 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36110 Define as alias of __fstatvfs, not fstatvfs.
36111 (fstatvfs64): Likewise.
36112 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36113 Define as alias of __statvfs, not statvfs.
36114 (statvfs64): Likewise.
36115 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36116 Remove variable.
36117
36118 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36119
36120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36121 (HAVE_GETCPU_VSYSCALL): Define.
36122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36123 (HAVE_GETCPU_VSYSCALL): Likewise.
36124 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36125 * sysdeps/unix/sysv/linux/sched_getcpu.c
36126 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36127 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36128 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36129 prototype.
36130 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36131 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36134 Define.
36135 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36136 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36138 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36139
36140 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36141
36142 * sysdeps/x86_64/fpu/Makefile: New file.
36143 * sysdeps/x86_64/fpu/Versions: New file.
36144 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36145 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36146 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36147 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36148 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36149 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36150 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36151 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36152 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36153 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36154 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36155 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36156 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36157 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36158 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36159 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36160 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36161 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36162 * sysdeps/x86_64/configure: Regenerated.
36163 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36164 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36165 * manual/install.texi (Configuring and compiling): Document
36166 --disable-mathvec.
36167 * INSTALL: Regenerated.
36168 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36169
36170 * math/Makefile: Added rules for vector tests.
36171 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36172 declaration under condition.
36173 * math/test-double-vlen2.h: New file.
36174 * math/test-double-vlen4.h: New file.
36175 * math/test-double-vlen8.h: New file.
36176 * math/test-vec-loop.h: Added initialization macro.
36177 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36178 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36179 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36180 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36181 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36182 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36183 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36184 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36185 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36186 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36187 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36188
36189 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36190 * sysdeps/x86_64/fpu/Versions: New versions added.
36191 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36192 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36193 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36194 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36195 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36196 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36197 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36198 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36199 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36200 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36201 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36202 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36203 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36204 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36205 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36206 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36207 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36208 * NEWS: Mention addition of x86_64 vector cosf.
36209
36210 * math/Makefile: Added CFLAGS for new tests.
36211 * math/test-float-vlen16.h: New file.
36212 * math/test-float-vlen4.h: New file.
36213 * math/test-float-vlen8.h: New file.
36214 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36215 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36216 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36217 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36218 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36219 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36220 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36221 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36222 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36223 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36224 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36225
36226 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36227
36228 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36229 * locale/programs/ld-ctype.c: Likewise.
36230
36231 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36232
36233 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36234 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36235 bit_ZMM16_31_state): New macro.
36236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36237 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36238
36239 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36240
36241 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36242
36243 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36244
36245 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36246
36247 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36248
36249 [BZ #18498]
36250 * libio/memstream.c (open_memstream): Rename to __open_memstream
36251 and define as weak alias of __open_memstream.
36252 * include/stdio.h (__open_memstream): Declare. Use
36253 libc_hidden_proto.
36254 (open_memstream): Don't use libc_hidden_proto.
36255 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36256 open_memstream.
36257 * posix/getopt.c (_getopt_internal_r): Likewise.
36258 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36259 variable.
36260 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36261 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36262 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36263
36264 [BZ #18496]
36265 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36266 instead of wcrtomb.
36267
36268 [BZ #18483]
36269 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36270 [__USE_XOPEN2K8]. Remove redundant #endif.
36271 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36272 Remove redundant #if.
36273 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36274 Remove variable.
36275 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36276 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36277
36278 [BZ #18495]
36279 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36280 (__iswlower): Likewise.
36281 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36282 (__iswlower): Likewise.
36283 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36284 instead of towlower.
36285 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36286 instead of iswlower. Call __towupper instead of towupper.
36287 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36288 instead of iswalnum.
36289
36290 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36291
36292 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36293 errors to stderr.
36294
36295 2015-06-05 Florian Weimer <fweimer@redhat.com>
36296
36297 [BZ #15661]
36298 [BZ #17322]
36299 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36300 Check for overflow properly. Check for O_APPEND. Ignore large
36301 file system block sizes. Add comments about problems.
36302 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36303 * manual/filesys.texi (Storage Allocation): New node.
36304
36305 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36306
36307 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36308 cancellable syscalls.
36309 (SYS_ify): Add guard to no redefine it.
36310 (INLINE_SYSCALL): Likewise.
36311 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36312 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36313 SYSCALL_CANCEL instead.
36314 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36315 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36316 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36317 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36318 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36319 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36320 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36321 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36322 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36323 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36324 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36325 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36326 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36327 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36328 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36329 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36330 Likewise.
36331 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36332 (__libc_pread64): Likewise.
36333 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36334 (__libc_preadv): Likewise.
36335 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36336 (__libc_readv64): Likewise.
36337 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36338 (__libc_pwrite): Likewise.
36339 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36340 (__libc_pwrite64): Likewise.
36341 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36342 (__libc_pwritev): Likewise.
36343 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36344 (__libc_pwritev64): Likewise.
36345 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36346 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36347 (sync_file_range): Likewise.
36348 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36349 Likewise.
36350 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36351 Likewise.
36352 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36353 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36354 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36355 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36356 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36357 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36358 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36359 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36361 Likewise.
36362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36363 (__libc_read64): Likewise.
36364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36365 Likewise.
36366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36367 Likewise.
36368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36369 Likewise.
36370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36371 Likewise.
36372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36373 (__libc_pread64): Likewise.
36374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36375 Likewise.
36376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36377 (__libc_pwrite64): Likewise.
36378 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36379 (sync_file_range): Likewise.
36380 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36381 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36382 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36383 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36384 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36385 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36386 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36387 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36388 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36389 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36390 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36391 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36392 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36393 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36394 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36395 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36396 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36397 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36398 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36399 Likewise.
36400 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36401 Likewise.
36402 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36403 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36404 Likewise.
36405 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36406 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36407 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36408 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36409 Likewise.
36410 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36411 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36412 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36413 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36414 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36415
36416 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36417
36418 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36419 Include dl-vdso.
36420 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36421 Use VDSO routines for gettimeofday, clock_gettime if
36422 available.
36423 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36424 Declare VDSO symbols.
36425 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36426 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36427 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36428 * sysdeps/unix/sysv/linux/arm/Versions: Add
36429 __vdso_clock_gettime.
36430
36431 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36432
36433 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36434 be an inline implementation regardless of library is built within.
36435 (open_not_cancel_2): Likewise.
36436 (__read_nocancel): Likewise.
36437 (__write_nocancel): Likewise.
36438 (openat_not_cancel): Likewise.
36439 (openat_not_cancel_3): Likewise.
36440 (openat64_not_cancel): Likewise.
36441 (openat64_not_cancel_3): Likewise.
36442 (__close_nocancel): Likewise.
36443 (pause_not_cancel): Likewise.
36444 (nanosleep_not_cancel): Likewise.
36445 (sigsuspend_not_cancel): Likewise.
36446
36447 2015-06-04 Torvald Riegel <triegel@redhat.com>
36448
36449 [BZ #14958]
36450 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36451 wake-up.
36452 (__pthread_rwlock_rdlock_slow): Likewise.
36453 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36454 Likewise.
36455 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36456 Likewise.
36457 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36458 * nptl/tst-rwlock16.c: New file.
36459 * nptl/Makefile (tests): Add new test.
36460
36461 2015-06-04 Torvald Riegel <triegel@redhat.com>
36462
36463 [BZ #18324]
36464 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36465 missing wake-up of readers.
36466 * nptl/tst-rwlock15.c: New file.
36467 * nptl/Makefile (tests): Add new test.
36468
36469 2015-06-03 Roland McGrath <roland@hack.frob.com>
36470
36471 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36472 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36473 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36474 and __nacl_supply_interface_rtld.
36475 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36476 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36477 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36478 Add __nacl_supply_interface_rtld.
36479 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36480
36481 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36482
36483 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36484 isfinite.
36485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36486 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36487
36488 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36489
36490 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36491 __signbit* with standard C99 macros.
36492 * math/e_exp10l.c: Likewise.
36493 * math/e_exp2l.c: Likewise.
36494 * math/e_scalb.c: Likewise.
36495 * math/e_scalbf.c: Likewise.
36496 * math/e_scalbl.c: Likewise.
36497 * math/s_ldexp.c: Likewise.
36498 * math/s_ldexpf.c: Likewise.
36499 * math/s_ldexpl.c: Likewise.
36500 * math/w_atan2.c: Likewise.
36501 * math/w_atan2f.c: Likewise.
36502 * math/w_atan2l.c: Likewise.
36503 * math/w_cosh.c: Likewise.
36504 * math/w_coshf.c: Likewise.
36505 * math/w_coshl.c: Likewise.
36506 * math/w_exp10.c: Likewise.
36507 * math/w_exp10f.c: Likewise.
36508 * math/w_exp10l.c: Likewise.
36509 * math/w_exp2.c: Likewise.
36510 * math/w_exp2f.c: Likewise.
36511 * math/w_exp2l.c: Likewise.
36512 * math/w_fmod.c: Likewise.
36513 * math/w_fmodf.c: Likewise.
36514 * math/w_fmodl.c: Likewise.
36515 * math/w_hypot.c: Likewise.
36516 * math/w_hypotf.c: Likewise.
36517 * math/w_hypotl.c: Likewise.
36518 * math/w_jnl.c: Likewise.
36519 * math/w_lgamma.c: Likewise.
36520 * math/w_lgamma_r.c: Likewise.
36521 * math/w_lgammaf.c: Likewise.
36522 * math/w_lgammaf_r.c: Likewise.
36523 * math/w_lgammal.c: Likewise.
36524 * math/w_lgammal_r.c: Likewise.
36525 * math/w_pow.c: Likewise.
36526 * math/w_powf.c: Likewise.
36527 * math/w_powl.c: Likewise.
36528 * math/w_remainder.c: Likewise.
36529 * math/w_remainderf.c: Likewise.
36530 * math/w_remainderl.c: Likewise.
36531 * math/w_scalb.c: Likewise.
36532 * math/w_scalbf.c: Likewise.
36533 * math/w_scalbl.c: Likewise.
36534 * math/w_scalbln.c: Likewise.
36535 * math/w_scalblnf.c: Likewise.
36536 * math/w_scalblnl.c: Likewise.
36537 * math/w_sinh.c: Likewise.
36538 * math/w_sinhf.c: Likewise.
36539 * math/w_sinhl.c: Likewise.
36540 * math/w_tgamma.c: Likewise.
36541 * math/w_tgammaf.c: Likewise.
36542 * math/w_tgammal.c: Likewise.
36543 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36544 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36546 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36547 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36550 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36551 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36552 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36553 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36554 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36555 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36556 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36557 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36558 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36559 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36560 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36561 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36562 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36563 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36564 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36567 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36568 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36569 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36570 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36571 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36572 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36573 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36574 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36575 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36576 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36577 * stdio-common/printf_fp.c: Likewise.
36578 * stdio-common/printf_fphex.c: Likewise.
36579 * stdio-common/printf_size.c: Likewise.
36580
36581 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36582
36583 [BZ #18470]
36584 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36585 strnlen.
36586 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36587 Remove variable.
36588 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36589 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36590 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36591 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36592 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36593 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36594 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36595 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36596 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36597 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36598
36599 [BZ #18468]
36600 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36601 weak alias of __wmemchr. Use libc_hidden_weak.
36602 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36603 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36604 instead of wmemchr.
36605
36606 2015-06-02 Roland McGrath <roland@hack.frob.com>
36607
36608 [BZ #18383]
36609 * elf/tst-tlsalign-extern.c: New file.
36610 * elf/tst-tlsalign-extern-static.c: New file.
36611 * elf/tst-tlsalign-vars.c: New file.
36612 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36613 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36614 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36615 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36616 (test-xfail-tst-tlsalign-extern-static): New variable.
36617
36618 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36619
36620 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36621 Use variable name _sc_err instead of err.
36622 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36623 instead of ret.
36624 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36625 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36626 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36627 (INLINE_SYSCALL): Likewise.
36628
36629 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36630 * include/string.h (__strnlen): Use libc_hidden_proto.
36631 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36632 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36633 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36634 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36635 (libc_hidden_def): Undefine and redefine.
36636 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36637 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36638 __GI_strnlen.
36639 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36640 libc_hidden_def.
36641 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36642
36643 [BZ #18469]
36644 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36645 weak alias of __towlower. Use libc_hidden_weak.
36646 (towupper): Rename to __towupper and define as weak alias of
36647 __towupper. Use libc_hidden_weak.
36648 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36649 (__towupper): Likewise.
36650 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36651 __towlower instead of towlower.
36652
36653 2015-06-02 Roland McGrath <roland@hack.frob.com>
36654
36655 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36656 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36657
36658 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36659
36660 * sysdeps/aarch64/libm-test-ulps: Update.
36661
36662 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36663
36664 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36665 Define.
36666 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36668 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36669 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36670 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36671 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36672 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36673
36674 2015-06-01 Martin Sebor <msebor@redhat.com>
36675
36676 [BZ #18116]
36677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36678 (__setcontext): Use extended four-operand version of mtsf whenever
36679 possible.
36680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36681 (__novec_swapcontext): Likewise.
36682
36683 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36684
36685 * benchtests/scripts/compare_bench.py: New file.
36686 * benchtests/scripts/import_bench.py (mean): New function.
36687 (split_list): Likewise.
36688 (do_for_all_timings): Likewise.
36689 (compress_timings): Likewise.
36690
36691 * benchtests/scripts/import_bench.py: New file.
36692 * benchtests/scripts/validate_benchout.py: Import import_bench
36693 instead of jsonschema.
36694 (validate_bench): Remove function.
36695 (main): Use import_bench.
36696
36697 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36698
36699 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36700 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36701
36702 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36703
36704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36705
36706 2015-05-28 Roland McGrath <roland@hack.frob.com>
36707
36708 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36709 set THREAD_SELF->tid to a magic value and futex-wake it.
36710 Pass its address to the thread_exit system call.
36711 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36712 bit is clear.
36713 * sysdeps/nacl/lowlevellock.h: New file.
36714 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36715
36716 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36717 Add TIMEOUT to current time, don't subtract it.
36718
36719 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36720
36721 [BZ #2981]
36722 [BZ #18422]
36723 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36724 ($(objpfx)tst-audit2.out): Also depend on
36725 $(objpfx)tst-auditmod9b.so.
36726 * elf/tst-audit2.c: Include <dlfcn.h>.
36727 (calloc_called): New.
36728 (calloc): Allow to be called more than once.
36729 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36730
36731 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36732
36733 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36734 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36735
36736 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36737
36738 * stdlib/monetary.h: Fix comment.
36739
36740 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36741
36742 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36743 Avoid using variables in #defines that might cause shadowing.
36744 (INTERNAL_VSYSCALL_CALL): Likewise.
36745
36746 2015-05-26 Roland McGrath <roland@hack.frob.com>
36747
36748 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36749
36750 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36751 * nptl/lll_timedlock_wait.c: ... to this new file.
36752 * nptl/Makefile (libpthread-routines): Add it.
36753 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36754 * nptl/lll_timedwait_tid.c: ... to this new file.
36755 * nptl/Makefile (libpthread-routines): Add it.
36756 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36757 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36758 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36759 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36760 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36761 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36762 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36763 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36764 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36765 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36766
36767 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36768
36769 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36770 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36771 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36772 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36773 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36775 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36777 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36778 * sysdeps/unix/sysv/linux/tile/sysdep.h
36779 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36780 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36781 using vDSO syscall macro.
36782
36783 2015-05-26 Andriy Rysin <arysin@gmail.com>
36784
36785 [BZ #17293]
36786 * uk_UA: Fix sorting order for Ukrainian locale
36787
36788 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36789
36790 * stdlib/monetary.h: Fix comment.
36791
36792 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36793
36794 [BZ #18234]
36795 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36796 st_mtim and st_ctim members.
36797 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36798 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36799 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36800 (struct stat64): Likewise.
36801 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36802 (struct stat64): Likewise.
36803 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36804 (struct stat64): Likewise.
36805
36806 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36807
36808 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36809 Define and include sysdep-vdso.h.
36810 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36811 Likewise.
36812 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36813 Likewise.
36814 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36815 Define with VDSO_SYMBOL and use PTR_MANGLE.
36816 (__vdso_clock_gettime): Likewise.
36817 (__vdso_clock_getres): Likewise.
36818 (_libc_vdso_platform_setup): Likewise.
36819 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36820 Likewise.
36821 (_libc_vdso_platform_setup): Likewise.
36822 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36823 Likewise.
36824 (__vdso_clock_gettime): Likewise.
36825 (__vdso_clock_getres): Likewise.
36826 (__vdso_get_tbfreq): Likewise.
36827 (__vdso_getcpu): Likewise.
36828 (__vdso_time): Likewise.
36829 (__vdso_sigtramp_rt64): Likewise.
36830 (__vdso_signtramp32): Likewise.
36831 (__vdso_sigtramp_rt32): Likewise.
36832 (_libc_vdso_platform_setup): Likewise.
36833 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36834 Likewise.
36835 (__vdso_clock_gettime): Likewise.
36836 (__vdso_clock_getres): Likewise.
36837 (_libc_vdso_platform_setup): Likewise.
36838 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36839 Likewise.
36840 (__vdso_clock_gettime): Likewise.
36841 (_libc_vdso_platform_setup): Likewise.
36842 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36843 Likewise.
36844 (__vdso_getcpu): Likewise.
36845 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36846 Use VDSO_SYMBOL macro to define.
36847 (__vdso_clock_gettime): Likewise.
36848 (__vdso_clock_getres): Likewise.
36849 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36850 Likewise.
36851 (__vdso_clock_gettime): Likewise.
36852 (__vdso_clock_getres): Likewise.
36853 (__vdso_get_tbfreq): Likewise.
36854 (__vdso_getcpu): Likewise.
36855 (__vdso_time): Likewise.
36856 (__vdso_sigtramp_rt64): Likewise.
36857 (__vdso_signtramp32): Likewise.
36858 (__vdso_sigtramp_rt32): Likewise.
36859 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36860 Likewise.
36861 (__vdso_clock_gettime): Likewise.
36862 (__vdso_clock_getres): Likewise.
36863 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36864 Likewise.
36865 (__vdso_clock_gettime): Likewise.
36866 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36867 Likewise.
36868 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
36869 macro.
36870 (INTERNAL_VSYSCALL): Likewise.
36871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36872 Remove macro.
36873 (INTERNAL_VSYSCALL): Likewise.
36874 (INTERNAL_VSYSCALL_NCS): Likewise.
36875 (INTERNAL_VSYSCALL_CALL): New macro.
36876 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36878 Likewise.
36879 (INTERNAL_VSYSCALL): Likewise.
36880 (INTERNAL_VSYSCALL_NCS): Likewise.
36881 (INTERNAL_VSYSCALL_CALL): New macro.
36882 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36884 (INLINE_VSYSCALL): Remove macro.
36885 (INTERNAL_VSYSCALL): Remove macro.
36886 (INTERNAL_VSYSCALL_NCS): Remove macro.
36887 (INTERNAL_VSYSCALL_CALL): New macro.
36888 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36889 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36890 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36891 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36892 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36894 (INLINE_VSYSCALL): Remove macro.
36895 (INTERNAL_VSYSCALL): Likewise.
36896 (INTERNAL_VSYSCALL_NCS): Likewise.
36897 (INTERNAL_VSYSCALL_CALL): New macro.
36898 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36899 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36900 PTR_DEMANGLE on vDSO pointer.
36901 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36902 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36903 macro.
36904 (INTERNAL_SYSCALL): Likewise.
36905 (INTERNAL_VSYSCALL_NCS): Remove macro.
36906 (INTERNAL_VSYSCALL_CALL): New macro.
36907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36908 Remove macro.
36909 (INTERNAL_VSYSCALL): Likewise.
36910 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36911 sysdep-vdso.h instead of libc-vdso.h.
36912 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36913 definition.
36914 (INLINE_VSYSCALL): Likewise.
36915 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36916 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36917 definition.
36918 (INLINE_VSYSCALL): Likewise.
36919 (INTERNAL_VSYSCALL): Likewise.
36920 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36921 * sysdeps/unix/sysv/linux/timespec_get.c
36922 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36923 (timespec_get): Use ANSI prototype.
36924 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36925 and definition for Linux.
36926
36927 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
36928
36929 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36930 * include/libc-symbols.h: libmvec_hidden_* macro series added.
36931
36932 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
36933
36934 [BZ #2981]
36935 [BZ #18410]
36936 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36937 for missing DT_PLTRELSZ.
36938
36939 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
36940
36941 Remove obsolete aliases that broke 'locale -a'
36942 [BZ #18412]
36943 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36944 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36945 breaking some applications that use 'locale -a' output.
36946 Change the encoding of this file from Latin-1 to ASCII to avoid
36947 other potential problems with people grepping this file.
36948
36949 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36950
36951 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36952 -fasynchronous-unwind-tables.
36953 (CFLAGS-sendto.c): Likewise.
36954 (CFLAGS-sendmsg.c): Likewise.
36955 (CFLAGS-connect.c): Likewise.
36956 (CFLAGS-recvmsg.c): Likewise.
36957 (CFLAGS-recvfrom.c): Likewise.
36958 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36959 (SOCKETCALL): New macro: non-cancellable socketcall.
36960 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36961 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36962 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36963 * sysdeps/unix/sysv/linux/accept.c: New file.
36964 * sysdeps/unix/sysv/linux/bind.c: Likewise.
36965 * sysdeps/unix/sysv/linux/connect.c: Likewise.
36966 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36967 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36968 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36969 * sysdeps/unix/sysv/linux/listen.c: Likewise.
36970 * sysdeps/unix/sysv/linux/recv.c: Likewise.
36971 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36972 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36973 * sysdeps/unix/sysv/linux/send.c: Likewise.
36974 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36975 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36976 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36977 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36978 * sysdeps/unix/sysv/linux/socket.c: Likewise.
36979 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36980 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36981 prototype.
36982 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36983 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36984 instead of __internal_xxx function.
36985 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36986 prototype.
36987 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36988 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36989 instead of __internal_xxx function.
36990 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36991 prototype.
36992 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36993 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36994 instead of __internal_xxx function.
36995 * sysdeps/unix/sysv/linux/accept.S: Remove file.
36996 * sysdeps/unix/sysv/linux/bind.S: Likewise.
36997 * sysdeps/unix/sysv/linux/connect.S: Likewise.
36998 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36999 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37000 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37001 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37002 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37003 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37004 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37005 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37006 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37007 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37008 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37009 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37010 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37011 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37012 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37013 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37014 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37017 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37018 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37019 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37020 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37021 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37022 * sysdeps/unix/sysv/linux/send.S: Likewise.
37023 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37024 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37025 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37026 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37027 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37028 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37029 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37030 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37031 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37032 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37033 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37034 socketcall is implemented in GLIBC.
37035
37036 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37037
37038 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37039 (__fma): Ignore uninitialized warnings around packing.
37040 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37041 (__fmaf): Ignore uninitialized warnings around packing.
37042 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37043 (__fmal): Ignore uninitialized warnings around packing.
37044
37045 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37046 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37047 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37048 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37049
37050 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37051 switch statement into default case.
37052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37053
37054 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37055 a conditional in forcing "inexact".
37056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37057 Likewise.
37058
37059 2015-05-22 Roland McGrath <roland@hack.frob.com>
37060
37061 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37062 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37063 for each INTERNAL_SYSCALL use.
37064
37065 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37066
37067 [BZ #438]
37068 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37069 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37070 variable.
37071
37072 [BZ #18444]
37073 * string/basename.c (basename): Rename to __basename and define as
37074 weak alias of __basename. Use libc_hidden_weak.
37075 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37076 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37077 __basename instead of basename.
37078 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37079 Remove variable.
37080 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37081
37082 2015-05-18 Florian Weimer <fweimer@redhat.com>
37083
37084 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37085 (_IO_JUMPS_FILE_plus): New.
37086 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37087 _IO_CAST_FIELD_ACCESS.
37088 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37089 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37090 * libio/freopen.c (freopen): Likewise.
37091 * libio/freopen64.c (freopen64): Likewise.
37092 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37093 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37094 * libio/iofwide.c (_IO_fwide): Likewise.
37095 * libio/memstream.c (open_memstream): Likewise.
37096 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37097 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37098 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37099
37100 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37101
37102 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37103 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37104 NADJ.
37105 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37106 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37107 NADJ.
37108 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37109 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37110 NADJ.
37111
37112 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37113 (p == 4) case.
37114
37115 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37116 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37117 Remove variable.
37118 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37119 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37120 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37121
37122 2015-05-21 Florian Weimer <fweimer@redhat.com>
37123
37124 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37125 Adjust jump table label generation macros.
37126
37127 2015-05-21 Florian Weimer <fweimer@redhat.com>
37128
37129 * stdio-common/vfprintf.c (vfprintf): Move local variables
37130 args_malloced, specs, specs_malloced, and the code after
37131 do_positional to the printf_positional function.
37132 (printf_positional): New function.
37133
37134 2015-05-21 Florian Weimer <fweimer@redhat.com>
37135
37136 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37137 function.
37138 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37139 STEP4_TABLE, process_arg): Move macro definitions
37140 out of the vfprintf function. (Cosmetic change only.)
37141
37142 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37143
37144 * benchtests/Makefile (stdio-common-bench): Define.
37145 (benchset): Add stdio-common-bench.
37146 * sprintf-inputs: New file.
37147 * sprintf-source.c: New file.
37148
37149 2015-05-21 Andreas Schwab <schwab@suse.de>
37150
37151 [BZ #13028]
37152 [BZ #17053]
37153 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37154 of struct __res_state.
37155 * resolv/res_send.c (__libc_res_nsend): Likewise.
37156 (get_nsaddr): New function.
37157 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37158 statp directly.
37159
37160 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37161
37162 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37163 -D_POSIX_C_SOURCE=199506L.
37164
37165 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37166
37167 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37168 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37169 Do not mention otherwise.
37170 [POSIX] (_XOPEN_VERSION): Do not expect.
37171 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37172 [POSIX] (_POSIX2_C_BIND): Likewise.
37173 [POSIX] (_POSIX2_VERSION): Likewise.
37174 [POSIX] (_XOPEN_XPG2): Likewise.
37175 [POSIX] (_XOPEN_XPG3): Likewise.
37176 [POSIX] (_XOPEN_XPG4): Likewise.
37177 [POSIX] (_XOPEN_UNIX): Likewise.
37178 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37179 [POSIX] (_POSIX_BARRIERS): Likewise.
37180 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37181 [POSIX] (_POSIX_CPUTIME): Likewise.
37182 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37183 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37184 [POSIX] (_POSIX_SHELL): Likewise.
37185 [POSIX] (_POSIX_SPAWN): Likewise.
37186 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37187 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37188 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37189 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37190 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37191 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37192 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37193 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37194 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37195 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37196 [POSIX] (_POSIX2_PBS): Likewise.
37197 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37198 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37199 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37200 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37201 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37202 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37203 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37204 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37205 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37206 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37207 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37208 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37209 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37210 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37211 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37212 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37213 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37214 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37215 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37216 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37217 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37218 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37219 [POSIX] (_SC_2_C_BIND): Likewise.
37220 [POSIX] (_SC_2_C_VERSION): Likewise.
37221 [POSIX] (_SC_2_PBS): Likewise.
37222 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37223 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37224 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37225 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37226 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37227 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37228 [POSIX] (_SC_BARRIERS): Likewise.
37229 [POSIX] (_SC_BASE): Likewise.
37230 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37231 [POSIX] (_SC_DEVICE_IO): Likewise.
37232 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37233 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37234 [POSIX] (_SC_FD_MGMT): Likewise.
37235 [POSIX] (_SC_FIFO): Likewise.
37236 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37237 [POSIX] (_SC_FILE_LOCKING): Likewise.
37238 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37239 [POSIX] (_SC_IOV_MAX): Likewise.
37240 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37241 [POSIX] (_SC_NETWORKING): Likewise.
37242 [POSIX] (_SC_PAGE_SIZE): Likewise.
37243 [POSIX] (_SC_PASS_MAX): Likewise.
37244 [POSIX] (_SC_PIPE): Likewise.
37245 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37246 [POSIX] (_SC_REGEXP): Likewise.
37247 [POSIX] (_SC_SHELL): Likewise.
37248 [POSIX] (_SC_SIGNALS): Likewise.
37249 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37250 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37251 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37252 [POSIX] (_SC_USER_GROUPS): Likewise.
37253 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37254 [POSIX] (_SC_STREAMS): Likewise.
37255 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37256 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37257 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37258 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37259 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37260 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37261 [POSIX] (_PC_FILESIZEBITS): Likewise.
37262 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37263 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37264 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37265 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37266 [POSIX] (uid_t): Likewise.
37267 [POSIX] (gid_t): Likewise.
37268 [POSIX] (off_t): Likewise.
37269 [POSIX] (pid_t): Likewise.
37270 [POSIX] (cuserid): Allow.
37271 (_SC_2_CHAR_TERM): Require constant.
37272 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37273 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37274 variable.
37275
37276 2015-05-20 Roland McGrath <roland@hack.frob.com>
37277
37278 * sysdeps/nacl/pthread-pids.h: New file.
37279 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37280 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37281
37282 * nptl/pthread-pids.h: New file.
37283 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37284 * nptl/nptl-init.c: Include <pthread-pids.h>.
37285 (__pthread_initialize_minimal_internal):
37286 Call __pthread_initialize_pids instead of set_tid_address syscall.
37287
37288 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37289 * sysdeps/posix/usleep.c: ... here.
37290
37291 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37292
37293 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37294 call_pselect6 object.
37295 [$(subdir) = io]: Remove call_sync_file_range object.
37296 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37297 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37298 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37299 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37300
37301 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37302
37303 * math/s_cproj.c: Add include "math_private.h".
37304 * math/s_cprojf.c: Likewise.
37305 * math/s_cprojl.c: Likewise.
37306
37307 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37308
37309 [BZ #18244]
37310 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37311 high mantissa bit when testing whether P is a NaN.
37312 * math/libm-test.inc (remainder_test_data): Add more tests.
37313 (remquo_test_data): Likewise.
37314
37315 [BZ #18049]
37316 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37317 below -32, return the argument, with underflow if subnormal.
37318 * math/auto-libm-test-in: Add more tests of atanh.
37319 * math/auto-libm-test-out: Regenerated.
37320
37321 2015-05-19 Roland McGrath <roland@hack.frob.com>
37322
37323 [BZ #18434]
37324 * nptl/tst-sem15.c: New file.
37325 * nptl/Makefile (tests): Add it.
37326 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37327 s/<</>>/ to fix typo in EOVERFLOW check.
37328 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37329
37330 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37331
37332 * manual/strings.texi (envz_remove): Fix typo in safety
37333 annotations.
37334
37335 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37336 Steve Ellcey <sellcey@imgtec.com>
37337
37338 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37339 in order to avoid strict alias warnings.
37340 (iruserok_af): Ditto for ra.
37341
37342 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37343
37344 [BZ #17581]
37345 * malloc/hooks.c
37346 (magicbyte): Convert to a function and avoid returning 0x01.
37347 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37348 (mem2chunk_check): Fix unsigned comparisons to zero.
37349 Hoist defs of sz and magic.
37350
37351 2015-05-19 Richard Henderson <rth@redhat.com>
37352
37353 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37354
37355 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37356
37357 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37358
37359 [BZ #16159]
37360 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37361 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37362 (reused_arena): Find a non-corrupt arena.
37363 (heap_trim): Pass arena to unlink.
37364 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37365 malloc_printerr.
37366 (top_check): Likewise.
37367 (free_check): Likewise.
37368 (realloc_check): Likewise.
37369 * malloc/malloc.c (malloc_printerr): Add arena argument.
37370 (unlink): Likewise.
37371 (munmap_chunk): Adjust.
37372 (ARENA_CORRUPTION_BIT): New macro.
37373 (arena_is_corrupt): Likewise.
37374 (set_arena_corrupt): Likewise.
37375 (sysmalloc): Use mmap if there are no usable arenas.
37376 (_int_malloc): Likewise.
37377 (__libc_malloc): Don't fail if arena_get returns NULL.
37378 (_mid_memalign): Likewise.
37379 (__libc_calloc): Likewise.
37380 (__libc_realloc): Adjust for additional argument to
37381 malloc_printerr.
37382 (_int_free): Likewise.
37383 (malloc_consolidate): Likewise.
37384 (_int_realloc): Likewise.
37385 (_int_memalign): Don't touch corrupt arenas.
37386 * malloc/tst-malloc-backtrace.c: New test case.
37387
37388 * Makefile (summarize-tests): Fix return value on success.
37389
37390 * manual/string.texi (Envz Functions): Add envz_remove.
37391
37392 2015-05-18 Roland McGrath <roland@hack.frob.com>
37393
37394 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37395 (invalid_name): New function, broken out of ...
37396 (__opendirat): ... here. Call it.
37397 (need_isdir_precheck): New function, broken out of ...
37398 (__opendirat): ... here. Call it.
37399 Use __fxstatat64, not __xstatat64.
37400 (opendir_oflags): New function, broken out of ...
37401 (__opendirat): ... here. Call it.
37402 (opendir_tail): New function, broken out of ...
37403 (__opendirat): ... here. Call it.
37404 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37405 opendir_tail, rather than punting to __opendirat.
37406 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37407
37408 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37409
37410 * .gitignore: Ignore generated *.pyc.
37411
37412 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37413
37414 * include/stdio.h: Define __need_wint_t.
37415 * test-skeleton.c: Avoid `for' loop initial declaration.
37416 * nptl/tst-initializers1.c: Use test-skeleton.c.
37417
37418 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37419
37420 [BZ #18418]
37421 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37422
37423 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37424
37425 [BZ #16352]
37426 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37427 (__ieee754_atanh): Force underflow exception for results with
37428 small absolute value.
37429 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37430 (__ieee754_atanhf): Force underflow exception for results with
37431 small absolute value.
37432 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37433 (__ieee754_atanh): Force underflow exception for results with
37434 small absolute value.
37435 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37436 (__ieee754_atanhf): Force underflow exception for results with
37437 small absolute value.
37438 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37439 (__ieee754_atanhl): Force underflow exception for results with
37440 small absolute value.
37441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37442 (__ieee754_atanhl): Force underflow exception for results with
37443 small absolute value.
37444 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37445 (__ieee754_atanhl): Force underflow exception for results with
37446 small absolute value.
37447 * math/auto-libm-test-in: Do not allow missing underflow
37448 exceptions from atanh.
37449 * math/auto-libm-test-out: Regenerated.
37450
37451 [BZ #18221]
37452 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37453 2**-28 as threshold for returning x or +/- 1/x.
37454 * math/auto-libm-test-in: Add more tests of tan.
37455 * math/auto-libm-test-out: Regenerated.
37456
37457 [BZ #18220]
37458 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37459 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37460 * math/auto-libm-test-in: Add another test of lgamma.
37461 * math/auto-libm-test-out: Regenerated.
37462
37463 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37464
37465 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37466 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37467 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37468 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37469 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37470 (ADD2A): Use fabs. (SUB2A): Use fabs.
37471 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37472 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37474 (log1): Use fabs. (my_log2): Use fabs.
37475 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37476 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37477 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37478 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37479 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37480 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37481 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37482 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37483 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37484 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37485 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37486
37487 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37488
37489 [BZ #18217]
37490 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37491 as threshold for returning 1 - x.
37492 * math/auto-libm-test-in: Add more tests of erfc.
37493 * math/auto-libm-test-out: Regenerated.
37494
37495 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37496
37497 [BZ #18196]
37498 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37499 threshold for large arguments.
37500 * math/auto-libm-test-in: Add another test of atan.
37501 * math/auto-libm-test-out: Regenerated.
37502
37503 [BZ #16339]
37504 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37505 (__log1p): Force underflow exception for results with small
37506 absolute value.
37507 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37508 (__log1pf): Force underflow exception for results with small
37509 absolute value.
37510 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37511 (__log1p): Force underflow exception for results with small
37512 absolute value.
37513 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37514 (__log1pf): Force underflow exception for results with small
37515 absolute value.
37516 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37517 (__log1pl): Force underflow exception for results with small
37518 absolute value.
37519 * math/auto-libm-test-in: Do not allow missing underflow
37520 exceptions from log1p.
37521 * math/auto-libm-test-out: Regenerated.
37522
37523 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37524 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37525
37526 [BZ #16704]
37527 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37528
37529 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37530
37531 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37532 (libmvec): New variable.
37533 * configure.ac: Added option for mathvec build.
37534 * configure: Regenerated.
37535 * mathvec/Depend: New file.
37536 * mathvec/Makefile: New file.
37537 * shlib-versions: Added libmvec.
37538 * math/Makefile: Added rule for libm.so installation.
37539
37540 * bits/math-vector.h: New file.
37541 * bits/libm-simd-decl-stubs.h: New header.
37542 * math/Makefile (headers): Added new header
37543 libm-simd-decl-stubs.h.
37544 * math/math.h (__MATHCALL_VEC): New macro.
37545
37546 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37547 for conditions in testing functions.
37548 * math/Makefile: Added call of libm-have-vector-test.sh.
37549 * math/libm-test.inc (HAVE_VECTOR): New macros.
37550
37551 * math/libm-test.inc: START refactored.
37552 * math/test-double.c (TEST_MATHVEC): Add define.
37553 * math/test-float.c: Likewise.
37554 * math/test-idouble.c: Likewise.
37555 * math/test-ifloat.c: Likewise.
37556 * math/test-ildoubl.c: Likewise.
37557 * math/test-ldouble.c: Likewise.
37558 * sysdeps/generic/math-tests-arch.h
37559 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37560 architecture check.
37561
37562 * math/test-double.c (FUNC_TEST): New macro.
37563 * math/test-float.c: Likewise.
37564 * math/test-idouble.c: Likewise.
37565 * math/test-ifloat.c: Likewise.
37566 * math/test-ildoubl.c: Likewise.
37567 * math/test-ldouble.c: Likewise.
37568 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37569
37570 2015-05-13 Roland McGrath <roland@hack.frob.com>
37571
37572 * sysdeps/nacl/fdopendir.c: New file.
37573
37574 * dirent/scandir-tail.c: New file.
37575 * dirent/scandir64-tail.c: New file.
37576 * dirent/Makefile (routines): Add them.
37577 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37578 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37579 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37580 [!SCANDIR] (SCANDIR_TAIL): New macro.
37581 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37582 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37583 (SCANDIRAT): Macro removed.
37584 (SCANDIR_TAIL): New macro.
37585 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37586 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37587 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37588 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37589 (READDIR): Macro removed.
37590 (SCANDIR_TAIL): New macro.
37591 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37592 (SCANDIR_TAIL): New macro.
37593
37594 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37595 * dirent/scandir-cancel.c: ... to this new file.
37596 * dirent/Makefile (routines): Add it.
37597 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37598 * sysdeps/unix/sysv/linux/i386/scandir64.c
37599 (SKIP_SCANDIR_CANCEL): Macro removed.
37600 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37601
37602 * dirent/tst-scandir.c: New file.
37603 * dirent/tst-scandir64.c: New file.
37604 * dirent/Makefile (tests): Add them.
37605
37606 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37607
37608 [BZ #18409]
37609 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37610
37611 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37612
37613 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37614 list.
37615
37616 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37617
37618 * benchtests/bench-strcoll.c: New benchmark.
37619 * benchtests/Makefile: Generate locales and run benchmark.
37620 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37621 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37622 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37623 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37624 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37625 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37626 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37627 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37628 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37629 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37630 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37631 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37632 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37633 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37634 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37635 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37636 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37637 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37638 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37639 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37640 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37641 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37642 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37643 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37644
37645 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
37646
37647 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37648 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37649
37650 2015-05-12 Roland McGrath <roland@hack.frob.com>
37651
37652 * posix/uname-values.h: New file.
37653 * posix/uname.c: Include that instead of <config-name.h>.
37654 * sysdeps/nacl/uname-values.h: New file.
37655 * sysdeps/arm/nacl/uname-values.h: New file.
37656
37657 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37658
37659 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37660 splitting into fields.
37661
37662 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37663
37664 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37665 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37666 * locale/localeinfo.h: Add enum collation_encoding_type.
37667 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37668 * programs/ld-collate.c (collate_output): Add encoding type info.
37669 * string/strcoll_l.c (STRDIFF): New function.
37670 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37671 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37672
37673 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37674
37675 [BZ #18397]
37676 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37677 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37678 <fpu_control.h> instead of <math/fpu_control.c>.
37679 * sysdeps/mips/mips32/fpu/Makefile: New file.
37680
37681 2015-05-11 Andreas Schwab <schwab@suse.de>
37682
37683 [BZ #18007]
37684 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37685 nss_endgrent.
37686 (_nss_compat_endgrent): Call nss_endgrent.
37687 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37688 nss_endpwent.
37689 (_nss_compat_endpwent): Call nss_endpwent.
37690 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37691 needent, call nss_setspent only if non-zero.
37692 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37693 (internal_endspent): Don't call nss_endspent.
37694 (_nss_compat_endspent): Call nss_endspent.
37695 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37696 Remove. All uses removed.
37697 (internal_setent): Remove parameter stayopen, add parameter
37698 stream. Use it instead of global variable.
37699 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37700 (internal_endent, internal_getent): Add parameter stream. Use it
37701 instead of global variable.
37702 (CONCAT(_nss_files_end,ENTNAME))
37703 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37704 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37705 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37706 uses removed.
37707 (internal_setent, internal_endent): Add parameter stream. Use it
37708 instead of global variable.
37709 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37710 stream.
37711 (get_next_alias): Add parameter stream.
37712 (_nss_files_getaliasent_r): Pass global stream.
37713 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37714 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37715 (_nss_files_gethostbyname4_r): Pass local stream to
37716 internal_setent, internal_getent and internal_endent. Remove
37717 locking.
37718
37719 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37720
37721 * tst-strfmon1.c (tests): Update expected currency symbol.
37722
37723 2015-05-08 Roland McGrath <roland@hack.frob.com>
37724
37725 * sysdeps/nacl/gethostname.c: New file.
37726
37727 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37728
37729 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37730 and sinh.
37731 * math/auto-libm-test-out: Regenerated.
37732 * sysdeps/i386/fpu/libm-test-ulps: Update.
37733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37734
37735 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37736
37737 [BZ #18125]
37738 * stdlib/tst-setcontext3.c: New file.
37739 * stdlib/tst-setcontext3.sh: New file.
37740 * stdlib/Makefile (tests): Add tst-setcontext3.
37741 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37742 to verify test program created output file.
37743 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37744 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37745 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37746 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37747
37748 2015-05-06 Roland McGrath <roland@hack.frob.com>
37749
37750 [BZ #18383]
37751 * elf/tst-tlsalign.c: New file.
37752 * elf/tst-tlsalign-static.c: New file.
37753 * elf/tst-tlsalign-lib.c: New file.
37754 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37755 (tests-static): Add tst-tlsalign-static.
37756 (modules-names): Add tst-tlsalign-lib.
37757 (test-xfail-tst-tlsalign): New variable.
37758 (test-xfail-tst-tlsalign-static): New variable.
37759
37760 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37761 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37762
37763 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37764
37765 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37766 csqrt, erfc, sin and sincos.
37767 * math/auto-libm-test-out: Regenerated.
37768 * sysdeps/i386/fpu/libm-test-ulps: Update.
37769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37770
37771 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37772
37773 * sysdeps/aarch64/libm-test-ulps: Update.
37774
37775 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37776
37777 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37778 clog10, csqrt, erfc, exp2, expm1, log10, log2 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-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
37784
37785 [BZ #18265]
37786 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37787 (wcsncpy): Likewise.
37788
37789 2015-05-05 Florian Weimer <fweimer@redhat.com>
37790
37791 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37792 Assume __ASSUME_FALLOCATE is always true.
37793 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37794 (__posix_fallocate64_l64): Likewise.
37795 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37796 (posix_fallocate): Likewise.
37797 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37798 (__posix_fallocate64_l64): Likewise.
37799 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37800 [!__ASSUME_FALLOCATE]: Add comment.
37801
37802 2015-05-05 Florian Weimer <fweimer@redhat.com>
37803
37804 * sysdeps/unix/sysv/linux/i386/Makefile
37805 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37806 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37807 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37808 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37809 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37810 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37811 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37812
37813 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37814
37815 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37816 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37817 tgamma.
37818 * math/auto-libm-test-out: Regenerated.
37819 * sysdeps/i386/fpu/libm-test-ulps: Update.
37820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37821
37822 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37823
37824 * math/auto-libm-test-in: Add more tests of tgamma.
37825 * math/auto-libm-test-out: Regenerated.
37826 * sysdeps/i386/fpu/libm-test-ulps: Update.
37827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37828
37829 * math/auto-libm-test-in: Add more tests of tanh.
37830 * math/auto-libm-test-out: Regenerated.
37831 * sysdeps/i386/fpu/libm-test-ulps: Update.
37832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37833
37834 * math/auto-libm-test-in: Add more tests of tan.
37835 * math/auto-libm-test-out: Regenerated.
37836 * sysdeps/i386/fpu/libm-test-ulps: Update.
37837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37838
37839 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37840 * math/auto-libm-test-out: Regenerated.
37841 * sysdeps/i386/fpu/libm-test-ulps: Update.
37842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37843
37844 * math/auto-libm-test-in: Add another test of pow.
37845 * math/auto-libm-test-out: Regenerated.
37846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37847
37848 * math/auto-libm-test-in: Add more tests of lgamma.
37849 * math/auto-libm-test-out: Regenerated.
37850 * sysdeps/i386/fpu/libm-test-ulps: Update.
37851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37852
37853 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37854 log1p.
37855 * math/auto-libm-test-out: Regenerated.
37856 * sysdeps/i386/fpu/libm-test-ulps: Update.
37857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37858
37859 2015-05-01 Mark Wielaard <mjw@redhat.com>
37860
37861 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37862 Elf64_Chdr structs and ELFCOMPRESS constants.
37863
37864 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37865
37866 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37867 expm1.
37868 * math/auto-libm-test-out: Regenerated.
37869 * sysdeps/i386/fpu/libm-test-ulps: Update.
37870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37871
37872 * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
37878
37879 * config.h.in (HAVE_AARCH64_BE): Add.
37880
37881 2015-04-30 Joseph Myers <joseph@codesourcery.com>
37882
37883 * math/auto-libm-test-in: Add more tests of csqrt.
37884 * math/auto-libm-test-out: Regenerated.
37885 * sysdeps/i386/fpu/libm-test-ulps: Update.
37886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37887
37888 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37889 * math/auto-libm-test-out: Regenerated.
37890 * sysdeps/i386/fpu/libm-test-ulps: Update.
37891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37892
37893 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37894
37895 2015-04-29 Roland McGrath <roland@hack.frob.com>
37896
37897 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37898 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37899
37900 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37901 (euidaccess, eaccess): Define as weak aliases.
37902
37903 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37904 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
37905 but __suseconds_t is often 'long int' so some sources assume that
37906 type is being used (e.g. they use %ld to print tv_usec).
37907
37908 2015-04-29 Florian Weimer <fweimer@redhat.com>
37909
37910 [BZ #18007]
37911 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37912 (CVE-2014-8121)
37913 * nss/tst-nss-getpwent.c: New file.
37914 * nss/Makefile (tests): Add new test.
37915
37916 2015-04-28 Joseph Myers <joseph@codesourcery.com>
37917
37918 [BZ #18346]
37919 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37920 exponents less than 48 as cases where high part of mantissa needs
37921 examining to determine whether argument is integral.
37922 * math/libm-test.inc (round_test_data): Add more tests.
37923
37924 2015-04-28 Mark Wielaard <mjw@redhat.com>
37925
37926 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37927
37928 2015-04-27 David S. Miller <davem@davemloft.net>
37929
37930 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37931 __tls_get_addr.
37932 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37933
37934 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
37935
37936 [BZ #18333]
37937 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37938
37939 2015-04-27 Florian Weimer <fweimer@redhat.com>
37940
37941 [BZ #18333]
37942 * time/tzset.c (parse_tzname): Return error on memory allocation
37943 failure.
37944 * test-skeleton.c (struct temp_name_list): Change type of name
37945 member to non-const.
37946 (add_temp_file): Create a copy of the file name.
37947 (delete_temp_files): Deallocate memory.
37948 (create_temp_file): Add comment.
37949
37950 2015-04-24 Florian Weimer <fweimer@redhat.com>
37951
37952 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37953 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37954
37955 2015-04-24 Roland McGrath <roland@hack.frob.com>
37956
37957 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37958 * sysdeps/arm/configure: Regenerated.
37959
37960 2015-04-24 Florian Weimer <fweimer@redhat.com>
37961
37962 [BZ #17715]
37963 * time/tzfile.c (__tzfile_read): Check for large values of
37964 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
37965 * time/tzset.c (__tzstring_len): New function, based on the old
37966 __tzstring function.
37967 (__tzstring): Call __tzstring_len.
37968 (parse_tzname): New helper function extracted from
37969 __tzset_parse_tz. Call __tzstring_len, without making a copy of
37970 the input string.
37971 (parse_offset): New helper function extracted from
37972 __tzset_parse_tz. Replace switch with fallthrough with
37973 initialization before sscanf.
37974 (parse_rule): Likewise.
37975 (__tzset_parse_tz): Rewrite using the new helper functions. Use
37976 new-style function definition.
37977 * timezone/Makefile (tests): Add tst-tzset.
37978 (tst-tzset.out): Dependencies on time zone files.
37979 (tst-tzset-ENV): Set TZDIR.
37980 (testdata/XT%): Copy crafted time zone files.
37981 * timezone/README: Mention crafted time zone files.
37982 * timezone/testdata/XT1, timezone/testdata/XT2,
37983 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37984 files.
37985 * timezone/tst-tzset.c: New test.
37986
37987 2015-04-24 Florian Weimer <fweimer@redhat.com>
37988
37989 * Makeconfig (+gccwarn): Remove -Winline.
37990
37991 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37992
37993 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37994
37995 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37996
37997 * NEWS: Mention sysconf() cache information support for s390.
37998 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37999
38000 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38001
38002 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38004 (__nearbyint): Likewise.
38005 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38006 (copysignl): Likewise.
38007
38008 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
38009
38010 [BZ #18287]
38011 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38012 based on padding. (CVE-2015-1781)
38013
38014 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38015
38016 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38017 libc-vdso.h.
38018 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38019 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38020 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38021 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38022 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38023 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38024 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38025 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38026 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38027 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38028 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38029 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38030 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38031 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38032 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38033 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38034 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38035 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38036 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38037 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38038 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38039 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38040 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38041
38042 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38043
38044 * stdlib/setenv.c (__add_to_environ):
38045 Dump core quickly if setenv (..., NULL, ...) is called.
38046 This time, do it the right way, and pacify GCC with a pragma.
38047
38048 2015-04-17 Roland McGrath <roland@hack.frob.com>
38049
38050 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38051 IMAP->l_prev cannot be null, and #if out the code for the contrary
38052 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38053 believe that NS (&_dl_ns[NSID]) could point outside the array.
38054
38055 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38056 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38057 before using NSID as an index.
38058
38059 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38060
38061 [BZ #17825]
38062 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38063 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38064 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38065
38066 2015-04-17 Roland McGrath <roland@hack.frob.com>
38067
38068 Add preliminary port to Google Native Client on ARM.
38069 * abi-tags (.*-.*-nacl.*): New entry.
38070 * sysdeps/arm/nacl: New directory.
38071 * sysdeps/nacl: New directory.
38072
38073 2015-04-16 David S. Miller <davem@davemloft.net>
38074
38075 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38076 lowlevellock-futex.h
38077
38078 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38079
38080 * sysdeps/tile/configure.ac: New file.
38081 * sysdeps/tile/configure: Regenerated.
38082
38083 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38084
38085 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38086 conditionals for weak_alias and libc_hidden_weak.
38087 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38088 libc_hidden_weak and weak_alias.
38089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38090 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38091 and weak_alias for static one.
38092
38093 2015-04-15 David S. Miller <davem@davemloft.net>
38094
38095 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38096
38097 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38098
38099 [BZ #18206]
38100 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38101 Use signed comparision instead of substraction to avoid
38102 overflow bug.
38103 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38104 Take the sign of ret.
38105 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38106 Do not expect precise return values. Only the sign matters.
38107 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38108 * wcsmbs/test-wcsncmp.c: New File.
38109 * string/test-strncmp.c: Add wcsncmp support.
38110
38111 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38112
38113 [BZ #6792]
38114 * math/w_log1p.c: New file.
38115 * math/w_log1pf.c: Likewise.
38116 * math/w_log1pl.c: Likewise.
38117 * math/Makefile (libm-calls): Add w_log1p.
38118 * math/s_log1pl.c (log1pl): Remove weak_alias.
38119 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38120 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38121 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38122 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38123 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38124 [NO_LONG_DOUBLE] (log1pl): Likewise.
38125 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38126 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38127 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38128 (log1p): Remove long_double_symbol.
38129 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38130 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38131 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38132 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38133 remove weak_alias for corresponding log1p function.
38134 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38135 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38136 * sysdeps/ia64/fpu/w_log1p.c: New file.
38137 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38138 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38139 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38140
38141 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38142
38143 [BZ #18247]
38144 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38145 decimal exponent by 1.
38146 * stdlib/tst-strtod-round-data: Add more tests.
38147 * stdlib/tst-strtod-round.c (tests): Regenerated.
38148
38149 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38150
38151 * math/auto-libm-test-in: Add more tests of clog and clog10.
38152 * math/auto-libm-test-out: Regenerated.
38153 * sysdeps/i386/fpu/libm-test-ulps: Update.
38154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38155
38156 2015-04-09 Roland McGrath <roland@hack.frob.com>
38157
38158 * Makeconfig (module-cppflags): Exclude all .v.i files.
38159 (skip-module-cppflags): Variable removed.
38160
38161 * configure.ac (libc_config_ok): Initialize before reading
38162 preconfigure scripts, not after.
38163 * configure: Regenerated.
38164
38165 * test-skeleton.c (TIMEOUT): Move #define to top level.
38166 (main): Grok environment variable TEST_DIRECT. If set, print
38167 test expectation details into that file and then behave as if
38168 given --direct.
38169
38170 2015-04-09 Florian Weimer <fweimer@redhat.com>
38171
38172 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38173 warning on 32-bit.
38174
38175 2015-04-08 David S. Miller <davem@davemloft.net>
38176
38177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38178
38179 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38180
38181 * math/auto-libm-test-in: Add more tests of atanh.
38182 * math/auto-libm-test-out: Regenerated.
38183 * sysdeps/i386/fpu/libm-test-ulps: Update.
38184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38185
38186 * math/auto-libm-test-in: Add more tests of atan.
38187 * math/auto-libm-test-out: Regenerated.
38188 * sysdeps/i386/fpu/libm-test-ulps: Update.
38189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38190
38191 2015-04-08 Florian Weimer <fweimer@redhat.com>
38192
38193 * elf/pldd.c (main): Rewrite to use struct
38194 scratch_buffer instead of extend_alloca.
38195 * elf/pldd-xx.c (find_maps): Likewise.
38196 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38197 <alloca.h>.
38198 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38199 scratch_buffer instead of extend_alloca.
38200 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38201 grp/compat-initgroups.c.
38202 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38203 Rewrite to use struct scratch_buffer instead of extend_alloca.
38204 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38205 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38206
38207 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38208
38209 * math/auto-libm-test-in: Add more tests of cbrt.
38210 * math/auto-libm-test-out: Regenerated.
38211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38212
38213 * math/auto-libm-test-in: Add more tests of cabs.
38214 * math/auto-libm-test-out: Regenerated.
38215 * sysdeps/i386/fpu/libm-test-ulps: Update.
38216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38217
38218 [BZ #18210]
38219 [BZ #18211]
38220 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38221 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38222 computations.
38223 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38224 clog10.
38225 * math/auto-libm-test-out: Regenerated.
38226 * sysdeps/i386/fpu/libm-test-ulps: Update.
38227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38228
38229 [BZ #18197]
38230 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38231 (atan): Set FE_TONEAREST mode for internal computations.
38232 * math/auto-libm-test-in: Add more tests of atan.
38233 * math/auto-libm-test-out: Regenerated.
38234
38235 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38236
38237 [BZ #17930]
38238 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38239
38240 2015-04-07 Florian Weimer <fweimer@redhat.com>
38241
38242 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38243
38244 2015-04-07 Florian Weimer <fweimer@redhat.com>
38245
38246 * include/scratch_buffer.h: New file.
38247 * malloc/scratch_buffer_grow.c: Likewise.
38248 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38249 * malloc/scratch_buffer_set_array_size.c: Likewise.
38250 * malloc/tst-scratch_buffer.c: Likewise.
38251 * malloc/Makefile (routines): Add scratch_buffer_grow.
38252 (tests): Add test case.
38253 * malloc/Versions (GLIBC_PRIVATE): Export
38254 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38255 __libc_scratch_buffer_set_array_size.
38256
38257 2015-04-06 Richard Henderson <rth@redhat.com>
38258
38259 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38260 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38261
38262 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38263 unsigned int before printing.
38264
38265 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38266
38267 [BZ #17596]
38268 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38269 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38270
38271 2015-04-02 Florian Weimer <fweimer@redhat.com>
38272
38273 * include/libc-internal.h (libc_max_align_t): Define.
38274
38275 2015-04-02 Andreas Schwab <schwab@suse.de>
38276
38277 [BZ #16850]
38278 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38279
38280 2015-04-02 Mel Gorman <mgorman@suse.de>
38281
38282 [BZ #17195]
38283 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38284 as well as the main arena.
38285
38286 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38287
38288 [BZ #18185]
38289 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38290 sharing L2 cache to 2 for Silvermont/Knights Landing.
38291
38292 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38293
38294 [BZ #17711]
38295 * config.make.in (have-protected-data): New.
38296 * configure.ac: Check linker support for protected data symbol.
38297 * configure: Regenerated.
38298 * elf/Makefile (modules-names): Add tst-protected1moda and
38299 tst-protected1modb if $(have-protected-data) is yes.
38300 (tests): Add tst-protected1a and tst-protected1b if
38301 $(have-protected-data) is yes.
38302 ($(objpfx)tst-protected1a): New.
38303 ($(objpfx)tst-protected1b): Likewise.
38304 (tst-protected1modb.so-no-z-defs): Likewise.
38305 * elf/tst-protected1a.c: New file.
38306 * elf/tst-protected1b.c: Likewise.
38307 * elf/tst-protected1mod.h: Likewise.
38308 * elf/tst-protected1moda.c: Likewise.
38309 * elf/tst-protected1modb.c: Likewise.
38310
38311 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38312
38313 [BZ #17711]
38314 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38315 indicates it is called from do_lookup_x on relocation against
38316 protected data, skip the data definion in the executable from
38317 copy reloc.
38318 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38319 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38320 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38321 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38322 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38323 otherwise to 0.
38324 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38325 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38326 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38327 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38328 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38329 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38330
38331 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38332
38333 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38334 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38335
38336 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38337
38338 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38339 THREAD_SETMEM_NC.
38340 * sysdeps/x86_64/nptl/tls.h: Ditto.
38341
38342 2015-03-27 Roland McGrath <roland@hack.frob.com>
38343
38344 * dlfcn/tststatic.c (main): Converted to ...
38345 (do_test): ... this.
38346 (TEST_FUNCTION): New macro.
38347 Include test-skeleton.c.
38348
38349 2015-03-26 Alan Modra <amodra@gmail.com>
38350
38351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38352 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38353 zero for undefined weak.
38354 (elf_machine_plt_conflict): Similarly.
38355
38356 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38357
38358 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38359 atanh.
38360 * math/auto-libm-test-out: Regenerated.
38361 * sysdeps/i386/fpu/libm-test-ulps: Update.
38362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38363
38364 * math/auto-libm-test-in: Add another test of asin.
38365 * math/auto-libm-test-out: Regenerated.
38366 * sysdeps/i386/fpu/libm-test-ulps: Update.
38367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38368
38369 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38370 Remove macro.
38371 (LLL_EBX_REG): Likewise.
38372 (LLL_ENTER_KERNEL): Likewise.
38373
38374 * math/auto-libm-test-in: Add more tests of asin.
38375 * math/auto-libm-test-out: Regenerated.
38376 * sysdeps/i386/fpu/libm-test-ulps: Update.
38377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38378
38379 [BZ #18138]
38380 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38381 libc_do_syscall_args): New structure.
38382 (INTERNAL_SYSCALL_MAIN_0): New macro.
38383 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38384 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38385 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38386 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38387 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38388 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38389 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38390 Replace conditional definitions by conditional definitions of ....
38391 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38392 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38393 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38394 (libpthread-sysdep_routines): Add libc-do-syscall.
38395 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38396 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38397 to __NR_futex not 240.
38398
38399 2015-03-25 Alan Modra <amodra@gmail.com>
38400
38401 * NEWS: Advertise TLS optimization.
38402 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38403 (DT_PPC_NUM): Increment.
38404 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38405 (CHECK_STATIC_TLS): Use here.
38406 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38407 TLS descriptors.
38408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38409 * sysdeps/powerpc/dl-tls.c: New file.
38410 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38411 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38412 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38413 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38417
38418 2015-03-25 Alan Modra <amodra@gmail.com>
38419
38420 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38421 for overlapping .opd entries" to "support...".
38422 * sysdeps/powerpc/powerpc64/configure: Regenerate
38423
38424 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38425
38426 * math/auto-libm-test-in: Add more tests of acos.
38427 * math/auto-libm-test-out: Regenerated.
38428 * sysdeps/i386/fpu/libm-test-ulps: Update.
38429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38430
38431 * math/auto-libm-test-in: Add more tests of expm1.
38432 * math/auto-libm-test-out: Regenerated.
38433 * sysdeps/i386/fpu/libm-test-ulps: Update.
38434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38435
38436 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38437
38438 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38439 * math/auto-libm-test-out: Regenerated.
38440 * sysdeps/i386/fpu/libm-test-ulps: Update.
38441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38442
38443 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38445
38446 * math/auto-libm-test-in: Add more tests of log2.
38447 * math/auto-libm-test-out: Regenerated.
38448 * sysdeps/i386/fpu/libm-test-ulps: Update.
38449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38450
38451 2015-03-23 Roland McGrath <roland@hack.frob.com>
38452
38453 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38454 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38455 _IO_IS_APPENDING bit in READ_WRITE instead.
38456
38457 2015-03-23 Florian Weimer <fweimer@redhat.com>
38458
38459 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38460 (__determine_cpumask_size): Replace extend_alloca with a
38461 variable-length array. Do not treat res == 0 as an error.
38462
38463 2015-03-23 Florian Weimer <fweimer@redhat.com>
38464
38465 [BZ #18100]
38466 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38467 and integer overflow.
38468 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38469 (main): Add integer overflow tests.
38470 * manual/pattern.texi (Calling Wordexp): Document additional use
38471 for WRDE_SYNTAX.
38472
38473 2015-03-23 Alan Modra <amodra@gmail.com>
38474
38475 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38476 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38477 and false branch of conditional.
38478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38479 Likewise.
38480
38481 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38482
38483 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38484 libc-modules.h
38485 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38486 unused declaration of _hurd_intr_rpc_msg_in_trap.
38487 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38488 defined instead of whether it is non-zero.
38489 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38490 input constraint instead of both input and output constraint. Use ecx
38491 clobber instead of %ecx.
38492 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38493 mutex_unlock): Use a statement expression instead of an expression list.
38494 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38495 type to vm_size_t instead of vm_address_t.
38496 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38497 defined instead of whether it is non-zero.
38498 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38499 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38500 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38501 comparisons with mapaddr.
38502 * nscd/nscd-client.h: Include <time.h>.
38503 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38504 9th parameter to __vm_region instead of int.
38505 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38506 * scripts/check-local-headers.sh (exclude): Add device/,
38507 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38508 cthreads.h.
38509
38510 2015-03-19 Roland McGrath <roland@hack.frob.com>
38511
38512 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38513 to account for alignment padding.
38514 * sysdeps/arm/memmove.S: Likewise.
38515
38516 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38517
38518 * sysdeps/unix/sysv/linux/generic/README: New file.
38519
38520 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38521
38522 [BZ #18138]
38523 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38524 (futex_abstimed_wait)
38525 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38526 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38527 of lll_futex_timed_wait.
38528
38529 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38530
38531 [BZ #17542]
38532 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38533
38534 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38535
38536 [BZ #17090]
38537 [BZ #17620]
38538 [BZ #17621]
38539 [BZ #17628]
38540 * NEWS: Update.
38541 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38542 entries with Static TLS too. Skip entries past the end of the
38543 allocated DTV, from Alan Modra.
38544 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38545 Static TLS DTV entry set up from...
38546 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38547 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38548 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38549 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38550 for Static TLS.
38551 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38552 that the slot we find is associated with the given map before
38553 using its generation count.
38554 * nptl_db/db_info.c: Include ldsodefs.h.
38555 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38556 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38557 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38558 (link_map::l_tls_offset): New struct field.
38559 (dtv_t::counter): Likewise.
38560 (rtld_global): New struct.
38561 (_rtld_global): New rtld variable.
38562 (dl_tls_dtv_slotinfo_list): New rtld global field.
38563 (dtv_slotinfo_list): New struct.
38564 (dtv_slotinfo): Likewise.
38565 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38566 (td_lookup): Rename to...
38567 (td_mod_lookup): ... this. Use new mod parameter instead of
38568 LIBPTHREAD_SO.
38569 * nptl_db/td_thr_tlsbase.c: Include link.h.
38570 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38571 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38572 addresses even if the DTV is out of date or missing them.
38573 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38574 index zero-length arrays.
38575 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38576 (td_lookup): Make it a macro implemented in terms of...
38577 (td_mod_lookup): ... this declaration.
38578 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38579 (DB_MAIN_VARIABLE): Likewise.
38580
38581 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38582
38583 [BZ #18134]
38584 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38585
38586 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38587
38588 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38589
38590 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38591
38592 [BZ #18128]
38593 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38594 (atomic_add, atomic_increment_and_test)
38595 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38596
38597 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38598
38599 * stdlib/setenv.c (__add_to_environ):
38600 Dump core quickly if setenv (..., NULL, ...) is called.
38601
38602 2015-03-13 Roland McGrath <roland@hack.frob.com>
38603
38604 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38605 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38606 all the necessary asm magic in one place.
38607 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38608 using those.
38609
38610 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38611
38612 [BZ #14906]
38613 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38614 traced file mtime. Use consistent log message.
38615 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38616 (register_traced_file): Call install_watches. Always set mtime.
38617 (invalidate_cache): Iterate over all trace files. Call install_watches.
38618 (inotify_check_files): Don't inline. Handle watching parent
38619 directories and configuration file movement in and out.
38620 (handle_inotify_events): New function.
38621 (main_loop_poll): Call handle_inotify_events.
38622 (main_loop_epoll): Likewise.
38623 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38624 (struct traced_file): Use array of inotify fds. Add parent directory,
38625 and basename.
38626 (struct database_dyn): Remove unused file_mtime.
38627 (init_traced_file): New inline function.
38628 (define_traced_file): New macro.
38629 * nss/nss_db/db-init.c: Use define_traced_file.
38630 (_nss_db_init): Use init_traced_file.
38631 * nss/nss_files/files-init.c: Use define_traced_file.
38632 (_nss_files_init): Use init_traced_file.
38633
38634 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38635
38636 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38637 [_LIBC]: Do not include <stdlib.h>.
38638 [!_LIBC] (abort): Remove declaration.
38639 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38640 _FP_STATIC_ASSERT instead of conditionally calling abort.
38641 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38642 (_FP_EXTEND_CNAN): Likewise.
38643 (FP_TRUNC): Likewise.
38644 (__FP_CLZ): Likewise.
38645 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38646
38647 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38648
38649 * manual/string.texi (XPG basename): Fix prototype.
38650
38651 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38652
38653 [BZ #18080]
38654 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38655 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38656 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38657 (__setcontext): Likewise.
38658 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38659 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38660 Call rt_sigprocmask syscall one time to set new signal mask
38661 and retrieve the current signal mask instead of two calls.
38662 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38663 (__swapcontext): Likewise.
38664 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38665 * stdlib/tst-setcontext2.c: New file.
38666
38667 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38668
38669 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38670
38671 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38672
38673 [BZ #18093]
38674 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38675 the wrong size.
38676
38677 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38678
38679 [BZ #18043]
38680 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38681
38682 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38683
38684 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38685 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38686 Remove define.
38687 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38688 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38689 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38690 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38691 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38692 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38693 define.
38694 * nptl_db/td_symbol_list.c (td_lookup): Remove
38695 HAVE_ASM_GLOBAL_DOT_NAME code.
38696 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38697 HAVE_ASM_GLOBAL_DOT_NAME check.
38698 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38699 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38700 (DOT_LABEL): Remove define.
38701 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38702 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38703 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38704 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38705 (__TLS_GET_ADDR): Likewise.
38706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38707 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38708
38709 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38710
38711 [BZ #18111]
38712 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38713 (_FPU_SETCW): Initialize cw from fpsr before storing.
38714 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38715 (fesetexceptflag): Rewrite using fpu_control.h.
38716 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38717
38718 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38719
38720 [BZ #18110]
38721 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38722 asms.
38723 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38724
38725 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38726
38727 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38728 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38729 abort.
38730 (_FP_FMA): Likewise.
38731 (_FP_DIV): Likewise.
38732
38733 2015-03-10 Roland McGrath <roland@hack.frob.com>
38734
38735 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38736 with 0 in that case.
38737 * Makefile (summarize-tests): New canned sequence, factored out of
38738 commands for targets tests and xtests. Display summary lines that
38739 don't start with PASS: or XFAIL: rather than ones that do start with
38740 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38741 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38742 do start with ERROR: or FAIL:.
38743 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38744 (except for [$(build-shared) = yes]).
38745 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38746 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38747 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38748 * nptl/Makefile: Revert 2015-03-04 changes.
38749 [$(CXX) empty] (tests-unsupported): New variable.
38750 * debug/Makefile: Likewise.
38751
38752 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38753 gnulib file. Replace __attribute with __attribute__ throughout.
38754
38755 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38756
38757 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38758
38759 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38760
38761 [BZ #18104]
38762 * math/auto-libm-test-in: Add another test of pow.
38763 * math/auto-libm-test-out: Regenerated.
38764
38765 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38766
38767 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38768 $(config-cflags-nofma).
38769
38770 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38771
38772 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38773 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38774 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38775 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38776 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38777 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38778 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38779 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38780 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38781 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38782 Add comment on closing #endif.
38783
38784 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38785
38786 * posix/wordexp.c (CHAR_IN_SET): New macro.
38787 (parse_param): Use it.
38788
38789 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38790
38791 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38792
38793 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38794
38795 [BZ #18043]
38796 * posix/wordexp.c (parse_param): Fix buffer overflow.
38797 * posix/wordexp-test.c (test_case): Add test case.
38798
38799 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38800
38801 [BZ #18042]
38802 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38803 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38804
38805 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38806
38807 [BZ #18043]
38808 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38809 (do_bz18043): Delete.
38810 (at_page_end): New.
38811 (testit): Refactor to have words at the edge of unreadable page.
38812
38813 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38814
38815 [BZ #16734]
38816 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38817 Cleanup read-only streams as well.
38818 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38819
38820 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38821
38822 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38823 <bits/libc-lockP.h>
38824
38825 2015-03-07 Joseph Myers <joseph@codesourcery.com>
38826
38827 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
38828 on [__KERNEL__].
38829 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38830 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38831 * soft-fp/op-common.h (_FP_DECL): Likewise.
38832
38833 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
38834
38835 * elf/ifuncdep2.c (global): Replace
38836 __attribute__((visibility("protected"))) with
38837 asm (".protected global").
38838 * elf/ifuncmod1.c (global): Likewise.
38839 * elf/ifuncmod5.c (global): Likewise.
38840
38841 2015-03-06 Joseph Myers <joseph@codesourcery.com>
38842
38843 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38844 <asm/sfp-machine.h> instead of <sfp-machine.h>.
38845
38846 2015-03-06 Roland McGrath <roland@hack.frob.com>
38847
38848 * manual/install.texi (Configuring and compiling):
38849 Document test-wrapper-env-only.
38850 * INSTALL: Regenerated.
38851
38852 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38853
38854 [BZ #18043]
38855 * posix/wordexp.c (parse_param): Fix buffer overflow.
38856 * posix/wordexp-test.c (do_bz18043): Add test case.
38857
38858 2015-03-06 Vincent Bernat <vincent@bernat.im>
38859
38860 * time/tst-strptime2.c (do_test): Ensure failing tests are
38861 reported correctly.
38862 * time/tst-strptime3.c (do_test): Likewise.
38863
38864 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
38865
38866 Fix aio_error thread-safety.
38867 * sysdeps/pthread/aio_error.c: New file
38868 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38869 synchronization.
38870
38871 2015-03-06 Florian Weimer <fweimer@redhat.com>
38872
38873 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38874 (group_number, vfprintf): Use it.
38875 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38876 (JUMP, REF): Use it.
38877 (WORK_BUFFER_SIZE): New enum constant.
38878 (process_arg, vfprintf): Use it.
38879
38880 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
38881
38882 * manual/errno.texi (Error Messages): Complete example function
38883 by adding missing #define.
38884 (program_invocation_name): Add statement indicating GNU
38885 extension and reference which header file declares the variable.
38886 (program_invocation_short_name): Likewise.
38887
38888 2015-03-06 Mike Frysinger <vapier@gentoo.org>
38889
38890 * manual/errno.texi (Error Messages): Delete strerror ISO C89
38891 compatibility note.
38892
38893 2015-03-05 Roland McGrath <roland@hack.frob.com>
38894
38895 * Makeconfig (test-wrapper-env-only): New variable.
38896 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38897 then use that with $(test-wrapper-env-only) rather than using
38898 $(test-wrapper-env) $(run-program-env) $($*-ENV).
38899
38900 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
38901
38902 [BZ #18082]
38903 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38904 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38905 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38906 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38907 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38908 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38909 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38910 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38911 Likewise.
38912 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38913 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38914 Likewise.
38915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38916 Likewise.
38917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38918 Likewise.
38919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38920 Likewise.
38921 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38923 Likewise.
38924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38925 Likewise.
38926 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38927 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38928
38929 2015-03-04 Roland McGrath <roland@hack.frob.com>
38930
38931 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38932 (ETH_ALEN): New macro.
38933 (struct ether_addr): Use it for length of ether_addr_octet.
38934
38935 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38936 (setdb): Don't call __nss_configure_lookup for "rpc".
38937 (do_test): Don't call test_rpc.
38938 (output_rpcent, test_rpc): Functions moved ...
38939 * sunrpc/test-rpcent.c: ... to this new file.
38940 * sunrpc/Makefile (tests): Add it.
38941
38942 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38943 __xpg_sigpause.
38944 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38945 * nptl/tst-signal6.c: Likewise.
38946 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38947 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38948
38949 * configure.ac (libc_cv_cxx_link_ok): New check.
38950 Reset CXX to empty if it fails to link.
38951 * configure: Regenerated.
38952 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38953 bug-atexit3-lib only if $(CXX) is nonempty.
38954 * nptl/Makefile (tests): Likewise for tst-cancel24.
38955 (tests, tests-static): Likewise for tst-cancel24-static.
38956 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38957 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38958 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38959 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38960
38961 2015-03-04 Andreas Schwab <schwab@suse.de>
38962
38963 [BZ #17631]
38964 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38965 for non-GCC compilers.
38966 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38967 Likewise.
38968
38969 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38970
38971 [BZ #17776]
38972 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38973 integer before bitwise and assembly operations.
38974 (feclearexcept): Likewise.
38975 * math/test-fenvinline.c: New file.
38976 * math/Makefile: Add test-fenvinline test.
38977
38978 2015-03-03 Alan Modra <amodra@gmail.com>
38979
38980 [BZ #16512]
38981 * scripts/localplt.awk: Strip off symbol version.
38982 * NEWS: Mention bug fix.
38983
38984 2015-03-02 Roland McGrath <roland@hack.frob.com>
38985
38986 * sysdeps/pthread/timer_routines.c
38987 (timer_free_list, thread_free_list, thread_active_list): Make static.
38988
38989 2015-03-02 Joseph Myers <joseph@codesourcery.com>
38990
38991 [BZ #17779]
38992 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38993 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38994 Undefine.
38995 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38996 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38997 Likewise.
38998 * sysdeps/unix/sysv/linux/sh/kernel-features.h
38999 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39000 Likewise.
39001
39002 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39003
39004 [BZ #18036]
39005 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39006 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39007
39008 2015-03-02 Andreas Schwab <schwab@suse.de>
39009
39010 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39011 variable name.
39012
39013 2015-03-02 Florian Weimer <fweimer@redhat.com>
39014
39015 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39016 Return error status.
39017
39018 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
39019
39020 [BZ #15969]
39021 * locale/findlocale.c (_nl_find_locale): Introduce const
39022 version of loc_name and drop unsafe type casts.
39023
39024 2015-02-27 Roland McGrath <roland@hack.frob.com>
39025
39026 * dlfcn/tststatic2.c (main): Converted to ...
39027 (do_test): ... this.
39028 (TEST_FUNCTION): New macro.
39029 Include test-skeleton.c.
39030
39031 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39032
39033 [BZ #17711]
39034 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39035 (tests-pie): Add vismain.
39036 (CFLAGS-vismain.c): New.
39037 * elf/vismain.c: Add comments for PIE requirement.
39038
39039 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39040
39041 [BZ #18046]
39042 [BZ #18047]
39043 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39044 0x1p-56L as threshold for just returning the argument.
39045 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39046 0x1p-32L as threshold for just returning the argument.
39047 * math/auto-libm-test-in: Add more tests of atanh.
39048 * math/auto-libm-test-out: Regenerated.
39049 * sysdeps/i386/fpu/libm-test-ulps: Update.
39050 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39051
39052 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39053
39054 * string/bcopy.c (bcopy): Call memmove for performance.
39055
39056 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39057
39058 * string/bzero.c (__bzero): Call memset for performance.
39059
39060 2015-02-27 John David Anglin <dave.anglin@bell.net>
39061
39062 [BZ #18068]
39063 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39064 to 00100000.
39065
39066 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39067
39068 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39069
39070 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39071
39072 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39073 (__kernel_standard): Use CSTR macro when setting exc.name.
39074 * sysdeps/ieee754/Makefile [$(subdir) = math]
39075 (CFLAGS-k_standard.c): Remove variable.
39076
39077 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39078 setting p and q from "else if" to "else".
39079 (qzero): Likewise.
39080 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39081 (qone): Likewise.
39082 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39083 (qzerof): Likewise.
39084 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39085 (qonef): Likewise.
39086 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39087 (qzero): Likewise.
39088 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39089 (qone): Likewise.
39090
39091 [BZ #18038]
39092 [BZ #18039]
39093 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39094 return pi/2 for arguments below 0x1p-113L.
39095 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39096 return pi/2 for arguments below 0x1p-106L.
39097 * math/auto-libm-test-in: Add more tests of acos.
39098 * math/auto-libm-test-out: Regenerated.
39099
39100 [BZ #16351]
39101 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39102 (MO): New macro.
39103 (__ieee754_asin): Force underflow exception for results with small
39104 absolute value.
39105 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39106 (MO): New macro.
39107 (__ieee754_asinf): Force underflow exception for results with
39108 small absolute value.
39109 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39110 (__ieee754_asin): Force underflow exception for results with small
39111 absolute value.
39112 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39113 (__ieee754_asinf): Force underflow exception for results with
39114 small absolute value.
39115 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39116 (__ieee754_asinl): Force underflow exception for results with
39117 small absolute value.
39118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39119 (__ieee754_asinl): Force underflow exception for results with
39120 small absolute value.
39121 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39122 (__ieee754_asinl): Force underflow exception for results with
39123 small absolute value.
39124 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39125 Include <math.h>.
39126 * math/auto-libm-test-in: Do not mark underflow exceptions as
39127 possibly missing for bug 16351.
39128 * math/auto-libm-test-out: Regenerated.
39129
39130 [BZ #18030]
39131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39132 of power of 2 down when low part has opposite sign.
39133 * math/libm-test.inc (logb_test_data): Add more tests.
39134
39135 2015-02-26 Andreas Schwab <schwab@suse.de>
39136
39137 [BZ #18032]
39138 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39139 over collating symbol inside a bracket expression. Minor cleanup.
39140 * posix/tst-fnmatch3.c (do_test): Add test case.
39141
39142 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39143
39144 [BZ #18029]
39145 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39146 Adjust exponent of power of 2 down when low part has opposite
39147 sign.
39148 * math/libm-test.inc (ilogb_test_data): Add more tests.
39149
39150 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39151
39152 [BZ #15969]
39153 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39154 the previous change.
39155
39156 [BZ #15969]
39157 * locale/findlocale.c (_nl_find_locale): Retry archive search
39158 after alias expansion.
39159
39160 2015-02-25 Roland McGrath <roland@hack.frob.com>
39161
39162 * iconv/tst-iconv3.c (main): Converted to ...
39163 (do_test): ... this.
39164 (TEST_FUNCTION): New macro.
39165 Include test-skeleton.c.
39166
39167 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39168 (convert): Make function static.
39169 (test_unalign): Likewise. Add const to argument pointee types.
39170 (main): Replace with static function do_test.
39171 Print "Succeeded." only if RET is zero.
39172 (TEST_FUNCTION): New macro.
39173 Include test-skeleton.c.
39174
39175 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39176 returns a null pointer.
39177
39178 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39179
39180 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39181 to __memcpy_ppc only for static builds.
39182
39183 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39184
39185 [BZ #18020]
39186 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39187 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39188 * math/auto-libm-test-in: Add more tests of asinh.
39189 * math/auto-libm-test-out: Regenerated.
39190 * sysdeps/i386/fpu/libm-test-ulps: Update.
39191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39192
39193 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39194
39195 [BZ #15850]
39196 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39197 and ip6_mtuinfo definitions here.
39198 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39199 in this define too. Update comment.
39200
39201 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39202
39203 * elf/sprof.c (load_shobj): Tweak error message to match others.
39204
39205 2015-02-24 Kevin Easton <kevin@guarana.org>
39206
39207 [BZ #16145] (partial fix)
39208 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39209 to reduce lock contention.
39210
39211 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39212
39213 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39214 (struct timex): Update time comment.
39215 (ADJ_SETOFFSET): Define.
39216
39217 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39218
39219 [BZ #18019]
39220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39221 2**56 not 2**28 as threshold for log (2x) formula.
39222 * math/auto-libm-test-in: Add more tests of acosh.
39223 * math/auto-libm-test-out: Regenerated.
39224 * sysdeps/i386/fpu/libm-test-ulps: Update.
39225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39226
39227 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39228
39229 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39230 parenthesis around the buf assignment.
39231 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39232
39233 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39234
39235 [BZ #16783]
39236 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39237 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39238 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39239 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39240 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39241 * math/libm-test.inc (scalb_test_data): Add more tests.
39242
39243 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39244
39245 [BZ #17916]
39246 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39247 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39248
39249 2015-02-24 Eric Rannaud <e@nanocritical.com>
39250
39251 [BZ #17523]
39252 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39253 * io/bits/fcntl2.h (open): Use it.
39254 (openat): Likewise.
39255 * io/open.c (__libc_open): Likewise.
39256 * io/open64.c (__libc_open64): Likewise.
39257 * io/open64_2.c (__open64_2): Likewise.
39258 * io/open_2.c (__open_2): Likewise.
39259 * io/openat.c (__openat): Likewise.
39260 * io/openat64.c (__openat64): Likewise.
39261 * io/openat64_2.c (__openat64_2): Likewise.
39262 * io/openat_2.c (__openat_2): Likewise.
39263 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39264 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39265 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39266 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39267 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39268 (__open_nocancel): Likewise.
39269 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39270 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39271 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39272
39273 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39274
39275 [BZ #14841]
39276 * resolv/gethnamaddr.c (getanswer): Skip logging if
39277 RES_USE_DNSSEC is set.
39278 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39279
39280 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39281
39282 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39283
39284 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39285
39286 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39287 201304L, for Unicode 7.
39288
39289 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39290
39291 [BZ #17836]
39292 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39293 shared library. Add gmon-start.os otherwise.
39294 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39295 $(objpfx)gmon-start.os if builing shared library.
39296 ($(objpfx)g$(static-start-installed-name)): Likewise.
39297
39298 2015-02-23 Andreas Schwab <schwab@suse.de>
39299
39300 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39301
39302 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39303
39304 [BZ #17269]
39305 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39306 (enlarge_userbuf): Likewise.
39307
39308 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39309
39310 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39311 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39312 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39313 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39314
39315 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39316
39317 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39318 expression inside statement expression.
39319
39320 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39321
39322 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39323 <sysdeps/nptl/lowlevellock.h> and remove macros and
39324 functions that are now defined there.
39325 (SYS_futex): Remove.
39326 (lll_compare_and_swap): Remove.
39327 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39328
39329 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39330
39331 [BZ #17999]
39332 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39333 instead of scandirat.
39334 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39335 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39336 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39337 __scandirat.
39338 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39339 (__scandirat): Declare. Use libc_hidden_proto.
39340 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39341 Remove variable.
39342 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39343
39344 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39345
39346 [BZ #15319]
39347 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39348 (MO): New macro.
39349 (__ieee754_atan2): For results with small absolute value, force
39350 underflow exception and remove excess range and precision from
39351 return value.
39352 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39353 (MO): New macro.
39354 (__ieee754_atan2f): For results with small absolute value, force
39355 underflow exception and remove excess range and precision from
39356 return value.
39357 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39358 (MO): New macro.
39359 (__atan): For results with small absolute value, force underflow
39360 exception and remove excess range and precision from return value.
39361 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39362 (MO): New macro.
39363 (__atanf): For results with small absolute value, force underflow
39364 exception and remove excess range and precision from return value.
39365 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39366 <math.h>.
39367 (__ieee754_atan2): Force underflow exception for results with
39368 small absolute value.
39369 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39370 <math_private.h>.
39371 (atan): Force underflow exception for results with small absolute
39372 value.
39373 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39374 (__atanf): Force underflow exception for results with small
39375 absolute value.
39376 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39377 <math.h>.
39378 (__atanl): Force underflow exception for results with small
39379 absolute value.
39380 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39381 (__atanl): Force underflow exception for results with small
39382 absolute value.
39383 * sysdeps/x86/fpu/bits/mathinline.h
39384 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39385 (__ieee754_atan2): Only define inline for long double.
39386 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39387 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39388 * math/auto-libm-test-in: Do not mark underflow exceptions as
39389 possibly missing for bug 15319. Add more tests of atan2.
39390 * math/auto-libm-test-out: Regenerated.
39391 * math/libm-test.inc (casin_test_data): Do not mark underflow
39392 exceptions as possibly missing for bug 15319.
39393 (casinh_test_data): Likewise.
39394 * sysdeps/i386/fpu/libm-test-ulps: Update.
39395
39396 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39397
39398 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39399 * sysdeps/mips/bits/endian.h: Fix comments.
39400
39401 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39402
39403 [BZ #17996]
39404 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39405 (hdestroy_r): Likewise.
39406 (hsearch_r): Likewise.
39407 (__hcreate_r): Declare and use libc_hidden_proto.
39408 (__hdestroy_r): Likewise.
39409 (__hsearch_r): Likewise.
39410 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39411 (hcreate): Call __hcreate_r instead of hcreate_r.
39412 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39413 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39414 as weak alias of __hcreate_r.
39415 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39416 __hdestroy_r.
39417 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39418 __hsearch_r.
39419 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39420 Remove variable.
39421 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39422 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39423 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39424 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39425
39426 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39427
39428 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39429 arena_lock into a single arena_get.
39430
39431 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39432
39433 * dl-reloc.c: Inlucde libc-internal.h.
39434 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39435 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39436 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39437 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39438 (grow_heap): Likewise.
39439 * malloc/malloc.c: Include libc-internal.h.
39440 (do_check_malloc): Call powerof2.
39441 (sysmalloc): Use pagesize. Call ALIGN_UP.
39442 (systrim): Use pagesize.
39443 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39444 (__libc_valloc): Use pagesize.
39445 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39446
39447 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39448
39449 [BZ #17991]
39450 * include/sys/resource.h (__getrlimit64): Declare. Use
39451 libc_hidden_proto.
39452 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39453 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39454 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39455 getrlimit64.
39456 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39457 __getrlimit64.
39458 [!getrlimit64] (getrlimit64): Define as weak alias of
39459 __getrlimit64. Use libc_hidden_weak.
39460 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39461 using __getrlimit64 not __new_getrlimit64.
39462 (__GI_getrlimit64): Likewise.
39463 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39464 Likewise.
39465 (__GI_getrlimit64): Likewise.
39466 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39468 (getrlimit): Add __getrlimit64 alias.
39469 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39470 Likewise.
39471 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39472 Remove variable.
39473 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39474 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39475
39476 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39477
39478 * libio/fileops.c: Add missing sys/mman.h
39479 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39480
39481 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39482
39483 * manual/math.texi (Errors in Math Functions): Clarify goals
39484 regarding inexact and underflow exceptions.
39485
39486 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39487
39488 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39489 * sysdeps/mips/memset.S: Ditto.
39490
39491 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39492
39493 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39494
39495 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39496
39497 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39498 (__v1longjmp): Remove versioned symbol.
39499 (__v1siglongjmp): Remove alias and versioned symbol.
39500 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39501 (__v2siglongjmp): Likewise.
39502
39503 2015-02-16 Torvald Riegel <triegel@redhat.com>
39504
39505 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39506
39507 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39508
39509 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39510
39511 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39512
39513 [BZ #17987]
39514 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39515 zero result does not depend on the sign resulting from
39516 subtraction.
39517 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39518 Likewise.
39519 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39520 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39521 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39522 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39523 * math/libm-test.inc (remquo_test_data): Add more tests.
39524
39525 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39526
39527 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39528 Problem reported by J William Piggott.
39529
39530 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39531
39532 [BZ #17978]
39533 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39534 products 4 * y and 2 * y where those would overflow.
39535 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39536 Likewise.
39537 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39538 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39539 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39540 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39541 * math/libm-test.inc (remquo_test_data): Add more tests.
39542
39543 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39544
39545 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39546 [defined _COMPILING_NEWLIB].
39547 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39548 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39549
39550 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39551 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39552
39553 2015-02-16 Torvald Riegel <triegel@redhat.com>
39554
39555 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39556 acquired.
39557
39558 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39559
39560 [BZ #17792]
39561 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39562 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39563 HOST_STACK_END_ADDR): Likewise.
39564
39565 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39566
39567 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39568 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39569 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39570
39571 2015-02-13 Roland McGrath <roland@hack.frob.com>
39572
39573 * sysdeps/generic/c++-types.data: New file.
39574 * sysdeps/generic/ld.abilist: New file.
39575 * sysdeps/generic/libBrokenLocale.abilist: New file.
39576 * sysdeps/generic/libanl.abilist: New file.
39577 * sysdeps/generic/libc.abilist: New file.
39578 * sysdeps/generic/libcrypt.abilist: New file.
39579 * sysdeps/generic/libdl.abilist: New file.
39580 * sysdeps/generic/libm.abilist: New file.
39581 * sysdeps/generic/libpthread.abilist: New file.
39582 * sysdeps/generic/libresolv.abilist: New file.
39583 * sysdeps/generic/librt.abilist: New file.
39584
39585 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39586
39587 [BZ #17569]
39588 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39589 Compute absolute value of x as modified by fmod, not original
39590 value of x.
39591 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39592 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39593 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39594 RUN_TEST_ffI_f1_mod8.
39595 (remquo_test_data): Add more tests.
39596
39597 2015-02-13 Roland McGrath <roland@hack.frob.com>
39598
39599 * sysdeps/init_array/pt-crti.S: New file.
39600
39601 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39602
39603 [BZ #17967]
39604 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39605 __builtin_fmaf instead of relying on contraction of a * b + c.
39606
39607 2015-02-12 J William Piggott <elseifthen@gmx.com>
39608
39609 [BZ #17969]
39610 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39611 node.
39612
39613 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39614
39615 [BZ #17964]
39616 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39617 __builtin_fma instead of relying on contraction of a * b + c.
39618
39619 2015-02-12 Roland McGrath <roland@hack.frob.com>
39620
39621 * Makeconfig (ASFLAGS): Add -Werror=undef.
39622 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39623 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39624 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39625
39626 * Makeconfig (after-link): New variable.
39627 (+link-pie, +link-pie-tests): Use it.
39628 (+link-static, +link-static-tests): Likewise.
39629 (+link, +link-tests): Likewise.
39630 * Makerules (build-module, build-module-asneeded): Likewise.
39631 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39632 Likewise.
39633 * elf/Makefile ($(objpfx)ld.so): Likewise.
39634
39635 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
39636
39637 [BZ #17965]
39638 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39639 both struct timeval and struct timespec.
39640
39641 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39642
39643 [BZ #16560]
39644 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39645 and redefine.
39646 (__ieee754_exp2l): Do not multiply small fractional parts by
39647 M_LN2l.
39648 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39649 small argument.
39650 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39651 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39652 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39653 * math/auto-libm-test-in: Add more tests of exp2.
39654 * math/auto-libm-test-out: Regenerated.
39655
39656 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39657
39658 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39659 unaligned path.
39660
39661 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39662
39663 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39664 little endian.
39665
39666 2015-02-12 Andreas Schwab <schwab@suse.de>
39667
39668 [BZ #15790]
39669 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39670 Filter out elision flags from value returned in kind.
39671 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39672 * nptl/tst-pthread-mutexattr.c: New file.
39673
39674 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39675
39676 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39677 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39678 into gnu-gnu, and update comment to refer to abi-tags.
39679
39680 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39681
39682 [BZ #15467]
39683 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39684 (__sincos): Set errno to EDOM for infinite argument.
39685 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39686 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39687 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39688 (__sincosl): Set errno to EDOM for infinite argument.
39689 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39690 (__sincosl): Set errno to EDOM for infinite argument.
39691 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39692 (__sincosl): Set errno to EDOM for infinite argument.
39693 * math/libm-test.inc (sincos_test_data): Test errno setting.
39694
39695 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39696
39697 * string/strxfrm_l.c: Remove #define STRCMP.
39698 * string/strcoll_l.c: Remove #define STRLEN.
39699 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39700 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39701
39702 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39703
39704 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39705 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39706 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39707 * sysdeps/mips/mips64/Makefile: ... here.
39708 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39709 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39710 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39711 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39712 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39713 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39714 * sysdeps/mips/mips64/n64/Implies: Likewise.
39715
39716 2015-02-10 Roland McGrath <roland@hack.frob.com>
39717
39718 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39719 <sys/time.h>, <string.h>, and <errno.h>.
39720 (dest_offset, dest_address, value, zero): Remove unused variables.
39721 (ldouble): Remove typedef.
39722 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39723 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39724 1). Fix code style.
39725 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39726 (check): Function removed.
39727 (CHECK): New macro.
39728 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39729 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39730 Don't call set_sigaction_FP and remove_sigaction_FP here.
39731 (ldouble_test): Just use 'long double' as macro argument, no need for
39732 the 'ldouble' typedef.
39733 (do_test): Set up SIGFPE handler at start, using plain signal rather
39734 than sigaction. Fix code style.
39735
39736 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39737
39738 [BZ #17949]
39739 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39740 jump label.
39741
39742 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39743
39744 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39745 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39746
39747 * sysdeps/powerpc/configure.ac: Remove file.
39748 * sysdeps/powerpc/configure: Likewise.
39749
39750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39751 [sysdep_routines]: Remove wordcopy-power6 object.
39752 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39753 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39754 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39755 (__memmove_ppc32): Likewise.
39756 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39757 file.
39758 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39759 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39760 Remove preprocessor.
39761
39762 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39763 [sysdep_routines]: Remove wide chars objects.
39764 [wcsmbs]: New rule for wide char objects.
39765
39766 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39767 Remove wordcopy-power6 obejct.
39768 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39769 Use local call for wordcopy and memcpy symbols.
39770 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39771 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39772 implementation for loader.
39773 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39774
39775 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39776 Remove wordcopy-power7 object.
39777 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39778 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39779 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39780 (_wordcopy_fwd_dest_aligned): Likewise.
39781 (_wordcopy_bwd_aligned): Likewise.
39782 (_wordcopy_bwd_dest_aligned): Likewise.
39783
39784 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39785 Rewrite to call __memmove_ppc instead of include default
39786 implementation.
39787
39788 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39789 Remove wide chars objects.
39790 [wcsmbs]: New rule for wide char objects.
39791
39792 2015-02-09 Andreas Schwab <schwab@suse.de>
39793
39794 [BZ #17912]
39795 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39796 in terms of __O_DIRECTORY.
39797
39798 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39799
39800 * time/getdate.c: Include <stdbool.h>.
39801 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39802 call PTR_MANGLE.
39803 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39804 PTR_DEMANGLE.
39805
39806 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39807
39808 Add ersatz _Static_assert on older C hosts
39809 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39810 pre-C11 C platform that is not known to support _Static_assert.
39811
39812 2015-02-07 Richard Braun <rbraun@sceen.net>
39813
39814 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39815 sigstate.
39816 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39817
39818 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39819
39820 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39821 priority against unexistent AIO_PRIO_DELTA_MAX.
39822 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39823 instead of int.
39824 * misc/fchflags.c (fchflags): Likewise.
39825 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39826 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39827 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39828 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39829 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39830 Declare macros.
39831 [__USE_MISC] (chflags, fchflags): Declare functions.
39832 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39833 EINVAL when nfds is greater than FD_SETSIZE.
39834 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39835 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39836 45.
39837 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39838 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39839 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39840 MACH_RCV_TIMED_OUT.
39841 * hurd/hurd/signal.h (_hurd_self_sigstate,
39842 _hurd_critical_section_lock, _hurd_critical_section_unlock):
39843 Explicit casts from void *.
39844 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39845 * abi-tags: Rename gnu-gnu os into gnu.
39846
39847 [BZ #4719]
39848 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39849 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39850 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39851 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39852 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39853 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39854
39855 [BZ #17944]
39856 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39857 duplicates ADDR->sun_path with sockaddr LEN limitation.
39858 * sysdeps/mach/hurd/connect.c: Include <string.h>
39859 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39860 * sysdeps/mach/hurd/sendmsg.c: Likewise.
39861 * sysdeps/mach/hurd/sendto.c: Likewise.
39862 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39863 implementing it by hand.
39864
39865 2015-02-06 Roland McGrath <roland@hack.frob.com>
39866
39867 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39868 Use sfi_breg on ldr.
39869 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39870 Likewise.
39871
39872 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39873 it's defined.
39874 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39875 Test SIGSETXID only if it's defined.
39876
39877 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39878
39879 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39880 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
39881
39882 * nptl/tst-align2.c: Moved ...
39883 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39884 * nptl/Makefile (tests): Remove tst-align2.
39885 * sysdeps/unix/sysv/linux/Makefile
39886 [$(subdir) = nptl] (tests): Add tst-align-clone.
39887 * nptl/tst-getpid1.c: Moved ...
39888 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39889 * nptl/tst-getpid2.c: Moved ...
39890 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39891 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39892 * sysdeps/unix/sysv/linux/Makefile
39893 [$(subdir) = nptl] (tests): ... here.
39894 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39895 * sysdeps/unix/sysv/linux/Makefile
39896 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39897
39898 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39899 Drop trailing \n from perror argument. Use return rather than exit.
39900
39901 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39902 on [SA_SIGINFO].
39903 * nptl/tst-cancel21.c (do_test): Likewise.
39904 * debug/tst-backtrace6.c: Include <signal.h> first thing.
39905 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39906 [!SA_SIGINFO]: Make it a stub test.
39907
39908 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39909 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39910
39911 * posix/tst-getlogin.c: Move to ...
39912 * login/tst-getlogin.c: ... here.
39913 * posix/Makefile (tests): Move tst-getlogin to ...
39914 * login/Makefile (tests): ... here.
39915
39916 * libio/tst-atime.c (do_test): Move local variables SV and E
39917 inside [ST_NOATIME] conditional.
39918
39919 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39920
39921 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39922
39923 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39924 (wait_code): New function replaces macro.
39925 Call nanosleep rather than syscall.
39926
39927 * nptl/pt-system.c: Rewritten. Put everything under
39928 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39929 Use IFUNC to redirect when possible.
39930
39931 * nptl/pt-longjmp.c: Rewritten. Put everything under
39932 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39933 Use IFUNC to redirect when possible.
39934
39935 * nptl/pt-fork.c: Rewritten. Put everything under
39936 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39937 Use IFUNC to redirect when possible.
39938 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39939
39940 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39941 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39942 unconditionally nowadays. This included the only reference to
39943 __vdso_clock_gettime that appears outside libc proper.
39944 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39945 Remove version set (containing only __vdso_clock_gettime).
39946 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39947 Add attribute_hidden.
39948 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39949 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39950 libc_hidden_data_def.
39951 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39952 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39953
39954 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39955 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39956 setrpcent, and getrpcport to ...
39957 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39958 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39959 getrpcbynumber_r, and getrpcent_r to ...
39960 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39961 * inet/getrpcbyname.c: Moved ...
39962 * sunrpc/getrpcbyname.c: ... here.
39963 * inet/getrpcbyname_r.c: Moved ...
39964 * sunrpc/getrpcbyname_r.c: ... here.
39965 * inet/getrpcbynumber.c: Moved ...
39966 * sunrpc/getrpcbynumber.c: ... here.
39967 * inet/getrpcbynumber_r.c: Moved ...
39968 * sunrpc/getrpcbynumber_r.c: ... here.
39969 * inet/getrpcent.c: Moved ...
39970 * sunrpc/getrpcent.c: ... here.
39971 * inet/getrpcent_r.c: Moved ...
39972 * sunrpc/getrpcent_r.c: ... here.
39973 * inet/Makefile (routines): Move those to ...
39974 * sunrpc/Makefile (routines): ... here.
39975 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39976 the $(subdirs) list.
39977 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
39978 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39979 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39980 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39981
39982 * elf/Makefile (routines): Include $(all-dl-routines), not just
39983 $(dl-routines).
39984 (rtld-routines): Likewise. Use = rather than :=.
39985 * sysdeps/aarch64/Makefile [$(subdir) = elf]
39986 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39987 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39988 * sysdeps/arm/Makefile: Likewise.
39989 * sysdeps/i386/Makefile: Likewise.
39990 * sysdeps/x86_64/Makefile: Likewise.
39991 * sysdeps/hppa/Makefile [$(subdir) = elf]
39992 (sysdep_routines, sysdep-rtld-routines): Don't add
39993 $(sysdep-dl-routines) to these.
39994 * sysdeps/ia64/Makefile: Likewise.
39995 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39996 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39997 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39998 Don't add dl-static to these; sysdep-dl-routines alone is enough.
39999 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40000 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40001 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40002 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40003 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40004 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40005 these; sysdep-dl-routines alone is enough.
40006
40007 2015-02-06 Joseph Myers <joseph@codesourcery.com>
40008
40009 [BZ #17932]
40010 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40011 where multiplication results in zero and third argument is finite
40012 and nonzero.
40013 * math/auto-libm-test-in: Add more tests of fma.
40014 * math/auto-libm-test-out: Regenerated.
40015
40016 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40017 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40018 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40019 (_FP_CMP_EQ): Likewise.
40020 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40021
40022 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40023 extra argument CHECK_NAN. Redefine as wrapper around
40024 _FP_EXTEND_CNAN.
40025
40026 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40027
40028 * version.h (RELEASE): Set to "stable".
40029 (VERSION): Set to "2.21"
40030 * include/features.h (__GLIBC_MINOR__): Set to 21.
40031
40032 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40033
40034 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40035 Paul Eggert <eggert@cs.ucla.edu>
40036
40037 [BZ #16618]
40038 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40039 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40040 size in bytes. Store needed elements in wpmax. Use needed size
40041 in bytes for extend_alloca.
40042
40043 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40044
40045 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40046 binutls 2.25, and texinfo 5.2.
40047 * INSTALL: Regenerate.
40048 * sysdeps/nios2/configure: Regenerate.
40049 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40050 * manual/contrib.texi: Update.
40051 * po/be.po: Update.
40052 * po/bg.po: Update.
40053 * po/ca.po: Update.
40054 * po/cs.po: Update.
40055 * po/da.po: Update.
40056 * po/de.po: Update.
40057 * po/el.po: Update.
40058 * po/eo.po: Update.
40059 * po/es.po: Update.
40060 * po/fi.po: Update.
40061 * po/fr.po: Update.
40062 * po/gl.po: Update.
40063 * po/hr.po: Update.
40064 * po/hu.po: Update.
40065 * po/ia.po: Update.
40066 * po/id.po: Update.
40067 * po/it.po: Update.
40068 * po/ja.po: Update.
40069 * po/ko.po: Update.
40070 * po/lt.po: Update.
40071 * po/nb.po: Update.
40072 * po/nl.po: Update.
40073 * po/pl.po: Update.
40074 * po/pt_BR.po: Update.
40075 * po/ru.po: Update.
40076 * po/rw.po: Update.
40077 * po/sk.po: Update.
40078 * po/sl.po: Update.
40079 * po/sv.po: Update.
40080 * po/tr.po: Update.
40081 * po/uk.po: Update.
40082 * po/vi.po: Update.
40083 * po/zh_CN.po: Update.
40084 * po/zh_TW.po: Update.
40085
40086 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40087 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40088 * sysdeps/hppa/dl-irel.h: Remove #warning.
40089 * sysdeps/hppa/entry.h: Provide prototype for
40090 __canonicalize_funcptr_for_compare and cast argument.
40091 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40092 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40093 * sysdeps/hppa/sotruss-lib.c: New file.
40094 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40095 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40096 (atomic_compare_and_exchange_bool_acq): Likewise.
40097 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40098 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40099
40100 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40101 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40102 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40103
40104 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40105
40106 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40107 called function in non-PIC case.
40108
40109 2015-01-31 David S. Miller <davem@davemloft.net>
40110
40111 * sysdeps/sparc/sparc32/bits/atomic.h
40112 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40113 unlock not after it.
40114 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40115 volatile register usage warnings from the compiler.
40116
40117 * sysdeps/sparc/nptl/sem_init.c: Delete.
40118 * sysdeps/sparc/nptl/sem_post.c: Delete.
40119 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40120 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40121 * sysdeps/sparc/sparc32/sem_init.c: New file.
40122 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40123 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40124 padding explicitly initialized.
40125 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40126 padding for in-semaphore spinlock.
40127 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40128 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40129 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40130 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40131 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40132 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40133 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40134 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40135 version.
40136 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40137 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40138
40139 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40140
40141 [BZ #17801]
40142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40143 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40144 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40145 New.
40146 (index_AVX_Fast_Unaligned_Load): Likewise.
40147 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40148 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40149 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40150 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40151 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40152 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40153 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40154 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40155 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40156
40157 2015-01-29 Andreas Schwab <schwab@suse.de>
40158
40159 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40160
40161 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40162
40163 [BZ #17892]
40164 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40165
40166 2015-01-28 Martin Sebor <msebor@redhat.com>
40167
40168 * math/README.libm-test: Clarify. Add "How to read the test output."
40169
40170 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40171
40172 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40173 Define to 0.
40174
40175 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40176
40177 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40178 (__HAVE_64B_ATOMICS): Define to 0.
40179
40180 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40181
40182 [BZ #17885]
40183 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40184 value to set as new flag.
40185
40186 [BZ #16576]
40187 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40188 and use _ARCH_PPCSQ instead.
40189 (__ieee754_sqrt): Likewise.
40190 (__ieee754_sqrtf): Likewise.
40191 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40192 _ARCH_PPCSQ is defined.
40193 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40194 fsqrt instruction.
40195 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40196 _ARCH_PPCSQ is defined.
40197 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40198 fsqrts instruction.
40199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40200
40201 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40202
40203 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40204 bug (GCC BZ #64739).
40205
40206 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40207
40208 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40209 Mark _retval as used.
40210 (lll_futex_wake_unlock): Likewise.
40211 (lll_futex_timed_wait_requeue_pi): Likewise.
40212
40213 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40214 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40215 register variables.
40216
40217 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40218 libm_hidden_def.
40219
40220 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40221 (__bswap_64): Mark as __always_inline.
40222
40223 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40224
40225 [BZ #15378]
40226 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40227 when none of the search directories exist.
40228
40229 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40230
40231 [BZ #17869]
40232 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40233 power8 in .machine directive.
40234
40235 [BZ #17868]
40236 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40237 set dependency from opd value.
40238
40239 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40240
40241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40242 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40243 architecture.
40244
40245 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40246
40247 [BZ #17870]
40248 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40249 with uint64_t.
40250 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40251 (uint64_t) 1.
40252 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40253 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40254 Replace 1UL with (uint64_t) 1.
40255 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40256 int with uint64_t.
40257
40258 2015-01-23 Roland McGrath <roland@hack.frob.com>
40259
40260 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40261 (if_freenameindex): Likewise.
40262
40263 * resource/getrlimit64.c: Add missing libc_hidden_def.
40264
40265 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40266
40267 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40268 __label__.
40269 (_FP_FMA): Likewise.
40270 (_FP_TO_INT_ROUND): Likewise.
40271 (_FP_FROM_INT): Likewise.
40272
40273 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40274
40275 [BZ #16418]
40276 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40277 Make code racy and cancel safe.
40278
40279 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40280
40281 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40282 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40283 attribution.
40284
40285 * pwd/tst-getpw.c: Rewrite.
40286
40287 [BZ #17702]
40288 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40289 (modules-names): Add moddummy1 and moddummy2.
40290 ($(objpfx)tst-rec-dlopen): Define.
40291 * dlfcn/moddummy1.c: New file.
40292 * dlfcn/moddummy2.c: New file.
40293 * dlfcn/tst-rec-dlopen.c: New file.
40294 * elf/dl-cache.c (_dl_load_cache_lookup):
40295 Return char*. Copy result with alloca/strcpy/strdup.
40296 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40297 returns char*. Free cached. If not saving realname
40298 free cached.
40299 * elf/dl-open.c (dl_open_worker): Do not assert that
40300 _r_debug->r_state is RT_CONSISTENT.
40301 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40302 returns char*.
40303
40304 2015-01-21 Torvald Riegel <triegel@redhat.com>
40305 Carlos O'Donell <carlos@redhat.com>
40306
40307 [BZ #12674]
40308 * nptl/sem_waitcommon.c: New file.
40309 * nptl/sem_wait.c: Include sem_waitcommon.c.
40310 (__sem_wait_cleanup, do_futex_wait): Remove.
40311 (__new_sem_wait): Adapt.
40312 (__new_sem_trywait): New function.
40313 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40314 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40315 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40316 (sem_timedwait): Adapt.
40317 * nptl/sem_post.c (__new_sem_post): Adapt.
40318 (futex_wake): New function.
40319 (__old_sem_post): Add release MO fence.
40320 * nptl/sem_open.c (sem_open): Adapt.
40321 * nptl/sem_init.c (__new_sem_init): Adapt.
40322 (futex_private_if_supported): New function.
40323 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40324 (__old_sem_getvalue): Add using previous code.
40325 * sysdeps/nptl/internaltypes.h: Adapt.
40326 * nptl/tst-sem13.c (do_test): Adapt.
40327 * nptl/tst-sem11.c (main): Adapt.
40328 * nptl/sem_trywait.c: Remove.
40329 * nptl/DESIGN-sem.txt: Remove.
40330 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40331 (gen-as-const-headers): Remove structsem.sym.
40332 * nptl/structsem.sym: Remove.
40333 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40334 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40335 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40336 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40337 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40338 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40339 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40340 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40341 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40342 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40343 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40344 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40345 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40346 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40347 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40348 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40349 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40350 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40351 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40352 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40353 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40354 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40355
40356 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40357
40358 * INSTALL: Regenerated.
40359
40360 * po/libc.pot: Regenerated.
40361
40362 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40363 Sandra Loosemore <sandra@codesourcery.com>
40364 Andrew Jenner <andrew@codesourcery.com>
40365 Joseph Myers <joseph@codesourcery.com>
40366 Nathan Sidwell <nathan@codesourcery.com>
40367
40368 * NEWS: Mention new Nios II port.
40369 * sysdeps/nios2/Implies: New file.
40370 * sysdeps/nios2/Makefile: New file.
40371 * sysdeps/nios2/Subdirs: New file.
40372 * sysdeps/nios2/Versions: New file.
40373 * sysdeps/nios2/__longjmp.S: New file.
40374 * sysdeps/nios2/abort-instr.h: New file.
40375 * sysdeps/nios2/backtrace.c: New file.
40376 * sysdeps/nios2/bits/endian.h: New file.
40377 * sysdeps/nios2/bits/fenv.h: New file.
40378 * sysdeps/nios2/bits/link.h: New file.
40379 * sysdeps/nios2/bits/setjmp.h: New file.
40380 * sysdeps/nios2/bsd-_setjmp.S: New file.
40381 * sysdeps/nios2/bsd-setjmp.S: New file.
40382 * sysdeps/nios2/configure: New generated file.
40383 * sysdeps/nios2/configure.ac: New file.
40384 * sysdeps/nios2/crti.S: New file.
40385 * sysdeps/nios2/crtn.S: New file.
40386 * sysdeps/nios2/dl-init.c: New file.
40387 * sysdeps/nios2/dl-machine.h: New file.
40388 * sysdeps/nios2/dl-sysdep.h: New file.
40389 * sysdeps/nios2/dl-tls.h: New file.
40390 * sysdeps/nios2/dl-trampoline.S: New file.
40391 * sysdeps/nios2/gccframe.h: New file.
40392 * sysdeps/nios2/gmp-mparam.h: New file.
40393 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40394 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40395 * sysdeps/nios2/ldsodefs.h: New file.
40396 * sysdeps/nios2/libc-tls.c: New file.
40397 * sysdeps/nios2/libm-test-ulps: New file.
40398 * sysdeps/nios2/machine-gmon.h: New file.
40399 * sysdeps/nios2/math-tests.h: New file.
40400 * sysdeps/nios2/math_private.h: New file.
40401 * sysdeps/nios2/memusage.h: New file.
40402 * sysdeps/nios2/nptl/Makefile: New file.
40403 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40404 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40405 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40406 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40407 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40408 * sysdeps/nios2/nptl/tls.h: New file.
40409 * sysdeps/nios2/preconfigure: New file.
40410 * sysdeps/nios2/s_fma.c: New file.
40411 * sysdeps/nios2/s_fmaf.c: New file.
40412 * sysdeps/nios2/setjmp.S: New file.
40413 * sysdeps/nios2/sfp-machine.h: New file.
40414 * sysdeps/nios2/sotruss-lib.c: New file.
40415 * sysdeps/nios2/stackguard-macros.h: New file.
40416 * sysdeps/nios2/stackinfo.h: New file.
40417 * sysdeps/nios2/start.S: New file.
40418 * sysdeps/nios2/sysdep.h: New file.
40419 * sysdeps/nios2/tls-macros.h: New file.
40420 * sysdeps/nios2/tst-audit.h: New file.
40421 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40422 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40423 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40424 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40425 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40426 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40427 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40428 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40429 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40430 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40431 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40432 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40433 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40434 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40435 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40436 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40437 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40438 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40439 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40440 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40441 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40442 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40443 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40444 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40445 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40446 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40447 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40448 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40449 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40450 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40451 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40452 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40453 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40454 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40455 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40456 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40457 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40458 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40459 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40460 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40461 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40462 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40463 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40464 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40465
40466 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40467
40468 [BZ #17844]
40469 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40470 (getutent): Use weak_alias in non SHARED case
40471 and default_symbol_version in SHARED case.
40472 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40473 (getutent_r, pututline): Likewise.
40474 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40475 (getutid): Likewise.
40476 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40477 (getutid_r): Likewise.
40478 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40479 (getutline): Likewise.
40480 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40481 (getutline_r): Likewise.
40482 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40483 (updwtmp): Likewise.
40484
40485 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40486
40487 [BZ #17848]
40488 * sysdeps/s390/s390-32/memcmp.S
40489 (memcmp_g5): Rename to __memcmp_g5.
40490 * sysdeps/s390/s390-32/memcpy.S
40491 (memcpy_g5): Rename to __memcpy_g5.
40492 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40493 (memcpy_mvcle) Rename to __memcpy_mvcle.
40494 * sysdeps/s390/s390-32/memset.S
40495 (memset_g5): Rename to __memset_g5.
40496 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40497 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40498 and use prefixed functions.
40499 * sysdeps/s390/s390-32/multiarch/memcmp.S
40500 (memcmp_z196): Rename to __memcmp_z196.
40501 (memcmp_z10): Rename to __memcmp_z10.
40502 (memcmp): Set alias to __memcmp_g5.
40503 (bcmp): Set alias to __memcmp_g5.
40504 * sysdeps/s390/s390-32/multiarch/memcpy.S
40505 (memcpy_z196): Rename to __memcpy_z196.
40506 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40507 (memcpy_z10): Rename to __memcpy_z10.
40508 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40509 (memcpy): Set alias to __memcpy_g5.
40510 * sysdeps/s390/s390-32/multiarch/memset.S
40511 (memset_z196): Rename to __memset_z196.
40512 Jump to __memset_mvcle instead of memset_mvcle.
40513 (memset_z10): Rename to __memset_z10.
40514 Jump to __memset_mvcle instead of memset_mvcle.
40515 (memset_mvcle) Rename to __memset_mvcle.
40516 (memset): Set alias to __memset_g5.
40517 * sysdeps/s390/s390-64/memcmp.S
40518 (memcmp_z900): Rename to __memcmp_z900.
40519 * sysdeps/s390/s390-64/memcpy.S
40520 (memcpy_z900): Rename to __memcpy_z900.
40521 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40522 (memcpy_mvcle) Rename to __memcpy_mvcle.
40523 * sysdeps/s390/s390-64/memset.S
40524 (memset_z900): Rename to __memset_z900.
40525 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40526 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40527 and use prefixed functions.
40528 * sysdeps/s390/s390-64/multiarch/memcmp.S
40529 (memcmp_z196): Rename to __memcmp_z196.
40530 (memcmp_z10): Rename to __memcmp_z10.
40531 (memcmp): Set alias to __memcmp_z900.
40532 (bcmp): Set alias to __memcmp_z900.
40533 * sysdeps/s390/s390-64/multiarch/memcpy.S
40534 (memcpy_z196): Rename to __memcpy_z196.
40535 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40536 (memcpy_z10): Rename to __memcpy_z10.
40537 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40538 (memcpy): Set alias to __memcpy_z900.
40539 * sysdeps/s390/s390-64/multiarch/memset.S
40540 (memset_z196): Rename to __memset_z196.
40541 Jump to __memset_mvcle instead of memset_mvcle.
40542 (memset_z10): Rename to __memset_z10.
40543 Jump to __memset_mvcle instead of memset_mvcle.
40544 (memset_mvcle) Rename to __memset_mvcle.
40545 (memset): Set alias to __memset_z900.
40546
40547 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40548
40549 [BZ #17748]
40550 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40551 __fesetenv instead of fesetenv.
40552
40553 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40554
40555 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40556 macro.
40557
40558 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40559
40560 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40561 regression on LE.
40562
40563 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40564 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40565 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40566 strncmp-power8 object.
40567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40568 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40569 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40570 * NEWS: Update.
40571
40572 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40573 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40574
40575 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40576 trailing byte check.
40577
40578 2015-01-13 David S. Miller <davem@davemloft.net>
40579
40580 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40581
40582 2015-01-13 Roland McGrath <roland@hack.frob.com>
40583
40584 * login/logout.c (logout): Use memset rather than bzero.
40585 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40586 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40587 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40588 (_gethtbyaddr): Likewise.
40589 * locale/programs/simple-hash.c (bcopy): Macro removed.
40590
40591 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40592
40593 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40594 Add strcmp-power8 object.
40595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40596 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40597 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40598 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40599 __strcmp_power8 implementation.
40600 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40601 * NEWS: Update.
40602
40603 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40604 Add strncpy-power8 and stpncpy-power8 objects.
40605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40606 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40607 implementations.
40608 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40609 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40610 __stpncpy_power8 implementation.
40611 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40612 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40613 __strncpy_power8 implementation.
40614 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40615 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40616 * NEWS: Update.
40617
40618 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40619 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40620 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40621
40622 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40623 strncat-power8 object.
40624 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40625 __strcat_power8 implementation.
40626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40627 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40628 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40629 optimized strcat for power8.
40630
40631 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40632 strcpy-power8 and stpcpy-power8 objects.
40633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40634 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40635 implementations.
40636 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40637 multiarch stpcpy implementation for POWER8.
40638 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40639 multiarch strcpy implementation for POWER8.
40640 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40641 __strcpy_power8 function.
40642 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40643 stpcpy for POWER8.
40644 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40645 strcpy for POWER8.
40646 * NEWS: Update.
40647
40648 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40649
40650 [BZ #16009]
40651 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40652 weights and rules. Use do_xfrm_cached if data fits in cache,
40653 do_xfrm otherwise. Moved former main loop to...
40654 * (do_xfrm_cached): New function.
40655 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40656 find_idx, find_position and stack_push.
40657 * (find_idx): New function.
40658 * (find_position): Likewise.
40659 * localedata/sort-test.sh: Added test run for do_xfrm.
40660 * localedata/xfrm-test.c (main): Added command line option
40661 -nocache to run the test with strings that are too large for
40662 the STRXFRM cache.
40663
40664 2015-01-13 Torvald Riegel <triegel@redhat.com>
40665
40666 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40667 variable to lll_futex_wake call, not the value itself.
40668
40669 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40670
40671 [BZ #17803]
40672 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40673 twom64. Adjust value to 0x1p-64L.
40674 (__scalblnl): Only return standard underflowing result for K <=
40675 -64 not K <= -63; adjust exponent for underflowing result by 64
40676 not 63.
40677 * math/libm-test.inc (scalbn_test_data): Add more tests.
40678 (scalbln_test_data): Likewise.
40679
40680 [BZ #17834]
40681 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40682 0x1p63L.
40683 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40684 not HX.
40685 * math/libm-test.inc (scalbn_test_data): Add more tests.
40686 (scalbln_test_data): Likewise.
40687
40688 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40689 Stefani Seibold <stefani@seibold.net>
40690
40691 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40692 (sysdep_routines): Add dl-vdso here, ...
40693 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40694 (sysdep_routines): ... not here.
40695 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40696 fallback when vDSO is not presented.
40697 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40698 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40699 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40700 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40701 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40702 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40703 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40704 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40705 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40707 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40708 fallback configurable symbol when vDSO is not available.
40709 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40710 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40711 be able to redefine fallback symbol when vDSO is not available.
40712 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40713 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40714
40715 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40716
40717 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40718 (TLS_INIT_TP): Add tm_capable initialization.
40719 (TLS_DEFINE_INIT_TP): Likewise.
40720 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40721 TCB.
40722 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40723 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40724 calculation.
40725 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40726 transactoion is lock elision is built and TCB tm_capable is set.
40727 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40729 (INTERNAL_SYSCALL_NCS): Likewise.
40730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40731 (INTERNAL_SYSCALL_NCS): Likewise.
40732 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40733
40734 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40735 for powerpc.
40736 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40737 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40738 and remove it for 32 bits case.
40739 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40741 initialization.
40742 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40743 Disable lock elision with rdlocks if elision is not available.
40744
40745 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40746 (sysdep_routines): Add lock elision objects.
40747 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40748 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40749 [pthread_mutex_t] (__elision): Add field.
40750 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40751 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40752 elision definitions for powerpc.
40753 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40754 implementation of lock elision for powerpc.
40755 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40756 implementation of timed lock elision for powerpc.
40757 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40758 implementation of trylock with lock elision for powerpc.
40759 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40760 implementaion of unlock for lock elision for powerpc.
40761 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40762 automatic enable lock elision for mutexes.
40763 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40764 transaction execution definitions for powerpc.
40765 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40766 definitions.
40767 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40768 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40769 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40770 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40771 * NEWS: Update.
40772
40773 2015-01-09 Roland McGrath <roland@hack.frob.com>
40774
40775 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40776 for #include of <shm-directory.h>.
40777
40778 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40779
40780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40781 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40782
40783 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40784
40785 [BZ #17791]
40786 * NEWS: Mention bug fix.
40787 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40788 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40789 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40790
40791 2015-01-09 Torvald Riegel <triegel@redhat.com>
40792
40793 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40794
40795 2015-01-09 Torvald Riegel <triegel@redhat.com>
40796
40797 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40798
40799 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40800
40801 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40802 pointer and cast to uintptr_t.
40803
40804 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40805
40806 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40807 removed.
40808 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40809
40810 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40811
40812 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40813 of 0.
40814
40815 2015-01-08 Roland McGrath <roland@hack.frob.com>
40816
40817 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40818 <nptl/pthreadP.h> instead.
40819 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40820
40821 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40822 already defined.
40823 [__SIGRTMIN] (init): Function removed.
40824 [__SIGRTMIN] (initialized): Variable removed.
40825 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40826 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40827 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40828 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40829 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40830 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40831 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40832 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40833 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40834 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40835 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40836 * sysdeps/nptl/allocrtsig.c: New file.
40837 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40838 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40839 * sysdeps/generic/testrtsig.h: File removed.
40840
40841 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40842 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40843
40844 * nptl/nptl-init.c (pthread_functions): Conditionalize
40845 .ptr__nptl_setxid initialization on [SIGSETXID].
40846
40847 * sysdeps/nptl/sys/procfs.h: New file.
40848 * nptl_db/Makefile (headers): Add it.
40849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40850
40851 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40852 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40853 * nptl/pthread_attr_setaffinity.c: Include it.
40854 * nptl/pthread_setattr_default_np.c: Likewise.
40855 * nptl/check-cpuset.h: New file.
40856
40857 2015-01-08 Richard Henderson <rth@redhat.com>
40858
40859 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40860 (CFLAGS-tst-execstack-prog.c): Likewise.
40861 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40862
40863 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
40864 Sandra Loosemore <sandra@codesourcery.com>
40865 Andrew Jenner <andrew@codesourcery.com>
40866 Joseph Myers <joseph@codesourcery.com>
40867 Nathan Sidwell <nathan@codesourcery.com>
40868
40869 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40870 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40871 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40872 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40873 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40874 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40875 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40876 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40877 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40878 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40879 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40880 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40881 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40882 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40883 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40884 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40885 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40886
40887 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40888
40889 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40890 timespec struct member in syscall macro.
40891 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40892 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40893 first timeval struct member in syscall macro.
40894 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40895
40896 2015-01-07 Joseph Myers <joseph@codesourcery.com>
40897
40898 [BZ #17748]
40899 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40900 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40901 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40902 __feupdateenv and define as weak alias of __feupdateenv. Use
40903 libm_hidden_weak.
40904 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40905 libm_hidden_def.
40906 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40907 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
40908 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40909 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40910 libm_hidden_def.
40911 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40912 __feupdateenv and define as weak alias of __feupdateenv. Use
40913 libm_hidden_weak.
40914 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40915 libm_hidden_def.
40916 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40917 __feupdateenv and define as weak alias of __feupdateenv. Use
40918 libm_hidden_weak.
40919 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40920 libm_hidden_def.
40921 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40922 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40923 (__feupdateenv): Likewise.
40924 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40925 __feupdateenv and define as weak alias of __feupdateenv. Use
40926 libm_hidden_weak.
40927 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40928 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40929 libm_hidden_def.
40930 * sysdeps/tile/math_private.h (__feupdateenv): New inline
40931 function.
40932 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40933 libm_hidden_def.
40934 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40935 __feupdateenv instead of feupdateenv.
40936 (default_libc_feupdateenv_test): Likewise.
40937 (libc_feresetround_ctx): Likewise.
40938
40939 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40940
40941 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40942 prototype.
40943
40944 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
40945
40946 * posix/regcomp.c (parse_bracket_exp): Initialize type to
40947 COLL_SYM in a couple of places to avoid uninitialized variable
40948 wanings on tilegx gcc 4.8.2.
40949
40950 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40951
40952 * sysdeps/aarch64/strcpy.S: New file.
40953 * sysdeps/aarch64/stpcpy.S: New file.
40954 * NEWS: Updated.
40955
40956 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40957
40958 * sysdeps/aarch64/strrchr.S: New file.
40959 * NEWS: Updated.
40960
40961 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
40962
40963 [BZ #17658]
40964 * stdlib/setenv.c: Fix memory leak when setting large,
40965 duplicate string.
40966
40967 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
40968
40969 [BZ #17273]
40970 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40971 and tabs from buffer before parsing fstab entry.
40972 * misc/tst-mntent.c (main): Add test for mount entry with
40973 trailing spaces and tabs.
40974
40975 2015-01-06 Joseph Myers <joseph@codesourcery.com>
40976
40977 [BZ #17748]
40978 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
40979 * math/fesetround.c (fesetround): Rename to __fesetround and
40980 define as weak alias of __fesetround. Use libm_hidden_weak.
40981 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40982 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40983 * sysdeps/arm/fesetround.c (fesetround): Likewise.
40984 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40985 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40986 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40987 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40988 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40989 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40990 __fesetround_inline.
40991 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40992 __fesetround_inline instead of __fesetround.
40993 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40994 __fesetround and define as weak alias of __fesetround. Use
40995 libm_hidden_weak. Call __fesetround_inline instead of
40996 __fesetround.
40997 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40998 __fesetround and define as weak alias of __fesetround. Use
40999 libm_hidden_weak.
41000 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41001 Likewise.
41002 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41003 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41004 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41005 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41006 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41007 __fesetround and define as weak alias of __fesetround. Use
41008 libm_hidden_weak.
41009 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41010 __fesetround instead of fesetround.
41011 (default_libc_feholdexcept_setround): Likewise.
41012 (libc_feholdsetround_ctx): Likewise.
41013 (libc_feholdsetround_noex_ctx): Likewise.
41014
41015 [BZ #17748]
41016 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41017 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41018 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41019 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41020 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41021 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41022 define as weak alias of __fesetenv. Use libm_hidden_weak.
41023 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41024 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41025 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41026 define as weak alias of __fesetenv. Use libm_hidden_weak.
41027 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41028 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41029 define as weak alias of __fesetenv. Use libm_hidden_weak.
41030 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41031 libm_hidden_def.
41032 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41033 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41034 Likewise.
41035 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41036 define as weak alias of __fesetenv. Use libm_hidden_weak.
41037 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41038 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41039 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41040 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41041 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41042 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41043 __fesetenv instead of fesetenv.
41044 (libc_feresetround_noex_ctx): Likewise.
41045 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41046 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41047 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41048 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41049 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41050 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41051 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41052 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41053 (__feupdateenv): Likewise.
41054 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41055 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41056 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41057 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41058
41059 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41060
41061 [BZ #17806]
41062 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41063 addresses have been freed.
41064
41065 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41066
41067 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41068 and nservall.
41069
41070 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
41071
41072 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41073 Clean up check_pf allocation pattern. addresses
41074
41075 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41076
41077 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41078 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41079 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41080 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41081 * nptl/pthread_join.c (pthread_join): Likewise.
41082 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41083 * sysdeps/posix/waitid.c (__waitid): Likewise.
41084 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41085 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41086 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41087 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41088 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41089 Likewise.
41090 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41091 (__libc_pread64): Likewise.
41092 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41093 (__libc_pwrite): Likewise.
41094 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41095 (__libc_pwrite64): Likewsie.
41096 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41097 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41098 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41099 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41100 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41101 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41102 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41104 Likewise.
41105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41106 (__libc_pread64): Likewise.
41107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41108 Likewise.
41109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41110 (__libc_pwrite64): Likewise.
41111 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41112 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41113 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41114 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41115 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41116 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41117 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41118 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41119 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41120 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41121 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41122 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41123 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41124 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41125 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41126 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41127 Likewise.
41128
41129 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41130
41131 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41132 (CFLAGS-test-double.c): Likewise.
41133 (CFLAGS-test-ldouble.c): Likewise.
41134 (CPPFLAGS-test-ifloat.c): Likewise.
41135 (CPPFLAGS-test-idouble.c): Likewise.
41136 (CPPFLAGS-test-ildoubl.c): Likewise.
41137 (CFLAGS-test-test-fenv.c): Remove variable.
41138 (CFLAGS-test-misc.c): Likewise.
41139
41140 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41141
41142 [BZ #17797]
41143 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41144 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41145 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41146 CLOCKS_PER_SEC == 1000000.
41147 * time/clocktest.c (main): Replace %ld with %jd and cast to
41148 intmax_t.
41149
41150 2015-01-05 Roland McGrath <roland@hack.frob.com>
41151
41152 * sysdeps/generic/unwind-resume.h: New file.
41153 * sysdeps/gnu/unwind-resume.c: Include it.
41154 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41155 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41156 argument list.
41157 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41158 global rather than static.
41159 (_Unwind_Resume): Update user.
41160 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41161 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41162 rather than static. Add __attribute__ ((cold)).
41163 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41164 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41165 * sysdeps/arm/arm-unwind-resume.S: New file.
41166 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41167 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41168 * sysdeps/arm/Makefile [$(subdir) = csu]
41169 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41170 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41171 Add rt-arm-unwind-resume.
41172 [$(subdir) = nptl]
41173 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41174 Add pt-arm-unwind-resume.
41175 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41176 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41177
41178 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41179
41180 [BZ #17748]
41181 * include/fenv.h (__feholdexcept): Declare. Use
41182 libm_hidden_proto.
41183 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41184 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41185 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41186 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41187 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41188 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41189 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41190 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41191 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41192 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41193 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41194 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41195 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41196 (feholdexcept): Likewise.
41197 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41198 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41199 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41200 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41201 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41202 __feholdexcept instead of feholdexcept.
41203 (default_libc_feholdexcept_setround): Likewise.
41204
41205 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41206
41207 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41208 to avoid using stl/str to align destination.
41209
41210 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41211
41212 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41213
41214 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41215
41216 [BZ #17796]
41217 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41218 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41219 Define as weak alias not strong alias.
41220
41221 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41222
41223 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41224 bltzal with addiupc.
41225 (RTLD_START): Ditto.
41226
41227 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41228
41229 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41230 for __vdso_* functions in declarations.
41231 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41232 definitions.
41233 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41234 INTERNAL_VSYSCALL): Use struct return types to check for error.
41235
41236 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41237 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41238 function with cast from llround().
41239 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41240 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41241 Define.
41242
41243 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41244
41245 [BZ #17793]
41246 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41247 Define as weak alias not strong alias.
41248
41249 [BZ #17635]
41250 * ctype/ctype-c99.c: New file. isblank implementation moved from
41251 ...
41252 * ctype/ctype-extn.c: ... here.
41253 (__isblank_l): Move to ...
41254 * ctype/ctype-c99_l.c: ... here. New file.
41255 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41256 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41257 Remove variable.
41258 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41259 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41260 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41261 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41262 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41263
41264 [BZ #17777]
41265 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41266 (posix_fadvise64): Define as weak alias not strong alias.
41267 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41268 (posix_fallocate64): Likewise.
41269 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41270 Remove variable.
41271 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41272 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41273 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41274 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41275 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41276
41277 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41278
41279 [BZ #16191]
41280 * NEWS: Mention bug fix.
41281 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41282 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41283 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41284 (HOST_STACK_END_ADDR): Likewise.
41285
41286 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41287
41288 [BZ #17748]
41289 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41290 * math/fegetround.c (fegetround): Rename to __fegetround and
41291 define as weak alias of __fegetround. Use libm_hidden_weak.
41292 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41293 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41294 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41295 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41296 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41297 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41298 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41299 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41300 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41301 Undefine after rather than before function definition; use
41302 parentheses around function name in definition.
41303 (__fegetround): Also undefine macro after function definition.
41304 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41305 __fegetround and define as weak alias of __fegetround. Use
41306 libm_hidden_weak. Do not undefine as macro.
41307 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41308 Likewise.
41309 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41310 __fegetround and define as weak alias of __fegetround. Use
41311 libm_hidden_weak.
41312 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41313 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41314 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41315 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41316 __fegetround and define as weak alias of __fegetround. Use
41317 libm_hidden_weak.
41318 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41319 __fegetround instead of fegetround.
41320
41321 [BZ #17782]
41322 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41323 Condition macro definition on [__USE_MISC].
41324
41325 [BZ #17781]
41326 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41327 (struct sigaction): Change type of sa_flags field to int.
41328
41329 [BZ #17780]
41330 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41331 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41332 __glibc_reserved0.
41333
41334 * nptl/version.c (banner): Use single year in copyright notice.
41335
41336 * NEWS: Update copyright dates.
41337 * catgets/gencat.c (print_version): Likewise.
41338 * csu/version.c (banner): Likewise.
41339 * debug/catchsegv.sh: Likewise.
41340 * debug/pcprofiledump.c (print_version): Likewise.
41341 * debug/xtrace.sh (do_version): Likewise.
41342 * elf/ldconfig.c (print_version): Likewise.
41343 * elf/ldd.bash.in: Likewise.
41344 * elf/pldd.c (print_version): Likewise.
41345 * elf/sotruss.sh: Likewise.
41346 * elf/sprof.c (print_version): Likewise.
41347 * iconv/iconv_prog.c (print_version): Likewise.
41348 * iconv/iconvconfig.c (print_version): Likewise.
41349 * locale/programs/locale.c (print_version): Likewise.
41350 * locale/programs/localedef.c (print_version): Likewise.
41351 * login/programs/pt_chown.c (print_version): Likewise.
41352 * malloc/memusage.sh (do_version): Likewise.
41353 * malloc/memusagestat.c (print_version): Likewise.
41354 * malloc/mtrace.pl: Likewise.
41355 * manual/libc.texinfo: Likewise.
41356 * nptl/version.c (banner): Likewise.
41357 * nscd/nscd.c (print_version): Likewise.
41358 * nss/getent.c (print_version): Likewise.
41359 * nss/makedb.c (print_version): Likewise.
41360 * posix/getconf.c (main): Likewise.
41361 * scripts/test-installation.pl: Likewise.
41362 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41363
41364 2015-01-02 Will Newton <will.newton@linaro.org>
41365
41366 * sysdeps/arm/armv7/configure: Removed.
41367 * sysdeps/arm/armv7/configure.ac: Likewise.
41368
41369 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41370
41371 * All files with FSF copyright notices: Update copyright dates
41372 using scripts/update-copyrights.
41373 * intl/plural.c: Regenerated.
41374 * locale/programs/charmap-kw.h: Likewise.
41375 * locale/programs/locfile-kw.h: Likewise.
41376
41377 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41378
41379 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41380
41381 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41382
41383 [BZ #17748]
41384 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41385 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41386 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41387 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41388 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41389 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41390 define as weak alias of __fegetenv. Use libm_hidden_weak.
41391 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41392 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41393 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41394 define as weak alias of __fegetenv. Use libm_hidden_weak.
41395 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41396 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41397 define as weak alias of __fegetenv. Use libm_hidden_weak.
41398 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41399 libm_hidden_def.
41400 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41401 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41402 Likewise.
41403 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41404 define as weak alias of __fegetenv. Use libm_hidden_weak.
41405 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41406 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41407 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41408 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41409 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41410 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41411 __fegetenv instead of fegetenv.
41412 (libc_feholdsetround_noex_ctx): Likewise.
41413
41414 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41415
41416 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41417 (Elf_MIPS_ABIFlags_v0): New structure.
41418 (EF_MIPS_FP64): Define.
41419 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41420 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41421 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41422 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41423 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41424 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41425 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41426 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41427 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41428 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41429 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41430 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41431 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41432 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41433 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41434 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41435 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41436 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41437 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41438 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41439 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41440 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41441 field.
41442 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41443 EF_MIPS_FP64.
41444 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41445 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41446 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41447 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41448 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41449 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41450 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41451 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41452 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41453 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41454 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41455 record the current FP ABI extension.
41456 (mips-mode-switch): Define to show if kernel headers support mode
41457 switching.
41458 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41459 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41460 supported SYSV ABI version to 3.
41461 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41462 feature.
41463
41464 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41466
41467 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41468 path.
41469 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41470
41471 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41472
41473 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41474 __fegetround and redefine to call __fegetround. Remove condition
41475 on [!__NO_MATH_INLINES].
41476 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41477 function.
41478 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41479 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41480 Remove macro.
41481 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41482 instead of <fenv_libc.h>.
41483 (__llrintl): Call fegetround instead of __fegetround.
41484 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41485 instead of <fenv_libc.h>.
41486 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41487 (__lrintl): Call fegetround instead of __fegetround.
41488 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41489 instead of <fenv_libc.h>.
41490 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41491 (__rintl): Call fegetround instead of __fegetround.
41492
41493 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41494
41495 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41496 arrays.
41497
41498 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41499
41500 [BZ #17775]
41501 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41502 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41503 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41504
41505 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41506
41507 * sysdeps/i386/tls-macros.h: Include <features.h>.
41508 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41509 (TLS_IE): Likewise.
41510 (TLS_LD): Likewise.
41511 (TLS_GD): Likewise.
41512 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41513 define for GCC >= 5.0.
41514
41515 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41516
41517 * math/test-fenv.c (test_single_exception, set_single_exc,
41518 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41519 feexcp_mask_test, feenable_test, fe_single_test): Add
41520 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41521 case where they are not used.
41522 * math/libm-test.inc: Likewise.
41523 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41524 unused in the absence of FP rounding/exception support.
41525 * stdio-common/tst-printf-round.c: Likewise.
41526 * stdlib/tst-strtod-round.c: Likewise.
41527 * stdlib/tst-strtod-underflow.c: Likewise.
41528
41529 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41530
41531 [BZ #17723]
41532 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41533 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41534 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41535 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41536 libm_hidden_weak.
41537 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41538 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41539 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41540 libm_hidden_def.
41541 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41542 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41543 libm_hidden_weak.
41544 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41545 Likewise.
41546 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41547 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41548 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41549 libm_hidden_weak.
41550 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41551 libm_hidden_def.
41552 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41553 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41554 (__feraiseexcept): Likewise.
41555 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41556 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41557 libm_hidden_weak.
41558 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41559 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41560 libm_hidden_def.
41561 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41562 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41563 Use libm_hidden_def.
41564 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41565 libm_hidden_def.
41566 (feraiseexcept): Define as weak not strong alias. Use
41567 libm_hidden_weak.
41568 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41569 New inline function. Factored out of ...
41570 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41571 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41572 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41573 feraiseexcept.
41574 * math/w_acos.c (__acos): Likewise.
41575 * math/w_asin.c (__asin): Likewise.
41576 * math/w_ilogb.c (__ilogb): Likewise.
41577 * math/w_j0.c (y0): Likewise.
41578 * math/w_j1.c (y1): Likewise.
41579 * math/w_jn.c (yn): Likewise.
41580 * math/w_log.c (__log): Likewise.
41581 * math/w_log10.c (__log10): Likewise.
41582 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41583 * sysdeps/aarch64/fpu/math_private.h
41584 (libc_feupdateenv_test_aarch64): Likewise.
41585 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41586 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41587 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41588 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41589 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41590 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41591 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41592 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41593 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41594 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41595
41596 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41597
41598 [BZ #17732]
41599 * io/test-utime.c (main): Replace %ld with %jd and cast to
41600 intmax_t.
41601 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41602 * nptl/tst-mutex5.c: Include <stdint.h>.
41603 (do_test): Replace %ld with %jd and cast to intmax_t.
41604 * posix/tst-regex.c (run_test): Likewise.
41605 (run_test_backwards): Likewise.
41606 * rt/tst-clock.c: Include <stdint.h>.
41607 (clock_test): Replace %ld with %jd and cast to intmax_t.
41608 * rt/tst-cpuclock1.c: Include <stdint.h>.
41609 (do_test): Replace %lu with %ju and cast to uintmax_t.
41610 * rt/tst-cpuclock2.c: Include <stdint.h>.
41611 (do_test): Replace %lu with %ju and cast to uintmax_t.
41612 * rt/tst-mqueue1.c: Include <stdint.h>.
41613 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41614 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41615 intmax_t.
41616 * rt/tst-mqueue4.c (do_test): Likewise.
41617 * rt/tst-timer4.c: Include <stdint.h>.
41618 (check_ts): Replace %ld with %jd and cast to intmax_t.
41619 (do_test): Likewise.
41620 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41621 and cast to intmax_t.
41622 * sysdeps/pthread/tst-timer.c (main): Likewise.
41623 * time/clocktest.c (main): Likewise.
41624 * time/tst-posixtz.c (do_test): Likewise.
41625 * timezone/tst-timezone.c (main): Likewise.
41626
41627 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41628 H.J. Lu <hongjiu.lu@intel.com>
41629
41630 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41631 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41632 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41633 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41634 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41635 version if bit_Fast_Unaligned_Load is set.
41636 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41637 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41638 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41639 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41640 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41641 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41643 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41644 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41645 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41646 to 4.
41647 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41648 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41649 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41650 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41651
41652 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41653
41654 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41655 instead of #if to avoid a Wundef warning.
41656 * stdlib/tst-limits.c (do_test): Likewise.
41657
41658 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41659 parallel other exception macros.
41660 (fegetenv): Convert from macro to extern inline so that it applies
41661 retroactively to inline functions already seen by the compiler.
41662 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41663
41664 * posix/Makefile (before-compile): Use $(objpfx) for
41665 posix-conf-vars-def.h.
41666
41667 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41668
41669 * posix/getconf.c (main): Use size_t for type of I.
41670 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41671 NSPEC.
41672
41673 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41674 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41675 * posix/posix-envs.def: Likewise.
41676 * sysdeps/posix/sysconf.c: Likewise.
41677 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41678 (specs): Remove array.
41679 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41680 array.
41681
41682 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41683 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41684 (__sysconf): Use CONF_IS_* macros.
41685
41686 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41687 ($(objpfx)posix-conf-vars-def.h): New target.
41688 * posix/posix-conf-vars.list: New file.
41689 * posix/posix-conf-vars.h: New file.
41690 * posix/confstr.c: Include posix-conf-vars.h.
41691 (confstr): Use CONF_IS_* macros.
41692 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41693 CONF_IS_* macros.
41694 * scripts/gen-posix-conf-vars.awk: New file.
41695
41696 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41697
41698 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41699 fegetround): Add no-op macros to avoid linknamespace issues.
41700
41701 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41702 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41703
41704 * sysdeps/unix/sysv/linux/tile/sysdep.h
41705 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41706 assembly-specific section to avoid a redefinition warning.
41707
41708 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41709 long before casting to pointer to avoid a cast warning.
41710
41711 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41712
41713 * sysdeps/tile/tilegx/Implies: New file.
41714
41715 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41716
41717 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41718
41719 2014-12-23 Florian Weimer <fweimer@redhat.com>
41720
41721 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41722
41723 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41724
41725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41726 not define.
41727 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41728 <kernel-features.h>.
41729 (__utimes) [__NR_utimes]: Make code unconditional.
41730 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41731 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41732 (__ASSUME_UTIMES): Do not undefine.
41733 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41734 (__ASSUME_UTIMES): Likewise.
41735 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41736 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41737 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41738 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41739
41740 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41741
41742 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41743
41744 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41745
41746 [BZ #17747]
41747 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41748 alias to weak alias for j0l, y0l.
41749 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41750 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41751
41752 [BZ #17746]
41753 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41754 conversion.
41755
41756 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41757
41758 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41759 to zero if not already defined.
41760
41761 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41762
41763 [BZ #17724]
41764 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41765 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41766 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41767 (char *) casts added.
41768 * sysdeps/ieee754/k_standardf.c: New file.
41769 * sysdeps/ieee754/k_standardl.c: Likewise.
41770 * math/Makefile (libm-support): Remove k_standard.
41771 (libm-calls): Add k_standard.
41772
41773 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41774
41775 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41776 Optimize to avoid an unnecessary FPCR read.
41777
41778 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41779
41780 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41781 Optimize to reduce FPCR/FPSR accesses.
41782
41783 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41784
41785 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41786 Call libc_fetestexcept_aarch64.
41787
41788 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41789
41790 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41791 Call libc_fesetround_aarch64.
41792
41793 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41794
41795 [BZ #17733]
41796 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41797 (__bind): Do not define as weak alias.
41798 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41799 define.
41800 (__getsockname): Do not define as weak alias.
41801
41802 2014-12-22 Will Newton <will.newton@linaro.org>
41803
41804 * manual/install.texi: Document that we require bison 2.7
41805 or above.
41806 * INSTALL: Regenerate.
41807 * configure.ac: Use AC_CHECK_PROG_VER instead of
41808 AC_PATH_PROG when checking for bison and check for
41809 version 2.7 or above.
41810 * configure: Regenerate.
41811
41812 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41813
41814 [BZ #17745]
41815 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41816 * sysdeps/tile/ffsll.c (ffsll): To here.
41817
41818 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41819
41820 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41821
41822 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41823 if not defined.
41824 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41825 definition.
41826 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41827 hidden ___tls_get_addr.
41828 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41829 hidden __tls_get_addr.
41830 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41831 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41832 Likewise.
41833
41834 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
41835
41836 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41837 _dl_init call.
41838
41839 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41840
41841 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41842 from "call _dl_init@PLT".
41843 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41844
41845 2014-12-21 Anders Kaseorg <andersk@mit.edu>
41846
41847 * manual/search.texi: (Array Sort Function): Clarify stable sorting
41848 guarantees.
41849
41850 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
41851
41852 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41853
41854 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41855
41856 [BZ #17744]
41857 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41858 strnlen.
41859
41860 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41861
41862 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41863 of multu on MIPSr6.
41864 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41865 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41866 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41867 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41868 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41869
41870 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41871
41872 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41873 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41874 (PTR_SUBU): Use subu for mips32r6/mips64r6.
41875 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41876 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41877 mips32r6/mips64r6.
41878 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41879
41880 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
41881
41882 * string/strncat.c (STRNCAT): Simplify implementation.
41883
41884 2014-12-19 David S. Miller <davem@davemloft.net>
41885
41886 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41887 access the quad as both a long double and as a series of 4 words.
41888
41889 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41890 link_map->l_info array access.
41891
41892 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41893
41894 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41895
41896 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41897 * math/atest-exp2.c (TIMEOUT): Likewise.
41898 * math/atest-sincos.c (TIMEOUT): Likewise.
41899
41900 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41901
41902 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41903 -Wno-error with -fno-builtin-lround.
41904
41905 2014-12-19 Torvald Riegel <triegel@redhat.com>
41906
41907 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41908 Contains futex constants and functions moved over from ...
41909 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
41910 <lowlevellock-futex.h>.
41911 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41912 (lll_timedwait_tid): Add comments and parentheses around macro
41913 arguments.
41914
41915 2014-12-19 Torvald Riegel <triegel@redhat.com>
41916
41917 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41918 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
41919 (__lll_private_flag): Remove.
41920 (lll_futex_wait): Likewise.
41921 (lll_futex_timed_wait): Likewise.
41922 (lll_futex_wake): Likewise.
41923 (lll_futex_requeue): Likewise.
41924 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41925 (__lll_timedwait_tid): Spell out argument names.
41926 (lll_timedwait_tid): Add comments and parentheses around macro
41927 arguments.
41928 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41929 LLL_SHARED and LLL_PRIVATE usable from assembly code.
41930
41931 2014-12-19 Torvald Riegel <triegel@redhat.com>
41932
41933 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41934 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41935 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41936 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41937 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41938 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41939 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41940 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41941 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41943 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41944 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41945 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41946 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41947 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41948 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41949 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41950 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41951 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41952
41953 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41954
41955 * sysdeps/x86_64/x32/Makefile: New file.
41956
41957 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41958
41959 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41960 1L with (mp_limb_t) 1.
41961
41962 2014-12-17 Roland McGrath <roland@hack.frob.com>
41963
41964 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41965 * nptl/libc_pthread_init.c: ... here.
41966 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41967 * nptl/register-atfork.c: ... here.
41968
41969 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41970 Use pthread_sigmask rather than INTERNAL_SYSCALL.
41971 Use assert_perror to check its return value.
41972 (__gai_create_helper_thread): Likewise.
41973
41974 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41975
41976 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41977
41978 2014-12-17 Joseph Myers <joseph@codesourcery.com>
41979
41980 [BZ #17725]
41981 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41982 __profil_counter.
41983 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41984 Likewise.
41985 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41986 Likewise.
41987 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41988 Likewise.
41989 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41990 (profil_counter): Likewise.
41991 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41992 (profil_counter): Likewise.
41993 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41994 Likewise.
41995 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41996 Likewise.
41997 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41998 (profil_counter): Likewise.
41999 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42000 Likewise.
42001 [!__profil_counter] (profil_counter): Define as weak alias of
42002 __profil_counter.
42003 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42004 (profil_counter): Rename to __profil_counter.
42005 [!__profil_counter] (profil_counter): Define as weak alias of
42006 __profil_counter.
42007 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42008 (profil_counter): Rename to __profil_counter.
42009 [!__profil_counter] (profil_counter): Define as weak alias of
42010 __profil_counter.
42011 * sysdeps/posix/profil.c: Update comment referring to
42012 profil_counter.
42013 (__profil): Use __profil_counter instead of profil_counter.
42014 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42015 __profil_counter. Use __profil_counter_ushort and
42016 __profil_counter_uint in definitions.
42017 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42018 instead of profil_counter_uint and profil_counter_ushort.
42019
42020 [BZ #17722]
42021 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42022 define as weak alias of __inet_makeaddr.
42023 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42024 as weak alias of __inet_addr.
42025 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42026 as weak alias of __inet_pton. Use libc_hidden_weak.
42027 * include/arpa/inet.h (__inet_pton): Declare. Use
42028 libc_hidden_proto.
42029 (inet_makeaddr): Don't use libc_hidden_proto.
42030 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42031 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42032 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42033 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42034 Remove variable.
42035 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42036 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42037
42038 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
42039
42040 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42041
42042 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42043
42044 * stdio-common/bug-vfprintf-nargs.c (do_test):
42045 Cast value to intptr_t to avoid format warning
42046 for usage with PRIdPTR printing macro.
42047
42048 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42049
42050 * libio/tst-widetext.c (do_test):
42051 Use format type %td instead of %Zd for ptrdiff_t
42052 in order to avoid format warning.
42053
42054 2014-12-17 Andreas Schwab <schwab@suse.de>
42055
42056 * nscd/mem.c (gc): Add size_t cast to match printf format.
42057
42058 2014-12-16 Roland McGrath <roland@hack.frob.com>
42059
42060 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42061 (init): Apply PTR_MANGLE to pointers before storing them.
42062 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42063 before using them.
42064
42065 2014-12-16 Joseph Myers <joseph@codesourcery.com>
42066
42067 [BZ #17719]
42068 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42069 define as weak alias of __memrchr.
42070 (__memrchr): Do not define as strong alias of memrchr.
42071 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42072 Remove variable.
42073 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42074 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42075 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42076
42077 [BZ #17717]
42078 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42079 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42080 (if_indextoname): Rename to __if_indextoname and define as weak
42081 alias of __if_indextoname. Use libc_hidden_weak.
42082 (if_freenameindex): Rename to __if_freenameindex and define as
42083 weak alias of __if_freenameindex.
42084 (if_nameindex): Rename to __if_nameindex and define as weak alias
42085 of __if_nameindex.
42086 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42087 __if_nametoindex and define as weak alias of __if_nametoindex.
42088 Use libc_hidden_weak.
42089 (if_freenameindex): Rename to __if_freenameindex and define as
42090 weak alias of __if_freenameindex.
42091 (if_nameindex): Rename to __if_nameindex and define as weak alias
42092 of __if_nameindex.
42093 (if_indextoname): Rename to __if_indextoname and define as weak
42094 alias of __if_indextoname. Use libc_hidden_weak.
42095 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42096 __if_nametoindex and define as weak alias of __if_nametoindex.
42097 Use libc_hidden_weak.
42098 (if_freenameindex): Rename to __if_freenameindex and define as
42099 weak alias of __if_freenameindex. Use libc_hidden_weak.
42100 (if_nameindex_netlink): Use __if_freenameindex instead of
42101 if_freenameindex.
42102 (if_nameindex): Rename to __if_nameindex and define as weak alias
42103 of __if_nameindex. Use libc_hidden_weak.
42104 (if_indextoname): Rename to __if_indextoname and define as weak
42105 alias of __if_indextoname. Use libc_hidden_weak.
42106 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42107 libc_hidden_proto.
42108 [!_ISOMAC] (__if_freenameindex): Likewise.
42109 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42110 if_nametoindex.
42111 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42112 variable.
42113 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42114 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42115 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42116 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42117 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42118 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42119 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42120
42121 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42122 Remove variable.
42123 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42124 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42125
42126 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42127
42128 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42129 subscript above bounds'
42130
42131 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42132 bounds.
42133
42134 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42135
42136 * libio/tst-fopenloc.c: Use test-skeleton.c.
42137
42138 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42139 (entry): Rename to ITEM.
42140 (do_test, comp): Adjust.
42141
42142 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42143
42144 2014-12-16 Torvald Riegel <triegel@redhat.com>
42145
42146 * string/tester.c: Include <libc-internal.h>.
42147 (test_memset): Ignore -Wmemset-transposed-args.
42148
42149 2014-12-16 Torvald Riegel <triegel@redhat.com>
42150
42151 * misc/tst-mntent2.c (do_test): Fix warning.
42152
42153 2014-12-16 Torvald Riegel <triegel@redhat.com>
42154
42155 * elf/tst-unique4lib.cc(a): Mark as used.
42156
42157 2014-12-16 Florian Weimer <fweimer@redhat.com>
42158
42159 [BZ #17630]
42160 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42161 names.
42162
42163 2014-12-16 Allan McRae <allan@archlinux.org>
42164
42165 * stdio-common/Makefile (tests): Re-add bug26.
42166
42167 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
42168
42169 [BZ #17657]
42170 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42171 static array.
42172
42173 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42174
42175 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42176 (__lll_lock_wait): Likewise.
42177 (__lll_timedlock_wait): Likewise.
42178 (__lll_timedwait_tid): Likewise.
42179 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42180 (__lll_robust_timedlock_wait): Likewise.
42181 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42182 (lll_cond_trylock): Likewise.
42183 (__lll_lock): Likewise.
42184 (__lll_robust_lock): Likewise.
42185 (__lll_cond_lock): Likewise.
42186 (lll_robust_cond_lock): Likewise.
42187 (__lll_timedlock): Likewise.
42188 (__lll_robust_timedlock): Likewise.
42189 (__lll_unlock): Likewise.
42190 (__lll_robust_unlock): Likewise.
42191 (lll_wait_tid): Likewise.
42192 (lll_timedwait_tid): Likewise.
42193
42194 2014-12-15 Torvald Riegel <triegel@redhat.com>
42195
42196 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42197
42198 2014-12-15 Torvald Riegel <triegel@redhat.com>
42199
42200 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42201
42202 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42203
42204 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42205 * stdio-common/tst-sprintf.c: Likewise.
42206
42207 2014-12-15 Torvald Riegel <triegel@redhat.com>
42208
42209 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42210
42211 2014-12-15 Jeff Law <law@redhat.com>
42212
42213 [BZ #16617]
42214 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42215 on the heap. (CVE-2012-3406)
42216 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42217 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42218 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42219
42220 2014-12-15 Will Newton <will.newton@linaro.org>
42221
42222 * manual/install.texi: Bump required version of texinfo
42223 to 4.7 from 4.5.
42224 * INSTALL: Regenerated.
42225 * configure.ac: Check for makeinfo version 4.7 and above.
42226 * configure: Regenerated.
42227
42228 2014-12-12 Roland McGrath <roland@hack.frob.com>
42229
42230 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42231 PREFIX, string constant to insert between directory and name.
42232 * sysdeps/posix/shm_open.c: Update caller.
42233 * sysdeps/posix/shm_unlink.c: Likewise.
42234 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42235 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42236 (SEM_SHM_PREFIX): New macro.
42237 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42238 [$(have-thread-library) = no].
42239 * nptl/Makefile (libpthread-routines): Add shm-directory.
42240 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42241 * sysdeps/nptl/shm-directory.h: New file.
42242 * sysdeps/posix/shm-directory.c
42243 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42244 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42245 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42246 INTERNAL_SYSCALL.
42247 (__where_is_shmfs): Function removed.
42248 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42249 Variables removed.
42250 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42251 Use SHM_GET_NAME.
42252 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42253
42254 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42255 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42256 unconditional for use inside libpthread.
42257 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42258
42259 2014-12-12 Roland McGrath <roland@hack.frob.com>
42260
42261 * nptl/pthread_getaffinity.c: New file.
42262 * nptl/pthread_setaffinity.c: New file.
42263 * nptl/pthread_getname.c: New file.
42264 * nptl/pthread_setname.c: New file.
42265
42266 * nptl/pthread_create.c (START_THREAD_DEFN)
42267 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42268
42269 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42270 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42271
42272 * resolv/res_send.c (send_vc): Disable warning resplen may
42273 be used uninitialized.
42274
42275 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42276
42277 * nptl/tst-mutex6.c
42278 (ATTR_NULL): New define checks ATTR against NULL.
42279 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42280 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42281
42282 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42283
42284 [BZ #17581]
42285 * malloc/hooks.c
42286 (mem2mem_check): Revert my previous change.
42287 (malloc_check_get_size): Revert my previous change.
42288 (mem2chunk_check): Revert my previous change.
42289
42290 2014-12-11 Roland McGrath <roland@hack.frob.com>
42291
42292 * sysdeps/posix/shm-directory.c: New file.
42293 * sysdeps/posix/shm-directory.h: New file.
42294 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42295 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42296 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42297 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42298 Transmute EPERM to EACCES.
42299 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42300 from ...
42301 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42302 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42303
42304 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42305
42306 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42307 pointer and cast to uintptr_t.
42308 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42309 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42310 Add cast to avoid warning.
42311 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42312
42313 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42314
42315 * nptl/semaphore.h: Move to ...
42316 * sysdeps/pthread/semaphore.h: ... here.
42317 * Makefile (installed-headers): Change nptl/semaphore.h to
42318 sysdeps/pthread/semaphore.h.
42319
42320 2014-12-11 Roland McGrath <roland@hack.frob.com>
42321
42322 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42323 generated error format strings.
42324
42325 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42326 -Wformat-extra-args warnings for scanf formats.
42327 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42328 test of zero-length format (duh).
42329 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42330 corner-case scanf format test.
42331 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42332 generated fprintf format string.
42333 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42334 corner-case sprintf format tests.
42335 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42336 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42337 -Wformat-extra-args warnings throughout.
42338 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42339 (CFLAGS-scanf4.c): Likewise.
42340 (CFLAGS-scanf7.c): Likewise.
42341 (CFLAGS-tst-sprintf.c): Likewise.
42342 (CFLAGS-tst-printf.c): Likewise.
42343 (CFLAGS-tst-printfsz.c): Likewise.
42344
42345 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42346
42347 * include/cpio.h: New file.
42348 * include/fmtmsg.h: Likewise.
42349
42350 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42351 corresponding format argument to size_t.
42352 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42353 arguments.
42354 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42355 corresponding format argument to size_t.
42356 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42357 arguments.
42358 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42359 corresponding format argument to size_t.
42360 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42361 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42362 (CFLAGS-tst-mbswcs2.c): Likewise.
42363 (CFLAGS-tst-mbswcs3.c): Likewise.
42364 (CFLAGS-tst-mbswcs4.c): Likewise.
42365 (CFLAGS-tst-mbswcs5.c): Likewise.
42366 (CFLAGS-tst-trans.c): Likewise.
42367
42368 2014-12-11 Roland McGrath <roland@hack.frob.com>
42369
42370 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42371 rather than assuming they won't contain any '%'s.
42372
42373 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42374
42375 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42376 inhibit_loop_to_libcall to avoid recursive calls.
42377 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42378 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42379
42380 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42381
42382 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42383 prototype.
42384
42385 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42386
42387 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42388 integer value instead of boolean.
42389
42390 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42391
42392 * malloc/malloc.c: Fix powerof2 check.
42393
42394 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42395
42396 * locale/programs/locfile.h (maybe_swap_uint32):
42397 Remove inline and add unused attribute.
42398
42399 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42400
42401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42402 Truncating assembler expression to a .long expression.
42403
42404 2014-12-11 Andreas Schwab <schwab@suse.de>
42405
42406 * elf/rtld.c (struct map_args): Constify str member.
42407 (do_preload): Constify fname argument.
42408
42409 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42410
42411 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42412 constants definition.
42413
42414 2014-12-11 Andreas Schwab <schwab@suse.de>
42415
42416 [BZ #16657]
42417 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42418 FORCE_ELISION instead of DO_ELISION.
42419 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42420 Remove.
42421 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42422 Likewise.
42423
42424 * iconvdata/gconv-modules: Remove duplicate entry.
42425
42426 2014-12-11 Will Newton <will.newton@linaro.org>
42427
42428 Merge gettext 0.19.3 into intl/.
42429
42430 This involves a number of cosmetic changes to comments
42431 and ANSI function definitions and prototypes throughout
42432 all the files. The gettext copyright header is used but
42433 with the date ranges taken from the glibc copy.
42434
42435 * NEWS: Add gettext merge to 2.21.
42436 * intl/bindtextdom.c: Switch to gettext copyright.
42437 Use ANSI definitions and prototypes.
42438 Use gl_* locking primitives rather than __libc_* ones.
42439 Use __builtin_expect rather than __glibc_likely/unlikely.
42440 * intl/dcgettext.c: Switch to gettext copyright.
42441 Use ANSI definitions and prototypes.
42442 * intl/dcigettext.c: Switch to gettext copyright.
42443 Use ANSI definitions and prototypes.
42444 (INTDIV0_RAISES_SIGFPE): New define.
42445 Use gl_* locking primitives rather than __libc_* ones.
42446 Include eval-plural.h instead of plural-eval.c.
42447 Use __builtin_expect rather than __glibc_likely/unlikely.
42448 * intl/dcngettext.c: Switch to gettext copyright.
42449 Use ANSI definitions and prototypes.
42450 * intl/dgettext.c: Likewise.
42451 * intl/dngettext.c: Likewise.
42452 * intl/plural-eval.c: Renamed to...
42453 * intl/eval-plural.h: ...this.
42454 * intl/explodename.c: Switch to gettext copyright.
42455 Use ANSI definitions and prototypes.
42456 (_nl_explode_name): Use strchr instead of __rawmemchr.
42457 * intl/finddomain.c: Switch to gettext copyright.
42458 Use ANSI definitions and prototypes.
42459 Use gl_* locking primitives rather than __libc_* ones.
42460 (_nl_find_domain): Use malloc rather than alloca for
42461 allocation of temporary locale name.
42462 * intl/gettext.c: Switch to gettext copyright.
42463 Use ANSI definitions and prototypes.
42464 * intl/gettextP.h: Switch to gettext copyright.
42465 Use ANSI definitions and prototypes.
42466 Use gl_* locking primitives rather than __libc_* ones.
42467 * intl/gmo.h: Switch to gettext copyright.
42468 (struct sysdep_string): Move struct segment_pair outside of
42469 struct definition.
42470 * intl/hash-string.c: Use ANSI definitions and prototypes.
42471 * intl/hash-string.h: Switch to gettext copyright.
42472 Use ANSI definitions and prototypes.
42473 * intl/l10nflist.c: Switch to gettext copyright.
42474 Use ANSI definitions and prototypes.
42475 (_nl_normalize_codeset): Avoid integer overflow.
42476 * intl/loadinfo.h: Switch to gettext copyright.
42477 Use ANSI definitions and prototypes.
42478 (LIBINTL_DLL_EXPORTED): New define.
42479 (PATH_SEPARATOR): New define.
42480 * intl/loadmsgcat.c: Switch to gettext copyright.
42481 * intl/localealias.c: Switch to gettext copyright.
42482 Use ANSI definitions and prototypes.
42483 (_nl_expand_alias): Use PATH_SEPARATOR.
42484 * intl/ngettext.c: Switch to gettext copyright.
42485 Use ANSI definitions and prototypes.
42486 * intl/plural-exp.c: Likewise.
42487 * intl/plural-exp.h: Switch to gettext copyright.
42488 Use ANSI definitions and prototypes.
42489 (struct expression): Move definition of enum operator outside
42490 of struct definition.
42491 * intl/plural.c: Regenerate.
42492 * intl/plural.y: Switch to gettext copyright.
42493 Use ANSI definitions and prototypes.
42494 Port to bison 3.0.
42495 * intl/textdomain.c: Switch to gettext copyright.
42496 Use ANSI definitions and prototypes.
42497 Use gl_* locking primitives rather than __libc_* ones.
42498
42499 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42500
42501 * debug/warning-nop.c: Add used atrribute.
42502
42503 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42504
42505 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42506
42507 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42508 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42509 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42510
42511 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42512 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42513
42514 [BZ #17634]
42515 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42516 Undefine after defining function. Define as weak alias of
42517 __wcschr. Use libc_hidden_weak.
42518 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42519 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42520 (libc_hidden_def): Also define __GI___wcschr alias.
42521 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42522 __wcschr and define as weak alias of __wcschr.
42523 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42524 __wcschr.
42525 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42526 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42527 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42528 libc_hidden_weak. Do not use libc_hidden_def.
42529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42530 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42531 __GI___wcschr alias.
42532 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42533 [IS_IN (libc)] (wcschr): Define as macro expanding to
42534 __redirect_wcschr.
42535 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42536 [IS_IN (libc)] (__wcschr_power6): Likewise.
42537 [IS_IN (libc)] (__wcschr_power7): Likewise.
42538 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42539 instead of wcschr.
42540 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42541 __libc_wcschr.
42542 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42543 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42544 __wcschr and define as weak alias of __wcschr. Use
42545 libc_hidden_builtin_def.
42546 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42547 as weak alias of __wcschr. Use libc_hidden_weak.
42548 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42549 wcschr.
42550 * time/era.c (_nl_init_era_entries): Likewise.
42551 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42552 variable.
42553 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42554 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42555
42556 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42557
42558 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42559 format for long int variable.
42560
42561 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42562
42563 [BZ #10672]
42564 * manual/search.texi: (Array Sort Function): Remove claim how to make
42565 qsort stable.
42566
42567 2014-12-10 Andreas Schwab <schwab@suse.de>
42568
42569 [BZ #12847]
42570 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42571 user-controlled locks.
42572
42573 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42574
42575 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42576 register.
42577
42578 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42579
42580 * configure.ac (--disable-werror): New configure option.
42581 (enable_werror): New AC_SUBST.
42582 * configure: Regenerated.
42583 * config.make.in (enable-werror): New variable.
42584 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42585 -Wno-error=undef.
42586 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42587 * manual/install.texi (Configuring and compiling): Document
42588 --disable-werror.
42589 * INSTALL: Regenerated.
42590 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42591 (CFLAGS-tst-chk2.c): Likewise.
42592 (CFLAGS-tst-chk3.c): Likewise.
42593 (CFLAGS-tst-chk4.cc): Likewise.
42594 (CFLAGS-tst-chk5.cc): Likewise.
42595 (CFLAGS-tst-chk6.cc): Likewise.
42596 (CFLAGS-tst-lfschk1.c): Likewise.
42597 (CFLAGS-tst-lfschk2.c): Likewise.
42598 (CFLAGS-tst-lfschk3.c): Likewise.
42599 (CFLAGS-tst-lfschk4.cc): Likewise.
42600 (CFLAGS-tst-lfschk5.cc): Likewise.
42601 (CFLAGS-tst-lfschk6.cc): Likewise.
42602
42603 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42604 (main): Disable -Wdeprecated-declarations around calls to
42605 register_printf_function.
42606
42607 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42608 (do_test): Disable -Wdiv-by-zero around some calls to
42609 fwrite_unlocked and fread_unlocked.
42610
42611 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42612 (DIAG_POP_NEEDS_COMMENT): Likewise.
42613 (_DIAG_STR1): Likewise.
42614 (_DIAG_STR): Likewise.
42615 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42616 * stdio-common/bug21.c: Include <libc-internal.h>.
42617 (do_test): Disable -Wformat around call to sscanf.
42618 * stdio-common/scanf14.c: Include <libc-internal.h>.
42619 (main): Disable -Wformat around some calls to scanf functions.
42620
42621 2014-12-09 Torvald Riegel <triegel@redhat.com>
42622
42623 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42624
42625 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42626
42627 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42628 stack variable alignment.
42629
42630 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42631
42632 [BZ #17682]
42633 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42634 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42635 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42636 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42637 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42638 __getrlimit instead of getrlimit.
42639 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42640 __gettimeofday instead of gettimeofday.
42641 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42642 Likewise.
42643 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42644 Likewise.
42645 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42646 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42647 Remove variable.
42648 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42649 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42650
42651 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42652
42653 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42654 for wide-character tests.
42655
42656 2014-12-04 Roland McGrath <roland@hack.frob.com>
42657
42658 * io/openat64.c: #include <libc-internal.h>
42659 (__openat64): Prototypify. Use ignore_value on MODE.
42660 * io/openat.c: Likewise.
42661 * misc/reboot.c: #include <libc-internal.h>
42662 (reboot): Prototypify. Use ignore_value on HOWTO.
42663 * misc/ptrace.c: #include <libc-internal.h>
42664 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42665
42666 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42667
42668 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42669 XPG4, UNIX98 and XOPEN2K.
42670 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42671 Remove variable.
42672 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42673
42674 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42675
42676 * libio/fileops.c: Use ISO C style for function definitions.
42677 * libio/iofopen.c: Likewise.
42678 * libio/wfileops.c: Likewise.
42679
42680 [BZ #17653]
42681 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42682 offset on EOF.
42683 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42684 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42685 (fgets_func): Function pointer to fgets and fgetws.
42686 (do_ftell_test): Add test to verify ftell value after read
42687 EOF.
42688 (do_test): Set fgets_func.
42689
42690 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42691 O_TRUNC flag for w and w+ modes.
42692 (do_rewind_test): Likewise.
42693 (do_ftell_test): Likewise.
42694 (do_write_test): Likewise.
42695
42696 [BZ #17647]
42697 * libio/fileops.c (do_ftell): Seek only when there are
42698 unflushed writes.
42699 * libio/wfileops.c (do_ftell_wide): Likewise.
42700 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42701 test case.
42702 (do_one_test): Call it.
42703
42704 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42705
42706 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42707 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42708 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42709 Remove variable.
42710 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42711 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42712 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42713
42714 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42715
42716 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42717 Remove variable.
42718 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42719
42720 [BZ #17668]
42721 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42722 as weak alias of __getifaddrs. Use libc_hidden_weak.
42723 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42724 __freeifaddrs. Use libc_hidden_weak.
42725 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42726 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42727 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42728 __freeifaddrs. Use libc_hidden_weak.
42729 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42730 __getifaddrs and define as weak alias of __getifaddrs. Use
42731 libc_hidden_weak.
42732 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42733 __freeifaddrs. Use libc_hidden_weak.
42734 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42735 Remove variable.
42736 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42737 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42738
42739 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42740
42741 [BZ #17601]
42742 * sysdeps/mips/start.S (__start): Use indirect jump to call
42743 __libc_start_main.
42744
42745 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42746
42747 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42748
42749 * nptl/tst-mutex1.c: Include <stdbool.h>.
42750 [!ATTR] (ATTR_NULL): New macro.
42751 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42752 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42753 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42754
42755 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42756 to char *.
42757
42758 [BZ #17665]
42759 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42760 Change conditional to [__USE_MISC].
42761
42762 [BZ #17664]
42763 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42764 fgets_unlocked.
42765 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42766 __fgets_unlocked.
42767 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42768 fgets_unlocked.
42769 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42770 Remove variable.
42771 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42772 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42773 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42774 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42775 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42776 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42777 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42778 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42779 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42780
42781 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42782
42783 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42784
42785 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42786 Remove strpbrk objects.
42787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42788 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42789 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42790 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42791 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42792 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42793
42794 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42795 Remove strcspn objects.
42796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42797 (__libc_ifunc_impl_list): Remove strcspn implementation.
42798 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42799 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42800 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42801 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42802
42803 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42804 Remove strspn objetcs.
42805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42806 (__libc_ifunc_impl_list): Remove strspn implementation.
42807 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42808 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42809 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42810 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42811
42812 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42813
42814 [BZ #17581]
42815 * malloc/hooks.c
42816 (mem2mem_check): Add a terminator to the chain of checking blocks.
42817 (malloc_check_get_size): Use it here.
42818 (mem2chunk_check): Ditto.
42819
42820 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42821
42822 * sysdeps/powerpc/powerpc64/strtok.S: New file.
42823 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42824
42825 2014-11-29 Carlos O'Donell <carlos@redhat.com>
42826
42827 * bits/ioctl-types.h: Indent preprocessor directives correctly.
42828
42829 * nptl/nptl-init.c: Include libc-internal.h.
42830 (__pthread_initialize_minimal_internal): Use ROUND_UP.
42831
42832 * elf/ldconfig.c (search_dir): Expand comment.
42833
42834 2014-11-29 Joseph Myers <joseph@codesourcery.com>
42835
42836 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42837 variable.
42838 (linknamespace-symlist-stdlibs-tests): Likewise.
42839 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42840 instead of $(objpfx)symlist-stdlibs.
42841 (linknamespace-libs-isoc): New variable.
42842 (linknamespace-libs): Use $(linknamespace-libs-isoc).
42843 (linknamespace-libs-ISO): New variable.
42844 (linknamespace-libs-ISO99): Likewise.
42845 (linknamespace-libs-ISO11): Likewise.
42846 (linknamespace-libs-XPG3): Likewise.
42847 (linknamespace-libs-XPG4): Likewise.
42848 (linknamespace-libs-POSIX): Likewise.
42849 (linknamespace-libs-UNIX98): Likewise.
42850 (linknamespace-libs-XOPEN2K): Likewise.
42851 (linknamespace-libs-POSIX2008): Likewise.
42852 (linknamespace-libs-XOPEN2K8): Likewise.
42853 ($(objpfx)symlist-stdlibs): Replace by
42854 $(linknamespace-symlist-stdlibs-tests). Use
42855 $(linknamespace-libs-$*) as set of libraries.
42856 ($(linknamespace-header-tests)): Update dependencies. Use
42857 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42858 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42859 * conform/linknamespace.pl: Remove comment about considering
42860 definitions of symbols from irrelevant libraries.
42861
42862 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
42863
42864 [BZ #13862]
42865 * elf/dl-tls.c: Include <atomic.h>.
42866 (oom): Remove #ifdef SHARED/#endif.
42867 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42868 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
42869 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42870 big enough.
42871 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42872 * nptl/Makefile (tests): Add tst-stack4.
42873 (modules-names): Add tst-stack4mod.
42874 ($(objpfx)tst-stack4): New.
42875 (tst-stack4mod.sos): Likewise.
42876 ($(objpfx)tst-stack4.out): Likewise.
42877 ($(tst-stack4mod.sos)): Likewise.
42878 (clean): Likewise.
42879 * nptl/tst-stack4.c: New file.
42880 * nptl/tst-stack4mod.c: Likewise.
42881
42882 2014-11-27 J. Brown <jb999@gmx.de>
42883
42884 * sysdeps/x86/bits/string.h: Add recent CPUs.
42885
42886 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42887
42888 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42889 sigblock.
42890
42891 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42892 feof.
42893
42894 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42895 variable.
42896
42897 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
42898
42899 * nscd/connections.c: Include libc-internal.h because of macro
42900 usage ignore_value.
42901
42902 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42903
42904 * string/bits/string3.h (__warn_memset_zero_len): Don't
42905 declare for gcc newer than 5.0.
42906 (memset): Don't test for zero-length __LEN for gcc newer than
42907 5.0.
42908
42909 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42910
42911 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42912 size_t for %zu format.
42913
42914 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42915 difference, not %ju.
42916
42917 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42918
42919 * include/libc-internal.h (ignore_value): New macro.
42920 * nscd/connections.c (restart): Wrap calls to setuid and setgid
42921 with ignore_value.
42922
42923 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42924 definition.
42925
42926 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42927 pthread_cleanup_push to void *.
42928
42929 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42930 Undefine.
42931
42932 [BZ #16619]
42933 [BZ #16740]
42934 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42935 instead of 1L << 52.
42936
42937 * libio/bug-rewind.c (do_test): Check fwscanf return values.
42938 * libio/bug-rewind2.c (do_test): Likewise.
42939
42940 * debug/test-stpcpy_chk-ifunc.c: Remove file.
42941 * debug/test-strcpy_chk-ifunc.c: Likewise.
42942 * wcsmbs/test-wcschr-ifunc.c: Likewise.
42943 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42944 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42945 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42946 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42947 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42948 * Rules [$(multi-arch) = no] (tests): Do not filter out
42949 $(tests-ifunc).
42950 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42951 * debug/Makefile (tests-ifunc): Remove variable.
42952 (tests): Do not add $(tests-ifunc).
42953 * wcsmbs/Makefile (tests-ifunc): Remove variable.
42954 (tests): Do not add $(tests-ifunc).
42955 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42956 [TEST_IFUNC]: Remove conditionals.
42957 * string/test-string.h (TEST_IFUNC): Remove macro.
42958 [TEST_IFUNC]: Remove conditionals.
42959
42960 * string/test-strchr.c [!WIDE] (L): New macro.
42961 [WIDE] (L): Likewise.
42962 (check1): Use CHAR instead of char. Use L on string and character
42963 constants.
42964
42965 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
42966
42967 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42968 tests.
42969 * sysdeps/powerpc/bits/atomic.h
42970 (__arch_atomic_exchange_and_add_32_acq): Add definition.
42971 (__arch_atomic_exchange_and_add_32_rel): Likewise.
42972 (atomic_exchange_and_add_acq): Likewise.
42973 (atomic_exchange_and_add_rel): Likewise.
42974 * sysdeps/powerpc/powerpc32/bits/atomic.h
42975 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42976 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42977 * sysdeps/powerpc/powerpc64/bits/atomic.h
42978 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42979 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42980
42981 2014-11-26 Torvald Riegel <triegel@redhat.com>
42982
42983 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42984 Change synchronization of __sched_fifo_min_prio and
42985 __sched_fifo_max_prio.
42986 * nptl/pthread_mutexattr_getprioceiling.c
42987 (pthread_mutexattr_getprioceiling): Likewise.
42988 * nptl/pthread_mutexattr_setprioceiling.c
42989 (pthread_mutexattr_setprioceiling): Likewise.
42990 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42991 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42992 Likewise.
42993
42994 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42995
42996 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42997 void.
42998
42999 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43000
43001 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43002 third argument const.
43003
43004 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43005
43006 fnmatch: work around GCC compiler warning bug with uninit var
43007 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43008 This works around a bug with x86-64 GCC 4.9.2 and earlier
43009 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43010 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43011 used uninitialized in this function [-Wmaybe-uninitialized]".
43012
43013 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43014
43015 * posix/bug-regex31.c (main): Return RES not 0.
43016
43017 2014-11-25 Anton Blanchard <anton@samba.org>
43018
43019 * sysdeps/powerpc/bits/atomic.h
43020 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43021
43022 2014-11-24 Sterling Augustine <saugustine@google.com>
43023
43024 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43025
43026 2014-11-24 Ryan Cumming <etaoins@gmail.com>
43027
43028 [BZ #17608]
43029 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43030
43031 2014-11-24 Joseph Myers <joseph@codesourcery.com>
43032
43033 [BZ #17633]
43034 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43035 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43036 variable.
43037 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43038 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43039
43040 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43041
43042 * string/strncpy.c (strncpy): Improve performance by using memset.
43043
43044 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43045
43046 * string/strcpy.c (strcpy):
43047 Improve performance by using strlen and memcpy.
43048
43049 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
43050
43051 * string/strcoll_l.c (get_next_seq): __always_inline.
43052 * string/strcoll_l.c (do_compare): __always_inline.
43053
43054 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43055
43056 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43057 defined.
43058 * include/mqueue.h: Likewise.
43059 * include/stdlib.h: Likewise.
43060
43061 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43062 (get_null_defines): Adjust.
43063 * sunrpc/Makefile: Adjust comment.
43064 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43065 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43066 (CFLAGS-interp.c): Likewise.
43067 (CFLAGS-ldconfig.c): Likewise.
43068 (CPPFLAGS-.os): Likewise.
43069 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43070 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43071 * extra-modules.mk (extra-modules.mk): Likewise.
43072 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43073 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43074 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43075 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43076 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43077 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43078 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43079 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43080 * iconvdata/Makefile (CPPFLAGS): Likewise.
43081 (cpp-srcs-left): Add libof for all iconvdata routines.
43082 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43083 * include/assert.h: Likewise.
43084 * include/ctype.h: Likewise.
43085 * include/errno.h: Likewise.
43086 * include/libc-symbols.h: Likewise.
43087 * include/math.h: Likewise.
43088 * include/netdb.h: Likewise.
43089 * include/resolv.h: Likewise.
43090 * include/stdio.h: Likewise.
43091 * include/stdlib.h: Likewise.
43092 * include/string.h: Likewise.
43093 * include/sys/stat.h: Likewise.
43094 * include/wctype.h: Likewise.
43095 * intl/l10nflist.c: Likewise.
43096 * libidn/idn-stub.c: Likewise.
43097 * libio/libioP.h: Likewise.
43098 * nptl/libc_multiple_threads.c: Likewise.
43099 * nptl/pthreadP.h: Likewise.
43100 * posix/regex_internal.h: Likewise.
43101 * resolv/res_hconf.c: Likewise.
43102 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43103 * sysdeps/arm/memmove.S: Likewise.
43104 * sysdeps/arm/sysdep.h: Likewise.
43105 * sysdeps/generic/_itoa.h: Likewise.
43106 * sysdeps/generic/symbol-hacks.h: Likewise.
43107 * sysdeps/gnu/errlist.awk: Likewise.
43108 * sysdeps/gnu/errlist.c: Likewise.
43109 * sysdeps/i386/i586/memcpy.S: Likewise.
43110 * sysdeps/i386/i586/memset.S: Likewise.
43111 * sysdeps/i386/i686/memcpy.S: Likewise.
43112 * sysdeps/i386/i686/memmove.S: Likewise.
43113 * sysdeps/i386/i686/mempcpy.S: Likewise.
43114 * sysdeps/i386/i686/memset.S: Likewise.
43115 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43116 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43117 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43118 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43119 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43120 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43121 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43122 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43123 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43125 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43126 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43127 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43128 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43129 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43130 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43131 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43132 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43133 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43134 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43135 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43136 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43137 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43138 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43139 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43140 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43141 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43142 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43144 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43145 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43146 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43148 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43149 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43151 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43152 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43155 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43156 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43157 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43158 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43161 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43162 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43163 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43164 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43165 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43166 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43167 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43168 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43169 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43170 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43171 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43172 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43173 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43174 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43175 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43176 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43177 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43178 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43179 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43180 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43181 * sysdeps/posix/closedir.c: Likewise.
43182 * sysdeps/posix/opendir.c: Likewise.
43183 * sysdeps/posix/readdir.c: Likewise.
43184 * sysdeps/posix/rewinddir.c: Likewise.
43185 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43186 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43187 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43188 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43189 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43190 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43191 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43193 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43195 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43196 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43197 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43198 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43199 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43200 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43201 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43202 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43203 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43204 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43205 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43206 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43207 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43208 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43210 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43212 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43213 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43220 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43221 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43222 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43223 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43224 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43225 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43226 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43227 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43228 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43229 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43230 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43231 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43232 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43233 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43234 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43235 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43236 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43237 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43238 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43239 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43240 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43241 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43242 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43243 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43244 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43245 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43246 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43247 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43248 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43249 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43250 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43251 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43252 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43253 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43254 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43255 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43256 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43257 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43258 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43259 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43261 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43262 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43263 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43264 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43265 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43266 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43267 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43268 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43269 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43270 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43271 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43272 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43273 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43274 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43275 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43276 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43277 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43281 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43283 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43284 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43286 * sysdeps/unix/alpha/sysdep.S: Likewise.
43287 * sysdeps/unix/alpha/sysdep.h: Likewise.
43288 * sysdeps/unix/make-syscalls.sh: Likewise.
43289 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43290 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43291 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43292 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43293 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43294 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43295 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43296 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43297 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43298 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43299 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43300 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43302 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43303 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43304 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43305 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43306 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43307 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43308 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43309 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43310 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43311 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43312 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43313 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43314 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43315 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43318 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43319 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43320 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43321 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43323 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43326 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43327 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43328 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43329 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43330 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43331 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43332 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43333 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43336 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43339 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43340 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43341 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43342 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43343 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43344 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43345 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43347 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43348 * sysdeps/x86_64/memcpy.S: Likewise.
43349 * sysdeps/x86_64/memmove.c: Likewise.
43350 * sysdeps/x86_64/memset.S: Likewise.
43351 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43352 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43353 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43354 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43355 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43356 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43357 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43358 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43359 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43360 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43361 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43362 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43363 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43364 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43365 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43366 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43367 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43368 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43369 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43370 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43371 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43372 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43375 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43376 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43377 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43378 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43379 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43380 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43381 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43382 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43383 * sysdeps/x86_64/strcmp.S: Likewise.
43384
43385 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43386
43387 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43388 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43389 * elf/rtld-Rules: Likewise.
43390 * elf/setup-vdso.h: Likewise.
43391 * include/assert.h: Likewise.
43392 * include/bits/stdlib-float.h: Likewise.
43393 * include/errno.h: Likewise.
43394 * include/sys/stat.h: Likewise.
43395 * include/unistd.h: Likewise.
43396 * sysdeps/aarch64/setjmp.S: Likewise.
43397 * sysdeps/alpha/setjmp.S: Likewise.
43398 * sysdeps/arm/__longjmp.S: Likewise.
43399 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43400 * sysdeps/arm/setjmp.S: Likewise.
43401 * sysdeps/arm/sysdep.h: Likewise.
43402 * sysdeps/generic/_itoa.h: Likewise.
43403 * sysdeps/generic/dl-sysdep.h: Likewise.
43404 * sysdeps/generic/ldsodefs.h: Likewise.
43405 * sysdeps/i386/dl-tls.h: Likewise.
43406 * sysdeps/i386/setjmp.S: Likewise.
43407 * sysdeps/m68k/setjmp.c: Likewise.
43408 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43409 * sysdeps/mach/hurd/opendir.c: Likewise.
43410 * sysdeps/posix/getcwd.c: Likewise.
43411 * sysdeps/posix/opendir.c: Likewise.
43412 * sysdeps/posix/profil.c: Likewise.
43413 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43414 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43415 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43416 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43417 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43418 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43419 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43420 * sysdeps/s390/dl-tls.h: Likewise.
43421 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43422 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43423 * sysdeps/sh/sh3/setjmp.S: Likewise.
43424 * sysdeps/sh/sh4/setjmp.S: Likewise.
43425 * sysdeps/unix/alpha/sysdep.h: Likewise.
43426 * sysdeps/unix/arm/sysdep.S: Likewise.
43427 * sysdeps/unix/i386/sysdep.S: Likewise.
43428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43429 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43430 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43431 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43433 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43434 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43435 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43436 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43437 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43438 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43439 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43440 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43443 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43444 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43445 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43446 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43447 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43448 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43451 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43452 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43453 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43455 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43456 * sysdeps/x86_64/setjmp.S: Likewise.
43457
43458 * include/math.h: Use IS_IN instead of IS_IN_libm.
43459 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43460 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43461 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43462 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43463 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43464 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43465 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43468 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43469 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43470 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43471 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43472 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43473 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43474 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43475 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43476 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43477 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43478 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43479 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43480 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43481 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43482 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43483 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43484 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43485 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43486 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43487 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43488 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43489 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43490 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43491 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43493 Likewise.
43494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43495 Likewise.
43496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43497 Likewise.
43498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43499 Likewise.
43500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43501 Likewise.
43502 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43503 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43504 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43505 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43506 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43507 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43513 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43514 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43515 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43516 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43518 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43519 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43520 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43521 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43522 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43523 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43524 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43525 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43526 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43528 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43529
43530 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43531 * nptl/pthreadP.h: Likewise.
43532 * nptl_db/structs.def: Likewise.
43533 * sysdeps/arm/sysdep.h: Likewise.
43534 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43535 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43536 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43537 * sysdeps/unix/alpha/sysdep.h: Likewise.
43538 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43539 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43540 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43541 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43542 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43543 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43545 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43546 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43547 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43548 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43549 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43550 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43551 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43555 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43556 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43559 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43560 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43561 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43562 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43563 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43564
43565 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43566 * nptl/pthreadP.h: Likewise.
43567 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43568 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43569 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43570 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43571 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43572 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43573 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43574 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43575 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43576 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43577 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43578 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43580 Likewise.
43581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43582 Likewise.
43583 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43585 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43588 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43589 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43590 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43591
43592 * dlfcn/dladdr.c: Use IS_IN.
43593 * dlfcn/dladdr1.c: Likewise.
43594 * dlfcn/dlclose.c: Likewise.
43595 * dlfcn/dlerror.c: Likewise.
43596 * dlfcn/dlinfo.c: Likewise.
43597 * dlfcn/dlmopen.c: Likewise.
43598 * dlfcn/dlopen.c: Likewise.
43599 * dlfcn/dlsym.c: Likewise.
43600 * dlfcn/dlvsym.c: Likewise.
43601
43602 * include/ifaddrs.h: Use IS_IN.
43603 * inet/check_pf.c: Likewise.
43604 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43605 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43606
43607 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43608 IS_IN_ldconfig.
43609 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43610 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43611
43612 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43613 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43614 IS_IN (libc).
43615
43616 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43617
43618 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43619 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43620 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43621 * include/libc-symbols.h (IS_IN_LIB): New macro.
43622 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43623 * include/netdb.h: Likewise.
43624 * include/stap-probe.h: Remove all uses of IN_LIB.
43625
43626 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43627 instead of IN_MODULE.
43628 * include/libc-symbols.h (IN_MODULE): Define using
43629 MODULE_NAME.
43630 (PASTE_NAME, PASTE_NAME1): New macros.
43631 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43632 of IN_LIB.
43633 (STAP_PROBE_ASM): Likewise.
43634
43635 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43636
43637 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43638 __mach_init in dlopened libc.
43639
43640 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43641
43642 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43643 * sysdeps/arm/preconfigure: Regenerate.
43644
43645 2014-11-21 Roland McGrath <roland@hack.frob.com>
43646
43647 * nptl/pthread_create.c (__pthread_create_2_1): Set
43648 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43649 when copying values from IATTR into PD.
43650
43651 2014-11-21 Will Newton <will.newton@linaro.org>
43652 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43653
43654 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43655 Refactor inline-asm. Also add comment.
43656
43657 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43658 ElfW macro instead of hardcoded Elf64 types.
43659 (la_aarch64_gnu_pltenter): Likewise.
43660 * sysdeps/aarch64/dl-machine.h
43661 (elf_machine_runtime_setup): Use ElfW(Addr).
43662
43663 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43664 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43665 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43666 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43667 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43668 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43669 (R_AARCH64_TLS_DTPMOD): This.
43670 (R_AARCH64_TLS_DTPREL64): Rename to ...
43671 (R_AARCH64_TLS_DTPREL): This.
43672 (R_AARCH64_TLS_TPREL64): Rename to ...
43673 (R_AARCH64_TLS_TPREL): This.
43674 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43675 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43676 R_AARCH64_TLS_TPREL64.
43677 (elf_machine_rela): Likewise.
43678
43679 2014-11-21 Torvald Riegel <triegel@redhat.com>
43680
43681 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43682 by setting it to 0. 64b atomics are not supported currently.
43683
43684 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43685
43686 [BZ #16469]
43687 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43688 search domain names.
43689
43690 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43691
43692 [BZ #16469]
43693 * NEWS: Update.
43694 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43695 trailing dot.
43696 * posix/tst-getaddrinfo5.c: New.
43697 * posix/Makefile (tests): Add it.
43698
43699 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43700
43701 [BZ #14498]
43702 * NEWS: Fixed.
43703 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43704 after parsing line but before break_if_match.
43705 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43706 if there is a protocol mismatch.
43707
43708 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43709
43710 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43711 because the potential race is on the user-supplied stream.
43712
43713 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43714
43715 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43716 string literal if not passed a buffer.
43717 * manual/job.texi (ctermid): Update reasoning, note deviation
43718 from posix, suggest mtasurace when not passed a buffer, for
43719 future non-preliminary safety notes.
43720
43721 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43722
43723 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43724 of not passing it a buffer.
43725 Reported by Peng Haitao.
43726
43727 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43728
43729 * manual/Makefile ($(objpfx)stamp-summary): Require
43730 check-safety.sh to pass.
43731 * manual/check-safety.sh: Wish for verification that every
43732 @deftypefn and @deftypefun is followed by a @safety remark.
43733
43734 2014-11-20 Roland McGrath <roland@hack.frob.com>
43735
43736 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43737
43738 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43739 PTHREAD_CANCEL_ASYNCHRONOUS.
43740 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43741 send SIGCANCEL.
43742
43743 * nptl/default-sched.h: New file.
43744 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43745 * nptl/pthread_create.c: Include it.
43746 (__pthread_create_2_1): Use collect_default_sched instead of making
43747 Linux syscalls here directly.
43748
43749 2014-11-20 Torvald Riegel <triegel@redhat.com>
43750
43751 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43752 __pthread_once): Use C11 atomics.
43753
43754 2014-11-20 Torvald Riegel <triegel@redhat.com>
43755
43756 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43757
43758 2014-11-20 Torvald Riegel <triegel@redhat.com>
43759
43760 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43761 atomic_thread_fence_acquire, atomic_thread_fence_release,
43762 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43763 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43764 atomic_compare_exchange_weak_relaxed,
43765 atomic_compare_exchange_weak_acquire,
43766 atomic_compare_exchange_weak_release,
43767 atomic_exchange_acquire, atomic_exchange_release,
43768 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43769 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43770 atomic_fetch_and_acquire,
43771 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43772
43773 2014-11-20 Torvald Riegel <triegel@redhat.com>
43774
43775 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43776 USE_ATOMIC_COMPILER_BUILTINS): Define.
43777 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43778 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43779 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43780 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43781 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43782 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43783 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43784 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43785 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43786 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43787 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43788 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43789 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43790 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43791 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43792 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43793 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43794 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43795 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43796 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43797 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43798 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43799 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43800 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43801 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43802 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43803 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43804 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43805 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43806 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43807 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43808 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43809 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43810 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43811 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43812 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43813 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43814 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43815 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43816 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43817
43818 2014-11-19 Roland McGrath <roland@hack.frob.com>
43819
43820 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43821 the sched_priority value here. It was already checked when the user
43822 called pthread_attr_setschedparam.
43823
43824 * nptl/tst-bad-schedattr.c: New file.
43825 * nptl/Makefile (tests): Add it.
43826
43827 2014-11-19 Carlos O'Donell <carlos@redhat.com>
43828 Florian Weimer <fweimer@redhat.com>
43829 Joseph Myers <joseph@codesourcery.com>
43830 Adam Conrad <adconrad@0c3.net>
43831 Andreas Schwab <schwab@suse.de>
43832 Brooks <bmoses@google.com>
43833
43834 [BZ #17625]
43835 * wordexp-test.c (__dso_handle): Add prototype.
43836 (__register_atfork): Likewise.
43837 (__app_register_atfork): New function.
43838 (registered_forks): New global.
43839 (register_fork): New function.
43840 (test_case): Add 3 new tests for WRDE_CMDSUB.
43841 (main): Call __app_register_atfork.
43842 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43843 fork count is non-zero fail the test.
43844 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43845 is set.
43846 (parse_dollars): Remove check for WRDE_NOCMD.
43847 (parse_dquote): Likewise.
43848
43849 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43850
43851 * Makeconfig (built-modules): List non-library modules to be
43852 built.
43853 (module-cppflags): Include libc-modules.h for
43854 everything except shlib-versions.v.i.
43855 (CPPFLAGS): Use it.
43856 (before-compile): Add libc-modules.h.
43857 ($(common-objpfx)libc-modules.h,
43858 $(common-objpfx)libc-modules.stmp): New targets.
43859 (common-generated): Add libc-modules.h and libc-modules.stmp.
43860 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43861 * include/libc-symbols.h: Don't include libc-modules.h.
43862 * include/libc-modules.h: Remove file.
43863 * scripts/gen-libc-modules.awk: New script to generate
43864 libc-modules.h.
43865 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43866 Depend on libc-modules.stmp.
43867
43868 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43869
43870 * Makeconfig (in-module): Get value of libof set for the
43871 translation unit.
43872 (CPPFLAGS): Use $(in-module).
43873 * Makerules: Don't suffix routine names for nonlib.
43874 * include/libc-modules.h: New file.
43875 * include/libc-symbols.h: Include libc-modules.h
43876 (IS_IN): New macro to replace IS_IN_* macros.
43877 * elf/Makefile: Set libof-* for each routine.
43878 * elf/rtld-Rules: Likewise.
43879 * extra-modules.mk: Likewise.
43880 * iconv/Makefile: Likewise.
43881 * iconvdata/Makefile: Likewise.
43882 * locale/Makefile: Likewise.
43883 * malloc/Makefile: Likewise.
43884 * nss/Makefile: Likewise.
43885 * sysdeps/gnu/Makefile: Likewise.
43886 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43887 * sysdeps/unix/sysv/linux/Makefile: Likewise.
43888 * sysdeps/s390/s390-64/Makefile: Likewise.
43889 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
43890 CPPFLAGS for nscd instead of nonlib.
43891
43892 2014-11-18 Roland McGrath <roland@hack.frob.com>
43893
43894 * nptl/createthread.c: New file.
43895
43896 * nptl/createthread.c: Moved ...
43897 * sysdeps/unix/sysv/linux/createthread.c: ... here.
43898
43899 * nptl/createthread.c: Add proper top-line comment.
43900 (do_clone): Folded into ...
43901 (create_thread): ... here. Take new arguments STOPPED_START and
43902 THREAD_RAN. Always set PD->stopped_start to something here. Don't
43903 increment __nptl_threads, do event-reporting logic, do
43904 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43905 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
43906 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43907 just send SIGCANCEL.
43908 * nptl/pthread_create.c: Forward-declare create_thread before
43909 including createthread.c.
43910 (start_thread): Use new macro START_THREAD_DEFN to replace defining
43911 declaration, and new macro START_THREAD_SELF to replace argument.
43912 Remove return statement.
43913 (report_thread_creation): New function.
43914 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
43915 synchronization logic, and __nptl_nthreads increment here, around
43916 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
43917 PD->parent_cancelhandling here, before create_thread. When
43918 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43919 __deallocate_stack, and ENOMEM translation here.
43920
43921 2014-11-18 Joseph Myers <joseph@codesourcery.com>
43922
43923 [BZ #17616]
43924 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43925 (mptwo): Rename to __mptwo.
43926 (__inv): Use __mptwo instead of mptwo.
43927 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43928 (mptwo): Rename to __mptwo.
43929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43930 of mpone and __mptwo instead of mptwo.
43931 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43932 instead of mpone.
43933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43934 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43935 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43936 of mpone and __mptwo instead of mptwo.
43937 (__mpranred): Use __mpone instead of mpone.
43938 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43939 variable.
43940 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43941 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43942 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43943 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43944 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43945 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43946 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43947 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43948 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43949 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43950 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43951 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43952 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43953 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43954 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43955 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43956 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43957 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43958 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43959
43960 2014-11-18 Tom de Vries <tom@codesoucery.com>
43961
43962 * manual/signal.texi (Primitives Interrupted by Signals): In section,
43963 replace BSD Handler xref with BSD Signal Handling.
43964
43965 2014-11-17 Richard Henderson <rth@redhat.com>
43966
43967 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43968 (_FP_PACK_RAW_2): Remove.
43969 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43970 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43971 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43972 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43973 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43974 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43975 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43976 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43977 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43978 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43979 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43980 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43981 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43982 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43983 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43984 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43985
43986 2014-11-14 Roland McGrath <roland@hack.frob.com>
43987
43988 * signal/signal.h [__USE_MISC]
43989 (struct sigvec): Remove type.
43990 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43991 (sigvec): Remove declaration.
43992 * sysdeps/posix/sigvec.c: Moved ...
43993 * signal/sigvec.c: ... here, replacing old file.
43994 (struct sigvec): New type, copied from old signal.h definition.
43995 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43996 (__sigvec): Convert definition to prototype.
43997 (sigvec): Replace weak_alias with compat_symbol.
43998 * signal/Versions (libc: GLIBC_2.21): New version set.
43999 * include/signal.h: Remove __sigvec declaration.
44000 * sysdeps/unix/bsd/sigvec.c: Remove file.
44001 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44002 * manual/signal.texi (BSD Handler): Remove subsection.
44003 Move siginterrupt up to ...
44004 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44005 (Blocking in BSD): Fold subsection into its parent.
44006 * NEWS: Mention sigvec removal.
44007
44008 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44009
44010 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44011 (DLA_FMS): Make definition conditional only on [__FMA4__].
44012 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44013 definition.
44014
44015 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44016 Make definition conditional only on [PROF].
44017 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44018 definition.
44019 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44020 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44021
44022 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44023 !__GNUC__].
44024 * include/signal.h (__sigpause): Move declaration above call to
44025 libc_hidden_proto.
44026 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44027 variable.
44028 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44029 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44030
44031 2014-11-14 David S. Miller <davem@davemloft.net>
44032
44033 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44034 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44035
44036 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44037
44038 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44039 * configure: Regenerated.
44040 * manual/install.texi (Tools for Compilation): Document a
44041 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44042 compiler verified to work.
44043 * INSTALL: Regenerated.
44044
44045 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44046 redeclare with asm name.
44047 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44048 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44049 including <string.h>.
44050 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44051 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44052 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44053 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44054 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44055 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44056 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44057
44058 2014-11-13 Joseph Myers <joseph@codesourcery.com>
44059
44060 * stdlib/strtol.c (__strtol): Use prototype definition.
44061
44062 [BZ #17594]
44063 * stdlib/strtol.c (SYM__): New macro.
44064 (SYM__1): Likewise.
44065 (__strtol): Likewise.
44066 (strtol): Rename to __strtol and define as weak alias of
44067 __strtol. Use libc_hidden_weak.
44068
44069 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44070
44071 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44072 Use numbered labels in inline assembly.
44073
44074 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44075
44076 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44077 Add setjmp LIBC_PROBE.
44078 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44079 Likewise.
44080 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44081 Add longjmp, longjmp_target LIBC_PROBE.
44082 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44083 Likewise.
44084
44085 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44086
44087 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44088 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44089 to get rid of unused variable warning.
44090
44091 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44092
44093 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44094 Check for unwind_backtrace == NULL only in SHARED case.
44095 (__backchain_backtrace): Compile only in SHARED case.
44096 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44097 Likewise.
44098 (__backchain_backtrace): Declare as static.
44099
44100 2014-11-12 Roland McGrath <roland@hack.frob.com>
44101
44102 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44103 (__libc_multiple_threads_ptr): Variable moved ...
44104 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44105
44106 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44107
44108 * conform/GlibcConform.pm: New file.
44109 * conform/conformtest.pl: Use GlibcConform module.
44110 * conform/linknamespace.pl: New file.
44111 * conform/list-header-symbols.pl: Likewise.
44112 * conform/Makefile (linknamespace-symlists-base): New variable.
44113 (linknamespace-symlists-tests): Likewise.
44114 (linknamespace-header-base): Likewise.
44115 (linknamespace-header-tests): Likewise.
44116 (tests-special): Add new tests.
44117 ($(linknamespace-symlists-tests)): New rule.
44118 (linknamespace-libs): New variable.
44119 ($(objpfx)symlist-stdlibs): New rule.
44120 ($(linknamespace-header-tests)): Likewise.
44121 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44122 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44123 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44124 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44125 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44126 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44127 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44128 (test-xfail-ISO/math.h/linknamespace): Likewise.
44129 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44130 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44131 (test-xfail-ISO/time.h/linknamespace): Likewise.
44132 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44133 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44134 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44135 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44136 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44137 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44138 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44139 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44140 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44141 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44142 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44143 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44144 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44145 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44146 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44147 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44148 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44149 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44150 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44151 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44152 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44153 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44154 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44155 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44156 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44157 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44158 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44159 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44160 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44161 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44162 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44163 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44164 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44165 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44166 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44167 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44168 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44169 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44170 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44171 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44172 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44173 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44174 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44175 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44176 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44177 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44178 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44179 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44180 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44181 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44182 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44183 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44184 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44185 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44186 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44187 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44188 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44189 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44190 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44191 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44192 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44193 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44194 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44195 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44196 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44197 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44198 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44199 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44200 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44201 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44202 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44203 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44204 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44205 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44206 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44207 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44208 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44209 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44210 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44211 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44212 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44213 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44214 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44215 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44216 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44217 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44218 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44219 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44220 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44221 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44222 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44223 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44224 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44225 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44226 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44227 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44228 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44229 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44230 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44231 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44232 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44233 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44234 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44235 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44236 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44237 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44238 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44239 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44240 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44241 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44242 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44243 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44244 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44245 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44246 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44247 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44248 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44249 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44250 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44251 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44252 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44253 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44254 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44255 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44256 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44257 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44258 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44259 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44260 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44261 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44262 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44263 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44264 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44265 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44266 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44267 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44268 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44269 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44270 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44271 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44272 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44273 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44274 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44275 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44276 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44277 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44278 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44279 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44280 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44281 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44282
44283 [BZ #17589]
44284 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44285 of fgets_unlocked.
44286
44287 [BZ #17585]
44288 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44289 (memmem): Rename to __memmem and define as weak alias of
44290 __memmem. Use libc_hidden_weak.
44291 (__memmem): Use libc_hidden_def.
44292 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44293 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44294 memmem.
44295
44296 [BZ #17582]
44297 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44298 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44299 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44300 and define as weak alias of __fgets_unlocked. Use
44301 libc_hidden_weak.
44302 (__fgets_unlocked): Use libc_hidden_def.
44303 * include/stdio.h (__fgets_unlocked): Declare. Use
44304 libc_hidden_proto.
44305 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44306 __fgets_unlocked instead of fgets_unlocked.
44307 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44308 (GET_NPROCS_CONF_PARSER): Likewise.
44309 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44310 (GET_NPROCS_CONF_PARSER): Likewise.
44311
44312 [BZ #17574]
44313 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44314 weak alias of __wmemset. Use libc_hidden_weak.
44315 (__wmemset): Use libc_hidden_def.
44316 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44317 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44318 of wmemset.
44319
44320 [BZ #17573]
44321 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44322 with asm name __mempcpy.
44323 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44324
44325 [BZ #17572]
44326 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44327 and define as weak alias of __rawmemchr.
44328 (__rawmemchr): Do not define as strong alias of rawmemchr.
44329
44330 [BZ #17571]
44331 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44332 alias of __qsort_r.
44333 (qsort): Call __qsort_r instead of qsort_r.
44334 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44335 (__qsort_r): Declare. Call libc_hidden_proto.
44336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44337 instead of qsort_r.
44338 * nscd/gai.c (__qsort_r): Define to qsort_r.
44339 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44340 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44341 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44342
44343 [BZ #17570]
44344 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44345 define as weak alias of __malloc_info.
44346
44347 [BZ #17584]
44348 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44349 as weak alias of __rewinddir. Don't use libc_hidden_def.
44350 (__rewinddir): Use libc_hidden_def.
44351 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44352 as weak alias of __rewinddir. Don't use libc_hidden_def.
44353 (__rewinddir): Use libc_hidden_def.
44354 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44355 weak alias of __rewinddir. Don't use libc_hidden_def.
44356 (__rewinddir): Use libc_hidden_def.
44357 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44358 (__rewinddir): Use libc_hidden_proto.
44359 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44360 rewinddir.
44361 (__getcwd): Use __rewinddir instead of rewinddir.
44362
44363 [BZ #17583]
44364 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44365 alias of __fileno. Use libc_hidden_weak.
44366 (__fileno): Use libc_hidden_def.
44367 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44368 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44369 alias of __ftello.
44370 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44371 __ftello.
44372 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44373 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44374 libc_hidden_def.
44375 (fread_unlocked): Don't use libc_hidden_ver.
44376 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44377 and define as weak alias of __fread_unlocked. Don't use
44378 libc_hidden_def.
44379 (__fread_unlocked): Use libc_hidden_def.
44380 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44381 (ftello): Don't use libc_hidden_proto.
44382 (__ftello): Declare. Use libc_hidden_proto.
44383 (fread_unlocked): Don't use libc_hidden_proto.
44384 (__fread_unlocked): Declare. Use libc_hidden_proto.
44385 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44386 and __ftello instead of fileno, fread_unlocked and ftello.
44387
44388 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44389
44390 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44391 GOT12.
44392 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44393 Likewise.
44394 (_dl_start_user): Likewise.
44395 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44396
44397 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44398 Siddhesh Poyarekar <siddhesh@redhat.com>
44399
44400 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44401 Move argv and envp down instead of moving argc up.
44402 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44403
44404 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44405
44406 [BZ #17506]
44407 * test-skeleton.c (main): Return successful if one of
44408 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44409 * string/tst-strcoll-overflow.c: Define expected status.
44410
44411 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44412
44413 [BZ #17475]
44414 * locale/iso-639.def: Define Bhili and Tulu language codes.
44415
44416 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44417
44418 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44419
44420 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44421
44422 [BZ #17555]
44423 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44424
44425 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44426
44427 * configure.ac: Updated check of minimal required version to
44428 2.22.
44429 * manual/install.texi (Tools for Compilation): Updated version
44430 number.
44431 * configure: Regenerated.
44432 * INSTALL: Likewise.
44433
44434 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44435
44436 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44437 __tls_get_addr.
44438
44439 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44440
44441 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44442 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44443 (__waitpid): Don't define as alias. Use libc_hidden_def not
44444 libc_hidden_weak.
44445 (waitpid): Define as alias of __waitpid.
44446 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44447 __waitpid.
44448 (__waitpid): Don't define as alias. Use libc_hidden_def not
44449 libc_hidden_weak.
44450 (waitpid): Define as alias of __waitpid.
44451 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44452 __libc_waitpid alias.
44453 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44454 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44455 Likewise.
44456 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44457 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44458 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44459 alias.
44460 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44461 __waitpid.
44462 (__waitpid): Don't define as alias. Use libc_hidden_def not
44463 libc_hidden_weak.
44464 (waitpid): Define as alias of __waitpid.
44465
44466 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44467
44468 * manual/llio.texi: Add comment that write safety has been
44469 fixed in Linux.
44470
44471 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44472 (localplt-build-dso): Add elf/ld.so.
44473 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44474 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44475 and free for ld.so.
44476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44477 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44479 Likewise.
44480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44481 Likewise.
44482 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44483 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44484 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44485 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44486 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44487 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44488 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44489 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44490 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44491 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44492 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44493
44494 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44495
44496 [BZ #14132]
44497 * include/libc-symbols.h (INTUSE): Remove macro.
44498 (INTDEF): Likewise.
44499 (INTVARDEF): Likewise.
44500 (_INTVARDEF): Likewise.
44501 (INTDEF2): Likewise.
44502 (INTVARDEF2): Likewise.
44503 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44504 rtld_hidden_def instead of INTVARDEF.
44505 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44506 (_dl_starting_up_internal): Remove declaration.
44507 (_dl_starting_up): Use rtld_hidden_proto.
44508 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44509 declaration.
44510 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44511 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44512 _dl_starting_up.
44513 * elf/dl-writev.h (_dl_writev): Likewise.
44514 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44515 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44516 _dl_starting_up_internal.
44517
44518 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44519
44520 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44521 test-skeleton.c.
44522
44523 2014-11-05 Will Newton <will.newton@linaro.org>
44524
44525 * benchtests/Makefile: (bench-malloc): Add malloc thread
44526 scalability benchmark.
44527 * benchtests/bench-malloc-threads.c: New file.
44528
44529 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44530
44531 * sysdeps/aarch64/strchrnul.S: New file.
44532
44533 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44534
44535 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44536 definition.
44537 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44538 Likewise.
44539 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44540 Likewise.
44541 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44542 Likewise.
44543 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44544 Likewise.
44545 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44546 Likewise.
44547
44548 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44549
44550 * catgets/test-gencat.c: Use test-skeleton.c.
44551 * catgets/tst-catgets.c: Likewise.
44552 * csu/tst-empty.c: Likewise.
44553 * elf/tst-audit2.c: Likewise.
44554 * elf/tst-global1.c: Likewise.
44555 * elf/tst-pathopt.c: Likewise.
44556 * elf/tst-piemod1.c: Likewise.
44557 * elf/tst-tls10.c: Likewise.
44558 * elf/tst-tls11.c: Likewise.
44559 * elf/tst-tls12.c: Likewise.
44560 * gnulib/tst-gcc.c: Likewise.
44561 * iconvdata/tst-e2big.c: Likewise.
44562 * iconvdata/tst-loading.c: Likewise.
44563 * iconv/tst-iconv1.c: Likewise.
44564 * iconv/tst-iconv2.c: Likewise.
44565 * inet/test-inet6_opt.c: Likewise.
44566 * inet/tst-gethnm.c: Likewise.
44567 * inet/tst-network.c: Likewise.
44568 * inet/tst-ntoa.c: Likewise.
44569 * intl/tst-codeset.c: Likewise.
44570 * intl/tst-gettext2.c: Likewise.
44571 * intl/tst-gettext3.c: Likewise.
44572 * intl/tst-ngettext.c: Likewise.
44573 * intl/tst-translit.c: Likewise.
44574 * io/test-stat.c: Likewise.
44575 * libio/test-fmemopen.c: Likewise.
44576 * libio/tst-freopen.c: Likewise.
44577 * libio/tst-sscanf.c: Likewise.
44578 * libio/tst-ungetwc1.c: Likewise.
44579 * libio/tst-ungetwc2.c: Likewise.
44580 * libio/tst-widetext.c: Likewise.
44581 * localedata/tst-ctype.c: Likewise.
44582 * localedata/tst-digits.c: Likewise.
44583 * localedata/tst-leaks.c: Likewise.
44584 * localedata/tst-mbswcs1.c: Likewise.
44585 * localedata/tst-mbswcs2.c: Likewise.
44586 * localedata/tst-mbswcs3.c: Likewise.
44587 * localedata/tst-mbswcs4.c: Likewise.
44588 * localedata/tst-mbswcs5.c: Likewise.
44589 * localedata/tst-setlocale.c: Likewise.
44590 * localedata/tst-trans.c: Likewise.
44591 * localedata/tst-wctype.c: Likewise.
44592 * localedata/tst-xlocale1.c: Likewise.
44593 * login/tst-grantpt.c: Likewise.
44594 * malloc/tst-calloc.c: Likewise.
44595 * malloc/tst-malloc.c: Likewise.
44596 * malloc/tst-mallocstate.c: Likewise.
44597 * malloc/tst-mcheck.c: Likewise.
44598 * malloc/tst-mtrace.c: Likewise.
44599 * malloc/tst-obstack.c: Likewise.
44600 * math/atest-exp2.c: Likewise.
44601 * math/atest-exp.c: Likewise.
44602 * math/atest-sincos.c: Likewise.
44603 * math/test-matherr.c: Likewise.
44604 * math/test-misc.c: Likewise.
44605 * math/test-powl.c: Likewise.
44606 * math/tst-definitions.c: Likewise.
44607 * misc/tst-dirname.c: Likewise.
44608 * misc/tst-efgcvt.c: Likewise.
44609 * misc/tst-fdset.c: Likewise.
44610 * misc/tst-hsearch.c: Likewise.
44611 * misc/tst-mntent2.c: Likewise.
44612 * nptl/tst-sem7.c: Likewise.
44613 * nptl/tst-sem8.c: Likewise.
44614 * nptl/tst-sem9.c: Likewise.
44615 * nss/test-netdb.c: Likewise.
44616 * posix/tst-fnmatch.c: Likewise.
44617 * posix/tst-getlogin.c: Likewise.
44618 * posix/tst-gnuglob.c: Likewise.
44619 * posix/tst-mmap.c: Likewise.
44620 * pwd/tst-getpw.c: Likewise.
44621 * resolv/tst-inet_ntop.c: Likewise.
44622 * rt/tst-timer.c: Likewise.
44623 * stdio-common/test-fseek.c: Likewise.
44624 * stdio-common/test-popen.c: Likewise.
44625 * stdio-common/test-vfprintf.c: Likewise.
44626 * stdio-common/tst-cookie.c: Likewise.
44627 * stdio-common/tst-fileno.c: Likewise.
44628 * stdio-common/tst-gets.c: Likewise.
44629 * stdio-common/tst-obprintf.c: Likewise.
44630 * stdio-common/tst-perror.c: Likewise.
44631 * stdio-common/tst-sprintf2.c: Likewise.
44632 * stdio-common/tst-sprintf3.c: Likewise.
44633 * stdio-common/tst-sprintf.c: Likewise.
44634 * stdio-common/tst-swprintf.c: Likewise.
44635 * stdio-common/tst-tmpnam.c: Likewise.
44636 * stdio-common/tst-unbputc.c: Likewise.
44637 * stdio-common/tst-wc-printf.c: Likewise.
44638 * stdlib/tst-environ.c: Likewise.
44639 * stdlib/tst-fmtmsg.c: Likewise.
44640 * stdlib/tst-limits.c: Likewise.
44641 * stdlib/tst-rand48-2.c: Likewise.
44642 * stdlib/tst-rand48.c: Likewise.
44643 * stdlib/tst-random2.c: Likewise.
44644 * stdlib/tst-random.c: Likewise.
44645 * stdlib/tst-strtol.c: Likewise.
44646 * stdlib/tst-strtoll.c: Likewise.
44647 * stdlib/tst-tls-atexit.c: Likewise.
44648 * stdlib/tst-xpg-basename.c: Likewise.
44649 * string/test-ffs.c: Likewise.
44650 * string/tst-bswap.c: Likewise.
44651 * string/tst-inlcall.c: Likewise.
44652 * string/tst-strtok.c: Likewise.
44653 * string/tst-strxfrm.c: Likewise.
44654 * sysdeps/x86_64/tst-audit10.c: Likewise.
44655 * sysdeps/x86_64/tst-audit3.c: Likewise.
44656 * sysdeps/x86_64/tst-audit4.c: Likewise.
44657 * sysdeps/x86_64/tst-audit5.c: Likewise.
44658 * time/tst-ftime_l.c: Likewise.
44659 * time/tst-getdate.c: Likewise.
44660 * time/tst-mktime3.c: Likewise.
44661 * time/tst-mktime.c: Likewise.
44662 * time/tst-posixtz.c: Likewise.
44663 * time/tst-strptime2.c: Likewise.
44664 * time/tst-strptime3.c: Likewise.
44665 * wcsmbs/tst-btowc.c: Likewise.
44666 * wcsmbs/tst-mbrtowc.c: Likewise.
44667 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44668 * wcsmbs/tst-wchar-h.c: Likewise.
44669 * wcsmbs/tst-wcpncpy.c: Likewise.
44670 * wcsmbs/tst-wcrtomb.c: Likewise.
44671 * wcsmbs/tst-wcsnlen.c: Likewise.
44672 * wcsmbs/tst-wcstof.c: Likewise.
44673
44674 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44675
44676 [BZ #14132]
44677 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44678 INTDEF.
44679 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44680 declaration.
44681 (_dl_mcount): Use rtld_hidden_proto.
44682 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44683 _dl_mcount.
44684 * elf/rtld.c (_rtld_global_ro): Likewise.
44685
44686 [BZ #14132]
44687 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44688 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44689 of _dl_init_internal.
44690 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44691 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44692 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44693 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44694 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44695 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44696 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44697 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44698 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44699 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44700 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44701 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44702 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44703 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44704 * sysdeps/tile/dl-start.S (_start): Likewise.
44705 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44706 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44707
44708 [BZ #14132]
44709 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44710 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44711 (rtld_progname): Make macro definition unconditional.
44712 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44713 INTDEF.
44714 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44715 (dl_main): Likewise.
44716 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44717 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44718 instead of _dl_argv_internal.
44719 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44720 __GI__dl_argv instead of INTUSE(_dl_argv).
44721 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44722 __GI__dl_argv instead of _dl_argv_internal.
44723
44724 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44725 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44726 macro.
44727 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44728 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44729 New macro.
44730 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44731 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44732 macro.
44733 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44734 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44735
44736 2014-11-04 Andreas Schwab <schwab@suse.de>
44737
44738 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44739
44740 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44741
44742 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44743 mtvsrd instruction in binary form.
44744
44745 2014-11-03 Andreas Schwab <schwab@suse.de>
44746
44747 [BZ #17522]
44748 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44749 for less than MB_LEN_MAX use a local buffer of that size.
44750 * libio/tst-fputws.c: New file.
44751 * libio/Makefile (tests): Add tst-fputws.
44752
44753 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44754
44755 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44756 the size of the fpu_fr.fpu_dregs[] array.
44757
44758 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44759
44760 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44761 (__nanosleep): Do not define as alias.
44762 (nanosleep): Define as alias of __nanosleep.
44763 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44764 __libc_nanosleep name.
44765
44766 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44767
44768 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44769 install.texi in comment.
44770
44771 2014-10-31 Torvald Riegel <triegel@redhat.com>
44772
44773 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44774 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44775 ... add here and use lwsync or sync ...
44776 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44777 ... and add here using lwsync.
44778
44779 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44780
44781 * elf/dl-machine-reject-phdr.h: New file.
44782 * elf/dl-load.c: #include that.
44783 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44784 if that returned true.
44785
44786 2014-10-31 Roland McGrath <roland@hack.frob.com>
44787
44788 [BZ #17496]
44789 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44790 gen-as-const-headers chunk. Add a big scare comment after the last
44791 safe place to touch before-compile.
44792
44793 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44794
44795 * manual/install.texi (Tools for Compilation): Update autoconf
44796 version requirements.
44797 * INSTALL: Regenerated.
44798
44799 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44800 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44801 (__libc_pselect): Likewise.
44802
44803 [BZ #14138]
44804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44808
44809 2014-10-31 Torvald Riegel <triegel@redhat.com>
44810
44811 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44812 correct barrier instruction.
44813 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44814 Likewise.
44815 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44816 Likewise.
44817
44818 2014-10-30 Roland McGrath <roland@hack.frob.com>
44819
44820 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44821 after defining inlines. Instead, just use parens to defeat macro
44822 expansion of __isctype in its declaration.
44823
44824 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44825
44826 * include/sys/uio.h (__libc_readv): Remove declaration.
44827 (__libc_writev): Likewise.
44828 * misc/readv.c (__libc_readv): Rename to __readv.
44829 (__readv): Do not define as alias.
44830 (readv): Define as alias of __readv.
44831 * misc/writev.c (__libc_writev): Rename to __writev.
44832 (__writev): Do not define as alias.
44833 (writev): Define as alias of __writev.
44834 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44835 (__readv): Do not define as alias.
44836 (readv): Define unconditionally as alias of __readv.
44837 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44838 (__writev): Do not define as alias.
44839 (writev): Define unconditionally as alias of __writev.
44840 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44841 name.
44842 (writev): Do not define __libc_writev name.
44843
44844 2014-10-30 Roland McGrath <roland@hack.frob.com>
44845
44846 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44847 (convert_charseq): New function, broken out of ...
44848 (use_from_charmap): ... here. Call it.
44849 (use_to_charmap): Use convert_charseq and free instead of duplicating
44850 its code with a variable-length stack struct.
44851
44852 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44853
44854 * include/fcntl.h (__libc_creat): Remove declaration.
44855 * io/creat.c (__libc_creat): Rename to creat.
44856 (creat): Do not define as alias.
44857 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44858 of creat instead of __libc_creat.
44859 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44860 to creat.
44861 (creat): Do not define as alias.
44862 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44863 __libc_creat.
44864 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44865 __libc_creat name.
44866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44867 Likewise.
44868
44869 2014-10-29 Carlos O'Donell <carlos@redhat.com>
44870
44871 * manual/llio.texi: Add comments discussing why write() may be
44872 considered MT-unsafe on Linux.
44873
44874 2014-10-28 Carlos O'Donell <carlos@redhat.com>
44875
44876 * dl-load.c (local_strdup): Remove.
44877 (expand_dynamic_string_token): Use __strdup.
44878 (decompose_rpath): Likewise.
44879 (_dl_map_object): Likewise.
44880
44881 2014-10-28 Joseph Myers <joseph@codesourcery.com>
44882
44883 [BZ #14132]
44884 * sysdeps/generic/unwind-dw2-fde.c
44885 (__register_frame_info_bases_internal): Do not declare.
44886 (__register_frame_info_table_bases_internal): Likewise.
44887 (__deregister_frame_info_bases_internal): Likewise.
44888 (__register_frame_info_bases): Declare and use hidden_proto before
44889 definition. Use hidden_def instead of INTDEF.
44890 (__register_frame_info_table_bases): Likewise.
44891 (__deregister_frame_info_bases): Likewise.
44892 (__register_frame_info): Do not use INTUSE.
44893 (__register_frame): Likewise.
44894 (__register_frame_info_table): Likewise.
44895 (__register_frame_table): Likewise.
44896 (__deregister_frame_info): Likewise.
44897 (__deregister_frame): Likewise.
44898
44899 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
44900
44901 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44902 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44903 not undefine.
44904 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44905 Likewise.
44906 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44907 Likewise.
44908
44909 2014-10-27 Joseph Myers <joseph@codesourcery.com>
44910
44911 [BZ #14138]
44912 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44913 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44914 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44915 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44916 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44917 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44918 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44919 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44920 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44921 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44922 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44923 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44924 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44925 syscall.
44926 (setfsuid): Likewise.
44927 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44928 (setfsuid): Likewise.
44929 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44930 (setfsuid): Likewise.
44931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44932 Likewise.
44933 (setfsuid): Likewise.
44934 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44935 (setfsuid): Likewise.
44936 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44937 Likewise.
44938 (setfsuid): Likewise.
44939
44940 2014-10-27 Andreas Schwab <schwab@suse.de>
44941
44942 [BZ #17501]
44943 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44944 check for Slow_SSE4_2 feature bit.
44945 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44946 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44947 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44948 Likewise. Fix check for Fast_Unaligned_Load feature bit.
44949
44950 2014-10-24 Roland McGrath <roland@hack.frob.com>
44951
44952 * configure.ac: Validate compiler version with a empirical test of
44953 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44954 $CC -v output.
44955 * configure: Regenerated.
44956
44957 * inet/htons.c (htons): Prototypify.
44958 * inet/htonl.c (htonl): Likewise.
44959
44960 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44961
44962 * string/strncat.c (strncat): Improve performance by using strlen.
44963
44964 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44965
44966 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44967
44968 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44969
44970 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44971 Call libc_fetestexcept_aarch64.
44972
44973 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44974
44975 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44976 Call libc_feholdexcept_aarch64.
44977
44978 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44979
44980 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44981 Call get_rounding_mode.
44982
44983 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44984
44985 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44986 Simplify logic.
44987
44988 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44989
44990 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44991 Simplify logic.
44992
44993 2014-10-24 Joseph Myers <joseph@codesourcery.com>
44994
44995 [BZ #14138]
44996 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44997 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44998 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44999 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45000 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45001 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45002 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45003 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45004 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45005 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45006 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45007 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45008 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45009 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45010 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45011 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45012 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45013 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45014 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45015 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45016 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45017 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45018 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45019 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45020 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45021 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45022 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45023 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45024 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45025 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45026 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45027 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45028 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45029 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45030 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45031 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45032 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45033 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45034 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45035 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45036 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45037 syscall.
45038 (geteuid): Likewise.
45039 (getgid): Likewise.
45040 (getuid): Likewise.
45041 (getresgid): Likewise.
45042 (getresuid): Likewise.
45043 (getgroups): Likewise.
45044 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45045 (geteuid): Likewise.
45046 (getgid): Likewise.
45047 (getuid): Likewise.
45048 (getresgid): Likewise.
45049 (getresuid): Likewise.
45050 (getgroups): Likewise.
45051 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45052 (geteuid): Likewise.
45053 (getgid): Likewise.
45054 (getuid): Likewise.
45055 (getresgid): Likewise.
45056 (getresuid): Likewise.
45057 (getgroups): Likewise.
45058 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45059 Likewise.
45060 (geteuid): Likewise.
45061 (getgid): Likewise.
45062 (getuid): Likewise.
45063 (getresgid): Likewise.
45064 (getresuid): Likewise.
45065 (getgroups): Likewise.
45066 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45067 (geteuid): Likewise.
45068 (getgid): Likewise.
45069 (getuid): Likewise.
45070 (getresgid): Likewise.
45071 (getresuid): Likewise.
45072 (getgroups): Likewise.
45073 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45074 Likewise.
45075 (geteuid): Likewise.
45076 (getgid): Likewise.
45077 (getuid): Likewise.
45078 (getgroups): Likewise.
45079
45080 [BZ #14138]
45081 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45082 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45083 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45084 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45085 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45086 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45087 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45088 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45089 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45090 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45091 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45092 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45093 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45094 __chown.
45095 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45096 (lchown): Likewise.
45097 (fchown): Likewise.
45098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45099 Likewise.
45100 (lchown): Likewise.
45101 (fchown): Likewise.
45102 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45103 (lchown): Likewise.
45104 (fchown): Likewise.
45105 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45106 Likewise.
45107 (lchown): Likewise.
45108 (fchown): Likewise.
45109
45110 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45111
45112 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45113 Simplify logic.
45114
45115 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45116
45117 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45118 Cleanup logic.
45119
45120 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45121
45122 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45123 Remove unused include.
45124
45125 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45126
45127 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45128 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45129 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45130 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45131
45132 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45133 Helge Deller <deller@gmx.de>
45134
45135 [BZ #17508]
45136 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45137 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45138 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45139
45140 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45141
45142 [BZ #14132]
45143 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45144 Remove macro definition.
45145 (__ashrdi3_v_glibc20): Likewise.
45146 (__lshrdi3_v_glibc20): Likewise.
45147 (__cmpdi2_v_glibc20): Likewise.
45148 (__ucmpdi2_v_glibc20): Likewise.
45149 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45150 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45151 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45152 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45153 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45154 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45155
45156 2014-10-22 Roland McGrath <roland@hack.frob.com>
45157
45158 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45159 old GNU extension [0] syntax.
45160 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45161 alloca rather than an array member with variable length.
45162 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45163 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45164 (parse_opt): ... here. Likewise use alloca there.
45165 Validate the -i argument before checking for rootness.
45166 (send_shutdown): New function, broken out of ...
45167 (parse_opt): ... here.
45168
45169 2014-10-22 Roland McGrath <roland@hack.frob.com>
45170
45171 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45172 macro to get at the _rt_local_ro field.
45173 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45174 ([PIC] case) or _dl_hwcap ([!PIC] case).
45175 * sysdeps/arm/setjmp.S: Likewise.
45176
45177 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45178 * sysdeps/arm/configure.ac: New check to define it.
45179 * sysdeps/arm/configure: Regenerated.
45180 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45181 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45182 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45183 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45184 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45185 Use move/movt pair instead of a load.
45186 (LDST_GLOBAL): Macro removed.
45187 (LDR_GLOBAL): New macro replaces it.
45188 (LDR_HIDDEN): New macro.
45189 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45190 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45191
45192 * setjmp/tst-setjmp-static.c: New file.
45193 * setjmp/Makefile (tests): Add it.
45194 (tests-static): New variable.
45195
45196 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45197
45198 [BZ #17485]
45199 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45200
45201 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45202
45203 [BZ #14132]
45204 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45205
45206 2014-10-21 Roland McGrath <roland@hack.frob.com>
45207
45208 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45209
45210 2014-10-20 Roland McGrath <roland@hack.frob.com>
45211
45212 * io/fts.c (dirent_not_directory): New function.
45213 (fts_build): Call it.
45214
45215 2014-10-20 Roland McGrath <roland@hack.frob.com>
45216
45217 * nptl/version.c (__nptl_main): Use normal __write rather than
45218 INTERNAL_SYSCALL.
45219 (banner): Update copyright years.
45220
45221 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45222 gettimeofday.
45223 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45224 * nptl/pthread_cond_timedwait.c: Likewise.
45225 * nptl/pthread_mutex_timedlock.c: Likewise.
45226 * nptl/sem_timedwait.c: Likewise.
45227
45228 * sysdeps/nptl/bits/libc-lock.h
45229 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45230 (__libc_lock_init_recursive): Return void, not 0.
45231 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45232 (__libc_rwlock_init): Likewise.
45233 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45234
45235 2014-10-20 Torvald Riegel <triegel@redhat.com>
45236
45237 [BZ #15215]
45238 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45239 (__pthread_once_slow): ... here.
45240 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45241 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45242
45243 2014-10-20 Torvald Riegel <triegel@redhat.com>
45244
45245 [BZ #15215]
45246 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45247 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45248 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45249 * nptl/pthread_once.c (__pthread_once): Likewise.
45250 Update comments.
45251
45252 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45253
45254 [BZ #14138]
45255 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45256 name.
45257 (writev): Use __libc_writev as strong name.
45258 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45259 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45260
45261 2014-10-17 Roland McGrath <roland@hack.frob.com>
45262
45263 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45264
45265 * sysdeps/i386/nptl/tls.h
45266 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45267 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45268 New macros.
45269 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45270 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45271 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45272 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45273 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45274 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45275
45276 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45277 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45278 on [__NR_futex].
45279 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45280 broken out of ...
45281 (__pthread_mutex_init): ... here. Call it.
45282 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45283 Conditionalize PI cases on [__NR_futex].
45284 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45285 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45286 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45287
45288 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45289 conditional on [SIGSETXID].
45290 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45291 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45292 is defined. Likewise for SIGSETXID.
45293 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45294 Conditionalize definitions on [SIGSETXID].
45295 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45296 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45297 unblocking on [SIGCANCEL].
45298
45299 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45300 [__NR_set_robust_list].
45301
45302 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45303
45304 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45305 (do_compare): Likewise.
45306
45307 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45308
45309 [BZ #15884]
45310 * string/strcoll_l.c: Don't include stdio.h.
45311 (coll_seq): Remove members idxarr and rulearr.
45312 (get_next_seq_cached): Remove function.
45313 (get_next_seq): Likewise.
45314 (get_next_seq_nocache): Rename to get_next_seq.
45315 (do_compare): Remove function.
45316 (do_compare_nocache): Rename to do_compare.
45317 (STRCOLL): Remove weight and rules cache.
45318
45319 2014-10-16 Roland McGrath <roland@hack.frob.com>
45320
45321 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45322 * sysdeps/arm/sfp-machine.h: ... to here.
45323 * sysdeps/arm/Implies: Remove arm/soft-fp.
45324
45325 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45326
45327 * conform/data/sys/utsname.h-data (*_t): Allow.
45328 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45329 [POSIX] (WEXITED): Do not expect constant.
45330 [POSIX] (WSTOPPED): Likewise.
45331 [POSIX] (WNOHANG): Likewise.
45332 [POSIX] (WNOWAIT): Likewise.
45333 [POSIX] (siginfo_t): Do not expect type or elements.
45334 [POSIX] (pid_t): Do not expect type.
45335 [POSIX] (signal.h): Do not allow header.
45336 [POSIX] (sys/resource.h): Likewise.
45337 [POSIX] (si_*): Do not allow pattern.
45338 [POSIX] (W*): Likewise.
45339 [POSIX] (P_*): Likewise.
45340 [POSIX] (BUS_*): Likewise.
45341 [POSIX] (CLD_*): Likewise.
45342 [POSIX] (FPE_*): Likewise.
45343 [POSIX] (ILL_*): Likewise.
45344 [POSIX] (POLL_*): Likewise.
45345 [POSIX] (SEGV_*): Likewise.
45346 [POSIX] (SI_*): Likewise.
45347 [POSIX] (TRAP_*): Likewise.
45348 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45349 variable.
45350
45351 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45352
45353 [BZ #12926]
45354 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45355 infinite loop when __recvmsg returns 0.
45356
45357 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45358
45359 * CANCEL-FCT-WAIVE: Remove file.
45360 * CANCEL-FILE-WAIVE: Likewise.
45361
45362 [BZ #14132]
45363 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45364 instead of INTVARDEF.
45365 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45366 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45367 rtld_hidden_data_def instead of INTVARDEF.
45368 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45369 * elf/dl-deps.c (expand_dst): Likewise.
45370 * elf/dl-load.c (_dl_dst_count): Likewise.
45371 (_dl_dst_substitute): Likewise.
45372 (decompose_rpath): Likewise.
45373 (_dl_init_paths): Likewise.
45374 (open_path): Likewise.
45375 (_dl_map_object): Likewise.
45376 * elf/rtld.c (dl_main): Likewise.
45377 (process_dl_audit): Likewise.
45378 (process_envvars): Likewise.
45379 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45380 Remove declaration.
45381 (__libc_enable_secure): Use rtld_hidden_proto.
45382
45383 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45384
45385 * elf/dl-load.c
45386 (add_path): New function broken out of _dl_rtld_di_serinfo.
45387 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45388
45389 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45390
45391 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45392 parentheses around macro arguments.
45393 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45396 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45397 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45398 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45399 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45400 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45401 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45402 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45403 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45404 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45405 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45406 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45407 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45408 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45409 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45412 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45414 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45415 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45416 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45417 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45418 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45419 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45420 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45421 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45422 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45423 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45424 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45425 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45426 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45427 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45428 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45429 Likewise.
45430 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45431 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45432 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45435 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45437 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45438 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45439 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45440 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45441 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45442 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45443 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45444 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45445 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45446 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45447 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45448 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45449 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45450 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45451 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45452 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45453 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45454 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45455 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45456 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45457 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45458 (_FP_FRAC_SRS_1): Likewise.
45459 (_FP_FRAC_CLZ_1): Likewise.
45460 (_FP_MUL_MEAT_1_imm): Likewise.
45461 (_FP_MUL_MEAT_1_wide): Likewise.
45462 (_FP_MUL_MEAT_1_hard): Likewise.
45463 (_FP_SQRT_MEAT_1): Likewise.
45464 (_FP_FRAC_ASSEMBLE_1): Likewise.
45465 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45466 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45467 (__FP_CLZ_2): Likewise.
45468 (_FP_MUL_MEAT_2_wide): Likewise.
45469 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45470 (_FP_MUL_MEAT_2_gmp): Likewise.
45471 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45472 (_FP_SQRT_MEAT_2): Likewise.
45473 (_FP_FRAC_ASSEMBLE_2): Likewise.
45474 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45475 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45476 (_FP_FRAC_CLZ_4): Likewise.
45477 (_FP_MUL_MEAT_4_wide): Likewise.
45478 (_FP_MUL_MEAT_4_gmp): Likewise.
45479 (_FP_SQRT_MEAT_4): Likewise.
45480 (_FP_FRAC_ASSEMBLE_4): Likewise.
45481 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45482 * soft-fp/op-common.h (_FP_CMP): Likewise.
45483 (_FP_CMP_EQ): Likewise.
45484 (_FP_CMP_UNORD): Likewise.
45485 (_FP_TO_INT): Likewise.
45486 (_FP_FROM_INT): Likewise.
45487 [!__FP_CLZ] (__FP_CLZ): Likewise.
45488 (_FP_DIV_HELP_imm): Likewise.
45489 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45490 Likewise.
45491 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45492 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45493 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45494 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45495 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45496 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45497 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45498 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45499 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45500 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45501 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45502 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45503 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45504 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45505 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45506 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45507 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45508 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45510 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45511 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45512 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45513 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45514 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45515 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45516 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45517 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45518 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45519 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45520 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45521 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45522 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45523 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45524 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45525 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45526 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45527 (FP_UNPACK_RAW_SP): Likewise.
45528 (FP_PACK_RAW_S): Likewise.
45529 (FP_PACK_RAW_SP): Likewise.
45530 (FP_UNPACK_S): Likewise.
45531 (FP_UNPACK_SP): Likewise.
45532 (FP_UNPACK_SEMIRAW_S): Likewise.
45533 (FP_UNPACK_SEMIRAW_SP): Likewise.
45534 (FP_PACK_S): Likewise.
45535 (FP_PACK_SP): Likewise.
45536 (FP_PACK_SEMIRAW_S): Likewise.
45537 (FP_PACK_SEMIRAW_SP): Likewise.
45538 (_FP_SQRT_MEAT_S): Likewise.
45539 (FP_CMP_S): Likewise.
45540 (FP_CMP_EQ_S): Likewise.
45541 (FP_CMP_UNORD_S): Likewise.
45542 (FP_TO_INT_S): Likewise.
45543 (FP_FROM_INT_S): Likewise.
45544
45545 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45546
45547 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45548 (FP_EX_INVALID_IMZ): Likewise.
45549 (FP_EX_INVALID_IMZ_FMA): Likewise.
45550 (FP_EX_INVALID_ISI): Likewise.
45551 (FP_EX_INVALID_ZDZ): Likewise.
45552 (FP_EX_INVALID_IDI): Likewise.
45553 (FP_EX_INVALID_SQRT): Likewise.
45554 (FP_EX_INVALID_CVI): Likewise.
45555 (FP_EX_INVALID_VC): Likewise.
45556 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45557 "invalid" exceptions.
45558 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45559 (_FP_ADD_INTERNAL): Likewise.
45560 (_FP_MUL): Likewise.
45561 (_FP_FMA): Likewise.
45562 (_FP_DIV): Likewise.
45563 (_FP_CMP_CHECK_NAN): Likewise.
45564 (_FP_SQRT): Likewise.
45565 (_FP_TO_INT): Likewise.
45566 (FP_EXTEND): Likewise.
45567
45568 2014-10-09 Allan McRae <allan@archlinux.org>
45569
45570 * po/fr.po: Update French translation from translation project.
45571
45572 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45573
45574 [BZ #14132]
45575 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45576 of INTDEF.
45577 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45578 (__cxa_atexit): Use libc_hidden_proto.
45579 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45580
45581 [BZ #14132]
45582 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45583 declaration.
45584 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45585 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45586 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45587 [!_ISOMAC] (__iswctype_internal): Likewise.
45588 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45589 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45590 alias.
45591 (fcntl): Remove __fcntl_internal alias.
45592 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45593 __connect_internal alias.
45594 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45595 Likewise.
45596
45597 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45598 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45599 FP_DENORM_ZERO.
45600 (_FP_CHECK_FLUSH_ZERO): New macro.
45601 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45602 (_FP_CMP): Likewise.
45603 (_FP_CMP_EQ): Likewise.
45604 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45605 FP_DENORM_ZERO.
45606 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45607 (FP_TRUNC): Likewise.
45608
45609 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45610 treated as invalid conversion, not as normal exponent.
45611
45612 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45613 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45614 (_FP_CMP_EQ): Likewise.
45615 (_FP_CMP_UNORD): Likewise.
45616 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45617 (FP_CMP_EQ_D): Likewise.
45618 (FP_CMP_UNORD_D): Likewise.
45619 * soft-fp/extended.h (FP_CMP_E): Likewise.
45620 (FP_CMP_EQ_E): Likewise.
45621 (FP_CMP_UNORD_E): Likewise.
45622 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45623 (FP_CMP_EQ_Q): Likewise.
45624 (FP_CMP_UNORD_Q): Likewise.
45625 * soft-fp/single.h (FP_CMP_S): Likewise.
45626 (FP_CMP_EQ_S): Likewise.
45627 (FP_CMP_UNORD_S): Likewise.
45628 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45629 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45630 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45631 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45632 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45633 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45634 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45635 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45636 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45637 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45638 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45639 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45640 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45641 to FP_CMP_Q.
45642 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45643 FP_CMP_Q.
45644 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45645 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45646 FP_CMP_EQ_Q.
45647 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45648 FP_CMP_Q.
45649 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45650 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45651 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45652 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45653 FP_CMP_EQ_Q.
45654 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45655 FP_CMP_Q.
45656 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45657 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45658 FP_CMP_EQ_Q.
45659 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45660 FP_CMP_Q.
45661 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45662 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45663 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45664 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45665 FP_CMP_EQ_Q.
45666
45667 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45668 a subnormal result, set the underflow exception if trapping on
45669 underflow is enabled.
45670 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45671 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45672 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45673 redefine to 0.
45674 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45675 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45676 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45677 * soft-fp/extendxftf2.c (__extendxftf2): Use
45678 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45679
45680 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45681 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45682 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45683 FP_HANDLE_EXCEPTIONS.
45684 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45685 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45686 FP_HANDLE_EXCEPTIONS.
45687 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45688 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45689 FP_HANDLE_EXCEPTIONS.
45690 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45691 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45692 FP_HANDLE_EXCEPTIONS.
45693
45694 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45695
45696 [BZ #14132]
45697 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45698 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45699 use INTUSE.
45700 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45701 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45702 Remove alias.
45703 (__adjtimex): Define using libc_hidden_ver.
45704 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45705 Remove declaration.
45706 (ntp_gettime): Call __adjtimex directly.
45707 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45708 Remove declaration.
45709 (ntp_gettimex): Call __adjtimex directly.
45710 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45711 __adjtimex_internal alias.
45712
45713 2014-10-08 Roland McGrath <roland@hack.frob.com>
45714
45715 [BZ #17460]
45716 * nscd/nscd.c (more_help): Rewrite list of tables collection
45717 using xstrdup and asprintf.
45718
45719 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45720
45721 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45722 Roland McGrath <roland@hack.frob.com>
45723
45724 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45725 (do_lookup_unique): ... local function 'enter' here; update callers.
45726
45727 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45728
45729 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45730 compat_symbol calls on [SHARED].
45731 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45732 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45733 Remove.
45734 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45735 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45736 (oldsetrlimit): Remove.
45737 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45739 (lchown): New syscall entry.
45740 (oldsetrlimit): Remove.
45741 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45742 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45743 (oldsetrlimit): Remove.
45744 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45745
45746 [BZ #14138]
45747 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45748 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45749 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45750 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45751 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45752 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45753 (fchown): Likewise.
45754 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45755 (fchown): Likewise.
45756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45757 Likewise.
45758
45759 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45760
45761 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45762 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45763 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45764 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45765 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45766 Likewise.
45767 (__old_sem_post): Likewise.
45768
45769 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45770
45771 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45772 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45773 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45774 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45775 Use INLINE_VSYSCALL macro.
45776 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45777 __vdso_clock_gettime.
45778 * sysdeps/unix/sysv/linux/tile/init-first.c
45779 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45780 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45781 __vdso_clock_gettime.
45782
45783 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45784 to set up frame more cleanly.
45785
45786 * sysdeps/tile/memcmp.c: New file.
45787
45788 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45789
45790 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45791 * sysdeps/tile/tilegx/strcasestr.c: New file.
45792 * sysdeps/tile/tilegx/strnlen.c: New file.
45793 * sysdeps/tile/tilegx/strstr.c: New file.
45794
45795 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45796
45797 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45798
45799 * nptl/tst-setuid3.c: Write errors to stdout.
45800
45801 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45802
45803 * elf/dl-deps.c
45804 (preload): New functions broken out of _dl_map_object_deps.
45805 (_dl_map_object_deps): Remove a nested function. Update call sites.
45806
45807 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45808
45809 [BZ #14138]
45810 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45811 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45812
45813 2014-10-01 Steve Ellcey <sellcey@mips.com>
45814
45815 * sysdeps/mips/strcmp.S: New.
45816
45817 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45818
45819 [BZ #14138]
45820 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45821 (linkat): Likewise.
45822 (mkdirat): Likewise.
45823 (readlinkat): Likewise.
45824 (renameat): Likewise.
45825 (symlinkat): Likewise.
45826 (unlinkat): Likewise.
45827 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45828 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45829 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45830 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45831 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45832 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45833 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45834
45835 2014-09-30 Will Newton <will.newton@linaro.org>
45836
45837 * math/math.h: Define long double math functions if
45838 _LIBC_TEST is defined.
45839 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45840
45841 * localedata/Makefile: Move assignment to tests-special
45842 into an ifdef testing run-built-tests.
45843 * timezone/Makefile: Likewise.
45844
45845 2014-09-29 Joseph Myers <joseph@codesourcery.com>
45846
45847 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45848 with $(BASH) not $(SHELL).
45849
45850 2014-09-29 Carlos O'Donell <carlos@redhat.com>
45851 Matthew LeGendre <legendre1@llnl.gov>
45852
45853 [BZ #17411]
45854 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45855 l_reloc_result.
45856
45857 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45858
45859 * stdio-common/printf_fp.c
45860 (hack_digit): New function, broken out of ...
45861 (__printf_fp): ... local function here. Update call sites.
45862 hack_digit now takes an additional parameter that is a pointer
45863 to a struct of the referenced locals. Those locals moved inside
45864 the struct and references updated.
45865
45866 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
45867
45868 * aclocal.m4: Require autoconf 2.69.
45869 * configure: Regenerated.
45870 * sysdeps/aarch64/configure: Likewise.
45871 * sysdeps/alpha/configure: Likewise.
45872 * sysdeps/arm/armv7/configure: Likewise.
45873 * sysdeps/arm/configure: Likewise.
45874 * sysdeps/ia64/configure: Likewise.
45875 * sysdeps/mach/configure: Likewise.
45876 * sysdeps/mips/configure: Likewise.
45877 * sysdeps/s390/configure: Likewise.
45878 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45880
45881 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45882 file.
45883 * sysdeps/ia64/configure.ac: Likewise.
45884
45885 2014-09-26 Joseph Myers <joseph@codesourcery.com>
45886
45887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45888 specify symbol version for ld.so. Do not include entry for
45889 libpthread.
45890 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45891 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45892 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45893
45894 [BZ #14171]
45895 * Makeconfig [$(build-shared) = yes]
45896 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45897 makefiles.
45898 [$(build-shared) = yes && $(soversions.mk-done) = t]
45899 ($(common-objpfx)gnu/lib-names.h): Remove rule.
45900 [$(build-shared) = yes && $(soversions.mk-done) = t]
45901 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
45902 to Makerules.
45903 [$(build-shared) = yes && $(soversions.mk-done) = t]
45904 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45905 here.
45906 [$(build-shared) = yes && $(soversions.mk-done) = t]
45907 (common-generated): Don't append gnu/lib-names.h and
45908 gnu/lib-names.stmp here.
45909 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45910 (lib-names-h-abi): New variable.
45911 [$(build-shared) = yes && $(soversions.mk-done) = t]
45912 (lib-names-stmp-abi): Likewise.
45913 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45914 abi-variants] (before-compile): Append
45915 $(common-objpfx)$(lib-names-h-abi).
45916 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45917 abi-variants] (common-generated): Append gnu/lib-names.h.
45918 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45919 abi-variants] (install-others-nosubdir): Depend on
45920 $(inst_includedir)/$(lib-names-h-abi).
45921 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45922 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45923 [$(build-shared) = yes && $(soversions.mk-done) = t]
45924 ($(common-objpfx)$(lib-names-h-abi)): New rule.
45925 [$(build-shared) = yes && $(soversions.mk-done) = t]
45926 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45927 [$(build-shared) = yes && $(soversions.mk-done) = t]
45928 (common-generated): Append $(lib-names-h-abi) and
45929 $(lib-names-stmp-abi).
45930 * scripts/lib-names.awk: Do not handle multi being set.
45931 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45932 Remove variable.
45933 (abi-lp64_be-ld-soname): Likewise.
45934 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45935 Likewise.
45936 (abi-hard-ld-soname): Likewise.
45937 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45938 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45939 Remove variable.
45940 (abi-o32_hard-ld-soname): Likewise.
45941 (abi-o32_soft_2008-ld-soname): Likewise.
45942 (abi-o32_hard_2008-ld-soname): Likewise.
45943 (abi-n32_soft-ld-soname): Likewise.
45944 (abi-n32_hard-ld-soname): Likewise.
45945 (abi-n32_soft_2008-ld-soname): Likewise.
45946 (abi-n32_hard_2008-ld-soname): Likewise.
45947 (abi-n64_soft-ld-soname): Likewise.
45948 (abi-n64_hard-ld-soname): Likewise.
45949 (abi-n64_soft_2008-ld-soname): Likewise.
45950 (abi-n64_hard_2008-ld-soname): Likewise.
45951 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45952 Likewise.
45953 (abi-64-v2-ld-soname): Likewise.
45954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45955 ld.so entries.
45956 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45957 variable.
45958 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45959 entry.
45960 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45961 variable.
45962 (abi-64-ld-soname): Likewise.
45963 (abi-x32-ld-soname): Likewise.
45964 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45965 entry.
45966 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45967
45968 2014-09-23 Joseph Myers <joseph@codesourcery.com>
45969
45970 [BZ #14138]
45971 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45972 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45973 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45974 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45975 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45976 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45977 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45978 syscall entry for GLIBC_2.2 symbol version.
45979 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45980 Likewise.
45981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45982 (setrlimit): Likewise.
45983 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45984 Likewise.
45985
45986 2014-09-23 Will Newton <will.newton@linaro.org>
45987
45988 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45989 _LINUX_ARM_SYSDEP_H include guard too.
45990 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45991 define.
45992
45993 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
45994
45995 * sysdeps/unix/sysv/linux/eventfd.c:
45996 Make first argument unsigned.
45997 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45998 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45999
46000 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
46001
46002 [BZ #16852]
46003 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46004 * socket/sys/socket.h: Likewise.
46005 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46006
46007 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46008
46009 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46010
46011 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
46012
46013 * time/tst-ftime.c: New test.
46014 * time/Makefile (tests): Add tst-ftime.
46015
46016 2014-09-17 Joseph Myers <joseph@codesourcery.com>
46017
46018 * soft-fp/extended.h: Fix comment formatting.
46019 * soft-fp/op-1.h: Likewise.
46020 * soft-fp/op-2.h: Likewise.
46021 * soft-fp/op-4.h: Likewise.
46022 * soft-fp/op-8.h: Likewise.
46023 * soft-fp/op-common.h: Likewise.
46024 * soft-fp/soft-fp.h: Likewise.
46025
46026 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46027
46028 2014-09-16 Joseph Myers <joseph@codesourcery.com>
46029
46030 [BZ #6652]
46031 * Makeconfig (soversions-default-setname): Remove variable.
46032 ($(common-objpfx)soversions.i): Don't pass default_setname to
46033 soversions.awk.
46034 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46035 oldest_abi to abi-versions.awk.
46036 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46037 * config.make.in (oldest-abi): Remove variable.
46038 * configure.ac (--enable-oldest-abi): Remove configure option.
46039 * configure: Regenerated.
46040 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46041 text.
46042 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46043 * scripts/soversions.awk: Do not handle default_setname variable.
46044 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46045 variable.
46046 * sysdeps/mach/hurd/configure: Regenerated.
46047 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46048 variable.
46049 * sysdeps/unix/sysv/linux/configure: Regenerated.
46050
46051 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46052
46053 * elf/Makefile (CFLAGS-interp.c): Remove.
46054 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46055 path string.
46056 * elf/interp.c: Include generated runtime-linker.h
46057
46058 * Makerules (lib%.so): Don't include $(+interp) in
46059 prerequisites.
46060 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46061 * dlfcn/eval.c: Remove file.
46062
46063 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46064 macros.
46065
46066 [BZ #17266]
46067 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46068 4.2 and newer.
46069
46070 [BZ #17370]
46071 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46072
46073 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46074 Jakub Jelinek <jakub@redhat.com>
46075
46076 [BZ #17266]
46077 * libio/stdio.h: Check definition of __fortify_function
46078 instead of __extern_always_inline to include bits/stdio2.h.
46079 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46080 check if __extern_always_inline is defined.
46081 [__USE_MISC || __USE_XOPEN]: Likewise.
46082 [__USE_ISOC99] Likewise.
46083 * misc/sys/cdefs.h (__fortify_function): Define only if
46084 __extern_always_inline is defined.
46085 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46086 __extern_always_inline and __extern_inline only for g++-4.3
46087 and newer or a compatible gcc.
46088
46089 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46090
46091 [BZ #17371]
46092 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46093 last change to handle zero prefix length.
46094
46095 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46096
46097 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46098 _SC_REGEX_VERSION.
46099
46100 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46101 _POSIX_RAW_SOCKETS.
46102
46103 2014-09-13 Allan McRae <allan@archlinux.org>
46104
46105 * po/ru.po: Update Russian translation from translation project.
46106
46107 2014-09-12 Roland McGrath <roland@hack.frob.com>
46108
46109 * locale/programs/locale.c (show_locale_vars): Inline local function
46110 into its sole call site. Clean up some style nits.
46111 (print_item): New function, broken out of ...
46112 (show_info): ... local function here. Clean up style nits.
46113
46114 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46115 out of ...
46116 (set_class_defaults): ... local function set_default here.
46117 Define set_default as a macro locally to pass constant parameters.
46118 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46119 rather than a shared local.
46120
46121 * stdlib/rpmatch.c (try): New function, broken out of ...
46122 (rpmatch): ... local function here. Also, prototypify definition.
46123
46124 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46125
46126 * scripts/soversions.awk: Do not handle configuration names.
46127 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46128 vendor and os variables to soversions.awk.
46129 * configure.ac: Do not modify gnu-* host_os.
46130 * configure: Regenerated
46131 * shlib-versions: Remove first column with configuration names.
46132 * nptl/shlib-versions: Likewise.
46133 * nptl_db/shlib-versions: Likewise.
46134 * sysdeps/hppa/shlib-versions: Likewise.
46135 * sysdeps/m68k/shlib-versions: Likewise.
46136 * sysdeps/mach/hurd/shlib-versions: Likewise.
46137 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46138 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46139 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46140 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46141 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46142 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46143 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46144 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46146 Likewise.
46147 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46148 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46149 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46150 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46151 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46152 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46153 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46154 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46155
46156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46157 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46159 Regenerated.
46160 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46162 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46163
46164 * shlib-versions: Remove OS-specific entries. Moved to files in
46165 sysdeps.
46166 * sysdeps/mach/hurd/shlib-versions: New file.
46167 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46168
46169 * nptl/shlib-versions: Remove architecture-specific entries.
46170 Moved to files in sysdeps.
46171 * shlib-versions: Likewise.
46172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46173 file.
46174 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46175 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46176 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46177 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46178
46179 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46180 (UDP_NO_CHECK6_RX): Likewise.
46181
46182 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46183
46184 * sysdeps/posix/sysconf.c (__sysconf): Spell
46185 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46186
46187 2014-08-12 Florian Weimer <fweimer@redhat.com>
46188
46189 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46190 loading.
46191 * iconv/Versions (__gconv_transliterate): Export for use from
46192 gconv modules.
46193 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46194 (struct __gconv_trans_data, __gconv_trans_fct,
46195 __gconv_trans_context_fct, __gconv_trans_query_fct,
46196 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46197 definitions.
46198 (struct __gconv_step_data): Remove __trans member.
46199 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46200 longer hidden. Remove unused trans_data argument.
46201 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46202 (__gconv_translit_find): Remove declaration.
46203 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46204 prototype.
46205 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46206 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46207 trans_data argument. Add hidden definition.
46208 (__gconv_translit_find): Remove.
46209 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46210 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46211 * iconv/skeleton.c: Remove transliteration initialization.
46212 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46213 __gconv_step_data initialization.
46214 * libio/iofwide.c (__libio_translit_): Remove.
46215 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46216 * wcsmbs/btowc.c (__btowc): Likewise.
46217 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46218 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46219 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46220 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46221 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46222 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46223 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46224 * wcsmbs/wctob.c (wctob): Likewise.
46225
46226 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46227
46228 [BZ #16194]
46229 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46230 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46231 register usage.
46232 * sysdeps/x86/Makefile: Adjust.
46233
46234 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46235 Roland McGrath <roland@hack.frob.com>
46236
46237 * locale/weight.h: Add include guard.
46238 (findidx): Make static rather than auto; take new parameters
46239 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46240 * locale/weightwc.h: Likewise.
46241 * posix/fnmatch_loop.c
46242 (FCT): Change type of EXTRA from int32_t to wint_t.
46243 Don't include either header inside the function.
46244 Call FINDIDX rather than findidx, and pass new arguments.
46245 #undef FINDIDX at the end of the file.
46246 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46247 FINDIDX before including fnmatch_loop.c for the non-wide version.
46248 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46249 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46250 for the wide version.
46251 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46252 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46253 Pass new arguments to findidx.
46254 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46255 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46256 Don't #include it inside the function. Pass new arguments to findidx.
46257 * posix/regex_internal.h
46258 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46259 (re_string_elem_size_at): Don't #include it inside the function.
46260 Pass new arguments to findidx.
46261 * string/strcoll_l.c: #include WEIGHT_H at top level.
46262 (get_next_seq): Don't #include it inside the function.
46263 Pass new arguments to findidx.
46264 (get_next_seq_nocache): Likewise.
46265 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46266 (STRXFRM): Don't #include it inside the function.
46267 Pass new arguments to findidx.
46268
46269 2014-09-11 Florian Weimer <fweimer@redhat.com>
46270
46271 [BZ #17344]
46272 * malloc/malloc.c (unlink): Turn asserts into a call to
46273 malloc_printerr.
46274
46275 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46276
46277 [BZ #17370]
46278 * libio/wfileops (do_ftell_wide): Free OUT.
46279
46280 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46281
46282 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46283
46284 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46285
46286 [BZ #17363]
46287 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46288 group if the current group is empty.
46289
46290 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46291
46292 * benchtests/bench-memset.c (test_main): Add more test from size
46293 from 32 to 512 bytes.
46294 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46295 Add POWER8 memset object.
46296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46297 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46298 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46299 implementation.
46300 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46301 Likewise.
46302 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46303 multiarch POWER8 memset optimization.
46304 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46305 POWER8 memset optimization.
46306
46307 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46308 Remove bzero multiarch objects.
46309 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46310 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46311 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46312 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46313 Remove define.
46314 [__bzero]: Redefine to specific name.
46315 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46316 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46317 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46318 define.
46319 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46320 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46321
46322 2014-09-10 Florian Weimer <fweimer@redhat.com>
46323
46324 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46325 warnings into errors.
46326
46327 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46328 __cxa_thread_atexit_impl prototype.
46329
46330 2014-09-09 Steve Ellcey <sellcey@mips.com>
46331
46332 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46333 Fix capitalization of error message.
46334
46335 2014-09-09 Steve Ellcey <sellcey@mips.com>
46336
46337 * sysdeps/mips/preconfigure: Modify ABI tests.
46338
46339 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46340
46341 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46342
46343 2014-09-07 Roland McGrath <roland@hack.frob.com>
46344 Carlos O'Donell <carlos@systemhalted.org>
46345
46346 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46347 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46348 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46349 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46350 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46351 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46352 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46353 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46354 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46355 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46356 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46357 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46358 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46359 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46360 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46361 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46362 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46363 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46364 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46365 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46366 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46367 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46368 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46369 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46370 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46371 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46372 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46373 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46374 Deconditionalize the code that was previously under [RESET_PID].
46375 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46376 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46377 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46378 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46379 include sysdep.h.
46380
46381 2014-09-08 Allan McRae <allan@archlinux.org>
46382
46383 * version.h (RELEASE): Set to "development".
46384 (VERSION): Set to "2.20.90"
46385
46386 2014-09-07 Allan McRae <allan@archlinux.org
46387
46388 * version.h (RELEASE): Set to "stable".
46389 (VERSION): Set to "2.20"
46390 * include/features.h (__GLIBC_MINOR__): Set to 20.
46391
46392 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46393 Liebler.
46394
46395 * po/ko.po: Update Korean translation from translation project.
46396
46397 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46398
46399 [BZ #17354]
46400 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46401 macro for handling signed relocations.
46402
46403 2014-09-03 Florian Weimer <fweimer@redhat.com>
46404
46405 [BZ #17325]
46406 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46407 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46408 assert.
46409 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46410 * iconvdata/ibm935.c (BODY): Likewise.
46411 * iconvdata/ibm937.c (BODY): Likewise.
46412 * iconvdata/ibm939.c (BODY): Likewise.
46413 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46414 assert.
46415 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46416 script.
46417 * iconvdata/run-iconv-test.sh: New test loop for checking for
46418 decoder crashers.
46419
46420 2014-09-02 Khem Raj <raj.khem@gmail.com>
46421
46422 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46423 libm_hidden_ver.
46424
46425 2014-09-01 Allan McRae <allan@archlinux.org>
46426
46427 * po/eo.po: Update Esperanto translation from translation project.
46428
46429 * po/ca.po: Update Catalan translation from translation project.
46430
46431 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46432
46433 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46434 __proc_dostop call.
46435
46436 2014-08-27 Mark Wielaard <mjw@redhat.com>
46437
46438 [BZ #17319]
46439 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46440 to call set_thread_area instead of hand written asm.
46441 (__NR_set_thread_area): Removed define.
46442 (TLS_FLAG_WRITABLE): Likewise.
46443 (__ASSUME_SET_THREAD_AREA): Remove check.
46444 (TLS_EBX_ARG): Remove define.
46445 (TLS_LOAD_EBX): Likewise.
46446
46447 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46448
46449 Simplify atomicity of socket creation in bind.
46450
46451 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46452 looking up the name after linking the file.
46453
46454 2014-08-27 Allan McRae <allan@archlinux.org>
46455
46456 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46457
46458 2014-08-26 Florian Weimer <fweimer@redhat.com>
46459
46460 [BZ #17187]
46461 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46462 trans_compare, open_translit, __gconv_translit_find):
46463 Remove module loading code.
46464
46465 2014-08-26 Allan McRae <allan@archlinux.org>
46466
46467 * po/vi.po: Update Vietnamese translation from translation project.
46468
46469 * po/uk.po: Update Ukrainian translation from translation project.
46470
46471 * po/fr.po: Update French translation from translation project.
46472
46473 * po/ru.po: Update Russian translation from translation project.
46474
46475 * po/pl.po: Update Polish translation from translation project.
46476
46477 * po/cs.po: Update Czech translation from translation project.
46478
46479 * po/de.po: Update German translation from translation project.
46480
46481 * po/bg.po: Update Bulgarian translation from translation project.
46482
46483 * po/sv.po: Update Sweedish translation from translation project.
46484
46485 * po/nl.po: Update Dutch translation from translation project.
46486
46487 * po/es.po: Update Spanish translation from translation project.
46488
46489 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46490
46491 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46492
46493 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46494 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46495 (CPPFLAGS-iconvconfig): Likewise.
46496 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46497
46498 * include/libc-symbols.h: Remove unnecessary check for
46499 NOT_IN_libc.
46500 * nptl/pthreadP.h: Likewise.
46501 * sysdeps/aarch64/setjmp.S: Likewise.
46502 * sysdeps/alpha/setjmp.S: Likewise.
46503 * sysdeps/arm/sysdep.h: Likewise.
46504 * sysdeps/i386/setjmp.S: Likewise.
46505 * sysdeps/m68k/setjmp.c: Likewise.
46506 * sysdeps/posix/getcwd.c: Likewise.
46507 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46508 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46509 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46510 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46511 * sysdeps/sh/sh3/setjmp.S: Likewise.
46512 * sysdeps/sh/sh4/setjmp.S: Likewise.
46513 * sysdeps/unix/alpha/sysdep.h: Likewise.
46514 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46515 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46516 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46517 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46522 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46525 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46527 * sysdeps/x86_64/setjmp.S: Likewise.
46528
46529 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46530
46531 [BZ #17263]
46532 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46533 <stdint.h>.
46534 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46535 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46536
46537 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46538
46539 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46540
46541 [BZ #17262]
46542 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46543 and __x86_64__ when disabling x87 inline functions.
46544
46545 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46546
46547 [BZ #17259]
46548 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46549 asm statement with __cpuid_count.
46550
46551 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46552
46553 * configure.ac: Change __ehdr_start code to dereference the struct.
46554 Run readelf on the output to look for relocations.
46555 * configure: Regenerated.
46556
46557 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46558
46559 [BZ #17261]
46560 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46561 value to 0.
46562 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46563
46564 2014-08-12 Roland McGrath <roland@hack.frob.com>
46565
46566 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46567
46568 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46569
46570 [BZ #16892]
46571 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46572 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46573
46574 2014-08-12 Sean Anderson <seanga2@gmail.com>
46575
46576 * malloc/malloc.c: Fix typo in comment.
46577
46578 2014-08-09 Allan McRae <allan@archlinux.org>
46579
46580 * Regenerate libc.po.
46581
46582 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46583
46584 * intl/tst-gettext2.sh: Check every lang file for creation.
46585
46586 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46587
46588 * sysdeps/aarch64/fpu/math_private.h
46589 (libc_feholdsetround_noex_aarch64_ctx): New function.
46590
46591 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46592
46593 * sysdeps/arm/armv6/strcpy.S (strcpy):
46594 Fix performance issue in misaligned cases.
46595
46596 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46597
46598 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46599 Move definition from termios.h.
46600 (struct termio): Likewise.
46601 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46602 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46603 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46604 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46605 Likewise.
46606 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46607 Move definition to ioctl-types.h
46608 (struct termio): Likewise.
46609 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46610 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46611 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46612 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46613 Likewise.
46614
46615 2014-08-05 Richard Henderson <rth@redhat.com>
46616
46617 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46618 exceptions.
46619 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46620 Add fraiseexcpt.
46621 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46622 Use __feraiseexcept.
46623 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46624 Protect libm symbols with IS_IN_libm.
46625
46626 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46627
46628 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46629
46630 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46631
46632 2014-08-04 Will Newton <will.newton@linaro.org>
46633
46634 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46635 file.
46636
46637 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46638
46639 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46640 variants for each function.
46641
46642 2014-08-04 Roland McGrath <roland@hack.frob.com>
46643
46644 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46645 appended ...
46646 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46647 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46648 appended ...
46649 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46650 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46651 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46652 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46653 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46654 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46655 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46656 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46657 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46658 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46659 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46660 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46661 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46662 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46663 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46664 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46665 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46666 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46667 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46668 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46669 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46670 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46671 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46672 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46673 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46674 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46675 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46676 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46677 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46678 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46679 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46680 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46681 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46682 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46683 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46684 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46685 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46686 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46687 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46688 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46689 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46690 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46691 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46692 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46693 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46694 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46695 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46696 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46697 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46698 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46699 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46700 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46701 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46702 Update #include.
46703 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46704 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46705
46706 2014-08-04 Roland McGrath <roland@hack.frob.com>
46707
46708 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46709 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46710 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46711 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46712 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46713 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46714
46715 2014-08-04 Roland McGrath <roland@hack.frob.com>
46716
46717 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46718 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46719 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46720 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46721
46722 2014-08-04 Roland McGrath <roland@hack.frob.com>
46723
46724 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46725 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46726 (__libc_vfork): Define function under this name.
46727 (__vfork): Define as an alias.
46728 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46729 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46730
46731 2014-08-04 Roland McGrath <roland@hack.frob.com>
46732
46733 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46734 that was previously under [RESET_PID].
46735 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46736
46737 2014-08-04 Andreas Schwab <schwab@suse.de>
46738
46739 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46740
46741 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46742
46743 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46744 (main): Likewise.
46745
46746 2014-08-01 Roland McGrath <roland@hack.frob.com>
46747
46748 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46749
46750 2014-08-01 Richard Henderon <rth@redhat.com>
46751
46752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46753 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46754 typo in exact zero test.
46755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46756 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46757 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46758
46759 2014-08-01 Roland McGrath <roland@hack.frob.com>
46760
46761 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46762 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46763 * sysdeps/arm/sysdep.h: ... here.
46764 [!__ASSEMBLER__]: Include <stdint.h>.
46765
46766 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46767
46768 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46769 (HAVE_WCTYPE_H): Likewise.
46770 (HAVE_ISWCTYPE): Likewise.
46771 (ENABLE_NLS): Likewise.
46772 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46773 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46774
46775 * posix/regex_internal.c: Check if DEBUG is defined and is
46776 set.
46777
46778 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46779 (HAVE_MBSRTOWCS): Likewise.
46780 * posix/fnmatch.c: Include string.h unconditionally.
46781
46782 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46783
46784 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46785 reversal.
46786
46787 2014-07-31 Roland McGrath <roland@hack.frob.com>
46788
46789 * sysdeps/generic/safe-fatal.h: New file.
46790 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46791 * nptl/forward.c: Include it.
46792 (__pthread_unwind): Use __safe_fatal as default action, rather
46793 than a bogus use of INTERNAL_SYSCALL that could never work.
46794
46795 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46796 * configure.ac (libc_cv_builtin_trap): New test.
46797 * configure: Regenerated.
46798 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46799 (ABORT_INSTRUCTION): Define using __builtin_trap.
46800
46801 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46802 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46803 * sysdeps/nptl/nptl-signals.h: New file.
46804 * nptl/pthreadP.h: Include <nptl-signals.h>.
46805
46806 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46807
46808 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46809 (ONE_DIRECTION): Define.
46810 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46811 (ONE_DIRECTION): Define.
46812 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46813 (ONE_DIRECTION): Define.
46814
46815 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46816
46817 * sysdeps/s390/Makefile: Delete file.
46818 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46819 * sysdeps/s390/__longjmp.c: Delete file.
46820 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46821 Remove fields __flags and __reserved.
46822 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46823 and add versioning.
46824 * sysdeps/s390/rtld-__longjmp.c: Delete file.
46825 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46826 * sysdeps/s390/rtld-setjmp.S: Likewise.
46827 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46828 * sysdeps/s390/s390-32/__longjmp.c: ... here.
46829 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46830 * sysdeps/s390/s390-32/setjmp.S: ... here.
46831 Add versioning.
46832 (__sigsetjmp): Remove setting __flags field.
46833 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46834 * sysdeps/s390/s390-64/__longjmp.c: ... here.
46835 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46836 * sysdeps/s390/s390-64/setjmp.S: ... here.
46837 Add versioning.
46838 (__sigsetjmp): Remove setting __flags field.
46839 * sysdeps/s390/setjmp.S: Delete file.
46840 * sysdeps/s390/sigjmp.c: Likewise.
46841 * sysdeps/s390/v1-longjmp.c: Likewise.
46842 * sysdeps/s390/v1-setjmp.h: Likewise.
46843 * sysdeps/s390/v1-sigjmp.c: Likewise.
46844 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46845 Remove v1-longjmp_chk.
46846 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46847 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46848 Include debug/longjmp_chk.c and add versioning.
46849 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46850 Include nptl/pt-longjmp.c and add versioning.
46851 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46852 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46853 Include __longjmp.c.
46854 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46855 Move to ...
46856 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46857 (__getcontext): Remove setting __flags field.
46858 Add versioning.
46859 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46860 Don't restore upper high grps.
46861 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46862 Likewise.
46863 (__swapcontext): Remove setting uc_flags field.
46864 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46865 Delete file.
46866 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46867 Include __longjmp.c.
46868 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46869 Move to ...
46870 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46871 (__getcontext): Remove setting __flags field.
46872 Add versioning.
46873 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46874 (__swapcontext): Remove setting uc_flags field.
46875 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46876 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46877 Remove fields uc_high_gprs and __reserved.
46878 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46879 New file with reverted content.
46880 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46881 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46882 Regenerated.
46883 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46884 Regenerated.
46885
46886 2014-07-31 Andreas Schwab <schwab@suse.de>
46887
46888 * config.h.in (HAVE_IFUNC): Define to 0.
46889 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46890 definedness.
46891
46892 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
46893
46894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46895 memmove-avx-unaligned, memcpy-avx-unaligned and
46896 mempcpy-avx-unaligned.
46897 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46898 Add tests for AVX memcpy functions.
46899 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46900 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46901 memcpy_chk.
46902 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46903 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46904 memmove_chk.
46905 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46906 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46907 mempcpy_chk.
46908 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46909 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46910 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46911
46912 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46913
46914 [BZ #17213]
46915 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46916 powerpc64le.
46917
46918 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
46919
46920 [BZ #16839]
46921 * manual/llio.texi: Add section about open file description locks.
46922 * manual/examples/ofdlocks.c: Example of open file description
46923 lock usage.
46924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46925 F_OFD_SETLK, and F_OFD_SETLKW.
46926
46927 2014-07-23 Allan McRae <allan@archlinux.org>
46928
46929 * po/es.po: Update Spanish translation from translation project.
46930
46931 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
46932
46933 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46934
46935 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
46936
46937 [BZ #17078]
46938 * sysdeps/arm/dl-machine.h (elf_machine_rela)
46939 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46940 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46941
46942 2014-07-17 Joseph Myers <joseph@codesourcery.com>
46943
46944 [BZ #17088]
46945 * math/fesetenv.c (__fesetenv)
46946 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46947 * math/feupdateenv.c (__feupdateenv)
46948 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46949
46950 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46951 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46952 (__ASSUME_SOCKETCALL): Do not define.
46953
46954 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46955 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46956 (__ASSUME_SOCKETCALL): Do not define.
46957 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46958 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46959 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46960 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46961 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46962 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46963 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46964 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46965
46966 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46967 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46968 (__ASSUME_SOCKETCALL): Do not define.
46969 (__ASSUME_IPC64): Define unconditionally.
46970 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46971 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46972 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46973 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46974 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46975 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46976 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46977 Likewise.
46978
46979 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46980 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46981 (__ASSUME_SOCKETCALL): Do not define.
46982 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46983 (__ASSUME_FUTEX_LOCK_PI): Likewise.
46984 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46985 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46986 (__ASSUME_REQUEUE_PI): Define unconditionally.
46987 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46988 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46989 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46990 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46991 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46992 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46993
46994 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46995 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46996 (__ASSUME_SOCKETCALL): Do not define.
46997 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46998 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46999 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47000 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47001 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47002 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47003
47004 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47005 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47006 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47007 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47008 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47009 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47010 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47011 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47012 (__ASSUME_GETCPU_SYSCALL): Likewise.
47013
47014 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47015 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47016 cases for individual architectures.
47017 * sysdeps/gnu/configure: Regenerated.
47018 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47019 LIBC_SLIBDIR_RTLDDIR.
47020 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47021 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47022 LIBC_SLIBDIR_RTLDDIR.
47023 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47025 LIBC_SLIBDIR_RTLDDIR.
47026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47027 Regenerated.
47028 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47029 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47030 file.
47031 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47032 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47033 file.
47034 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47035 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47036 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47037 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47038
47039 * sysdeps/aarch64/shlib-versions: Move to ...
47040 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47041 * sysdeps/alpha/shlib-versions: Move to ...
47042 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47043 * sysdeps/arm/shlib-versions: Move to ...
47044 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47045 * sysdeps/hppa/shlib-versions: Move all contents except for
47046 libgcc_s entry to ...
47047 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47048 entry from ...
47049 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47050 * sysdeps/ia64/shlib-versions: Move to ...
47051 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47052 entry from ...
47053 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47054 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47055 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47056 * sysdeps/microblaze/shlib-versions: Move to ...
47057 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47058 * sysdeps/mips/shlib-versions: Move to ...
47059 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47060 entry from ...
47061 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47062 * sysdeps/tile/shlib-versions: Move to ...
47063 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47064 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47065 from ...
47066 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47067 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47068 entry from ...
47069 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47070
47071 2014-07-17 Will Newton <will.newton@linaro.org>
47072
47073 * sysdeps/arm/bits/atomic.h
47074 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47075 (__arch_compare_and_exchange_bool_16_int): Likewise.
47076 (__arch_compare_and_exchange_bool_64_int): Likewise.
47077
47078 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47079 into an #else block.
47080
47081 2014-07-16 Roland McGrath <roland@hack.frob.com>
47082
47083 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47084 just Linux configurations. Test empirically that the compiler sets
47085 __ARM_EABI__, rather than using the tuple to decide.
47086 * sysdeps/arm/preconfigure: Regenerated.
47087 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47088 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47089 contents appended ...
47090 * sysdeps/arm/configure.ac: ... here.
47091 * sysdeps/arm/configure: Regenerated.
47092
47093 2014-07-15 Roland McGrath <roland@hack.frob.com>
47094
47095 * nptl/pthread_kill.c: New file.
47096 * nptl/pthread_sigmask.c: New file.
47097 * nptl/pthread_sigqueue.c: New file.
47098
47099 * sysdeps/nptl/lowlevellock.h: New file.
47100 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47101 * sysdeps/nptl/lowlevellock-futex.h: New file.
47102
47103 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47104 Remove dead declarations.
47105
47106 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47107
47108 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47109 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47110 config-cflags-avx2.
47111 * sysdeps/x86_64/configure.ac: Likewise.
47112 * sysdeps/i386/configure: Regenerated.
47113 * sysdeps/x86_64/configure: Likewise.
47114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47115 memset-avx2 only if config-cflags-avx2 is yes.
47116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47117 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47118 defined.
47119 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47120 only if HAVE_AVX2_SUPPORT is defined.
47121 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47122
47123 2014-07-14 Alan Modra <amodra@gmail.com>
47124
47125 [BZ #17153]
47126 * elf/elf.h (DT_PPC64_NUM): Correct value.
47127 * NEWS: Add to fixed bug list.
47128
47129 2014-07-13 Jim Meyering <meyering@fb.com>
47130
47131 [BZ 17150]
47132 regex: don't deref NULL upon heap allocation failure
47133 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47134 failure in one more place.
47135 To trigger the segfault, configure grep -with-included-regex,
47136 build it, and run these commands:
47137 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47138
47139 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47140
47141 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47142
47143 2014-07-11 Richard Henderson <rth@redhat.com>
47144
47145 * sysdeps/aarch64/libm-test-ulps: Update.
47146
47147 2014-07-10 Florian Weimer <fweimer@redhat.com>
47148
47149 [BZ #17135]
47150 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47151 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47152 (__nptl_setxid): Initialize error member. Call
47153 __nptl_setxid_error.
47154 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47155 * nptl/descr.h (struct xid_command): Add error member.
47156 * nptl/tst-setuid3.c: New file.
47157 * nptl/Makefile (tests): Add it.
47158
47159 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47160
47161 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47162 New define.
47163 (__lll_trylock): Use __lll_base_trylock.
47164 (__lll_cond_trylock): Likewise.
47165
47166 2014-07-10 Roland McGrath <roland@hack.frob.com>
47167
47168 * nptl/pthread_create.c (start_thread): Use atomic_or and
47169 lll_futex_wake directly rather than lll_robust_dead.
47170 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47171 (lll_robust_dead): Macro removed.
47172 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47173 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47174 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47175 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47176 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47177 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47178 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47179 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47180 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47181 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47182 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47183 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47184 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47185 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47186 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47187
47188 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47189 Use atomic_compare_and_exchange_val_acq directly rather than
47190 lll_robust_trylock.
47191 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47192 (__lll_robust_trylock, lll_robust_trylock): Removed.
47193 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47194 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47195 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47196 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47197 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47198 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47199 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47200 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47201 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47202 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47203 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47204 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47205 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47206 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47207
47208 2014-07-02 Florian Weimer <fweimer@redhat.com>
47209
47210 * manual/locale.texi (Locale Names): New section documenting
47211 locale name syntax. Adjust menu and node chaining accordingly.
47212 (Choosing Locale): Reference Locale Names, Locale Categories.
47213 Mention setting LC_ALL=C. Reflect that name syntax is now
47214 documented.
47215 (Locale Categories): New section title. Reference Locale Names.
47216 LC_ALL is an environment variable, but not a category.
47217 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47218 description, now in Locale Name. Reference that section. Locale
47219 name syntax is now documented.
47220
47221 2014-07-02 Florian Weimer <fweimer@redhat.com>
47222
47223 [BZ #17137]
47224 * locale/findlocale.c (name_present, valid_locale_name): New
47225 functions.
47226 (_nl_find_locale): Use the loc_name variable to store name
47227 candidates. Call name_present and valid_locale_name to check and
47228 validate locale names. Return an error if the locale is invalid.
47229
47230 2014-07-02 Florian Weimer <fweimer@redhat.com>
47231
47232 * locale/setlocale.c (setlocale): Use strdup for allocating
47233 composite name copy.
47234
47235 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47236
47237 Sync up with gnulib.
47238 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47239 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47240 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47241 and _GL_ARG_NONNULL.
47242 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47243 [!_LIBC]: Include code for Windows and Cygwin.
47244 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47245 Include prototype for int strerror_r.
47246 [!_LIBC] (is_open): New function.
47247 (flush_stdout): New function.
47248 (print_errno_message): Use it.
47249 (error): Likewise.
47250 (error_at_line): Likewise.
47251 (error_tail) Add function attribute macros. Use
47252 __builtin_expect.
47253
47254 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47255
47256 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47257
47258 * io/ftw.c: Include sys/param.h unconditionally.
47259
47260 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47261
47262 [BZ #17125]
47263 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47264 libc_freeres_ptr.
47265 (freecache): New function to free CACHE on exit.
47266
47267 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47268 initialization.
47269
47270 2014-07-09 David S. Miller <davem@davemloft.net>
47271
47272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47273
47274 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47275 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47276 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47277 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47278 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47279 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47280 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47281 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47282 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47283 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47284 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47285 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47286 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47287
47288 2014-07-09 Andreas Schwab <schwab@suse.de>
47289
47290 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47291 output.
47292 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47293 (do_test): Likewise.
47294
47295 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47296
47297 2014-07-09 Will Newton <will.newton@linaro.org>
47298
47299 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47300 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47301 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47302 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47303 * sysdeps/hppa/start.S (_start): Likewise.
47304
47305 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47306
47307 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47308
47309 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47310 defined.
47311
47312 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47313
47314 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47315 after checking that it is non-NULL.
47316
47317 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47318
47319 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47320
47321 * sysdeps/powerpc/memmove.c: Remove file.
47322 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47323 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47324 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47325 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47326 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47327 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47328 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47329 string memmove instead of removed powerpc one.
47330
47331 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47332 [weak_alias]: Fix compiler warning due trailing data.
47333 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47334 [weak_alias]: Likewise.
47335 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47336 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47337
47338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47339 (__libc_ifunc_impl_list): Add memmove functions.
47340
47341 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47342
47343 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47344 Remove code.
47345 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47346 Likewise.
47347 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47348 Likewise.
47349 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47350 Likewise.
47351 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47352 Likewise.
47353 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47354 Likewise.
47355 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47356 Likewise.
47357 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47358 Likewise.
47359 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47360 Likewise.
47361 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47362 Likewise.
47363 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47364 Likewise.
47365 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47366 Likewise.
47367 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47368 Likewise.
47369 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47370 Likewise.
47371 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47372 Likewise.
47373 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47374 Likewise.
47375 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47376 Likewise.
47377
47378 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47379
47380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47381 to avoid alignment traps in non-cacheable memory.
47382 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47383
47384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47385 multiarch objects.
47386 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47387 file: multiarch power7 memmove.
47388 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47389 multiarch default memmove.
47390 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47391 multiarch memove for powerpc32/power4.
47392
47393 * string/bcopy.c: Use full path to include memmove.c.
47394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47395 multiarch objects.
47396 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47397 bcopy for powerpc64.
47398 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47399 bcopy for powerpc64.
47400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47401 and memmove implementations.
47402 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47403 optimized multiarch memmove for POWER7/powerpc64.
47404 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47405 default multiarch memmove for powerpc64.
47406 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47407 multiarch for powerpc64.
47408 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47409 for POWER7/powerpc64.
47410 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47411 memmove for POWER7/powerpc64.
47412
47413 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47414 glibc default one.
47415
47416 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47417 __ELF_NATIVE_CLASS equal to 64.
47418
47419 2014-07-07 Roland McGrath <roland@hack.frob.com>
47420
47421 * sysdeps/nptl/lowlevellock.h: File removed.
47422
47423 * NEWS: NPTL is no longer an add-on!
47424 * nptl/internaltypes.h: Moved ...
47425 * sysdeps/nptl/internaltypes.h: ... here.
47426 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47427 * sysdeps/nptl/fork.c: Likewise.
47428 * sysdeps/nptl/gai_misc.h: Likewise.
47429 * sysdeps/nptl/librt-cancellation.c: Likewise.
47430 * sysdeps/nptl/jmp-unwind.c: Likewise.
47431 * sysdeps/nptl/setxid.h: Likewise.
47432 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47433 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47434 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47435 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47436 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47437 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47438 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47439 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47440 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47441 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47442 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47443 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47444 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47445 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47446 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47447 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47448 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47449 * nptl/Makeconfig: Moved ...
47450 * sysdeps/nptl/Makeconfig: ... here.
47451 * nptl/configure: File removed.
47452 * nptl/ANNOUNCE: File removed.
47453 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47454 * sysdeps/unix/sysv/linux/configure: Regenerated.
47455
47456 * nptl/Makefile (routines): Add libc_pthread_init,
47457 libc_multiple_threads, register-atfork and unregister-atfork.
47458 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47459 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47460 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47461 pthread-pi-defines.sym, structsem.sym.
47462 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47463 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47464 [$(subdir) = nptl] (tests): Add tst-setgetname.
47465 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47466 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47467 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47468 [!LIBC_SIGACTION]: Remove aliases.
47469 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47470 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47471 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47472 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47473 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47474 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47475 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47477 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47478 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47479 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47480 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47481 __libc_allocate_rtsig_private.
47482 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47483 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47484 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47485 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47486 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47487 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47488 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47489 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47490 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47491 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47492 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47493 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47494 * nptl/internaltypes.h: ... here.
47495 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47496 * sysdeps/nptl/jmp-unwind.c: ... here.
47497 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47498 * nptl/libc-lowlevellock.c: ... here.
47499 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47500 * nptl/libc_multiple_threads.c: ... here.
47501 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47502 * nptl/libc_pthread_init.c: ... here.
47503 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47504 * nptl/lowlevelbarrier.sym: ... here.
47505 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47506 * nptl/lowlevelcond.sym: ... here.
47507 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47508 * nptl/lowlevellock.c: ... here.
47509 * nptl/lowlevellock.h: Moved ...
47510 * sysdeps/nptl/lowlevellock.h: ... here.
47511 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47512 * nptl/lowlevelrobustlock.c: ... here.
47513 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47514 * nptl/lowlevelrobustlock.sym: ... here.
47515 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47516 * nptl/lowlevelrwlock.sym: ... here.
47517 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47518 * nptl/pt-fork.c: ... here.
47519 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47520 * nptl/pthread-pi-defines.sym: ... here.
47521 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47522 * nptl/pthread_attr_getaffinity.c: ... here.
47523 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47524 * nptl/pthread_attr_setaffinity.c: ... here.
47525 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47526 * nptl/pthread_mutex_cond_lock.c: ... here.
47527 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47528 Update #include.
47529 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47530 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47531 * nptl/pthread_once.c: ... here, replacing old file.
47532 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47533 * nptl/pthread_yield.c: ... here.
47534 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47535 * nptl/register-atfork.c: ... here.
47536 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47537 * nptl/sem_post.c: ... here.
47538 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47539 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47540 * nptl/sem_timedwait.c: ... here.
47541 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47542 * nptl/sem_trywait.c: ... here.
47543 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47544 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47545 * nptl/sem_wait.c: ... here.
47546 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47547 * nptl/structsem.sym: ... here.
47548 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47549 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47550 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47551 * nptl/unregister-atfork.c: ... here.
47552 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47553 * nptl/unwindbuf.sym: ... here.
47554 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47555 * sysdeps/nptl/fork.c: ... here.
47556 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47557 * sysdeps/nptl/fork.h: ... here.
47558 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47559 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47560 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47561 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47562 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47563 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47564 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47565 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47566 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47567 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47568 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47569 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47570 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47571 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47572 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47573 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47574 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47575 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47576 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47577 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47578 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47579 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47580 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47581 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47582 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47583 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47584 * sysdeps/unix/sysv/linux/raise.c: ... here.
47585 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47586 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47587 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47588 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47589 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47590 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47591 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47592 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47593 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47594 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47595 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47596 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47597 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47598 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47599 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47600
47601 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47602
47603 * sysdeps/generic/memcopy.h: Add comment for
47604 MEMCPY_OK_FOR_FWD_MEMMOVE.
47605
47606 2014-07-04 Will Newton <will.newton@linaro.org>
47607
47608 * string/memchr.c: Merge from gnulib.
47609 [_LIBC]: Remove conditionals.
47610 (__ptr_t): Remove define.
47611 (LONG_MAX_32_BITS): Likewise.
47612 (LONG_MAX): Likewise.
47613 (MEMCHR): Use ANSI prototype and optimize algorithm.
47614
47615 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47616
47617 2014-07-03 Roland McGrath <roland@hack.frob.com>
47618
47619 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47620 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47621
47622 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47623 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47624 in a bare environment with no <stdlib.h> installed.
47625 * sysdeps/nptl/configure: Regenerated.
47626
47627 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47628
47629 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47630 AC_EGREP_CPP for kernel header checks, so they only succeed if
47631 including <linux/version.h> actually works right.
47632 * sysdeps/unix/sysv/linux/configure: Regenerated.
47633
47634 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47635 value so it's not diagnosed as unused.
47636
47637 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47638 thing) with "ifeq ($(subdir),rt)".
47639
47640 2014-07-03 Richard Henderson <rth@redhat.com>
47641
47642 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47643 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47644 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47645
47646 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47647 (math_force_eval): New.
47648
47649 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47650 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47651
47652 * sysdeps/alpha/fpu/s_round.c: Remove file.
47653 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47654
47655 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47656 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47657 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47658 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47659 (_dl_start, print_statistics): Likewise.
47660 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47661 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47662
47663 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47664 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47665 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47666 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47668 (HP_SMALL_TIMING_AVAIL): Define.
47669 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47670 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47671 (HP_SMALL_TIMING_AVAIL): Define.
47672 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47673 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47674
47675 * sysdeps/aarch64/hp-timing.h: New file.
47676
47677 * sysdeps/generic/hp-timing.h: Remove dead comment.
47678 * sysdeps/generic/hp-timing-common.h: New file.
47679 * sysdeps/alpha/hp-timing.h: Include it.
47680 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47681 * sysdeps/i386/i686/hp-timing.h: Likewise.
47682 * sysdeps/ia64/hp-timing.h: Likewise.
47683 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47684 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47685 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47686 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47687 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47688 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47689 (hp_timing_t): New.
47690
47691 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47692 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47693 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47694 * elf/rtld.c (_dl_start_final): Likewise.
47695 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47696 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47697 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47698 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47699 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47700 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47701 (HP_TIMING_DIFF_INIT): Remove.
47702 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47703 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47704 (HP_TIMING_DIFF_INIT): Remove.
47705 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47706 * sysdeps/i386/i686/hp-timing.c: Remove file.
47707 * sysdeps/x86_64/hp-timing.c: Remove file.
47708 * sysdeps/ia64/hp-timing.c: Remove file.
47709 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47710 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47711 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47712 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47713
47714 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47715 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47716 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47717 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47718 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47719 (HP_TIMING_ACCUM): Remove.
47720 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47721 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47722 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47723
47724 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47725 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47726 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47727 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47728 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47729 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47730 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47731 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47732
47733 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47734
47735 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47736
47737 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47738
47739 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47740
47741 Sync up with gettext.
47742 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47743 [_MSC_VER]: Include malloc.h
47744 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47745 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47746 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47747 TEMP_FAILURE_RETRY. Cast return of alloca.
47748 [!_LIBC] Call gl_rwlock_init.
47749 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47750
47751 2014-07-02 Roland McGrath <roland@hack.frob.com>
47752
47753 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47754 before checking its value.
47755
47756 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47757
47758 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47759
47760 * debug/memcpy_chk.c: Don't include pagecopy.h.
47761 * debug/mempcpy_chk.c: Likewise.
47762 * string/memcpy.c: Likewise.
47763 * string/memmove.c: Likewise.
47764 * sysdeps/powerpc/memmove.c: Likewise.
47765 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47766 definition of PAGE_COPY_FWD_MAYBE here...
47767 * sysdeps/generic/pagecopy.h: ... from here.
47768 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47769
47770 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47771 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47772
47773 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47775 optimizations.
47776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47777 (__libc_ifunc_impl_list): Likewise.
47778 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47779 multiarch strcat for PPC64.
47780 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47781 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47782
47783 2014-07-02 Roland McGrath <roland@hack.frob.com>
47784
47785 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47786
47787 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47788
47789 * intl/loadmsgcat.c: Remove declaration of
47790 get_sysdep_segment_value.
47791 (get_sysdep_segment_value): Use ISO C style.
47792 (_nl_load_domain): Use ISO C style. Get rid of redundant
47793 semicolon. Fix typo and formatting in comment.
47794 (_nl_unload_domain): Use ISO C style.
47795
47796 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47797
47798 2014-07-02 Will Newton <will.newton@linaro.org>
47799
47800 * malloc/obstack.c: Merge from gnulib master.
47801 [HAVE_CONFIG_H]: Remove conditional code.
47802 [!_LIBC]: Include config.h.
47803 [!ELIDE_CODE]: Don't include inttypes.h, include
47804 stdint.h unconditionally.
47805 (print_and_abort): Mark as _Noreturn.
47806 (_obstack_allocated_p): Mark as __attribute_pure__.
47807 (obstack_free): Rename to __obstack_free.
47808 [!__attribute__]: Remove conditional code.
47809 * malloc/obstack.h: Merge from gnulib master.
47810 [__cplusplus]: Move conditional down.
47811 [!__attribute_pure__]: Define __attribute_pure__ here
47812 if it is not already defined.
47813 (_obstack_memory_used): Mark as __attribute_pure__.
47814 [!__obstack_free]: Define as obstack_free.
47815 [__GNUC__]: Remove check for ancient NeXT gcc.
47816
47817 2014-07-02 Will Newton <will.newton@linaro.org>
47818 Paul Eggert <eggert@cs.ucla.edu>
47819
47820 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47821
47822 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47823
47824 * resolv/gethnamaddr.c: Add comment warning that the file is
47825 not maintained.
47826
47827 2014-07-01 Carlos O'Donell <carlos@redhat.com>
47828
47829 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47830 entries.
47831
47832 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47833 entry for aio_cancel and aio_cancel64.
47834 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47835 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47836 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47837 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47838 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47839 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47840 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47841 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47842 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47843 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47844 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47845 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47846 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47847
47848 2014-07-01 Roland McGrath <roland@hack.frob.com>
47849
47850 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47851 * nptl/pthread_mutex_lock.c: Likewise.
47852 * nptl/pthread_mutex_timedlock.c: Likewise.
47853 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47854
47855 2014-07-01 Richard henderson <rth@redhat.com>
47856
47857 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47858 (__isnan, __isnanl): Remove.
47859 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47860
47861 * sysdeps/alpha/fpu/libm-test-ulps: Update.
47862
47863 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47864
47865 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47866
47867 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47868
47869 * resolv/nss_dns/dns-host.c (getanswer_r)
47870 [MULTI_PTRS_ARE_ALIASES]: Remove code.
47871
47872 2014-07-01 Joseph Myers <joseph@codesourcery.com>
47873
47874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47875 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47876 undefine.
47877 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47878 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47879
47880 2014-07-01 Roland McGrath <roland@hack.frob.com>
47881
47882 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47883 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47884
47885 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47886 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47887
47888 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47889 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47890 ... here.
47891 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47892 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47893
47894 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47895 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47896 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47897 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47898
47899 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47900 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47901 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47902 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47903 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47904 Moved ...
47905 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47906 ... here.
47907 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47908 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47909 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47910 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47911 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47912 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47913 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47914 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47915 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47916 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47917 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47918 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47919 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47920 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47921 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47922 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47923 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47924 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47925 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47926 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47927 ... here.
47928 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47929 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47930 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47931 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47932 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47933 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47934 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47935 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47936
47937 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
47938
47939 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47940 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47941 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47942 Add sysdep.
47943
47944 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47945
47946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47947
47948 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47949
47950 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47951 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47952
47953 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47954
47955 * sysdeps/arm/libm-test-ulps: Regenerated.
47956
47957 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47958 Roland McGrath <roland@hack.frob.com>
47959
47960 * test-skeleton.c (signal_handler): Kill the whole process group
47961 before killing the child individually.
47962 (main): Report any failure on `setpgid'.
47963
47964 2014-06-30 Roland McGrath <roland@hack.frob.com>
47965
47966 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47967 from _TLS_H to _ARM_NPTL_TLS_H.
47968 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47969 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47970
47971 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47972
47973 [BZ #16539]
47974 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47975 (__expm1l): Return argument unchanged when small but not
47976 subnormal.
47977
47978 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47979 include macro name.
47980 (_FP_UNPACK_RAW_1_P): Likewise.
47981 (_FP_PACK_RAW_1): Likewise.
47982 (_FP_PACK_RAW_1_P): Likewise.
47983 (_FP_MUL_MEAT_1_wide): Likewise.
47984 (_FP_MUL_MEAT_DW_1_hard): Likewise.
47985 (_FP_MUL_MEAT_1_hard): Likewise.
47986 (_FP_DIV_MEAT_1_imm): Likewise.
47987 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47988 (_FP_DIV_MEAT_1_udiv): Likewise.
47989 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47990 (_FP_UNPACK_RAW_2): Likewise.
47991 (_FP_UNPACK_RAW_2_P): Likewise.
47992 (_FP_PACK_RAW_2): Likewise.
47993 (_FP_PACK_RAW_2_P): Likewise.
47994 (_FP_MUL_MEAT_DW_2_wide): Likewise.
47995 (_FP_MUL_MEAT_2_wide): Likewise.
47996 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47997 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47998 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47999 (_FP_MUL_MEAT_2_gmp): Likewise.
48000 (_FP_DIV_MEAT_2_udiv): Likewise.
48001 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48002 (_FP_FRAC_SRL_4): Likewise.
48003 (_FP_FRAC_SRST_4): Likewise.
48004 (_FP_FRAC_SRS_4): Likewise.
48005 (_FP_UNPACK_RAW_4): Likewise.
48006 (_FP_UNPACK_RAW_4_P): Likewise.
48007 (_FP_PACK_RAW_4): Likewise.
48008 (_FP_PACK_RAW_4_P): Likewise.
48009 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48010 (_FP_MUL_MEAT_4_wide): Likewise.
48011 (_FP_MUL_MEAT_4_gmp): Likewise.
48012 (umul_ppppmnnn): Likewise.
48013 (_FP_DIV_MEAT_4_udiv): Likewise.
48014 (__FP_FRAC_ADD_4): Likewise.
48015 (__FP_FRAC_SUB_3): Likewise.
48016 (__FP_FRAC_SUB_4): Likewise.
48017 (__FP_FRAC_DEC_3): Likewise.
48018 (__FP_FRAC_DEC_4): Likewise.
48019 (__FP_FRAC_ADDI_4): Likewise.
48020 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48021 (_FP_FRAC_SRL_8): Likewise.
48022 (_FP_FRAC_SRS_8): Likewise.
48023
48024 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48025 include macro name.
48026 (FP_UNPACK_RAW_EP): Likewise.
48027 (FP_PACK_RAW_E): Likewise.
48028 (FP_PACK_RAW_EP): Likewise.
48029 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48030 (_FP_ISSIGNAN): Likewise.
48031 (_FP_ADD_INTERNAL): Likewise.
48032 (_FP_FMA): Likewise.
48033 (_FP_CMP): Likewise.
48034 (_FP_SQRT): Likewise.
48035 (_FP_TO_INT): Likewise.
48036 (_FP_FROM_INT): Likewise.
48037 (FP_EXTEND): Likewise.
48038 (_FP_DIV_MEAT_N_loop): Likewise.
48039
48040 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48041
48042 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48043 throughout.
48044
48045 2014-06-29 Joseph Myers <joseph@codesourcery.com>
48046
48047 [BZ #17097]
48048 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48049 result with correct sign in case of exponents that produce
48050 overflow except for X very close to 1.
48051
48052 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48053
48054 mktime: merge #if/#ifdef usage from glibc
48055 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48056 as that works with both Glibc's and Gnulib's style.
48057 See thread starting at Siddhesh Poyarekar's bug report at:
48058 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48059
48060 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48061
48062 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48063 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48064 * sysdeps/tile/tilegx/memmove.c: Remove file.
48065
48066 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48067
48068 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48069 abi-name definition.
48070 * scripts/soversions.awk: Do not handle or generate ABI lines.
48071 * shlib-versions: Remove ABI entries.
48072 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48073 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48074
48075 2014-06-27 Roland McGrath <roland@hack.frob.com>
48076
48077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48078 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48079 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48080 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48081 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48082 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48083 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48084 Moved ...
48085 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48086 ... here.
48087 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48088 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48090 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48092 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48094 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48096 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48097 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48098 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48100 Moved ...
48101 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48103 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48105 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48107 Moved ...
48108 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48110 Moved ...
48111 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48113 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48115 Moved ...
48116 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48118 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48120 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48122 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48123 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48124 Moved ...
48125 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48127 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48128 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48129 Moved ...
48130 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48131 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48132 Moved ...
48133 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48135 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48136 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48137 Moved ...
48138 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48139 ... here.
48140 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48141 Identical file removed.
48142 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48143 Moved ...
48144 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48146 Identical file removed.
48147 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48148 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48149 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48150 Moved ...
48151 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48153 Identical file removed.
48154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48155 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48157 Identical file removed.
48158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48159 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48160 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48161 Identical file removed.
48162 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48163 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48164 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48165 Identical file removed.
48166 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48167 Moved ...
48168 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48170 Identical file removed.
48171 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48172 Moved ...
48173 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48174 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48175 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48176 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48177 Identical file removed.
48178 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48179 Moved ...
48180 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48181 ... here.
48182 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48183 Identical file removed.
48184 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48185 Moved ...
48186 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48187 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48188 Identical file removed.
48189 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48190 Moved ...
48191 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48193 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48194 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48195 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48196 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48197 Moved ...
48198 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48199 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48200 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48201
48202 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48203 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48204 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48205 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48206 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48207
48208 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48209
48210 [BZ #17092]
48211 * nscd/nscd.c (monitor_child): Return exit status of child
48212 instead of return value from wait syscall.
48213
48214 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48215
48216 * configure.ac (libc_commonpagesize): Remove variable.
48217 (libc_relro_required): Likewise.
48218 (libc_cv_z_relro): Remove configure test.
48219 * configure: Regenerated.
48220 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48221 variable.
48222 (libc_relro_required): Likewise.
48223 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48224 (libc_relro_required): Likewise.
48225 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48226 (libc_relro_required): Likewise.
48227 * sysdeps/arm/preconfigure: Regenerated.
48228 * sysdeps/ia64/preconfigure: Remove file.
48229 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48230 variable.
48231 (libc_relro_required): Likewise.
48232
48233 [BZ #16561]
48234 [BZ #16562]
48235 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48236 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48237 recompute overflowing results in original rounding mode.
48238 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48239 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48240 recompute overflowing results in original rounding mode.
48241 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48242 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48243 recompute overflowing results in original rounding mode.
48244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48245 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48246 recompute overflowing results in original rounding mode.
48247 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48248 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48249 recompute overflowing results in original rounding mode.
48250 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48251 (libc_feholdsetround_ctx): New macro.
48252 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48253 * sysdeps/i386/fpu/libm-test-ulps: Update.
48254 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48255
48256 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48257
48258 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48259 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48260 corresponding .cpsetup call.
48261
48262 2014-06-26 Roland McGrath <roland@hack.frob.com>
48263
48264 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48265 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48266 * sysdeps/arm/Makefile [$(subdir) = csu]
48267 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48268 (static-only-routines): Add aeabi_read_tp here.
48269 (shared-only-routines): Add libc-aeabi_read_tp here.
48270 (CFLAGS-libc-start.c): Add -fexceptions here.
48271 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48272 (sysdep_routines, static-only-routines, shared-only-routines):
48273 Don't add to these here.
48274 (CFLAGS-libc-start.c): Likewise.
48275
48276 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48277 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48278 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48279 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48280 * sysdeps/arm/Makefile [$(subdir) = rt]
48281 (librt-sysdep_routines, librt-shared-only-routines):
48282 Append rt-aeabi_unwind_cpp_pr1 here.
48283 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48284 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48285 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48286 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48287 Append nptl-aeabi_unwind_cpp_pr1 here.
48288 (tests): Filter out tst-cleanupx4 here.
48289 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48290 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48291 Don't do those here.
48292
48293 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48294
48295 * scripts/list-sources.sh: Do not handle ports specially.
48296
48297 2014-06-26 Roland McGrath <roland@hack.frob.com>
48298
48299 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48300 * sysdeps/arm/feupdateenv.c: Likewise.
48301
48302 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48303
48304 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48305
48306 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48307 trailing whitespace removed.
48308 * scripts/config.guess: Update to version 2014-03-23.
48309 * scripts/config.sub: Update to version 2014-05-01
48310 * scripts/install-sh: Update to version 2013-12-25.23.
48311 * scripts/move-if-change: Update from gnulib.
48312
48313 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48314
48315 * debug/memmove_chk.c: Remove pagecopy.h include.
48316
48317 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48318
48319 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48320 identical to gnulib mktime.
48321
48322 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48323
48324 * configure.ac: Do not test for machine being rs6000. Do not test
48325 for powerpc*-*soft.
48326 * configure: Regenerated.
48327
48328 [BZ #11505]
48329 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48330 test.
48331 * configure: Regenerated.
48332 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48333 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48334 Remove configure test.
48335 * sysdeps/arm/configure: Regenerated.
48336 * sysdeps/nptl/configure.ac: Do not check
48337 libc_cv_asm_cfi_directives.
48338 * sysdeps/nptl/configure: Regenerated.
48339 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48340 * sysdeps/x86_64/nptl/configure: Remove generated file.
48341 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48342 unconditional.
48343 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48344
48345 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48346
48347 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48348 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48349 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48350 it is defined.
48351
48352 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48353 instead of whether it is defined.
48354 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48355 * sysdeps/hppa/dl-machine.h: Likewise.
48356 * sysdeps/ia64/dl-machine.h: Likewise.
48357 * sysdeps/m68k/dl-machine.h: Likewise.
48358 * sysdeps/microblaze/dl-machine.h: Likewise.
48359 * sysdeps/mips/dl-machine.: Likewise.
48360 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48361 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48362 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48363 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48364 * sysdeps/sh/dl-machine.h: Likewise.
48365 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48367 * sysdeps/tile/dl-machine.h: Likewise.
48368 * sysdeps/x86_64/dl-machine.h: Likewise.
48369
48370 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48371 code.
48372 (verify_persistent_db): Likewise.
48373
48374 2014-06-26 Roland McGrath <roland@hack.frob.com>
48375
48376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48377 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48379 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48381 Moved ...
48382 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48383 ... here.
48384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48385 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48387 Identical file removed.
48388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48389 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48391 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48393 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48395 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48397 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48399 Moved ...
48400 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48402 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48404 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48406 Moved ...
48407 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48409 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48411 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48413 Identical file removed.
48414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48415 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48417 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48419 Moved ...
48420 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48421 ... here.
48422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48423 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48425 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48427 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48429 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48431 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48433 Moved ...
48434 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48436 Moved ...
48437 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48439 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48441 Moved ...
48442 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48444 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48445
48446 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48447 folded into ...
48448 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48449 * sysdeps/unix/sysv/linux/s390/Versions
48450 (libpthread: GLIBC_2.19): New version set.
48451 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48452 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48453 (librt: GLIBC_2.3.3): New version set.
48454 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48455 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48456 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48457 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48458 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48459 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48460 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48461 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48462 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48463 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48464 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48465 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48466 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48467 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48468 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48469 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48470 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48471 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48472 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48473 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48474 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48475 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48476 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48477 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48478 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48479 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48480 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48481 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48482 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48483 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48484 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48485 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48490 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48492 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48494 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48496 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48498 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48499
48500 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48501 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48502 (__libc_vfork): Define the function under this name.
48503 [!NOT_IN_libc] (__vfork): Make this an alias.
48504 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48506 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48507 (__libc_vfork): Define the function under this name.
48508 [!NOT_IN_libc] (__vfork): Make this an alias.
48509 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48510 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48511 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48512 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48513 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48514 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48515
48516 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48517 code that was previously under [RESET_PID].
48518 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48519 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48520 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48521
48522 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48523 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48524 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48525 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48526 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48527 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48528 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48529 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48530 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48531 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48532 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48533 Moved ...
48534 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48535 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48536 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48537 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48538 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48539 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48540 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48541 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48542 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48543 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48544 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48545 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48546 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48547 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48548 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48549 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48550 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48551 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48552 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48553 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48554 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48555 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48556 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48557 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48558 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48559 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48560 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48562 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48563
48564 2014-06-25 Roland McGrath <roland@hack.frob.com>
48565
48566 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48567 that was previously under [RESET_PID].
48568 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48569
48570 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48571
48572 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48573 not undefine and redefine.
48574 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48575 [O_CLOEXEC]: Make code unconditional.
48576 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48577 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48578 <kernel-features.h>.
48579 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48580 conditional variable definition.
48581 (shm_open) [O_CLOEXEC]: Make code unconditional.
48582 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48583 code.
48584
48585 * configure.ac (USE_REGPARMS): Don't define here.
48586 * configure: Regenerated.
48587 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48588 * sysdeps/i386/configure: Regenerated.
48589
48590 * nptl/createthread.c: Don't include kernel-features.h.
48591 * nptl/pthread_cancel.c: Likewise.
48592 * nptl/pthread_condattr_setclock.c: Likewise.
48593 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48594 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48595 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48596 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48597 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48598 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48599 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48600 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48601 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48602 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48603 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48604 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48605 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48606 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48607 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48608 * nscd/gai.c: Likewise.
48609 * nss/nss_db/db-open.c: Likewise.
48610 * sysdeps/generic/ldsodefs.h: Likewise.
48611 * sysdeps/sh/nptl/tls.h: Likewise.
48612 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48613 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48614 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48615 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48616 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48617 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48618 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48619 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48620 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48621 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48622 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48623 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48624 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48625 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48626 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48627 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48628 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48629 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48630 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48631 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48632 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48633 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48634 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48635 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48636 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48637 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48638 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48639 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48640 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48641 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48642 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48643 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48644 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48645 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48646 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48647 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48648 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48649 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48650 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48651 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48652 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48653 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48654 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48655 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48656 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48657 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48658 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48659 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48660 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48661 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48662 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48663 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48664 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48665 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48666 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48667 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48668 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48669 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48692 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48693 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48694 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48695 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48696 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48697 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48699 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48700 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48701 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48702 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48703 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48704 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48705 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48706 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48707 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48708 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48709 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48710 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48711 * sysdeps/unix/sysv/linux/system.c: Likewise.
48712 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48713 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48714 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48715 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48716 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48717 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48718 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48719
48720 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48721 * configure: Regenerated.
48722 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48723
48724 * configure.ac (base_machine): Do not set specially for particular
48725 machines here.
48726 * configure: Regenerated.
48727 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48728 settings from configure.ac.
48729 * sysdeps/i386/preconfigure: New file.
48730 * sysdeps/s390/preconfigure: Likewise.
48731 * sysdeps/sh/preconfigure: Likewise.
48732 * sysdeps/sparc/preconfigure: Likewise.
48733
48734 2014-06-25 Roland McGrath <roland@hack.frob.com>
48735
48736 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48737 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48738 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48739 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48740 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48741 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48742 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48743 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48744 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48745 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48746 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48747 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48748 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48749 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48750 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48751 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48752 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48753 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48754 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48755
48756 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48757 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48758 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48759 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48760 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48761 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48762 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48763 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48764 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48765 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48766 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48767 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48768 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48769 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48770 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48771 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48772 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48773 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48774 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48775 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48776 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48777 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48778 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48779 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48780 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48781 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48782 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48783 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48784 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48785 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48786 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48787 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48788 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48789 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48790 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48791 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48792 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48793 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48794
48795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48796 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48798 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48800 Moved ...
48801 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48802 ... here.
48803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48804 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48806 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48808 Moved ...
48809 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48811 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48813 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48815 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48817 Moved ...
48818 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48820 Moved ...
48821 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48823 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48825 Moved ...
48826 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48828 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48830 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48832 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48834 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48836 Moved ...
48837 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48838 ... here.
48839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48840 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48842 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48844 Moved ...
48845 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48847 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48849 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48851 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48853 Moved ...
48854 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48856 Moved ...
48857 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48859 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48861 Moved ...
48862 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48864 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48866 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48867
48868 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48869
48870 * timezone/checktab.awk: Update from tzcode 2014e.
48871 * timezone/private.h: Likewise.
48872 * timezone/tzfile.h: Likewise.
48873 * timezone/zdump.c: Likewise.
48874 * timezone/zic.c: Likewise.
48875
48876 * sysdeps/unix/sysv/linux/kernel-features.h
48877 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48878 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48879 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48880 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48881 Remove conditional code.
48882
48883 2014-06-25 Will Newton <will.newton@linaro.org>
48884
48885 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48886 (_dl_arm_cap_flags): Add HWCAP2 values.
48887 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48888 (_DL_HWCAP_COUNT): Increase to 37.
48889 (_DL_HWCAP_LAST): New define.
48890 (_DL_HWCAP2_LAST): New define.
48891 (_dl_procinfo): Add support for printing
48892 AT_HWCAP2 entries.
48893 (_dl_string_hwcap): Use _dl_hwcap_string.
48894
48895 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48896
48897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48898
48899 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48900
48901 * README: Do not mention ports directory.
48902
48903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48904 Remove macro.
48905 * sysdeps/unix/sysv/linux/futimes.c: Do not include
48906 <kernel-features.h>.
48907 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48908 conditional variable definition.
48909 (__futimes): Update comment.
48910 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48911 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48912
48913 [BZ #16560]
48914 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48915 arguments close to 0.
48916 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48917 Likewise.
48918 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48919 Likewise.
48920 * math/auto-libm-test-in: Add more tests of exp10.
48921 * math/auto-libm-test-out: Regenerated.
48922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48923
48924 * sysdeps/unix/sysv/linux/kernel-features.h
48925 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48926 * sysdeps/unix/sysv/linux/readv.c: Do not include
48927 <kernel-features.h>.
48928 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48929 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48930 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48931 unconditional.
48932 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48933 conditional code.
48934 * sysdeps/unix/sysv/linux/writev.c: Do not include
48935 <kernel-features.h>.
48936 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48937 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48938 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48939 unconditional.
48940 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48941 conditional code.
48942
48943 2014-06-25 Will Newton <will.newton@linaro.org>
48944
48945 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48946 comment changes throughout the file. Remove checks
48947 for HAVE_*_H definitions that are not required.
48948 (__gen_tempname): Call abort if an unknown kind value is
48949 passed.
48950
48951 2014-06-25 Andreas Schwab <schwab@suse.de>
48952
48953 [BZ #17086]
48954 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48955 scalbln, scalblnf, scalblnl in libc.
48956
48957 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48958
48959 [BZ #17086]
48960 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48961 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48962 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48963
48964 2014-06-24 Roland McGrath <roland@hack.frob.com>
48965
48966 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48967 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48968 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48969 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48970 Update #include.
48971 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48972 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48973 Update #include.
48974 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48975 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48976 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48977 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48978 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48979 * sysdeps/x86/bits/pthreadtypes.h: ... here.
48980 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48981 * sysdeps/x86/bits/semaphore.h: ... here.
48982 * sysdeps/x86/nptl/elide.h: Moved ...
48983 * sysdeps/x86/elide.h: ... here.
48984 * sysdeps/x86_64/nptl/Implies: File removed.
48985 * sysdeps/i386/nptl/Implies: File removed.
48986
48987 2014-06-24 Joseph Myers <joseph@codesourcery.com>
48988
48989 [BZ #16539]
48990 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48991 return the argument for normal arguments with exponent below -64.
48992 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48993 Likewise.
48994 * math/auto-libm-test-in: Add another test of expm1.
48995 * math/auto-libm-test-out: Regenerated.
48996
48997 [BZ #16287]
48998 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48999 calling __erfcl for arguments at least 16.
49000 * math/auto-libm-test-in: Add more tests of erf.
49001 * math/auto-libm-test-out: Regenerated.
49002
49003 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49004 individual architectures.
49005 * sysdeps/unix/sysv/linux/configure: Regenerated.
49006 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49007 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49008 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49009 (ldd_rewrite_script): Define variable.
49010 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49012 file.
49013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49014 generated file.
49015 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49016 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49017 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49018 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49019 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49020 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49021 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49022 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49023
49024 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49025
49026 [BZ #17084]
49027 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49028 Rename member __data.d to __data.__elision_data.
49029
49030 2014-06-24 Wilco <wdijkstr@arm.com>
49031
49032 * NEWS: Add 16918 to fixed bug list.
49033
49034 2014-06-24 Wilco <wdijkstr@arm.com>
49035
49036 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49037
49038 2014-06-24 Wilco <wdijkstr@arm.com>
49039
49040 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49041 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49042 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49043 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49044 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49045 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49046 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49047 Use _FPU_MASK_RM.
49048
49049 2014-06-24 Wilco <wdijkstr@arm.com>
49050
49051 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49052
49053 2014-06-24 Wilco <wdijkstr@arm.com>
49054
49055 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49056 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49057 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49058 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49059
49060 2014-06-24 Wilco <wdijkstr@arm.com>
49061
49062 [BZ #16918]
49063 * sysdeps/arm/feupdateenv.c (feupdateenv):
49064 Rewrite to reduce FPSCR accesses and fix return value.
49065
49066 2014-06-24 Wilco <wdijkstr@arm.com>
49067
49068 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49069 Optimize to avoid unnecessary FPSCR writes.
49070 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49071 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49072 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49073 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49074
49075 2014-06-24 Wilco <wdijkstr@arm.com>
49076
49077 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49078 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49079 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49080 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49081 Call libc_fetestexcept_vfp.
49082 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49083 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49084 __SOFTFP__ ifdef so that they can be built for softfp.
49085
49086 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49087
49088 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49089 argument type signed char.
49090
49091 * Makerules (check-abi): Dump diff of symlist if the test
49092 fails.
49093
49094 2014-06-23 Roland McGrath <roland@hack.frob.com>
49095
49096 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49097 using abort.
49098
49099 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49100 Remove unused variable ST.
49101
49102 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49103
49104 [BZ #16354]
49105 [BZ #17061]
49106 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49107 small arguments before calling __expm1.
49108 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49109 small arguments before calling __expm1f.
49110 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49111 small arguments before calling __expm1l.
49112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49113 Likewise.
49114 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49115 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49116 spurious underflow for some cosh tests.
49117 * math/auto-libm-test-out: Regenerated.
49118 * sysdeps/i386/fpu/libm-test-ulps: Update.
49119
49120 [BZ #17050]
49121 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49122 (__ieee754_y1): Set errno if return value overflows.
49123 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49124 (__ieee754_y1f): Set errno if return value overflows.
49125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49126 (__ieee754_y1l): Set errno if return value overflows.
49127 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49128 (__ieee754_y1l): Set errno if return value overflows.
49129 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49130 * math/auto-libm-test-out: Regenerated.
49131
49132 * math/gen-auto-libm-tests.c: Document use of
49133 ignore-zero-inf-sign.
49134 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49135 (input_flags): Add ignore-zero-inf-sign.
49136 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49137 * math/gen-libm-test.pl (generate_testfile): Handle
49138 ignore-zero-inf-sign.
49139 * math/auto-libm-test-in: Mark some cpow tests with
49140 ignore-zero-inf-sign and some with xfail-rounding.
49141 * math/auto-libm-test-out: Regenerated.
49142 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49143 * sysdeps/i386/fpu/libm-test-ulps: Update.
49144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49145
49146 [BZ #16315]
49147 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49148 overflowing or underflowing operations take place with sign of
49149 result.
49150 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49151 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49152 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49153 (__ieee754_pow): Recompute overflowing and underflowing results in
49154 original rounding mode.
49155 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49156 (__powl_helper): Allow negative argument X and scale negated value
49157 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49158 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49159 overflowing or underflowing operations take place with sign of
49160 result.
49161 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49162 Include <math.h>.
49163 * math/auto-libm-test-in: Add more tests of pow.
49164 * math/auto-libm-test-out: Regenerated.
49165 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49166 (pow_tonearest_test_data): Remove.
49167 (pow_test_tonearest): Likewise.
49168 (pow_towardzero_test_data): Likewise.
49169 (pow_test_towardzero): Likewise.
49170 (pow_downward_test_data): Likewise.
49171 (pow_test_downward): Likewise.
49172 (pow_upward_test_data): Likewise.
49173 (pow_test_upward): Likewise.
49174 (main): Don't call removed functions.
49175 * sysdeps/i386/fpu/libm-test-ulps: Update.
49176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49177
49178 2014-06-23 Roland McGrath <roland@hack.frob.com>
49179
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49181 Moved ...
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49184 Moved ...
49185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49187 Moved ...
49188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49190 Moved ...
49191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49193 File removed.
49194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49195 File removed.
49196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49197 File removed.
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49199 File removed.
49200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49201 File removed.
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49203 File removed.
49204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49205 File removed.
49206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49207 File removed.
49208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49209 File removed.
49210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49211 File removed.
49212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49213 File removed.
49214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49215 File removed.
49216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49217 Moved ...
49218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49220 Moved ...
49221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49222 ... here.
49223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49224 Moved ...
49225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49227 Moved ...
49228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49230 Moved ...
49231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49233 Moved ...
49234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49236 Moved ...
49237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49239 Moved ...
49240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49242 Moved ...
49243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49246 ... here.
49247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49248 Moved ...
49249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49251 Moved ...
49252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49253 ... here.
49254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49255 Moved ...
49256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49257 ... here.
49258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49259 Moved ...
49260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49261 ... here.
49262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49263 Moved ...
49264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49266 Moved ...
49267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49271 Moved ...
49272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49273 ... here.
49274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49275 Moved ...
49276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49277 ... here.
49278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49279 Moved ...
49280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49282 Moved ...
49283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49285 Moved ...
49286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49288 Moved ...
49289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49291 Moved ...
49292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49293 ... here.
49294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49295 Moved ...
49296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49298 Moved ...
49299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49301 Moved ...
49302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49304 Moved ...
49305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49309 Moved ...
49310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49312 Moved ...
49313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49315 Moved ...
49316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49317 ... here.
49318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49319 Moved ...
49320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49321 ... here.
49322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49323 Moved ...
49324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49325 ... here.
49326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49327 Moved ...
49328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49330 Moved ...
49331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49333 Moved ...
49334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49336 Moved ...
49337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49338 ... here.
49339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49340 Moved ...
49341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49342 ... here.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49344 Moved ...
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49346 ... here.
49347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49348 Moved ...
49349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49351 Moved ...
49352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49353
49354 2014-06-23 Will Newton <will.newton@linaro.org>
49355 Wilco <wdijkstr@arm.com>
49356
49357 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49358 implementation. Include get-rounding-mode.h.
49359 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49360 [!libc_feholdsetround_noex_ctx]: Define
49361 libc_feholdsetround_noex_ctx.
49362 [!libc_feholdsetround_noexf_ctx]: Define
49363 libc_feholdsetround_noexf_ctx.
49364 [!libc_feholdsetround_noexl_ctx]: Define
49365 libc_feholdsetround_noexl_ctx.
49366 (libc_feholdsetround_ctx): New function.
49367 (libc_feresetround_ctx): New function.
49368 (libc_feholdsetround_noex_ctx): New function.
49369 (libc_feresetround_noex_ctx): New function.
49370
49371 2014-06-23 Roland McGrath <roland@hack.frob.com>
49372
49373 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49374 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49375 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49376 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49377 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49378 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49379
49380 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49381 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49382 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49383 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49384 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49385 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49387 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49389 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49391 Moved ...
49392 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49393 ... here.
49394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49395 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49397 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49398 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49399 Moved ...
49400 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49401 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49402 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49404 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49405 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49406 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49407 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49408 Moved ...
49409 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49411 Moved ...
49412 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49413 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49414 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49415 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49416 Moved ...
49417 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49419 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49420 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49421 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49422 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49423 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49425 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49427 Moved ...
49428 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49429 ... here.
49430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49431 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49433 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49435 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49436 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49437 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49439 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49441 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49443 Moved ...
49444 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49445 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49446 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49447 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49448 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49449 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49450 Moved ...
49451 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49453 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49454 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49455 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49456
49457 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49458 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49459 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49460 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49461 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49462 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49463 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49464 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49466 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49467 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49468 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49469 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49470 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49471 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49472 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49473 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49474 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49475 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49476 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49477 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49478 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49479 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49480 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49481 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49482 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49483 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49484 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49485
49486 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49487
49488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49489 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49490 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49491 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49492 (IPV6_PMTUDISC_INTERFACE): Likewise.
49493 (IPV6_PMTUDISC_OMIT): Likewise.
49494
49495 2014-06-23 Andreas Schwab <schwab@suse.de>
49496
49497 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49498 Remove unused errout label.
49499
49500 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49501
49502 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49503 macro: hardware supports Vector Crypto instructions.
49504
49505 2014-06-23 Will Newton <will.newton@linaro.org>
49506
49507 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49508 rather than __builtin_expect.
49509
49510 * elf/dl-lookup.c (undefined_msg): Remove variable.
49511 (_dl_lookup_symbol_x): Replace undefined_msg with string
49512 literal.
49513
49514 * elf/dl-lookup.c (do_lookup_unique): New function.
49515 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49516 to a separate function.
49517
49518 2014-06-23 Andreas Schwab <schwab@suse.de>
49519
49520 [BZ #17079]
49521 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49522 before reading the next line.
49523
49524 2014-06-23 Will Newton <will.newton@linaro.org>
49525
49526 * test-skeleton.c (signal_handler): Use printf and %m
49527 rather than perror. Use printf rather than fprintf to
49528 stderr. Use puts rather than fputs to stderr.
49529 (main): Likewise.
49530
49531 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49532
49533 * nscd/nscd.c (thread_info_t): Remove typedef.
49534 (thread_info): Remove variable.
49535
49536 2014-06-21 Allan McRae <allan@archlinux.org>
49537
49538 * NEWS: Mention CVE-2014-4043.
49539
49540 2014-06-20 Roland McGrath <roland@hack.frob.com>
49541
49542 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49543 * nptl/smp.h: ... here.
49544
49545 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49546
49547 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49548 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49549 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49550 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49551
49552 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49553 * nptl/stack-aliasing.h: New file.
49554 * sysdeps/i386/i686/stack-aliasing.h: New file.
49555 * sysdeps/i386/i686/nptl/Makefile: File removed.
49556 * sysdeps/x86_64/stack-aliasing.h: New file.
49557 * sysdeps/x86_64/nptl/Makefile
49558 (CFLAGS-pthread_create.c): Variable removed.
49559
49560 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49561 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49562 old file.
49563 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49564 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49565 old file.
49566
49567 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49568
49569 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49570 (__ASSUME_SIGFRAME_V2): Remove macro.
49571 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49572 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49573 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49574 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49575 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49576 Declare as function. Remove conditional macro definitions.
49577 (__default_rt_sa_restorer): Likewise.
49578 (__default_sa_restorer_v1): Remove declaration.
49579 (__default_sa_restorer_v2): Likewise.
49580 (__default_rt_sa_restorer_v1): Likewise.
49581 (__default_rt_sa_restorer_v2): Likewise.
49582 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49583 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49584 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49585
49586 2014-06-20 Roland McGrath <roland@hack.frob.com>
49587
49588 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49589 (libpthread-routines): Add sysdep.
49590 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49591 * sysdeps/unix/sysv/linux/sparc/Versions
49592 (libpthread: GLIBC_2.3.3): New version set.
49593 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49594 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49595 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49596 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49597 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49598 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49599 Moved ...
49600 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49601 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49602 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49603 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49604 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49605 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49606 * sysdeps/sparc/nptl/sem_init.c: ... here.
49607 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49608 * sysdeps/sparc/nptl/sem_post.c: ... here.
49609 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49610 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49611 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49612 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49613 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49614 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49615 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49616 (libpthread-routines): Add cpu_relax.
49617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49618 File removed.
49619 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49620 (librt: GLIBC_2.3.3): New version set.
49621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49622 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49623 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49624 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49627 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49629 Moved ...
49630 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49632 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49634 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49636 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49638 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49640 Moved ...
49641 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49642 Update #include.
49643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49644 Moved ...
49645 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49646 Update #include.
49647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49648 Moved ...
49649 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49650 Update #include.
49651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49652 Moved ...
49653 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49654 Update #include.
49655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49656 Moved ...
49657 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49658 Update #include.
49659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49660 Moved ...
49661 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49662 Update #include.
49663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49664 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49670 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49672 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49674 Moved ...
49675 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49677 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49679 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49680
49681 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49682
49683 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49684 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49685 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49686 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49687 * nscd/nscd.c: Likewise.
49688 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49689 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49690 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49691 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49692
49693 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49694 <kernel-features.h>.
49695 (init_mq_netlink): Remove conditional have_sock_cloexec
49696 definitions. Remove code conditional on have_sock_cloexec < 0.
49697 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49698 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49699 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49700 <kernel-features.h>.
49701 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49702 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49703
49704 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49705
49706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49707 Add tests for memset_chk and memset.
49708
49709 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49710 with AVX2_Usable.
49711
49712 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49713
49714 [BZ #16046]
49715 * elf/tst-dl-iter-static.c: New file.
49716 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49717
49718 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49719 error.
49720
49721 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49722
49723 * sysdeps/unix/sysv/linux/kernel-features.h
49724 (__ASSUME_F_GETOWN_EX): Remove macro.
49725 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49726 <kernel-features.h>.
49727 (miss_F_GETOWN_EX): Remove variable or macro.
49728 (do_fcntl): Do not check miss_F_GETOWN_EX.
49729 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49730
49731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49732 Remove macro.
49733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49734 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49735 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49736
49737 * sysdeps/unix/sysv/linux/kernel-features.h
49738 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49739 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49740 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49741 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49742
49743 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49744
49745 [BZ #17075]
49746 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49747 Fix calculation of the symbol's value.
49748 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49749 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49750 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49751 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49752 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49753 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49754 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49755 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49756 (modules-names): Add `tst-armtlsdescmod',
49757 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49758 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49759 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49760 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49761 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49762 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49763 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49764 ($(objpfx)tst-armtlsdescloc): New dependency.
49765 ($(objpfx)tst-armtlsdescextnow): Likewise.
49766 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49767 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49768 TLS scheme support.
49769 * sysdeps/arm/configure: Regenerate.
49770
49771 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49772
49773 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49774 (__atfct_seterrno_2): Likewise.
49775 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49776 <kernel-features.h>.
49777 (__ASSUME_ATFCTS): Do not undefine and redefine.
49778 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49779 (__have_atfcts): Remove conditional definition.
49780 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49781 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49782 unreachable if [__ASSUME_ATFCTS].
49783 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49784 not undefine and redefine.
49785 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49786 <kernel-features.h>.
49787 (faccessat) [__NR_faccessat]: Make code unconditional.
49788 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49789 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49790 <kernel-features.h>.
49791 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49792 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49793 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49794 <kernel-features.h>.
49795 (fchownat) [__NR_fchownat]: Make code unconditional.
49796 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49797 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49798 <kernel-features.h>.
49799 (futimesat) [__NR_futimesat]: Make code unconditional.
49800 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49801 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49802 <kernel-features.h>.
49803 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49804 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49805 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49806 <kernel-features.h>.
49807 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49808 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49809 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49810 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49811 <kernel-features.h>.
49812 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49813 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49814 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49815 <kernel-features.h>.
49816 (linkat) [__NR_linkat]: Make code unconditional.
49817 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49818 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49819 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49820 <kernel-features.h>.
49821 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49822 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49823 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49824 <kernel-features.h>.
49825 (mkdirat) [__NR_mkdirat]: Make code unconditional.
49826 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49827 * sysdeps/unix/sysv/linux/openat.c: Do not include
49828 <kernel-features.h>.
49829 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49830 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49831 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49832 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49833 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49834 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49835 <kernel-features.h>.
49836 (readlinkat) [__NR_readlinkat]: Make code unconditional.
49837 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
49838 result of INLINE_SYSCALL directly, not via int variable.
49839 * sysdeps/unix/sysv/linux/renameat.c: Do not include
49840 <kernel-features.h>.
49841 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49842 (renameat) [__NR_renameat]: Make code unconditional.
49843 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49844 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49845 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49846 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49847 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49848 (__ASSUME_ATFCTS): Do not undefine and redefine.
49849 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49850 <kernel-features.h>.
49851 (symlinkat) [__NR_symlinkat]: Make code unconditional.
49852 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49853 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49854 <kernel-features.h>.
49855 (unlinkat) [__NR_unlinkat]: Make code unconditional.
49856 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49857 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49858 (__ASSUME_ATFCTS): Do not undefine and redefine.
49859 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49860 <kernel-features.h>.
49861 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49862 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49863 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49864 <kernel-features.h>.
49865 (__xmknodat) [__NR_mknodat]: Make code unconditional.
49866 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49867
49868 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49869
49870 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49871
49872 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
49873
49874 [BZ #17069]
49875 * posix/regcomp.c (parse_reg_exp): Deallocate partially
49876 constructed tree before returning error.
49877 * posix/bug-regexp36.c: Expand test case.
49878
49879 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
49880
49881 [BZ #6803]
49882 * math/libm-test.inc (scalbln_test_date):
49883 Add errno expectations.
49884 * math/w_scalblnf.c: New File.
49885 Add wrapper which checks for setting errno to ERANGE.
49886 Add weak_alias for corresponding scalbln function.
49887 * math/w_scalbln.c: Likewise.
49888 * math/w_scalblnl.c: Likewise.
49889 * math/Makefile (libm-calls): Add w_scalbln.
49890 * sysdeps/ieee754/flt-32/s_scalblnf.c:
49891 Remove weak_alias for corresponding scalbln function.
49892 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49893 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49894 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49896 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49897 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49898 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49899 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49900 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49901 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49902 Remove long_double_symbol for scalblnl function in libm, libc.
49903 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49904 Add wrapper which checks for setting errno to ERANGE.
49905 Add long_double_symbol for scalblnl function in libm, libc.
49906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49907 Remove long_double_symbol for scalblnl in libm.
49908 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49909 Add wrapper which checks for setting errno to ERANGE.
49910 Add long_double_symbol for scalblnl function in libm.
49911 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49912 Do not use wrapper because of own implementation.
49913
49914 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
49915
49916 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49917 3 bytes for __pad1 for x32.
49918 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49919
49920 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
49921 H.J. Lu <hongjiu.lu@intel.com>
49922
49923 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49924 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49925 * sysdeps/x86_64/multiarch/memset.S: Likewise.
49926 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49927 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49928
49929 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
49930
49931 [BZ #17069]
49932 * posix/regcomp.c (parse_expression): Deallocate partially
49933 constructed tree before returning error.
49934 * posix/Makefile.c (tests): Add bug-regex36.
49935 (generated): Add bug-regex36.mtrace.
49936 (tests-special): Add $(objpfx)bug-regex36-mem.out
49937 (bug-regex36-ENV): New variable.
49938 ($(objpfx)bug-regex36-mem.out): New rule.
49939 * posix/bug-regex36.c: New file.
49940
49941 2014-06-19 Will Newton <will.newton@linaro.org>
49942
49943 * malloc/malloc.c (systrim): If extra is zero then return
49944 early.
49945
49946 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49947
49948 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49949
49950 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
49951
49952 * sysdeps/aarch64/strchr.S: New file.
49953
49954 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49955
49956 [BZ #17022]
49957 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49958 from arguments -2 or below.
49959 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49960 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49961
49962 2014-06-18 Andreas Schwab <schwab@suse.de>
49963
49964 [BZ #17062]
49965 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49966 of a bracket expr not to run off the end of the string.
49967 * posix/Makefile (tests): Add tst-fnmatch3.
49968 * posix/tst-fnmatch3.c: New file.
49969
49970 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49971
49972 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49973 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49974 [$(cross-compiling) = no]: Likewise.
49975 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49976 [$(cross-compiling) = no]: Likewise.
49977
49978 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49979
49980 [BZ #17031]
49981 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49982 double, adjusted for any remainder from the high double.
49983 * math/libm-test.inc (nearbyint): Add tests.
49984 (rint): Likewise.
49985
49986 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49987
49988 * nptl/sysdeps/powerpc/Makefile: Moved ...
49989 * sysdeps/powerpc/nptl/Makefile: ... here.
49990 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49991 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49992 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49993 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49994 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49995 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49996 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49997 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49998 * nptl/sysdeps/powerpc/tls.h: Moved ...
49999 * sysdeps/powerpc/nptl/tls.h: ... here.
50000
50001 2014-06-16 Joseph Myers <joseph@codesourcery.com>
50002
50003 [BZ #16681]
50004 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50005 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50006 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50007 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50008 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50009 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50010 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50011 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50012 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50013
50014 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50015
50016 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50017
50018 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50019
50020 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50021 defined operator.
50022
50023 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50024 $TIMEOUTFACTOR.
50025
50026 2014-06-16 Florian Weimer <fweimer@redhat.com>
50027
50028 [BZ #17058]
50029 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50030 non-executed part of the test.
50031
50032 2014-06-16 Andreas Schwab <schwab@suse.de>
50033
50034 * string/bits/string2.h (strdup, strndup): Update feature guard.
50035
50036 2014-06-14 David S. Miller <davem@davemloft.net>
50037
50038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50039
50040 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50041
50042 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50043 that was previously under [RESET_PID].
50044 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50045
50046 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50047 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50048 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50049 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50050 (__libc_vfork): New strong alias.
50051 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50052
50053 2014-06-14 Andi Kleen <ak@linux.intel.com>
50054
50055 * sysdeps/generic/elide.h: New file.
50056
50057 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50058
50059 * Makefile (installed-headers): Adjust path of pthread.h header.
50060
50061 2014-06-13 Roland McGrath <roland@hack.frob.com>
50062
50063 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50064 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50065 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50066 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50067
50068 * nptl/sysdeps/s390/Makefile: Moved ...
50069 * sysdeps/s390/nptl/Makefile: ... here.
50070 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50071 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50072 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50073 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50074 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50075 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50076 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50077 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50078 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50079 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50080 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50081 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50082 * nptl/sysdeps/s390/tls.h: Moved ...
50083 * sysdeps/s390/nptl/tls.h: ... here.
50084
50085 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50086 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50087
50088 2014-06-13 David S. Miller <davem@davemloft.net>
50089
50090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50093 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50097 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50098 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50099 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50100 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50101 Remove RESET_PID cpp guards.
50102 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50103 Remove RESET_PID cpp guards.
50104 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50105
50106 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50107
50108 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50109 __sp to uintptr_t.
50110
50111 2014-06-13 Andi Kleen <ak@linux.intel.com>
50112
50113 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50114 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50115 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50116 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50117 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50118 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50119 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50120 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50121 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50122 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50123 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50124 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50125 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50126 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50127 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50128 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50129 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50130 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50131 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50132 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50133
50134 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50135 (pthread_rwlock_rdlock): Add elision.
50136 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50137 (pthread_rwlock_wrlock): Add elision.
50138 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50139 (pthread_rwlock_trywrlock): Add elision.
50140 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50141 (pthread_rwlock_tryrdlock): Add elision.
50142 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50143 (pthread_rwlock_tryrdlock): Add elision unlock.
50144 * nptl/sysdeps/pthread/pthread.h:
50145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50146 (PTHREAD_RWLOCK_INITIALIZER,
50147 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50148 Handle new elision field.
50149 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50150 * sysdeps/arm/nptl/bits/pthreadtypes.h
50151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50152 * sysdeps/sh/nptl/bits/pthreadtypes.h
50153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50154 * sysdeps/tile/nptl/bits/pthreadtypes.h
50155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50156 * sysdeps/a/nptl/bits/pthreadtypes.h
50157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50158 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50160 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50162 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50164 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50166 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50168 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50170 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50172 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50174 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50175 (elision_init): Set try_xbegin to zero when no RTM.
50176 * sysdeps/x86/nptl/bits/pthreadtypes.h
50177 (pthread_rwlock_t): Change __pad1 to __rwelision.
50178 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50179
50180 2014-06-13 Andi Kleen <ak@linux.intel.com>
50181
50182 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50183 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50184 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50185 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50186
50187 2014-06-13 Meador Inge <meadori@codesourcery.com>
50188
50189 [BZ #16996]
50190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50191 that the cached result has been set before returning it.
50192
50193 2014-06-12 Roland McGrath <roland@hack.frob.com>
50194
50195 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50196 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50197 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50198 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50199 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50200 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50201
50202 * nptl/sysdeps/sparc/Makefile: Moved ...
50203 * sysdeps/sparc/nptl/Makefile: ... here.
50204 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50205 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50206 * nptl/sysdeps/sparc/tls.h: Moved ...
50207 * sysdeps/sparc/nptl/tls.h: ... here.
50208 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50209 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50210 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50211 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50212 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50213 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50214 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50215 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50216 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50217 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50218 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50219 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50220 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50221 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50222 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50223 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50224 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50225 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50226 Update #include.
50227 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50228 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50229 Update #include.
50230 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50231 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50232 Update #include.
50233 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50234 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50235 Update #include.
50236
50237 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50238
50239 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50240 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50241
50242 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50243 (struct list_links): Type removed.
50244 (struct thread_node, struct timer_node): Replace struct list_links
50245 with struct list_head.
50246 (list_unlink_ip): Likewise.
50247 * sysdeps/pthread/timer_routines.c
50248 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50249 (list_append, list_insbefore): Likewise.
50250 (list_init): Function removed.
50251 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50252 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50253 * sysdeps/pthread/Makefile: ... here, new file.
50254
50255 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50256 * sysdeps/nptl/Implies: ... here.
50257 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50258 * nptl/sysdeps/pthread/list.h: Moved ...
50259 * include/list.h: ... here.
50260 * nptl/sysdeps/pthread/createthread.c: Moved ...
50261 * nptl/createthread.c: ... here.
50262 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50263 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50264 * nptl/pt-longjmp.c: ... here.
50265 * nptl/sysdeps/pthread/Makefile: Moved ...
50266 * sysdeps/nptl/Makefile: ... here.
50267 * nptl/sysdeps/pthread/Subdirs: Moved ...
50268 * sysdeps/nptl/Subdirs: ... here.
50269 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50270 * sysdeps/nptl/aio_misc.h: ... here.
50271 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50272 * sysdeps/nptl/bits/libc-lock.h: ... here.
50273 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50274 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50275 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50276 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50277 * nptl/sysdeps/pthread/configure: Moved ...
50278 * sysdeps/nptl/configure: ... here.
50279 * nptl/sysdeps/pthread/configure.ac: Moved ...
50280 * sysdeps/nptl/configure.ac: ... here.
50281 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50282 * sysdeps/nptl/gai_misc.h: ... here.
50283 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50284 * sysdeps/nptl/librt-cancellation.c: ... here.
50285 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50286 * sysdeps/nptl/malloc-machine.h: ... here.
50287 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50288 * sysdeps/nptl/pthread-functions.h: ... here.
50289 * nptl/sysdeps/pthread/pthread.h: Moved ...
50290 * sysdeps/nptl/pthread.h: ... here.
50291 * nptl/sysdeps/pthread/setxid.h: Moved ...
50292 * sysdeps/nptl/setxid.h: ... here.
50293 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50294 * sysdeps/nptl/sigfillset.c: ... here.
50295 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50296 * sysdeps/nptl/tcb-offsets.h: ... here.
50297 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50298 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50299 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50300 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50301 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50302 * sysdeps/pthread/allocalim.h: ... here.
50303 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50304 * sysdeps/pthread/bits/sigthread.h: ... here.
50305 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50306 * sysdeps/pthread/flockfile.c: ... here.
50307 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50308 * sysdeps/pthread/ftrylockfile.c: ... here.
50309 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50310 * sysdeps/pthread/funlockfile.c: ... here.
50311 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50312 * sysdeps/pthread/posix-timer.h: ... here.
50313 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50314 * sysdeps/pthread/timer_create.c: ... here.
50315 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50316 * sysdeps/pthread/timer_delete.c: ... here.
50317 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50318 * sysdeps/pthread/timer_getoverr.c: ... here.
50319 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50320 * sysdeps/pthread/timer_gettime.c: ... here.
50321 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50322 * sysdeps/pthread/timer_routines.c: ... here.
50323 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50324 * sysdeps/pthread/timer_settime.c: ... here.
50325 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50326 * sysdeps/pthread/tst-timer.c: ... here.
50327 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50328 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50329
50330 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50331 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50332
50333 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50334 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50335 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50336 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50337 Update #include target.
50338 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50339 * sysdeps/i386/i686/nptl/Makefile: ... here.
50340 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50341 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50342 Update #include target.
50343 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50344 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50345 * nptl/sysdeps/i386/Makefile: Moved ...
50346 * sysdeps/i386/nptl/Makefile: ... here.
50347 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50348 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50349 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50350 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50351 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50352 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50353 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50354 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50355 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50356 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50357 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50358 * nptl/sysdeps/i386/tls.h: Moved ...
50359 * sysdeps/i386/nptl/tls.h: ... here.
50360
50361 * sysdeps/sh/Makefile [$(subdir) = csu]
50362 (gen-as-const-headers): Add tcb-offsets.sym.
50363 * nptl/sysdeps/sh/Makefile: File removed.
50364 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50365 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50366 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50367 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50368 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50369 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50370 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50371 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50372 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50373 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50374 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50375 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50376 * nptl/sysdeps/sh/tls.h: Moved ...
50377 * sysdeps/sh/nptl/tls.h: ... here.
50378 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50379 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50380 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50381 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50382 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50383 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50384 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50385 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50386 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50387 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50389 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50391 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50392 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50393 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50395 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50397 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50399 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50401 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50402 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50403 Moved ...
50404 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50405 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50406 Moved ...
50407 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50409 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50411 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50412 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50413 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50414 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50415 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50416 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50417 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50418 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50419 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50420 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50421 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50422 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50423 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50424 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50425 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50426
50427 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50428
50429 * posix/spawn_faction_addopen.c: Include string.h.
50430
50431 2014-06-11 Roland McGrath <roland@hack.frob.com>
50432
50433 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50434 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50435 * nptl/sysdeps/x86_64/Makefile: Moved ...
50436 * sysdeps/x86_64/nptl/Makefile: ... here.
50437 * nptl/sysdeps/x86_64/configure: Moved ...
50438 * sysdeps/x86_64/nptl/configure: ... here.
50439 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50440 * sysdeps/x86_64/nptl/configure.ac: ... here.
50441 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50442 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50443 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50444 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50445 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50446 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50447 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50448 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50449 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50450 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50451 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50452 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50453 * nptl/sysdeps/x86_64/tls.h: Moved ...
50454 * sysdeps/x86_64/nptl/tls.h: ... here.
50455 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50456 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50457 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50458 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50459
50460 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50461
50462 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50463
50464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50465
50466 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50467
50468 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50469 type.
50470 [POSIX] (off_t): Likewise.
50471 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50472 [POSIX] (S_ISBLK): Require macro.
50473 [POSIX] (S_ISCHR): Likewise.
50474 [POSIX] (S_ISDIR): Likewise.
50475 [POSIX] (S_ISFIFO): Likewise.
50476 [POSIX] (S_ISREG): Likewise.
50477 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50478 optional-macro.
50479 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50480 type.
50481 [POSIX] (time_t): Likewise.
50482 [POSIX] (timer_t): Likewise.
50483
50484 2014-06-11 Florian Weimer <fweimer@redhat.com>
50485
50486 [BZ #17048]
50487 * posix/spawn_int.h (struct __spawn_action): Make the path string
50488 non-const to support deallocation.
50489 * posix/spawn_faction_addopen.c
50490 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50491 * posix/spawn_faction_destroy.c
50492 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50493 path in all spawn_do_open actions.
50494 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50495 posix_spawn_file_actions_addopen.
50496
50497 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50498
50499 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50500 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50501 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50502 conditional code always true.
50503 (__libc_vfork): New alias.
50504
50505 2014-06-11 Roland McGrath <roland@hack.frob.com>
50506
50507 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50508 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50509
50510 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50511
50512 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50513 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50514
50515 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50516 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50517
50518 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50519 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50520
50521 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50522
50523 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50524 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50525 multiarch strcmp for PPC64.
50526 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50527 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50529 multiarch optimizations.
50530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50531 (__libc_ifunc_impl_list): Likewise.
50532
50533 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50534
50535 * benchtests/scripts/validate_benchout.py: New script.
50536 * benchtests/Makefile (bench-func): Call it.
50537 * benchtests/scripts/benchout.schema.json: New file.
50538
50539 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50540
50541 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50542 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50543 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50544 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50545 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50546 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50547 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50548 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50549 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50550 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50551 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50552 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50553 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50554 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50555 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50556 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50558 Moved ...
50559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50560 ... here.
50561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50562 Moved ...
50563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50565 Moved ...
50566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50567 ... here.
50568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50569 Moved ...
50570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50571 ... here.
50572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50573 Moved ...
50574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50576 Moved ...
50577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50578 ... here.
50579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50580 Moved ...
50581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50582 ... here.
50583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50584 Moved ...
50585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50587 Moved ...
50588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50589 ... here.
50590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50591 Moved ...
50592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50593 ... here.
50594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50595 Moved ...
50596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50597 ... here.
50598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50599 Moved ...
50600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50602 Moved ...
50603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50604 ... here.
50605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50606 Moved ...
50607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50608 ... here.
50609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50610 Moved ...
50611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50612 ... here.
50613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50614 Moved ...
50615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50617 Moved ...
50618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50619 ... here.
50620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50621 Moved ...
50622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50623 ... here.
50624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50625 Moved ...
50626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50628 Moved ...
50629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50630 ... here.
50631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50632 Moved ...
50633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50635 Moved ...
50636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50638 Moved ...
50639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50640 ... here.
50641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50642 Moved ...
50643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50644 ... here.
50645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50646 Moved ...
50647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50648 ... here.
50649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50650 Moved ...
50651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50653 Moved ...
50654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50655 ... here.
50656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50657 Moved ...
50658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50659 ... here.
50660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50661 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50663 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50665 Moved ...
50666 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50667 ... here.
50668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50669 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50671 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50673 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50675 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50677 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50679 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50681 Moved ...
50682 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50683 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50684 Moved ...
50685 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50687 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50689 Moved ...
50690 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50691 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50692 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50693 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50694 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50695 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50696 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50697
50698 2014-06-10 Wilco <wdijkstr@arm.com>
50699
50700 * math/test-fenv-return.c: New file.
50701 * math/Makefile: Add new test test-fenv-return.
50702
50703 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50704
50705 [BZ #17042]
50706 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50707 when x - 1 is zero.
50708 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50709 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50710 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50711 0.0L for an argument of 1.0L.
50712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50713 Likewise.
50714 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50715 value when x - 1 is zero.
50716 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50717 * sysdeps/i386/fpu/libm-test-ulps: Update.
50718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50719
50720 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50721
50722 [BZ #15119]
50723 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50724
50725 2014-06-09 Roland McGrath <roland@hack.frob.com>
50726
50727 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50728 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50729
50730 2014-06-09 Roland McGrath <roland@hack.frob.com>
50731
50732 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50733 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50734
50735 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50736 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50737
50738 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50739 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50740
50741 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50742 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50743
50744 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50745 if not already defined.
50746 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50747 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50748 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50749 (TLS_INIT_TP): Use it.
50750 (TLS_DEFINE_INIT_TP): New macro.
50751 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50752
50753 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50754
50755 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50756 constant.
50757 [POSIX] (IXANY): Likewise.
50758 [POSIX] (OLCUC): Likewise.
50759 [POSIX || POSIX2008] (CBAUD): Do not allow.
50760 [POSIX || POSIX2008] (DEFECHO): Likewise.
50761 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50762 [POSIX || POSIX2008] (ECHOKE): Likewise.
50763 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50764 [POSIX || POSIX2008] (EXTA): Likewise.
50765 [POSIX || POSIX2008] (EXTB): Likewise.
50766 [POSIX || POSIX2008] (FLUSHO): Likewise.
50767 [POSIX || POSIX2008] (LOBLK): Likewise.
50768 [POSIX || POSIX2008] (PENDIN): Likewise.
50769 [POSIX || POSIX2008] (SWTCH): Likewise.
50770 [POSIX || POSIX2008] (VDISCARD): Likewise.
50771 [POSIX || POSIX2008] (VDSUSP): Likewise.
50772 [POSIX || POSIX2008] (VLNEXT): Likewise.
50773 [POSIX || POSIX2008] (VREPRINT): Likewise.
50774 [POSIX || POSIX2008] (VSTATUS): Likewise.
50775 [POSIX || POSIX2008] (VWERASE): Likewise.
50776 (B*): Change to B[0123456789]*.
50777 * conform/data/time.h-data [POSIX || UNIX98]
50778 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50779 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50780 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50781 [POSIX] (tm_*): Do not allow.
50782
50783 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50784
50785 * Makefile (install): Don't set LANGUAGE.
50786 * Makefile.in (install): Likewise.
50787 * assert/Makefile (test-assert-ENV): Remove variable.
50788 (test-assert-perr-ENV): Likewise.
50789 * elf/Makefile (neededtest4-ENV): Likewise.
50790 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50791 [$(cross-compiling) = no]: Don't set LANGUAGE.
50792 * io/ftwtest-sh (LANG): Remove variable.
50793 * libio/Makefile (tst-widetext-ENV): Likewise.
50794 * manual/install.texi (Running make install): Don't refer to
50795 environment settings for make install.
50796 * INSTALL: Regenerated.
50797 * nptl/tst-tls6.sh: Don't set LANG.
50798 * posix/globtest.sh (LANG): Remove variable.
50799 * string/Makefile (tester-ENV): Likewise.
50800 (inl-tester-ENV): Likewise.
50801 (noinl-tester-ENV): Likewise.
50802 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50803 [$(cross-compiling) = no]: Don't set LANGUAGE.
50804 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50805 without explicit environment settings.
50806
50807 2014-06-06 Roland McGrath <roland@hack.frob.com>
50808
50809 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50810 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50811 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50812 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50813
50814 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50815
50816 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50817 other files in the crypt directory.
50818 * crypt/crypt.c: Remove duplicate includes.
50819 * crypt/crypt-entry.c: Likewise.
50820 * crypt/crypt_util.c: Likewise.
50821
50822 2014-06-06 Joseph Myers <joseph@codesourcery.com>
50823
50824 * Makeconfig (run-program-env): New variable.
50825 (run-program-prefix-before-env): Likewise.
50826 (run-program-prefix-after-env): Likewise.
50827 (run-program-prefix): Define in terms of new variables.
50828 (built-program-cmd-before-env): New variable.
50829 (built-program-cmd-after-env): Likewise.
50830 (built-program-cmd): Define in terms of new variables.
50831 (test-program-prefix-before-env): New variable.
50832 (test-program-prefix-after-env): Likewise.
50833 (test-program-prefix): Define in terms of new variables.
50834 (test-program-cmd-before-env): New variable.
50835 (test-program-cmd-after-env): Likewise.
50836 (test-program-cmd): Define in terms of new variables.
50837 * Rules (make-test-out): Use $(run-program-env).
50838 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50839 (help): Do not mention environment variables. Mention
50840 --timeoutfactor option.
50841 (timeoutfactor): New variable.
50842 (blacklist_exports): Remove function.
50843 (exports): Remove variable.
50844 (command): Do not include ${exports}.
50845 * manual/install.texi (Configuring and compiling): Do not mention
50846 test wrappers preserving environment variables. Mention that last
50847 assignment to a variable must take precedence.
50848 * INSTALL: Regenerated.
50849 * benchtests/Makefile (run-bench): Use $(run-program-env).
50850 * catgets/Makefile ($(objpfx)test1.cat): Use
50851 $(built-program-cmd-before-env), $(run-program-env) and
50852 $(built-program-cmd-after-env).
50853 ($(objpfx)test2.cat): Do not specify environment variables
50854 explicitly.
50855 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50856 $(run-program-env) and $(built-program-cmd-after-env).
50857 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50858 $(run-program-env) and $(test-program-cmd-after-env).
50859 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50860 explicitly.
50861 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50862 run_program_env and test_program_cmd_after_env arguments.
50863 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50864 * elf/tst-pathopt.sh: Use run_program_env argument.
50865 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50866 $(test-wrapper-env) and $(run-program-env).
50867 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50868 run_program_env arguments.
50869 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50870 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50871 $(test-program-prefix-before-env), $(run-program-env) and
50872 $(test-program-prefix-after-env).
50873 ($(objpfx)tst-gettext2.out): Likewise.
50874 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50875 run_program_env and test_program_prefix_after_env arguments.
50876 * intl/tst-gettext2.sh: Likewise.
50877 * intl/tst-gettext4.sh: Do not set environment variables
50878 explicitly.
50879 * intl/tst-gettext6.sh: Likewise.
50880 * intl/tst-translit.sh: Likewise.
50881 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50882 $(test-program-prefix-before-env), $(run-program-env) and
50883 $(test-program-prefix-after-env).
50884 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50885 run_program_env and test_program_prefix_after_env arguments.
50886 * math/Makefile (run-regen-ulps): Use $(run-program-env).
50887 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50888 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
50889 explicitly with each use of ${test_wrapper_env}.
50890 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50891 $(test-program-prefix-before-env), $(run-program-env) and
50892 $(test-program-prefix-after-env).
50893 * posix/tst-getconf.sh: Do not set environment variables
50894 explicitly.
50895 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50896 run_program_env and test_program_prefix_after_env arguments.
50897 * stdio-common/tst-printf.sh: Do not set environment variables
50898 explicitly.
50899 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50900 $(test-program-prefix-before-env), $(run-program-env) and
50901 $(test-program-prefix-after-env).
50902 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50903 run_program_env and test_program_prefix_after_env arguments.
50904 Split $test calls into $test_pre and $test.
50905 * timezone/Makefile (build-testdata): Use
50906 $(built-program-cmd-before-env), $(run-program-env) and
50907 $(built-program-cmd-after-env).
50908
50909 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50910
50911 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50912 strlen for non SHARED builds.
50913
50914 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50915
50916 * nptl/allocatestack.c (check_list): Inlined function...
50917 (__reclaim_stacks): ... here.
50918
50919 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50920
50921 [BZ #15698]
50922 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50923 memory overrun.
50924
50925 2014-06-05 Joseph Myers <joseph@codesourcery.com>
50926
50927 * Rules (make-test-out): Include
50928 LOCPATH=$(common-objpfx)localedata in default environment.
50929 * debug/Makefile (tst-chk1-ENV): Remove variable.
50930 (tst-chk2-ENV): Likewise.
50931 (tst-chk3-ENV): Likewise.
50932 (tst-chk4-ENV): Likewise.
50933 (tst-chk5-ENV): Likewise.
50934 (tst-chk6-ENV): Likewise.
50935 (tst-lfschk1-ENV): Likewise.
50936 (tst-lfschk2-ENV): Likewise.
50937 (tst-lfschk3-ENV): Likewise.
50938 (tst-lfschk4-ENV): Likewise.
50939 (tst-lfschk5-ENV): Likewise.
50940 (tst-lfschk6-ENV): Likewise.
50941 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50942 (tst-iconv7-ENV): Likewise.
50943 * intl/Makefile (LOCPATH-ENV): Likewise.
50944 (tst-codeset-ENV): Likewise.
50945 (tst-gettext3-ENV): Likewise.
50946 (tst-gettext5-ENV): Likewise.
50947 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50948 (tst-fopenloc-ENV): Likewise.
50949 (tst-fgetws-ENV): Remove variable.
50950 (tst-ungetwc1-ENV): Likewise.
50951 (tst-ungetwc2-ENV): Likewise.
50952 (bug-ungetwc2-ENV): Likewise.
50953 (tst-swscanf-ENV): Likewise.
50954 (bug-ftell-ENV): Likewise.
50955 (tst-fgetwc-ENV): Likewise.
50956 (tst-fseek-ENV): Likewise.
50957 (tst-ftell-partial-wide-ENV): Likewise.
50958 (tst-ftell-active-handler-ENV): Likewise.
50959 (tst-ftell-append-ENV): Likewise.
50960 * posix/Makefile (tst-fnmatch-ENV): Likewise.
50961 (tst-regexloc-ENV): Likewise.
50962 (bug-regex1-ENV): Likewise.
50963 (tst-regex-ENV): Likewise.
50964 (tst-regex2-ENV): Likewise.
50965 (bug-regex5-ENV): Likewise.
50966 (bug-regex6-ENV): Likewise.
50967 (bug-regex17-ENV): Likewise.
50968 (bug-regex18-ENV): Likewise.
50969 (bug-regex19-ENV): Likewise.
50970 (bug-regex20-ENV): Likewise.
50971 (bug-regex22-ENV): Likewise.
50972 (bug-regex23-ENV): Likewise.
50973 (bug-regex25-ENV): Likewise.
50974 (bug-regex26-ENV): Likewise.
50975 (bug-regex30-ENV): Likewise.
50976 (bug-regex32-ENV): Likewise.
50977 (bug-regex33-ENV): Likewise.
50978 (bug-regex34-ENV): Likewise.
50979 (bug-regex35-ENV): Likewise.
50980 (tst-rxspencer-ENV): Likewise.
50981 (tst-rxspencer-no-utf8-ENV): Likewise.
50982 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50983 (tst-sscanf-ENV): Likewise.
50984 (tst-swprintf-ENV): Likewise.
50985 (tst-swscanf-ENV): Likewise.
50986 (test-vfprintf-ENV): Likewise.
50987 (scanf13-ENV): Likewise.
50988 (bug14-ENV): Likewise.
50989 (tst-grouping-ENV): Likewise.
50990 * stdlib/Makefile (tst-strtod-ENV): Likewise.
50991 (tst-strtod3-ENV): Likewise.
50992 (tst-strtod4-ENV): Likewise.
50993 (tst-strtod5-ENV): Likewise.
50994 (testmb2-ENV): Likewise./
50995 * string/Makefile (tst-strxfrm-ENV): Likewise.
50996 (tst-strxfrm2-ENV): Likewise.
50997 (bug-strcoll1-ENV): Likewise.
50998 (test-strcasecmp-ENV): Likewise.
50999 (test-strncasecmp-ENV): Likewise.
51000 * time/Makefile (tst-strptime-ENV): Likewise.
51001 (tst-ftime_l-ENV): Likewise.
51002 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51003 (tst-mbrtowc-ENV): Likewise.
51004 (tst-wcrtomb-ENV): Likewise.
51005 (tst-mbrtowc2-ENV): Likewise.
51006 (tst-c16c32-1-ENV): Likewise.
51007 (tst-mbsnrtowcs-ENV): Likewise.
51008
51009 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
51010
51011 * manual/resource.texi (How to get information about the memory
51012 subsystem?): Fix typo.
51013 Reported by Peon de la Parra Ivan <peon@keba.com>
51014
51015 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51016
51017 [BZ #16882]
51018 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51019 (pthread_spin_lock): Branch out of spin loop to proper location.
51020 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51021 (pthread_spin_lock): Likewise.
51022
51023 * nptl/tst-spin4.c: New test.
51024 * nptl/Makefile (tests): Add tst-spin4.
51025
51026 2014-06-03 Andreas Schwab <schwab@suse.de>
51027
51028 [BZ #15946]
51029 * resolv/res_send.c (send_dg): Reload file descriptor after
51030 calling reopen.
51031
51032 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51033
51034 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51035
51036 2014-06-03 Richard Henderson <rth@redhat.com>
51037
51038 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51039 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51040 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51041 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51042 in the SAVE_PID block.
51043 (__libc_vfork): New alias.
51044 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51045
51046 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51047 child in registers, not on the stack. Remove RESET_PID conditionals.
51048 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51049
51050 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51051
51052 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51053
51054 2014-06-03 Wilco <wdijkstr@arm.com>
51055
51056 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51057 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51058 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51059 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51060 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51061 Likewise.
51062
51063 2014-06-03 Wilco <wdijkstr@arm.com>
51064
51065 * sysdeps/aarch64/fpu/math_private.h
51066 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51067 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51068 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51069 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51070 Fix declarations.
51071
51072 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51073
51074 * crypt/crypt-private.h: Include ufc-crypt.h.
51075 (__b64_from_24bit): Declare extern.
51076 * crypt/crypt_util.c(__b64_from_24bit): New function.
51077 (b64t): New static const variable.
51078 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51079 (b64t): Remove variable.
51080 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51081 * crypt/sha256-crypt.c: Include crypt-private.h.
51082 (b64t): Remove variable.
51083 (__sha256_crypt_r): Remove b64_from_24bit and replace
51084 with __b64_from_24bit.
51085 * crypt/sha512-crypt.c: Likewise.
51086
51087 2014-06-02 Roland McGrath <roland@hack.frob.com>
51088
51089 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51090 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51091 Label the code __libc_vfork rather than __vfork.
51092 [!NOT_IN_libc] (vfork): Define as weak alias.
51093 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51094 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51095 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51096
51097 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51098
51099 * malloc/malloc.c (malloc_info): Fix format specifier for
51100 n_mmaps.
51101
51102 2014-06-02 Wilco <wdijkstr@arm.com>
51103
51104 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51105 FPCR write.
51106
51107 2014-06-02 Wilco <wdijkstr@arm.com>
51108
51109 [BZ #17009]
51110 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51111 Rewrite to reduce FPCR/FPSR accesses.
51112
51113 2014-06-01 David S. Miller <davem@davemloft.net>
51114
51115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51116
51117 2014-05-31 David S. Miller <davem@davemloft.net>
51118
51119 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51120 to occur in round to nearest mode when |x| >= 2.0
51121
51122 2014-05-30 Richard Henderson <rth@twiddle.net>
51123
51124 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51125 (PSEUDO_RET_NOERRNO): Remove.
51126 (ret): Don't redefine.
51127 (ret_NOERRNO): Define in terms of ret.
51128 (ret_ERRVAL): Likewise.
51129
51130 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51131 use of PSEUDO_RET; perform the error check directly.
51132
51133 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51134
51135 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51136 with __int128_t.
51137
51138 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51139
51140 * malloc/malloc (malloc_info): Fix formatting.
51141
51142 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51143 Roland McGrath <roland@hack.frob.com>
51144
51145 * malloc/malloc (malloc_info): Also print mmapped statistics.
51146
51147 2014-05-30 Roland McGrath <roland@hack.frob.com>
51148
51149 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51150 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51151
51152 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
51153
51154 * malloc/malloc.c (malloc_info): Inline mi_arena.
51155
51156 2014-05-29 Richard Henderson <rth@twiddle.net>
51157
51158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51159 Remove comma before expanding ASM_ARGS_##nr.
51160 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51161 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51162 of ASM_ARGS_##nr.
51163 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51164 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51165 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51166 (ASM_ARGS_1): Add leading comma.
51167
51168 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51169 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51170 to __errno_location.
51171 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51172 Remove the expected plt for __errno_location.
51173
51174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51175 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51176 call to __read_tp.
51177
51178 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51179 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51180 it and break it down.
51181 (DOCARGS_0, DOCARGS_1): Do nothing.
51182 (DOCARGS_2): Update to store into the new stack frame.
51183 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51184 (UNDOCARGS_1): Update to restore from the new stack frame.
51185 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51186 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51187
51188 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51189 (SINGLE_THREAD_P): New parameter for result regno.
51190 (PSEUDO): Update to match; use cbz instead of beq.
51191
51192 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51193 Use ENTRY to define the _nocancel entry point. Share the syscall
51194 and syscall error check paths with the cancel path.
51195 (PSEUDO_END): New.
51196
51197 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51198 whitespace; tabs before and after asm mnemonics.
51199
51200 2014-05-29 Eric Wong <normalperson@yhbt.net>
51201
51202 [BZ #15132]
51203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51204 Call fstat64 or stat64 internally, depending on arguments passed.
51205 Replace stat buffer argument with file descriptor argument.
51206 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51207 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51208 Pass fd to __internal_statvfs instead of calling fstat64.
51209 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51210 Pass fd to __internal_statvfs64 instead of calling fstat64.
51211 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51212 Pass -1 to __internal_statvfs instead of calling stat64.
51213 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51214 Pass -1 to __internal_statvfs64 instead of calling stat64.
51215
51216 2014-05-28 Roland McGrath <roland@hack.frob.com>
51217
51218 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51219 that was previously under [RESET_PID].
51220 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51221
51222 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51223 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51224
51225 2014-05-27 Roland McGrath <roland@hack.frob.com>
51226
51227 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51228
51229 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51230 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51231
51232 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
51233
51234 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51235
51236 2014-05-27 Andreas Schwab <schwab@suse.de>
51237
51238 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51239 TLS_INIT_TP macro.
51240 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51241 * elf/rtld.c (init_tls, dl_main): Likewise.
51242 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51243 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51244 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51245 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51246 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51247 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51248 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51249 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51250 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51251 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51252 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51253 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51254 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51255 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51256 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51257 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51258 * sysdeps/generic/tls.h: Update description.
51259
51260 2014-05-27 Will Newton <will.newton@linaro.org>
51261
51262 [BZ #16990]
51263 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51264 and restore r2 rather than just restoring.
51265
51266 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51267
51268 [BZ #16724]
51269 * libio/tst-ftell-append.c: New test case.
51270 * libio/Makefile (tests): Add test case.
51271 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51272 append mode.
51273 * libio/wfileops.c (do_ftell_wide): Likewise.
51274
51275 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51276
51277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51278
51279 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51280 ...
51281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51283 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51284 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51285 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51286 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51287 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51288 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51290 Moved ...
51291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51293 Moved ...
51294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51295 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51296 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51297 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51298 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51299 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51300 ...
51301 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51302 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51303 Moved ...
51304 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51305 here.
51306 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51307 ...
51308 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51309 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51310 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51311
51312 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51313 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51314 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51315 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51316
51317 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51318 merge into ...
51319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51320 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51321 ...
51322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51324 ...
51325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51326 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51327 Moved ...
51328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51329 here.
51330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51331 Moved ...
51332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51333 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51334 Moved ...
51335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51336
51337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51338 conditional [RESET_PID].
51339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51341 removed.
51342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51343 removed.
51344
51345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51346 <tcb-offsets.h>.
51347 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51348 (__libc_vfork): New strong alias.
51349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51350 removed.
51351 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51352 Removed.
51353
51354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51355 <tcb-offsets.h>.
51356 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51357 (__libc_vfork): New strong alias.
51358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51359 removed.
51360 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51361 removed.
51362
51363 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51364
51365 * malloc/malloc.c (mi_arena): New function.
51366 (malloc_info): Remove nested function mi_arena. Call non-nosted
51367 function mi_arena.
51368
51369 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51370
51371 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51372 by insrwi.
51373 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51374 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51375 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51376 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51377 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51378 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51379 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51380
51381 2014-05-26 Andreas Schwab <schwab@suse.de>
51382
51383 [BZ #16984]
51384 * locale/programs/repertoire.c (repertoire_read): Add slash
51385 between I18NPATH element and file name.
51386 * locale/programs/locfile.c (locfile_read): Likewise.
51387
51388 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51389
51390 * nptl/pthread_mutexattr_settype.c
51391 (__pthread_mutexattr_settype):
51392 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51393
51394 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51395
51396 * nptl/tst-mutex5 (do_test):
51397 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51398
51399 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51400
51401 * benchtests/README: Document 'init' directive.
51402 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51403 BENCH_INIT.
51404 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51405 (parse_file): Recognize 'init' directive.
51406
51407 2014-05-26 Kyle McMartin <kyle@redhat.com>
51408
51409 [BZ #16796]
51410 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51411 alignment of struct pthread.
51412
51413 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51414
51415 [BZ #16878]
51416 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51417 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51418 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51419 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51420
51421 2014-05-25 Richard Henderson <rth@twiddle.net>
51422
51423 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51424 (SINGLE_THREAD_P_PIC): Remove.
51425 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51426 (SINGLE_THREAD_P_PIC): Remove.
51427
51428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51429 branch to syscall error ...
51430 (PSEUDO): ... here.
51431 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51432 from __local_syscall_error to .Lsyscall_error.
51433 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51434 (SYSCALL_ERROR): Update label name.
51435
51436 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51437 Do not use DOARGS/UNDOARGS.
51438 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51439 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51440 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51441 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51442 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51443
51444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51445 block comment.
51446
51447 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51448 define if !NOT_IN_libc.
51449 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51450 define with non-default symbol versions.
51451
51452 2014-05-23 Richard Henderson <rth@twiddle.net>
51453
51454 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51455 (vfork, __vfork): Define via compat_symbol.
51456
51457 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51458 [!HAVE_IFUNC] (vfork_compat): Remove.
51459 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51460
51461 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51462
51463 [BZ #16978]
51464 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51465 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51466 variable.
51467
51468 2014-05-23 Richard Henderson <rth@twiddle.net>
51469
51470 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51471 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51472 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51473 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51474
51475 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51476 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51477 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51478 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51479 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51480 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51481 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51482 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51483 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51484 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51485 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51486 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51487 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51488 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51489 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51490 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51491 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51492 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51493 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51494 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51495 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51496 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51497 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51498 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51499 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51500 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51501 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51502 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51503 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51504 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51505 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51506 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51507 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51508 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51509 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51510 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51511 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51512 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51513 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51514 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51515 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51516 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51517 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51518 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51519 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51520 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51521 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51522 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51523 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51524 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51525 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51526 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51528 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51529 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51530 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51531
51532 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51533 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51534 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51535 before exiting on error.
51536 (__libc_vfork): New strong alias.
51537 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51538 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51539
51540 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51541 that was previously under [RESET_PID].
51542 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51543
51544 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51545
51546 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51547
51548 [BZ #16977]
51549 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51550 value when x - 1 is zero.
51551 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51552 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51553 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51554 0.0L for an argument of 1.0L.
51555 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51556 Likewise.
51557 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51558 value when x - 1 is zero.
51559 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51560 * sysdeps/i386/fpu/libm-test-ulps: Update.
51561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51562
51563 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51564
51565 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51566 alphasort and versionsort.
51567
51568 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51569
51570 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51571 macro.
51572 [copysignf]: Likewise.
51573
51574 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51575
51576 * crypt/md5-crypt.c: Fix formatting.
51577
51578 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51579
51580 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51581 (b64_from_24bit): New function.
51582
51583 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51584
51585 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51586 libc_hidden_builtin_def to ifunc.
51587 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51588 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51589
51590 2014-05-21 Roland McGrath <roland@hack.frob.com>
51591
51592 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51593 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51594
51595 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51596
51597 * nscd/Depend (linuxthreads): Remove.
51598 (nptl): Add.
51599 * resolv/Depend (linuxthreads): Remove.
51600 * rt/Depend (linuxthreads): Remove.
51601
51602 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51603 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51604 $(common-objpfx)elf/.
51605 (link-libc-before-gnulib): Likewise.
51606 (elfobjdir): Remove variable.
51607 * Makefile (install): Use $(elf-objpfx) instead of
51608 $(common-objpfx)elf/.
51609 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51610 $(elfobjdir)/.
51611 (link-libc-deps): Likewise.
51612 ($(common-objpfx)libc.so): Likewise.
51613 ($(common-objpfx)linkobj/libc.so): Likewise.
51614 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51615 instead of $(common-objpfx)elf/.
51616 (symbolic-link-list): Likewise.
51617 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51618 [$(cross-compiling) = no]: Likewise.
51619 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51620 $(elfobjdir)/.
51621 (static-gnulib-arch): Likewise.
51622 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51623 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51624 $(common-objpfx)elf/.
51625
51626 2014-05-21 Richard Henderson <rth@redhat.com>
51627
51628 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51629 (SINGLE_THREAD_P): Use the correct width load. Fold
51630 into the ldr offset.
51631
51632 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51633 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51634
51635 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51636
51637 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51638 (libgcc_s_resume): Use __attribute_used__.
51639 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51640 Likewise.
51641
51642 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51643
51644 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51645 optimization when used with float constants.
51646
51647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51648
51649 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51650
51651 [BZ #16915]
51652 * locale/nl_langinfo_l.c: Make direct reference to every
51653 _nl_current_CATEGORY symbol.
51654 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51655 (tests-static): Add tst-langinfo-static.
51656 (tests-special): Add tst-langinfo-static.out.
51657 ($(objpfx)tst-langinfo.out): Redirect output.
51658 ($(objpfx)tst-langinfo-static.out): New.
51659 * localedata/tst-langinfo.sh: Send output to stdout.
51660 * localedata/tst-langinfo-static.c: New file.
51661
51662 [BZ #16965]
51663 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51664 when the shift amount is modulo the limb size.
51665
51666 2014-05-20 Richard Henderson <rth@redhat.com>
51667
51668 [BZ #16967]
51669 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51670 Change type of sa_flags from unsigned int to int.
51671
51672 [BZ #16966]
51673 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51674
51675 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51676
51677 2014-05-20 Will Newton <will.newton@linaro.org>
51678
51679 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51680 Test the return value of the system call in the nocancel case.
51681
51682 2014-05-20 Will Newton <will.newton@linaro.org>
51683 Yvan Roux <yvan.roux@linaro.org>
51684
51685 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51686 #include of asm/ptrace.h.
51687 (PTRACE_GET_THREAD_AREA): Remove #undef.
51688 (PTRACE_GETHBPREGS): Likewise.
51689 (PTRACE_SETHBPREGS): Likewise.
51690 (struct user_regs_struct): New structure.
51691 (struct user_fpsimd_struct): New structure.
51692 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51693 #include of asm/ptrace.h and second #include of sys/user.h.
51694 (PTRACE_GET_THREAD_AREA): Remove #undef.
51695 (PTRACE_GETHBPREGS): Likewise.
51696 (PTRACE_SETHBPREGS): Likewise.
51697 (ELF_NGREG): Use new struct user_regs_struct.
51698 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51699
51700 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51701
51702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51703 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51704
51705 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51706
51707 [BZ #16958]
51708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51709 membar to avoid block loads/stores to overlap previous stores.
51710
51711 2014-05-17 Richard Henderson <rth@redhat.com>
51712
51713 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51714 Create the __##syscall_name##_nocancel entry point.
51715 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51716 Remove; let the sysdep-cancel.h code create it.
51717
51718 2014-05-17 David S. Miller <davem@davemloft.net>
51719
51720 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51721 Protect with __USE_GNU.
51722 (TIOCSET_TEMPT): Likewise.
51723 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51724 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51725 these are already provided in bits/ioctl-types.h
51726
51727 2014-05-16 Roland McGrath <roland@hack.frob.com>
51728
51729 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51730 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51731
51732 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51733 Use wait4 regardless of [__NR_waitpid].
51734
51735 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51736
51737 PR libgcc/60166
51738 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51739 (_FP_NANSIGN_Q): Set the quiet bit.
51740
51741 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51742
51743 * benchtests/Makefile
51744 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51745 not $(common-objpfx)math/libm.so.
51746 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51747 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51748 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51749 $(common-objpfx)dlfcn/libdl.so.
51750 ($(objpfx)tst-audit8): Depend on $(libm), not
51751 $(common-objpfx)math/libm.so.
51752 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51753 not $(common-objpfx)dlfcn/libdl.so.
51754 * math/Makefile
51755 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51756 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51757 [$(build-shared) = yes].
51758 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51759 $(common-objpfx)nptl/libpthread.so.
51760 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51761 $(common-objpfx)math/libm.so$(libm.so-version) or
51762 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51763 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51764 $(common-objpfx)dlfcn/libdl.so.
51765 * setjmp/Makefile (link-libm): Remove variable.
51766 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51767 * stdio-common/Makefile (link-libm): Remove variable.
51768 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51769 * stdlib/Makefile (link-libm): Remove variable.
51770 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51771 ($(objpfx)tst-strtod-round): Likewise.
51772 ($(objpfx)tst-tininess): Likewise.
51773 ($(objpfx)tst-strtod-underflow): Likewise.
51774 ($(objpfx)tst-strtod6): Likewise.
51775 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51776 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51777 $(common-objpfx)dlfcn/libdl.so.
51778
51779 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51780
51781 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51782 BSD terminal modes definitions.
51783
51784 2014-05-16 Roland McGrath <roland@hack.frob.com>
51785
51786 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51787 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51788
51789 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51790 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51791 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51792 Don't do #include_next.
51793 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51794 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51795 Don't do #include_next.
51796 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51797 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51798 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51799 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51800
51801 2014-05-16 Allan McRae <allan@archlinux.org>
51802
51803 * po/sv.po: Update Swedish translation from translation project.
51804
51805 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51806 in sed expression.
51807
51808 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51809
51810 [BZ #16917]
51811 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51812 errno if the TIOCGPTN ioctl fails with an error different than
51813 EINVAL.
51814 * login/tst-ptsname.c: New file.
51815 * login/Makefile (tests): Add tst-ptsname.
51816
51817 [BZ #16943]
51818 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51819 and prlimit64.
51820
51821 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51822
51823 [BZ #16849]
51824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51825 herrno to return EAI_AGAIN.
51826
51827 2014-05-14 Roland McGrath <roland@hack.frob.com>
51828
51829 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51830 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51831 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51832 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51833 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51834 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51835 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51836 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51838 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51839 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51840 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51841 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51842 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51843 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51844 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51845 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51846 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51847 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51848 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51849 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51850 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51851 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51852 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51853 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51854 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51855 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51856 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51857 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51858 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51860 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51862 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51864 Moved ...
51865 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51867 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51869 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51871 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51873 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51875 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51877 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51879 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51881 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51883 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51885 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51887 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51889 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51891 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51893 Moved ...
51894 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51896 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51898 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51900 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51902 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51904 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51906 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51908 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51910 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51912 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51914 Moved ...
51915 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51917 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51918
51919 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51920 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51921 (libpthread-sysdep_routines): Add elision-related stuff here instead.
51922 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51923 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51924 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51925 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51926 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51927 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51928 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51929 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51930 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51931 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51932 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51933 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51934 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51935 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51936 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51937 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51938 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51939 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51940 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51941 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51942 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51943 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51944 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51945 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51946 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51947 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51948 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51949 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51950
51951 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51952 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51953
51954 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51955 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51956 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51957 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51958 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51959 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51960 Moved ...
51961 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51962 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51963 Moved ...
51964 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51965 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51966 Moved ...
51967 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51969 Moved ...
51970 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51971 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51972 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51973 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51974 Moved ...
51975 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51976 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51977 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51979 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51980 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51981 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51982 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51983 Moved ...
51984 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51985 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51986 Moved ...
51987 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51988 ... here.
51989 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51990 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51991 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51992 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51993 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51994 Moved ...
51995 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51996 ... here.
51997 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51998 Moved ...
51999 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52000 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52001 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52002 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52003 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52004 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52005 Moved ...
52006 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52007 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52008 Moved ...
52009 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52010 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52011 Moved ...
52012 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52014 Moved ...
52015 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52016 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52017 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52018 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52019 Moved ...
52020 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52021 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52022 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52024 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52025 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52026 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52027 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52028 Moved ...
52029 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52030 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52031 Moved ...
52032 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52033 ... here.
52034 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52035 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52036 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52037 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52038 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52039 Moved ...
52040 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52041 ... here.
52042 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52043 Moved ...
52044 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52045 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52046 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52047 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52048 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52049 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52050 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52051 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52052 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52053 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52054 Moved ...
52055 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52056 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52057 Moved ...
52058 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52060 Moved ...
52061 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52062 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52063 Moved ...
52064 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52065 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52066 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52067 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52068 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52069 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52070 Moved ...
52071 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52072 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52073 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52074 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52075 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52076 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52077 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52079 Moved ...
52080 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52081 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52082 Moved ...
52083 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52084 ... here.
52085 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52086 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52087 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52088 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52089 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52090 Moved ...
52091 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52092 ... here.
52093 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52094 Moved ...
52095 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52096 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52097 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52098 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52099 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52100 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52101 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52102 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52103 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52104 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52105 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52106
52107 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52108 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52109
52110 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52111 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52112
52113 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52114 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52115 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52116 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52117 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52118 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52119 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52120 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52121 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52122 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52123 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52124 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52125 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52126 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52127 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52129 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52131 Moved ...
52132 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52134 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52136 Moved ...
52137 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52139 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52140 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52141 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52143 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52145 Moved ...
52146 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52147 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52148 Moved ...
52149 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52151 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52153 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52155 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52156 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52157 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52158 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52159 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52160 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52161 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52162 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52163 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52164 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52165 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52166
52167 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52168 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52169 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52170 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52171 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52172
52173 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52174 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52175 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52176 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52177 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52178 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52179 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52180 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52181 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52182 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52183
52184 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52185 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52186
52187 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52188 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52189 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52190 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52191 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52192 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52193 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52194 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52195 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52196 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52197 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52198 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52199 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52200 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52202 Update #include.
52203 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52204 Likewise.
52205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52206 Likewise.
52207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52208 Likewise.
52209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52210 Likewise.
52211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52212 Likewise.
52213 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52214 Likewise.
52215 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52216 Likewise.
52217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52218 Likewise.
52219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52220 Likewise.
52221 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52223 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52224 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52225 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52226 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52227 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52228 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52229 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52230 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52231 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52232 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52233 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52234 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52235 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52236
52237 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52238 that was previously under [RESET_PID].
52239 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52240 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52241 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52242
52243 * sysdeps/i386/nptl/Implies: New file.
52244 * sysdeps/x86_64/nptl/Implies: New file.
52245 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52246 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52247 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52248 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52249
52250 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52251 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52252 (__libc_vfork): New strong alias.
52253 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52254 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52255
52256 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52257 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52258 (__libc_vfork): New strong alias.
52259 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52260 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52261
52262 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52263 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52264 (__libc_vfork): New strong alias.
52265 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52266 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52267 * nptl/pt-vfork.c: New file.
52268 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52269 (libpthread: GLIBC_2.20): New version set (empty).
52270
52271 2014-05-14 Will Newton <will.newton@linaro.org>
52272
52273 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52274 rather than #if.
52275
52276 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52277
52278 [BZ #16564]
52279 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52280 arguments with exponent 65 or above.
52281 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52282 arguments 0x1p113L or above.
52283 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52284 to arguments 0x1p107L or above.
52285 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52286 positive arguments with exponent 65 or above.
52287 * math/auto-libm-test-in: Add more tests of log1p.
52288 * math/auto-libm-test-out: Regenerated.
52289
52290 [BZ #16928]
52291 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52292 non-finite arguments is +0.
52293 * math/s_cacosf.c (__cacosf): Likewise.
52294 * math/s_cacosl.c (__cacosl): Likewise.
52295 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52296 * sysdeps/i386/fpu/libm-test-ulps: Update.
52297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52298
52299 [BZ #16927]
52300 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52301 value.
52302 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52303 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52304 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52305 for explicit high bit of mantissa when testing for argument equal
52306 to 1.
52307 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52308 * sysdeps/i386/fpu/libm-test-ulps: Update.
52309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52310
52311 [BZ #16516]
52312 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52313 (__erf): Scale by 16 instead of 8 in potentially underflowing
52314 case. Ensure exception if result actually underflows.
52315 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52316 (__erff): Scale by 16 instead of 8 in potentially underflowing
52317 case. Ensure exception if result actually underflows.
52318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52319 (efx8): Remove variable.
52320 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52321 case. Ensure exception if result actually underflows.
52322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52323 (efx8): Remove variable.
52324 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52325 case. Ensure exception if result actually underflows.
52326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52327 (efx8): Remove variable.
52328 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52329 case. Ensure exception if result actually underflows.
52330 * math/auto-libm-test-in: Add more tests of erf.
52331 * math/auto-libm-test-out: Regenerated.
52332
52333 2014-05-14 Andreas Schwab <schwab@suse.de>
52334
52335 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52336 Remove code conditionalized on USE___THREAD.
52337
52338 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52339 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52340 not definedness.
52341
52342 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52343
52344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52345 Define unconditionally.
52346 (__ASSUME_O_CLOEXEC): Likewise.
52347 (__ASSUME_SOCK_CLOEXEC): Likewise.
52348 (__ASSUME_IN_NONBLOCK): Likewise.
52349 (__ASSUME_PIPE2): Likewise.
52350 (__ASSUME_EVENTFD2): Likewise.
52351 (__ASSUME_SIGNALFD4): Likewise.
52352 (__ASSUME_DUP3): Likewise.
52353 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52354 (__ASSUME_DUP3): Do not define.
52355 (__ASSUME_EVENTFD2): Likewise.
52356 (__ASSUME_IN_NONBLOCK): Likewise.
52357 (__ASSUME_O_CLOEXEC): Likewise.
52358 (__ASSUME_PIPE2): Likewise.
52359 (__ASSUME_SIGNALFD4): Likewise.
52360 (__ASSUME_SOCK_CLOEXEC): Likewise.
52361 (__ASSUME_UTIMES): Undefine.
52362 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52363 (__ASSUME_UTIMES): Do not define.
52364 (__ASSUME_O_CLOEXEC): Likewise.
52365 (__ASSUME_SOCK_CLOEXEC): Likewise.
52366 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52367 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52368 0x020621].
52369 (__ASSUME_PIPE2): Likewise.
52370 (__ASSUME_EVENTFD2): Likewise.
52371 (__ASSUME_SIGNALFD4): Likewise.
52372 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52373 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52374 Do not define.
52375 (__ASSUME_EVENTFD2): Likewise.
52376 (__ASSUME_SIGNALFD4): Likewise.
52377 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52378 (__ASSUME_32BITUIDS): Likewise.
52379 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52380 (__ASSUME_IPC64): Likewise.
52381 (__ASSUME_ST_INO_64_BIT): Likewise.
52382 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52383 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52384 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52385 (__ASSUME_UTIMES): Do not define.
52386 (__ASSUME_PSELECT): Likewise.
52387 (__ASSUME_PPOLL): Likewise.
52388 (__ASSUME_O_CLOEXEC): Likewise.
52389 (__ASSUME_SOCK_CLOEXEC): Likewise.
52390 (__ASSUME_IN_NONBLOCK): Likewise.
52391 (__ASSUME_PIPE2): Likewise.
52392 (__ASSUME_EVENTFD2): Likewise.
52393 (__ASSUME_SIGNALFD4): Likewise.
52394 (__ASSUME_DUP3): Likewise.
52395 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52396 (__ASSUME_UTIMES): Likewise.
52397 (__ASSUME_O_CLOEXEC): Likewise.
52398 (__ASSUME_SOCK_CLOEXEC): Likewise.
52399 (__ASSUME_IN_NONBLOCK): Likewise.
52400 (__ASSUME_PIPE2): Likewise.
52401 (__ASSUME_EVENTFD2): Likewise.
52402 (__ASSUME_SIGNALFD4): Likewise.
52403 (__ASSUME_DUP3): Likewise.
52404 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52405 (__ASSUME_UTIMES): Likewise.
52406 (__ASSUME_O_CLOEXEC): Likewise.
52407 (__ASSUME_SOCK_CLOEXEC): Likewise.
52408 (__ASSUME_IN_NONBLOCK): Likewise.
52409 (__ASSUME_PIPE2): Likewise.
52410 (__ASSUME_EVENTFD2): Likewise.
52411 (__ASSUME_SIGNALFD4): Likewise.
52412 (__ASSUME_DUP3): Likewise.
52413 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52414 Likewise.
52415 (__ASSUME_UTIMES): Likewise.
52416 (__ASSUME_EVENTFD2): Likewise.
52417 (__ASSUME_SIGNALFD4): Likewise.
52418 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52419 (__ASSUME_O_CLOEXEC): Likewise.
52420 (__ASSUME_SOCK_CLOEXEC): Likewise.
52421 (__ASSUME_IN_NONBLOCK): Likewise.
52422 (__ASSUME_PIPE2): Likewise.
52423 (__ASSUME_EVENTFD2): Likewise.
52424 (__ASSUME_SIGNALFD4): Likewise.
52425 (__ASSUME_DUP3): Likewise.
52426 (__ASSUME_UTIMES): Undefine.
52427
52428 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52429 feclearexcept. Remove symbol versioning code.
52430 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52431 symbol versioning code.
52432 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52433 symbol versioning code.
52434 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52435 feupdateenv. Remove symbol versioning code.
52436 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52437 fegetexceptflag. Remove symbol versioning code.
52438 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52439 fesetexceptflag. Remove symbol versioning code.
52440 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52441 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52442 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52443 (__posix_fadvise64_l32): Remove prototype.
52444 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52445 code.
52446
52447 2014-05-13 Roland McGrath <roland@hack.frob.com>
52448
52449 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52450 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52451 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52452 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52453
52454 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52455
52456 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52457 current working directory
52458
52459 2014-05-13 Roland McGrath <roland@hack.frob.com>
52460
52461 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52462 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52463 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52464 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52465 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52466 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52467 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52468 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52469 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52470 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52471 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52472 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52473 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52474 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52475 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52476 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52477 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52478 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52479 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52480 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52481 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52482 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52483 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52484 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52485 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52486 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52487 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52488 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52489 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52490 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52491 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52492 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52493 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52494 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52495 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52496 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52497 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52498 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52499 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52500 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52501 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52502 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52503
52504 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52505 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52506
52507 * sysdeps/unix/sysv/linux/arm/Makefile
52508 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52509 Add rt-aeabi_unwind_cpp_pr1.
52510 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52511 Add nptl-aeabi_unwind_cpp_pr1.
52512 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52513 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52514 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52515 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52516 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52517 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52518
52519 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52520 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52521 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52522 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52523
52524 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52525 Deconditionalize the code that was previously under [RESET_PID].
52526 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52527
52528 * sysdeps/generic/exit-thread.h: New file.
52529 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52530 * include/unistd.h (__exit_thread): Remove declaration.
52531 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52532 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52533 * csu/libc-start.c: Include <exit-thread.h>.
52534 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52535 * nptl/pthread_create.c: Include <exit-thread.h>.
52536 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52537 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52538 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52539 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52540 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52541 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52542 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52543 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52544 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52545 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52546 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52547 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52548 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52549 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52550 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52551 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52552 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52553
52554 2014-05-13 Andreas Schwab <schwab@suse.de>
52555
52556 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52557
52558 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52559
52560 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52561 (__ASSUME_UTIMES): Do not condition on kernel version.
52562 (__ASSUME_PSELECT): Define unconditionally.
52563 (__ASSUME_PPOLL): Likewise.
52564 (__ASSUME_ATFCTS): Likewise.
52565 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52566 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52567 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52568 (__ASSUME_UTIMENSAT): Define unconditionally.
52569 (__ASSUME_PRIVATE_FUTEX): Likewise.
52570 (__ASSUME_FALLOCATE): Likewise.
52571 (__ASSUME_O_CLOEXEC): Likewise.
52572 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52573 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52574 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52575 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52576 (__ASSUME_IN_NONBLOCK): Likewise.
52577 (__ASSUME_PIPE2): Likewise.
52578 (__ASSUME_EVENTFD2): Likewise.
52579 (__ASSUME_SIGNALFD4): Likewise.
52580 (__ASSUME_DUP3): Likewise.
52581 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52582 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52583 (__ASSUME_AT_RANDOM): Likewise.
52584 (__ASSUME_PREADV): Likewise.
52585 (__ASSUME_PWRITEV): Likewise.
52586 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52587 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52588 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52589 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52590 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52591 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52592 (__ASSUME_O_CLOEXEC): Define unconditionally.
52593 (__ASSUME_PSELECT): Do not undefine conditionally.
52594 (__ASSUME_PPOLL): Likewise.
52595 (__ASSUME_ATFCTS): Likewise.
52596 (__ASSUME_SET_ROBUST_LIST): Likewise.
52597 (__ASSUME_UTIMENSAT): Likewise.
52598 (__ASSUME_FDATASYNC): Define unconditionally.
52599 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52600 (__ASSUME_SIGFRAME_V2): Likewise.
52601 )__ASSUME_EVENTFD2): Likewise.
52602 (__ASSUME_SIGNALFD4): Likewise.
52603 (__ASSUME_PSELECT): Do not undefine conditionally.
52604 (__ASSUME_PPOLL): Likewise.
52605 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52606 (__ASSUME_PSELECT): Define unconditionally.
52607 (__ASSUME_PPOLL): Likewise.
52608 (__ASSUME_O_CLOEXEC): Likewise.
52609 (__ASSUME_SOCK_CLOEXEC): Likewise.
52610 (__ASSUME_IN_NONBLOCK): Likewise.
52611 (__ASSUME_PIPE2): Likewise.
52612 (__ASSUME_EVENTFD2): Likewise.
52613 (__ASSUME_SIGNALFD4): Likewise.
52614 (__ASSUME_DUP3): Likewise.
52615 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52616 (__ASSUME_O_CLOEXEC): Likewise.
52617 (__ASSUME_SOCK_CLOEXEC): Likewise.
52618 (__ASSUME_IN_NONBLOCK): Likewise.
52619 (__ASSUME_PIPE2): Likewise.
52620 (__ASSUME_EVENTFD2): Likewise.
52621 (__ASSUME_SIGNALFD4): Likewise.
52622 (__ASSUME_DUP3): Likewise.
52623 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52624 (__ASSUME_EVENTFD2): Likewise.
52625 (__ASSUME_SIGNALFD4): Likewise.
52626 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52627
52628 2014-05-12 Andreas Schwab <schwab@suse.de>
52629
52630 [BZ #16932]
52631 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52632 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52633 than maximum RPC packet size.
52634 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52635 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52636 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52637 (_nss_nis_getservbyport_r): Likewise.
52638
52639 2014-05-12 Will Newton <will.newton@linaro.org>
52640
52641 * malloc/Makefile (tests): Add tst-mallopt.
52642 * malloc/tst-mallopt.c: New file.
52643
52644 2014-05-09 Roland McGrath <roland@hack.frob.com>
52645
52646 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52647 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52648
52649 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52650
52651 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52652 (tst-tlsmod6.so): Likewise.
52653
52654 2014-05-09 Roland McGrath <roland@hack.frob.com>
52655
52656 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52657
52658 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52659
52660 [BZ #16064]
52661 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52662 and <dl-procinfo.h>.
52663 (__fegetenv): Save SSE state in envp->__eip if supported.
52664 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52665 envp->__eip if supported.
52666 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52667 and <dl-procinfo.h>.
52668 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52669 __data_offset and __data_selector in environment to 0. Set SSE
52670 state if supported.
52671 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52672 test-fenv-sse.
52673 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52674 -mfpmath=sse.
52675 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52676
52677 2014-05-09 Will Newton <will.newton@linaro.org>
52678
52679 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52680 and libc_relro_required for ARM.
52681 * sysdeps/arm/preconfigure: Regenerate.
52682
52683 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52684 Stefan Liebler <stli@linux.vnet.ibm.com>
52685
52686 * config.make.in (enable-lock-elision): New Makefile variable.
52687 * configure.ac: Likewise.
52688 * configure: Regenerate.
52689 * sysdeps/s390/configure.ac:
52690 Add check for gcc transactions support.
52691 * sysdeps/s390/configure: Regenerate.
52692 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52693 Build elision files if enabled.
52694 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52695 Add lock elision support for s390.
52696 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52697 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52698 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52699 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52700 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52701 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52702 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52703 Likewise.
52704 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52705 Likewise.
52706 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52707 Likewise.
52708 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52709 Likewise.
52710 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52711 (__lll_timedlock_elision, __lll_lock_elision)
52712 (__lll_unlock_elision, __lll_trylock_elision)
52713 (lll_timedlock_elision, lll_lock_elision)
52714 (lll_unlock_elision, lll_trylock_elision): Add.
52715 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52716 (pthread_mutex_t): Add lock elision support for s390.
52717
52718 2014-05-14 Wilco <wdijkstr@arm.com>
52719
52720 * sysdeps/arm/fclrexcpt.c: Cleanup.
52721 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52722 * sysdeps/arm/feenablxcpt.c: Cleanup.
52723 * sysdeps/arm/fegetenv.c: Cleanup.
52724 * sysdeps/arm/fegetexcept.c: Cleanup.
52725 * sysdeps/arm/fegetround.c: Cleanup.
52726 * sysdeps/arm/feholdexcpt.c: Cleanup.
52727 * sysdeps/arm/fesetenv.c: Cleanup.
52728 * sysdeps/arm/fesetround.c: Cleanup.
52729 * sysdeps/arm/feupdateenv.c: Cleanup.
52730 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52731 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52732 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52733 * sysdeps/arm/ftestexcept.c: Cleanup.
52734 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52735 * sysdeps/arm/setfpucw.c: Cleanup.
52736
52737 2014-05-09 Will Newton <will.newton@linaro.org>
52738
52739 * sysdeps/arm/armv7/strcmp.S: New file.
52740 * NEWS: Mention addition of ARMv7 optimized strcmp.
52741
52742 2014-05-08 Roland McGrath <roland@hack.frob.com>
52743
52744 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52745 look for %.ac rather than %.in.
52746
52747 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52748 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52749 * sysdeps/mach/hurd/configure: Regenerated.
52750 * sysdeps/unix/sysv/linux/configure: Regenerated.
52751
52752 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52753
52754 2014-05-07 Steve Ellcey <sellcey@mips.com>
52755
52756 [BZ #16922]
52757 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52758 (LONG_SUB): Ditto.
52759 (PTR_SUB): Ditto.
52760
52761 2014-05-07 Andreas Schwab <schwab@suse.de>
52762
52763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52764 when skipping over non-matching result from nscd.
52765
52766 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
52767
52768 [BZ #16876]
52769 * nptl/sockperf.c (client): Check socket return value.
52770
52771 [BZ #16877]
52772 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52773 nscd security class.
52774
52775 2014-05-06 Roland McGrath <roland@hack.frob.com>
52776
52777 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52778 * sysdeps/arm/unwind.h: ... here.
52779
52780 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52781
52782 [BZ #16916]
52783 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52784 Define.
52785
52786 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52787
52788 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52789 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52790 multiarch strncpy for PPC64.
52791 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52792 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52794 multiarch optimizations.
52795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52796 (__libc_ifunc_impl_list): Likewise.
52797 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52798 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52799 multiarch stpncpy for PPC64.
52800 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52801 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52802
52803 2014-05-06 Andreas Schwab <schwab@suse.de>
52804
52805 [BZ #16912]
52806 * gmon/mcount.c (_MCOUNT_DECL): Use
52807 atomic_compare_and_exchange_bool_acq instead of
52808 catomic_compare_and_exchange_bool_acq.
52809
52810 2014-05-05 Roland McGrath <roland@hack.frob.com>
52811
52812 * elf/Makefile (others, install-bin): Remove pldd.
52813 (pldd-modules): Variable removed.
52814 ($(objpfx)pldd): Target removed.
52815 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52816 (others, install-bin): Append pldd here.
52817 ($(objpfx)pldd): New target.
52818
52819 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52820 to 0, so the first #if test emitted later doesn't see it undefined.
52821 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52822 * sysdeps/gnu/errlist.c: Regenerated.
52823
52824 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52825
52826 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52827 [libc_hidden_builtin_def]: Define to empty value.
52828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52829 [libc_hidden_builtin_def]: Likewise.
52830 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52831 [libc_hidden_builtin_def]: Likewise.
52832 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52833 [libc_hidden_builtin_def]: Likewise.
52834 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52835 __redirect_memcpy and define ifunc as default hidden symbol.
52836 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52837 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52838
52839 2014-05-04 Adam Conrad <adconrad@0c3.net>
52840
52841 * locale/iso-4217.def: Reintroduce XDR currency.
52842
52843 2014-05-04 Allan McRae <allan@archlinux.org>
52844
52845 * po/eo.po: Update Esperanto translation from translation project.
52846
52847 2014-05-02 Carlos O'Donell <carlos@redhat.com>
52848
52849 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52850 and FEATURE_INDEX_MAX to 1.
52851 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52852
52853 2014-05-01 Steve Ellcey <sellcey@mips.com>
52854
52855 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52856 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52857 * iconvdata/big5.c (ONE_DIRECTION): Define.
52858 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52859 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52860 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52861 * iconvdata/cp932.c (ONE_DIRECTION): Define.
52862 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52863 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52864 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52865 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52866 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52867 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52868 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52869 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52870 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52871 * iconvdata/gbk.c (ONE_DIRECTION): Define.
52872 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52873 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52874 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52875 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52876 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52877 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52878 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52879 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52880 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52881 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52882 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52883 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52884 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52885 * iconvdata/iso646.c (ONE_DIRECTION): Define.
52886 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52887 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52888 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52889 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52890 * iconvdata/johab.c (ONE_DIRECTION): Define.
52891 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52892 * iconvdata/sjis.c (ONE_DIRECTION): Define.
52893 * iconvdata/t.61.c (ONE_DIRECTION): Define.
52894 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52895 * iconvdata/tscii.c (ONE_DIRECTION): Define.
52896 * iconvdata/uhc.c (ONE_DIRECTION): Define.
52897 * iconvdata/unicode.c (ONE_DIRECTION): Define.
52898 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52899 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52900 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52901
52902 2014-05-01 Roland McGrath <roland@hack.frob.com>
52903
52904 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52905 (_IO_JUMPS_OFFSET): Define to 0.
52906
52907 * nptl/sysdeps/pthread/bits/libc-lock.h
52908 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52909 (__libc_lock_define_initialized_recursive): Always define using
52910 initializer. Modern compilers treat uninitialized (implicit zero) and
52911 explicit zero initializers the same (i.e. put the datum in bss).
52912
52913 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52914
52915 * nscd/nscd-client.h: Include <string.h>.
52916
52917 2014-05-01 David S. Miller <davem@davemloft.net>
52918
52919 [BZ #16885]
52920 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52921 multiple zero bytes exist at the end of a string.
52922 Reported by Aurelien Jarno <aurelien@aurel32.net>
52923
52924 * string/test-strcmp.c (check): Add explicit test for situations where
52925 there are multiple zero bytes after the first.
52926
52927 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52928
52929 [BZ #16890]
52930 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52931 when compiling wprintf.
52932 * stdio-common/tstdiomisc.c (t3): New function.
52933 (main): Call it.
52934
52935 2014-05-01 Steve Ellcey <sellcey@mips.com>
52936
52937 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52938 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52939 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52940 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52941
52942 2014-05-01 Steve Ellcey <sellcey@mips.com>
52943
52944 * stdlib/longlong.h: Updated from GCC.
52945
52946 2014-05-01 Will Newton <will.newton@linaro.org>
52947 Bernard Ogden <bernie.ogden@linaro.org>
52948
52949 * NEWS: Update fixed bug list.
52950
52951 [BZ #15119]
52952 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52953
52954 2014-04-30 David S. Miller <davem@davemloft.net>
52955
52956 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52957 (libc_feholdexcept_setround_sparc_ctx): New function.
52958 (libc_fesetenv_sparc_ctx): Likewise.
52959 (libc_feupdateenv_sparc_ctx): Likewise.
52960 (libc_feholdsetround_sparc_ctx): Likewise.
52961 (libc_feholdexcept_setround_ctx): Define.
52962 (libc_feholdexcept_setroundf_ctx): Likewise.
52963 (libc_feholdexcept_setroundl_ctx): Likewise.
52964 (libc_fesetenv_ctx): Likewise.
52965 (libc_fesetenvf_ctx): Likewise.
52966 (libc_fesetenvl_ctx): Likewise.
52967 (libc_feupdateenv_ctx): Likewise.
52968 (libc_feupdateenvf_ctx): Likewise.
52969 (libc_feupdateenvl_ctx): Likewise.
52970 (libc_feresetround_ctx): Likewise.
52971 (libc_feresetroundf_ctx): Likewise.
52972 (libc_feresetroundl_ctx): Likewise.
52973 (libc_feholdsetround_ctx): Likewise.
52974 (libc_feholdsetroundf_ctx): Likewise.
52975 (libc_feholdsetroundl_ctx): Likewise.
52976
52977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52978 with __USE_GNU instead of XOPEN cpp guards.
52979
52980 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52981 0.
52982
52983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52984 with XOPEN cpp guards.
52985
52986 2014-04-30 Julian Brown <julian@codesourcery.com>
52987
52988 [BZ #16888]
52989 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52990 handling.
52991
52992 2014-04-30 Joseph Myers <joseph@codesourcery.com>
52993
52994 [BZ #9894]
52995 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52996 Change to 2.6.32.
52997 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52998 * sysdeps/unix/sysv/linux/configure: Regenerated.
52999 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53000 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53001 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53002 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53003 * README: Update reference to required Linux kernel version.
53004 * manual/install.texi (Linux): Update reference to required Linux
53005 kernel headers version.
53006 * INSTALL: Regenerated.
53007
53008 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53009 header inclusion.
53010 [POSIX] (limits.h): Likewise.
53011 [POSIX] (math.h): Likewise.
53012 [POSIX] (sys/wait.h): Likewise.
53013 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53014 function.
53015 [POSIX] (stddef.h): Do not allow header inclusion.
53016
53017 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53018
53019 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53020
53021 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53022
53023 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53024 Return immediately after lll_futex_wake.
53025
53026 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53027
53028 [BZ #16791]
53029 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53030 structure.
53031 (datahead_init_pos): Call datahead_init_common early.
53032 (datahead_init_neg): Likewise.
53033
53034 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53035 datahead_init_neg): New functions.
53036 * nscd/aicache.c (addhstaiX): Use them.
53037 * nscd/grpcache.c (cache_addgr): Likewise.
53038 * nscd/hstcache.c (cache_addhst): Likewise.
53039 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53040 * nscd/netgroupcache.c (do_notfound): Likewise.
53041 (addgetnetgrentX): Likewise.
53042 (addinnetgrX): Likewise.
53043 * nscd/pwdcache.c (cache_addpw): Likewise.
53044 * nscd/servicescache.c (cache_addserv): Likewise.
53045
53046 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53047 Atsushi Onoe <atsushi@onoe.org>
53048
53049 [BZ #14308]
53050 [BZ #12994]
53051 [BZ #13651]
53052 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53053 one response is valid.
53054 * resolv/res_send.c (send_dg): Check for validity of other
53055 response if the current response is a referral.
53056
53057 2014-04-29 Steve Ellcey <sellcey@mips.com>
53058
53059 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53060
53061 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53062
53063 [BZ #16823]
53064 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53065 Always divide by positive zero when computing -Inf result.
53066 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53067 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53068
53069 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53070
53071 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53072 FPSCR if value do not change.
53073 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53074 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53075 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53076 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53077 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53078 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53079 function.
53080
53081 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53082
53083 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53084 * sysdeps/unix/sysv/linux/hppa: Move directory from
53085 ports/systeps/unix/sysv/linux/hppa.
53086 * README: Update listing for hppa-*-linux-gnu.
53087
53088 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
53089
53090 [BZ #16754]
53091 * manual/stdio.texi (Hook functions): Fix types of stream hook
53092 functions.
53093 [BZ #16854]
53094 * socket/sys/socket.h: Fix typo in comment.
53095
53096 2014-04-28 Wilco <wdijkstr@arm.com>
53097
53098 * sysdeps/arm/fenv_private.h: New file.
53099 * sysdeps/arm/math_private.h: New file.
53100 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53101
53102 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53103
53104 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53105 with __int128_t.
53106 (La_x86_64_retval): Likewise.
53107
53108 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53109
53110 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53111 fpsr if value didn't change.
53112 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53113 to fpcr if value didn't change.
53114 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53115 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53116 fpsr or fpcr if value didn't change.
53117 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53118 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53119 fpcr if value didn't change.
53120 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53121 to fpsr if value didn't change.
53122
53123 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53124
53125 * nptl/tst-sem3.c: Use test-skeleton.c
53126 (main): Rename to do_test. Use return instead of
53127 exit.
53128 * nptl/tst-sem4.c: Use test-skeleton.c
53129 (main): Rename to do_test.
53130
53131 2014-04-22 David S. Miller <davem@davemloft.net>
53132
53133 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53134 (struct sigaction): New struct member __glibc_reserved0, change
53135 type of sa_flags to int.
53136
53137 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53138
53139 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53140 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53141
53142 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53143
53144 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53145 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53146
53147 2014-04-22 Will Newton <will.newton@linaro.org>
53148 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53149
53150 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53151 (__longjmp): Add longjmp and longjmp_target SystemTap
53152 probes.
53153 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53154 (__sigsetjmp): Add setjmp SystemTap probe.
53155
53156 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53157
53158 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53159 match manual order.
53160
53161 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53162
53163 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53164
53165 * sysdeps/powerpc/fpu/fenv_private.h
53166 (libc_feholdexcept_setroundl_ctx): Define to
53167 libc_feholdexcept_setround_ppc_ctx.
53168 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53169 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53170 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53171 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53172
53173 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53174
53175 * sysdeps/aarch64/math-tests.h: New file.
53176
53177 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53178
53179 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53180 New.
53181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53182 Check and set bit_AVX2_Usable.
53183 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53184 macro.
53185 (bit_AVX2): Likewise.
53186 (index_AVX2_Usable): Likewise.
53187 (CPUID_AVX2): Likewise.
53188 (HAS_AVX2): Likewise.
53189
53190 2014-04-17 Will Newton <will.newton@linaro.org>
53191
53192 * manual/setjmp.texi (System V contexts): Add note that
53193 calling setcontext on a context created by a call to a
53194 signal handler is undefined. Update text to note that
53195 setcontext from a signal handler is possible but not
53196 recommended.
53197
53198 [BZ #16629]
53199 * stdlib/tst-setcontext.c: Include signal.h.
53200 (main): Check that the signal stack before and
53201 after swapcontext is the same.
53202
53203 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53204 Re-implement to restore registers in user code and avoid
53205 rt_sigreturn system call.
53206
53207 2014-04-17 Wilco <wdijkstr@arm.com>
53208
53209 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53210 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53211 * math/test-fenv.c: Skip exception trap tests on targets which only
53212 support non-stop mode.
53213
53214 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53215 Wilco Dijkstra <wilco.dijkstra@arm.com>
53216
53217 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53218 (libc_feholdsetround_aarch64_ctx)
53219 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53220 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53221 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53222 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53223 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53224 (libc_feresetround_noexl_ctx): Define.
53225
53226 2014-04-16 Richard Henderson <rth@redhat.com>
53227
53228 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53229
53230 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53231 unwind tables.
53232
53233 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53234 const from the non-libc, non-ldso copy.
53235
53236 * sysdeps/alpha/libm-test-ulps: Regenerate.
53237
53238 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53239 Wilco Dijkstra <wilco.dijkstra@arm.com>
53240
53241 * sysdeps/aarch64/fpu/math_private.h: New file.
53242
53243 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53244
53245 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53246
53247 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53248
53249 [BZ #16275]
53250 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53251 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53253 Intel MPX bound registers before _dl_profile_fixup.
53254 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53255 registers after _dl_profile_fixup. Save and restore bound
53256 registers bnd0/bnd1 when calling _dl_call_pltexit.
53257 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53258 (LR_BND_OFFSET): Likewise.
53259 (LRV_BND0_OFFSET): Likewise.
53260 (LRV_BND1_OFFSET): Likewise.
53261
53262 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53263
53264 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53265 to...
53266 * sysdeps/mach/hurd/i386/tls.h: ... here.
53267 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53268 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53269 fields.
53270
53271 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53272
53273 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53274
53275 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53276
53277 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53278
53279 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53280
53281 [BZ #14770]
53282 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53283 * sysdeps/s390/configure: Regenerate.
53284
53285 [BZ #16824]
53286 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53287 Set round-to-nearest internally to reduce error accumulation.
53288
53289 2014-04-16 Alan Modra <amodra@gmail.com>
53290
53291 [BZ #16740]
53292 [BZ #16619]
53293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53294 * math/libm-test.inc (frexp_test_data): Add tests.
53295 * NEWS: Update fixed bug list.
53296
53297 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53298
53299 * benchtests/Makefile: Depend on libraries in build directory.
53300 (bench-math): Separate out math tests.
53301 (bench-pthread): Separate out pthread tests.
53302 (bench): Include math and pthread tests.
53303
53304 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53305
53306 [BZ #16831]
53307 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53308 _dl_debug_initialize.
53309
53310 * configure.ac: Remove SELinux header check.
53311 * configure: Regenerate.
53312 * nscd/selinux.c (perms): Array of const char* to permission names.
53313 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53314 default policy. Call string_to_security_class and string_to_av_perm to
53315 translate strings. Enforce default policy and call avs_has_perm with
53316 results of translated strings.
53317
53318 2014-04-13 David S. Miller <davem@davemloft.net>
53319
53320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53321
53322 2014-04-12 Allan McRae <allan@archlinux.org>
53323
53324 [BZ #16838]
53325 * manual/string.texi (Collation Functions): Fix qsort argument
53326 order in example.
53327 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53328
53329 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53330
53331 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53332 Make the test a no-op if there are no exceptions defined.
53333
53334 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53335
53336 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53337 enable-hardcoded-path-in-tests
53338
53339 2014-04-11 Will Newton <will.newton@linaro.org>
53340
53341 * benchtests/Makefile (extra-objs): Add json-lib.o.
53342 (bench-func): Tidy up JSON output.
53343 * benchtests/bench-skeleton.c: Include json-lib.h.
53344 (main): Use JSON library functions to do output of
53345 benchmark results.
53346 * benchtests/bench-timing-type.c (main): Output the
53347 timing type simply, leaving formatting to the user.
53348 * benchtests/json-lib.c: New file.
53349 * benchtests/json-lib.h: Likewise.
53350
53351 2014-04-11 Torvald Riegel <triegel@redhat.com>
53352
53353 [BZ #15215]
53354 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53355 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53356 memory barriers. Add comments.
53357 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53358 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53359 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53360 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53361 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53362 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53363
53364 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53365
53366 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53367 * sysdeps/s390/s390-64/configure.ac: ... this ...
53368 * sysdeps/s390/configure.ac: ... to here.
53369 * sysdeps/s390/s390-32/configure: Delete file.
53370 * sysdeps/s390/s390-64/configure: Delete file.
53371 * sysdeps/s390/configure: Regenerate.
53372
53373 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53374
53375 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53376
53377 2014-04-11 Will Newton <will.newton@linaro.org>
53378
53379 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53380 to zero if it is not defined elsewhere. (mtrim): Test
53381 the value of MALLOC_DEBUG with #if rather than #ifdef.
53382
53383 2014-04-10 Torvald Riegel <triegel@redhat.com>
53384
53385 * benchtests/pthread_once-inputs: New file.
53386 * benchtests/pthread_once-source.c: New file.
53387 * benchtests/README: Update documentation.
53388
53389 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53390 H.J. Lu <hongjiu.lu@intel.com>
53391
53392 [BZ #16275]
53393 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53394 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53395 * sysdeps/x86_64/configure: Regenerated.
53396 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53397 macro.
53398 (REGISTER_SAVE_RAX): Likewise.
53399 (REGISTER_SAVE_RCX): Likewise.
53400 (REGISTER_SAVE_RDX): Likewise.
53401 (REGISTER_SAVE_RSI): Likewise.
53402 (REGISTER_SAVE_RDI): Likewise.
53403 (REGISTER_SAVE_R8): Likewise.
53404 (REGISTER_SAVE_R9): Likewise.
53405 (REGISTER_SAVE_BND0): Likewise.
53406 (REGISTER_SAVE_BND1): Likewise.
53407 (REGISTER_SAVE_BND2): Likewise.
53408 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53409 bound registers when calling _dl_fixup.
53410
53411 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53412
53413 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53414 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53415 of its definition.
53416 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53417 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53418 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53419 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53420 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53421 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53422 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53423
53424 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53425
53426 [BZ #15514]
53427 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53428 pathconf(_PC_NAME_MAX).
53429
53430 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53431
53432 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53433 Remove macro usage.
53434 (__PTHREAD_SPINS): Move definition to ...
53435 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53436 (__PTHREAD_SPINS): ... here.
53437 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53438 (__PTHREAD_SPIN): Likewise.
53439 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53440 (__PTHREAD_SPIN): Likewise.
53441 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53442 (__PTHREAD_SPIN): Likewise.
53443 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53444 (__PTHREAD_SPIN): Likewise.
53445 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53446 (__PTHREAD_SPIN): Likewise.
53447 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53448 (__PTHREAD_SPIN): Likewise.
53449 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53450 (__PTHREAD_SPIN): Likewise.
53451 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53452 (__PTHREAD_SPIN): Likewise.
53453 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53454 (__PTHREAD_SPIN): Likewise.
53455 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53456 (__PTHREAD_SPIN): Likewise.
53457 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53458 (__PTHREAD_SPIN): Likewise.
53459 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53460 (__PTHREAD_SPIN): Likewise.
53461
53462 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53463 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53464 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53465 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53466 imply folder.
53467 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53468 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53469 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53470 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53471 correct imply path.
53472 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53473 strlen symbol for non multi-arch builds.
53474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53475 missing hidden_def and weak_alias.
53476
53477 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53478
53479 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53480
53481 2014-04-07 Will Newton <will.newton@linaro.org>
53482
53483 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53484 and contents. [!_LIBC] Remove #ifndef and contents.
53485 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53486 * string/memccpy.c (__memccpy): Use ANSI prototype.
53487 * string/memfrob.c (memfrob): Likewise.
53488 * string/strcoll.c (STRCOLL): Likewise.
53489 * string/strlen.c (strlen): Likewise.
53490 * string/strtok.c (STRTOK): Likewise.
53491 * string/strcat.c: Remove unused #include of memcopy.h.
53492 (strcat): Use ANSI prototype.
53493 * string/strchr.c: Remove unused #include of memcopy.h.
53494 (strchr): Use ANSI prototype.
53495 * string/strcmp.c: Remove unused #include of memcopy.h.
53496 (strcmp): Use ANSI prototype.
53497 * string/strcpy.c: Remove unused #include of memcopy.h.
53498 (strcpy): Use ANSI prototype.
53499
53500 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53501
53502 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53503 * config.make.in (config-extra-cppflags): Set it from
53504 libc_extra_cppflags.
53505 * configure.ac (libc_extra_cflags): Make it accumulate over
53506 configure fragments.
53507 (libc_extra_cppflags): New flag.
53508 * configure. Regenerate.
53509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53510 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53511 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53513
53514 [BZ #16815]
53515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53516 result for FE_DOWNWARD rounding mode.
53517 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53518 Likewise.
53519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53520
53521 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53522
53523 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53524 in function argument name.
53525
53526 2014-04-03 David Svoboda <svoboda@cert.org>
53527
53528 [BZ #5666]
53529 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53530 explicitly.
53531
53532 2014-04-03 Roland McGrath <roland@hack.frob.com>
53533
53534 * elf/dl-unmap-segments.h: New file.
53535 * sysdeps/generic/ldsodefs.h
53536 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53537 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53538 * elf/dl-fptr.c: Likewise.
53539 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53540 * sysdeps/aarch64/tlsdesc.c: Likewise.
53541 * sysdeps/arm/tlsdesc.c: Likewise.
53542 * sysdeps/i386/tlsdesc.c: Likewise.
53543 * sysdeps/tile/dl-runtime.c: Likewise.
53544 * sysdeps/x86_64/tlsdesc.c: Likewise.
53545 * elf/dl-load.h: New file.
53546 * elf/dl-load.c: Include it.
53547 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53548 Macros moved to dl-load.h.
53549 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53550 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53551 Use _dl_unmap_segments in place of __munmap.
53552 Break out segment-mapping loop into ...
53553 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53554
53555 2014-04-03 Will Newton <will.newton@linaro.org>
53556
53557 * elf/dl-lookup.c (do_lookup_x): Remove comment
53558 referring to nested function and move variable
53559 declarations down to before first use.
53560
53561 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53562
53563 [BZ #16799]
53564 [BZ #16800]
53565 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53566 with 0 numerator.
53567 * math/s_catanf.c (__catanf): Likewise.
53568 * math/s_catanh.c (__catanh): Likewise.
53569 * math/s_catanhf.c (__catanhf): Likewise.
53570 * math/s_catanhl.c (__catanhl): Likewise.
53571 * math/s_catanl.c (__catanl): Likewise.
53572 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53573 by positive zero when computing -Inf result.
53574 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53575 (catanh_test): Likewise.
53576 * sysdeps/i386/fpu/libm-test-ulps: Update.
53577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53578
53579 [BZ #16789]
53580 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53581 instead of using underflowing value in computing result.
53582 * math/s_clog10.c (__clog10): Likewise.
53583 * math/s_clog10f.c (__clog10f): Likewise.
53584 * math/s_clog10l.c (__clog10l): Likewise.
53585 * math/s_clogf.c (__clogf): Likewise.
53586 * math/s_clogl.c (__clogl): Likewise.
53587 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53588 (clog10_test): Likewise.
53589 * sysdeps/i386/fpu/libm-test-ulps: Update.
53590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53591
53592 2014-04-02 Alan Modra <amodra@gmail.com>
53593
53594 [BZ #16739]
53595 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53596 output when value is near a power of two. Use int64_t for lx and
53597 remove casts. Use decimal rather than hex exponent constants.
53598 Don't use long double multiplication when double will suffice.
53599 * math/libm-test.inc (nextafter_test_data): Add tests.
53600 * NEWS: Add 16739 and 16786 to bug list.
53601
53602 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53603
53604 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53605
53606 2014-04-01 Will Newton <will.newton@linaro.org>
53607
53608 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53609 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53610
53611 2014-04-01 Florian Weimer <fweimer@redhat.com>
53612
53613 [BZ #13347]
53614 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53615 * nptl/tst-setuid2.c: New file.
53616 * nptl/Makefile (xtests): Add tst-setuid2.
53617
53618 2014-04-01 Alan Modra <amodra@gmail.com>
53619
53620 [BZ #16786]
53621 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53622
53623 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53624
53625 [BZ #6803]
53626 [BZ #6804]
53627 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53628 set errno as appropriate.
53629 * math/w_scalbf.c (__scalbf): Likewise.
53630 * math/w_scalbl.c (__scalbl): Likewise.
53631 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53632 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53633 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53634 Add more NaN tests.
53635
53636 [BZ #16349]
53637 * math/w_atan2.c: Include <errno.h>.
53638 (__atan2): Set errno for result underflowing to zero.
53639 * math/w_atan2f.c: Include <errno.h>.
53640 (__atan2f): Set errno for result underflowing to zero.
53641 * math/w_atan2l.c: Include <errno.h>.
53642 (__atan2l): Set errno for result underflowing to zero.
53643 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53644 tests.
53645 * math/auto-libm-test-out: Regenerated.
53646
53647 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53648
53649 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53650 Encode instruction correctly in little endian.
53651 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53652 Likewise.
53653 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53654 Likewise.
53655 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53656 Likewise.
53657 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53658 Likewise.
53659
53660 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53661
53662 [BZ #9894]
53663 * sysdeps/unix/sysv/linux/kernel-features.h
53664 [__sparc__ && !__arch64__ && !__sparc_v9__]
53665 (__ASSUME_SET_ROBUST_LIST): Do not define.
53666 [__sparc__ && !__arch64__ && !__sparc_v9__]
53667 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53668 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53669 Likewise.
53670 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53671 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53672 (__ASSUME_REQUEUE_PI): Likewise.
53673 (__ASSUME_SET_ROBUST_LIST): Likewise.
53674 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53675 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53676 Undefine.
53677 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53678 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53679 Likewise.
53680 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53681 Likewise.
53682 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53683 Likewise.
53684 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53685 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53686 Undefine.
53687 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53688 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53689 Likewise.
53690
53691 [BZ #16648]
53692 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53693 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53694 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53695
53696 2014-03-31 Will Newton <will.newton@linaro.org>
53697
53698 * benchtests/Makefile (bench): Add ffs and ffsll to list
53699 of tests.
53700 * benchtests/ffs-inputs: New file.
53701 * benchtests/ffsll-inputs: Likewise.
53702
53703 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53704
53705 [BZ #16770]
53706 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53707 too large before casting to int.
53708 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53709 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53710 * math/libm-test.inc (scalb_test_data): Add more tests.
53711
53712 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53713
53714 * benchtests/Makefile (DETAILED_OPT): New make option.
53715 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53716 set.
53717 * benchtests/bench-skeleton.c: Include stdbool.h.
53718 (main): Store and print timings per input.
53719 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53720 member to each argument value.
53721 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53722 (_print_arg_data): Initialize per-input timing to 0.
53723
53724 * benchtests/Makefile (timing-type): New binary.
53725 (bench-clean): Also remove bench-timing-type.
53726 (bench): New target for timing-type.
53727 (bench-func): Print output in JSON format.
53728 * benchtests/bench-skeleton.c (main): Print output in JSON
53729 format.
53730 * benchtests/bench-timing-type.c: New file.
53731 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53732 (TIMING_PRINT_STATS): Remove.
53733 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53734 name separately.
53735
53736 * benchtests/bench-modf.c: Remove.
53737 * benchtests/modf-inputs: New inputs file.
53738
53739 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53740
53741 [BZ #16362]
53742 * math/s_clog10.c (M_PI_LOG10E): New macro.
53743 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53744 imaginary parts are 0.
53745 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53746 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53747 imaginary parts are 0.
53748 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53749 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53750 imaginary parts are 0.
53751 * math/libm-test.inc (clog10_test_data): Update expected results
53752 for when real and imaginary parts are 0.
53753
53754 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53755
53756 * elf/dl-load.c: Finish conversion of __builtin_expect into
53757 __glibc_{un}likely.
53758
53759 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53760
53761 [BZ #16348]
53762 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53763 1+x for argument with exponent below -67.
53764 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53765 Likewise.
53766 * math/auto-libm-test-in: Add more tests of exp.
53767 * math/auto-libm-test-out: Regenerated.
53768
53769 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53770
53771 [BZ #16759]
53772 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53773 (nscd_getnetgrent): Use it.
53774
53775 [BZ #16760]
53776 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53777 of stpcpy.
53778
53779 2014-03-27 Andi Kleen <ak@linux.intel.com>
53780
53781 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53782 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53783 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53784 (lll_robust_unlock): Remove out of line section. Use cfi
53785 intrinsics.
53786 (LLL_STUB_UNWIND_INFO*): Remove.
53787 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53788 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53789 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53790 (lll_robust_unlock): Remove out of line section. Use cfi
53791 intrinsics.
53792 (LLL_STUB_UNWIND_INFO*): Remove.
53793
53794 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53795
53796 [BZ #16758]
53797 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53798 blank values.
53799
53800 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53801
53802 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53803
53804 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53805
53806 [BZ #16198]
53807 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53808 fnstenv.
53809 * math/test-fenv-preserve.c: New file.
53810 * math/Makefile (tests): Add test-fenv-preserve.
53811
53812 2014-03-26 Will Newton <will.newton@linaro.org>
53813
53814 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53815
53816 2014-03-25 Roland McGrath <roland@hack.frob.com>
53817
53818 * scripts/versionlist.awk: Partition the version sets and emit all
53819 GLIBC_* (sorted) before all others (sorted).
53820
53821 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53822
53823 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53824 GLIBC_2.2.5 version.
53825
53826 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53827
53828 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53829 calls.
53830
53831 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53832 previous change.
53833
53834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53835
53836 2014-03-25 Andreas Schwab <schwab@suse.de>
53837
53838 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53839 label to be used after in6ailist is initialized.
53840
53841 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53842
53843 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53844 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53845
53846 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53847
53848 [BZ #16357]
53849 [BZ #16599]
53850 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53851 min_plus_half.
53852 (fp_formats): Update initializers.
53853 (init_fp_formats): Initialize new field.
53854 (output_for_one_input_case): Allow underflow for results up to
53855 min_plus_half.
53856 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53857 * math/auto-libm-test-in: Don't mark some underflows from asin and
53858 atanh as spurious.
53859 * math/auto-libm-test-out: Regenerated.
53860 * sysdeps/i386/fpu/libm-test-ulps: Update.
53861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53862
53863 2014-03-25 Andreas Schwab <schwab@suse.de>
53864
53865 * libio/Makefile (tst-ftell-partial-wide-ENV)
53866 (tst-ftell-active-handler-ENV): Define.
53867
53868 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
53869
53870 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53871
53872 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53873
53874 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53875
53876 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53877
53878 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53879 * sysdeps/x86_64/fpu/multiarch/e_exp.c
53880 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53881
53882 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53883
53884 [BZ #16634]
53885 * elf/dl-load.c (open_verify): Add mode parameter.
53886 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53887 (open_path): Change from boolean 'secure' to complete flag 'mode'
53888 (_dl_map_object): Adjust.
53889 * elf/Makefile (tests): Add tst-dlopen-aout.
53890 * elf/tst-dlopen-aout.c: New test.
53891
53892 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53893
53894 [BZ #16714]
53895 * sysdeps/unix/sysv/linux/s390/bits/stat.h
53896 (struct stat): Rename member pad0 to __glibc_reserved0.
53897
53898 [BZ #16712]
53899 * sysdeps/s390/s390-32/bits/wordsize.h
53900 (__WORDSIZE32_SIZE_ULONG): New define.
53901 * sysdeps/s390/s390-64/bits/wordsize.h
53902 (__WORDSIZE32_SIZE_ULONG): Likewise.
53903 * sysdeps/generic/stdint.h (SIZE_MAX):
53904 Define as UL if __WORDSIZE32_SIZE_ULONG.
53905
53906 [BZ #16713]
53907 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53908 (__glibc_reserved0): New variable.
53909 (sa_flags): Change type to int.
53910
53911 * posix/Makefile (before-compile): Use += before-compile instead
53912 of a :=.
53913
53914 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53915 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53916
53917 2014-03-20 Andreas Schwab <schwab@suse.de>
53918
53919 [BZ #16743]
53920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53921 non-matching result from nscd.
53922
53923 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53924
53925 * scripts/bench.py: Moved to ...
53926 * benchtests/scripts/bench.py: ... here.
53927 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53928
53929 2014-03-24 Andreas Schwab <schwab@suse.de>
53930
53931 [BZ #16002]
53932 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53933 alloca_account and account alloca use for struct in6ailist.
53934
53935 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53936
53937 [BZ #16284]
53938 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53939 rounding mode to recompute results that overflow to infinity or
53940 underflow to zero.
53941 * math/auto-libm-test-in: Don't mark tests as expected to fail for
53942 bug 16284.
53943 * math/auto-libm-test-out: Regenerated.
53944 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53945 (ccosh_test): Likewise.
53946 (csin_test_data): Use plus_oflow.
53947 (csin_test): Use ALL_RM_TEST.
53948 (csinh_test_data): Use plus_oflow.
53949 (csinh_test): Use ALL_RM_TEST.
53950 * sysdeps/i386/fpu/libm-test-ulps: Update.
53951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53952
53953 2014-03-21 Joseph Myers <joseph@codesourcery.com>
53954
53955 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53956 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53957 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53958
53959 [BZ #16731]
53960 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53961 when x - 1 is zero.
53962 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53963 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53964 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53965 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53966 argument is 1.
53967 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53968 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53969 zero.
53970 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53971 * sysdeps/i386/fpu/libm-test-ulps: Update.
53972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53973
53974 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53975
53976 * scripts/bench.pl: Remove file.
53977 * scripts/bench.py: New benchmark script.
53978 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53979 * benchtests/README: Mention python dependency.
53980 * scripts/pylintrc: New file.
53981 * scripts/pylint: New file.
53982
53983 * bits/mathdef.h: Use #ifdef instead of #if.
53984 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53985 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53986 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53987 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53988 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53989 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53990
53991 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53992 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53993
53994 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53996 and strpbrk-ppc64 objects.
53997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53998 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53999 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54000 multiarch strpbrk for POWER7.
54001 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54002 multiarch strpbrk for PPC64.
54003 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54004 ifunc selector.
54005 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54006 strpbrk for POWER7.
54007
54008 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54009
54010 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54011 (atan_test): Likewise.
54012 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54013 (atanh_test): Use ALL_RM_TEST.
54014 (atan2_test_data): Likewise.
54015 (cabs_test): Likewise.
54016 (cacosh_test): Likewise.
54017 (carg_test): Likewise.
54018 (casin_test): Likewise.
54019 (casinh_test): Likewise.
54020 (cbrt_test): Likewise.
54021 (csqrt_test): Likewise.
54022 (erf_test): Likewise.
54023 (erfc_test): Likewise.
54024 (pow10_test): Likewise.
54025 (exp2_test): Likewise.
54026 (hypot_test): Likewise.
54027 (j0_test): Likewise.
54028 (j1_test): Likewise.
54029 (lgamma_test): Likewise.
54030 (gamma_test): Likewise.
54031 (sincos_test): Likewise.
54032 (tanh_test): Likewise.
54033 (y0_test): Likewise.
54034 (y1_test): Likewise.
54035 * sysdeps/i386/fpu/libm-test-ulps: Update.
54036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54037
54038 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54039
54040 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54042 and strcspn-ppc64 objects.
54043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54044 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54045 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54046 multiarch strcspn for POWER7.
54047 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54048 multiarch strcspn for PPC64.
54049 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54050 ifunc selector.
54051 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54052 strcspn for POWER7.
54053
54054 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54055
54056 * math/gen-libm-test.pl (generate_testfile): Expect only function
54057 name as argument to AUTO_TESTS_* and pass results for all rounding
54058 modes to parse_args.
54059 (parse_auto_input): Separate inputs of automatic tests from
54060 outputs before storing in %auto_tests.
54061 * math/libm-test.inc (acos_test_data): Update call to
54062 AUTO_TESTS_f_f.
54063 (acos_test): Use ALL_RM_TEST.
54064 (acos_tonearest_test_data): Remove.
54065 (acos_test_tonearest): Likewise.
54066 (acos_towardzero_test_data): Likewise.
54067 (acos_test_towardzero): Likewise.
54068 (acos_downward_test_data): Likewise.
54069 (acos_test_downward): Likewise.
54070 (acos_upward_test_data): Likewise.
54071 (acos_test_upward): Likewise.
54072 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54073 (asin_test_data): Likewise.
54074 (asin_test): Use ALL_RM_TEST.
54075 (asin_tonearest_test_data): Remove.
54076 (asin_test_tonearest): Likewise.
54077 (asin_towardzero_test_data): Likewise.
54078 (asin_test_towardzero): Likewise.
54079 (asin_downward_test_data): Likewise.
54080 (asin_test_downward): Likewise.
54081 (asin_upward_test_data): Likewise.
54082 (asin_test_upward): Likewise.
54083 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54084 (atan_test_data): Likewise.
54085 (atanh_test_data): Likewise.
54086 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54087 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54088 (carg_test_data): Likewise.
54089 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54090 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54091 (ccosh_test_data): Likewise.
54092 (cexp_test_data): Likewise.
54093 (clog_test_data): Likewise.
54094 (clog10_test_data): Likewise.
54095 (cos_test_data): Update call to AUTO_TESTS_f_f.
54096 (cos_test): Use ALL_RM_TEST.
54097 (cos_tonearest_test_data): Remove.
54098 (cos_test_tonearest): Likewise.
54099 (cos_towardzero_test_data): Likewise.
54100 (cos_test_towardzero): Likewise.
54101 (cos_downward_test_data): Likewise.
54102 (cos_test_downward): Likewise.
54103 (cos_upward_test_data): Likewise.
54104 (cos_test_upward): Likewise.
54105 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54106 (cosh_test): Use ALL_RM_TEST.
54107 (cosh_tonearest_test_data): Remove.
54108 (cosh_test_tonearest): Likewise.
54109 (cosh_towardzero_test_data): Likewise.
54110 (cosh_test_towardzero): Likewise.
54111 (cosh_downward_test_data): Likewise.
54112 (cosh_test_downward): Likewise.
54113 (cosh_upward_test_data): Likewise.
54114 (cosh_test_upward): Likewise.
54115 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54116 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54117 (ctan_test_data): Likewise.
54118 (ctan_test): Use ALL_RM_TEST.
54119 (ctan_tonearest_test_data): Remove.
54120 (ctan_test_tonearest): Likewise.
54121 (ctan_towardzero_test_data): Likewise.
54122 (ctan_test_towardzero): Likewise.
54123 (ctan_downward_test_data): Likewise.
54124 (ctan_test_downward): Likewise.
54125 (ctan_upward_test_data): Likewise.
54126 (ctan_test_upward): Likewise.
54127 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54128 (ctanh_test): Use ALL_RM_TEST.
54129 (ctanh_tonearest_test_data): Remove.
54130 (ctanh_test_tonearest): Likewise.
54131 (ctanh_towardzero_test_data): Likewise.
54132 (ctanh_test_towardzero): Likewise.
54133 (ctanh_downward_test_data): Likewise.
54134 (ctanh_test_downward): Likewise.
54135 (ctanh_upward_test_data): Likewise.
54136 (ctanh_test_upward): Likewise.
54137 (erf_test_data): Update call to AUTO_TESTS_f_f.
54138 (erfc_test_data): Likewise.
54139 (exp_test_data): Likewise.
54140 (exp_test): Use ALL_RM_TEST.
54141 (exp_tonearest_test_data): Remove.
54142 (exp_test_tonearest): Likewise.
54143 (exp_towardzero_test_data): Likewise.
54144 (exp_test_towardzero): Likewise.
54145 (exp_downward_test_data): Likewise.
54146 (exp_test_downward): Likewise.
54147 (exp_upward_test_data): Likewise.
54148 (exp_test_upward): Likewise.
54149 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54150 (exp10_test): Use ALL_RM_TEST.
54151 (exp10_tonearest_test_data): Remove.
54152 (exp10_test_tonearest): Likewise.
54153 (exp10_towardzero_test_data): Likewise.
54154 (exp10_test_towardzero): Likewise.
54155 (exp10_downward_test_data): Likewise.
54156 (exp10_test_downward): Likewise.
54157 (exp10_upward_test_data): Likewise.
54158 (exp10_test_upward): Likewise.
54159 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54160 (expm1_test_data): Likewise.
54161 (expm1_test): Use ALL_RM_TEST.
54162 (expm1_tonearest_test_data): Remove.
54163 (expm1_test_tonearest): Likewise.
54164 (expm1_towardzero_test_data): Likewise.
54165 (expm1_test_towardzero): Likewise.
54166 (expm1_downward_test_data): Likewise.
54167 (expm1_test_downward): Likewise.
54168 (expm1_upward_test_data): Likewise.
54169 (expm1_test_upward): Likewise.
54170 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54171 (fma_test): Use ALL_RM_TEST.
54172 (fma_towardzero_test_data): Remove.
54173 (fma_test_towardzero): Likewise.
54174 (fma_downward_test_data): Likewise.
54175 (fma_test_downward): Likewise.
54176 (fma_upward_test_data): Likewise.
54177 (fma_test_upward): Likewise.
54178 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54179 (j0_test_data): Update call to AUTO_TESTS_f_f.
54180 (j1_test_data): Likewise.
54181 (jn_test_data): Update call to AUTO_TESTS_if_f.
54182 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54183 (log_test_data): Update call to AUTO_TESTS_f_f.
54184 (log10_test_data): Likewise.
54185 (log1p_test_data): Likewise.
54186 (log2_test_data): Likewise.
54187 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54188 (pow_tonearest_test_data): Likewise.
54189 (sin_test_data): Update call to AUTO_TESTS_f_f.
54190 (sin_test): Use ALL_RM_TEST.
54191 (sin_tonearest_test_data): Remove.
54192 (sin_test_tonearest): Likewise.
54193 (sin_towardzero_test_data): Likewise.
54194 (sin_test_towardzero): Likewise.
54195 (sin_downward_test_data): Likewise.
54196 (sin_test_downward): Likewise.
54197 (sin_upward_test_data): Likewise.
54198 (sin_test_upward): Likewise.
54199 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54200 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54201 (sinh_test): Use ALL_RM_TEST.
54202 (sinh_tonearest_test_data): Remove.
54203 (sinh_test_tonearest): Likewise.
54204 (sinh_towardzero_test_data): Likewise.
54205 (sinh_test_towardzero): Likewise.
54206 (sinh_downward_test_data): Likewise.
54207 (sinh_test_downward): Likewise.
54208 (sinh_upward_test_data): Likewise.
54209 (sinh_test_upward): Likewise.
54210 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54211 (sqrt_test): Use ALL_RM_TEST.
54212 (sqrt_tonearest_test_data): Remove.
54213 (sqrt_test_tonearest): Likewise.
54214 (sqrt_towardzero_test_data): Likewise.
54215 (sqrt_test_towardzero): Likewise.
54216 (sqrt_downward_test_data): Likewise.
54217 (sqrt_test_downward): Likewise.
54218 (sqrt_upward_test_data): Likewise.
54219 (sqrt_test_upward): Likewise.
54220 (tan_test_data): Update call to AUTO_TESTS_f_f.
54221 (tan_test): Use ALL_RM_TEST.
54222 (tan_tonearest_test_data): Remove.
54223 (tan_test_tonearest): Likewise.
54224 (tan_towardzero_test_data): Likewise.
54225 (tan_test_towardzero): Likewise.
54226 (tan_downward_test_data): Likewise.
54227 (tan_test_downward): Likewise.
54228 (tan_upward_test_data): Likewise.
54229 (tan_test_upward): Likewise.
54230 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54231 (tgamma_test_data): Likewise.
54232 (y0_test_data): Likewise.
54233 (y1_test_data): Likewise.
54234 (yn_test_data): Update call to AUTO_TESTS_if_f.
54235 (main): Do not call removed functions.
54236
54237 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54238
54239 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54240 (ldexp_test_data): Remove.
54241 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54242 scalbn_test_data.
54243 (scalb_test): Use ALL_RM_TEST.
54244
54245 2014-03-19 Andreas Schwab <schwab@suse.de>
54246
54247 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54248
54249 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54250
54251 [BZ #16649]
54252 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54253 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54254 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54255 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54256 (__ASSUME_PREADV): Undefine.
54257 (__ASSUME_PWRITEV): Likewise.
54258
54259 2014-03-18 Roland McGrath <roland@hack.frob.com>
54260
54261 * bits/mman-linux.h: Add comment about non-Linux use.
54262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54263 bits/mman-linux.h resting place.
54264
54265 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54266 * bits/mman-linux.h: ... here.
54267
54268 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54269
54270 * conform/conformtest.pl: Add standard definition when calling C
54271 preprocessor on data files.
54272 (checknamespace): Remove unused variable.
54273
54274 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54275
54276 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54277 minus_oflow, plus_uflow and minus_uflow in expected results.
54278 * math/libm-test.inc (scalbn_test_data): Add more tests of
54279 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54280 minus_uflow.
54281 (scalbn_test): Use ALL_RM_TEST.
54282 (scalbln_test_data): Add more tests of negative arguments. Use
54283 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54284 (scalbln_test): Use ALL_RM_TEST.
54285
54286 2014-03-18 Roland McGrath <roland@hack.frob.com>
54287
54288 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54289
54290 2014-03-18 Will Newton <will.newton@linaro.org>
54291
54292 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54293 inaccurate comment.
54294
54295 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54296
54297 * Makerules [!subdir] (check-abi): Exit with error status if a
54298 test failed.
54299
54300 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54301
54302 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54303 for rint. Include results for all rounding modes.
54304 (nearbyint_test): Use ALL_RM_TEST.
54305 (rint_test_data): Include all tests used for nearbyint.
54306
54307 2014-03-17 Will Newton <will.newton@linaro.org>
54308
54309 * nptl/sysdeps/pthread/pthread.h: Revert previous
54310 change.
54311
54312 * sysdeps/generic/ldsodefs.h: Revert previous
54313 change.
54314
54315 * libio/genops.c: Revert previous change.
54316 * libio/libioP.h: Likewise.
54317 * stdio-common/vfprintf.c: Likewise.
54318
54319 * sysdeps/generic/math_private.h: Revert previous
54320 change.
54321
54322 * sysdeps/generic/math_private.h: Check whether
54323 HAVE_RM_CTX is defined with #ifdef rather
54324 than #if.
54325
54326 * argp/argp-fmtstream.h: Check whether
54327 __STRICT_ANSI__ is defined with #ifdef rather
54328 than #if.
54329 * argp/argp.h: Likewise.
54330
54331 * libio/genops.c: Check whether
54332 _IO_JUMPS_OFFSET is defined with #ifdef rather
54333 than #if.
54334 * libio/libioP.h: Likewise.
54335 * stdio-common/vfprintf.c: Likewise.
54336
54337 * sysdeps/generic/ldsodefs.h: Check whether
54338 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54339 than #if.
54340
54341 * nptl/sysdeps/pthread/pthread.h: Check
54342 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54343 its value.
54344
54345 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54346
54347 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54348 setting O_APPEND.
54349 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54350 test case.
54351
54352 [BZ #16680]
54353 * libio/fileops.c (_IO_file_open): Seek to end of file but
54354 don't cache the offset.
54355 (get_file_offset): Remove function.
54356 (do_ftell): Use cached offset when available.
54357 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54358 don't cache the offset.
54359 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54360 case.
54361 (do_one_test): Call it.
54362 (do_ftell_test): Fix up expected old offset for a+ mode.
54363 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54364 available.
54365
54366 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54367 up test status with function return status.
54368 (do_write_test): Likewise.
54369 (do_append_test): Likewise.
54370
54371 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54372 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54373 Remove.
54374
54375 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54376
54377 * math/gen-libm-test.pl (parse_args): Handle results specified for
54378 each rounding mode separately.
54379 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54380 tests and results from lrint_tonearest_test_data,
54381 lrint_towardzero_test_data, lrint_downward_test_data and
54382 lrint_upward_test_data.
54383 (lrint_test): Use ALL_RM_TEST.
54384 (lrint_tonearest_test_data): Remove.
54385 (lrint_test_tonearest): Likewise.
54386 (lrint_towardzero_test_data): Likewise.
54387 (lrint_test_towardzero): Likewise.
54388 (lrint_downward_test_data): Likewise.
54389 (lrint_test_downward): Likewise.
54390 (lrint_upward_test_data): Likewise.
54391 (lrint_test_upward): Likewise.
54392 (llrint_test_data): Merge in per-rounding-mode tests and results
54393 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54394 llrint_downward_test_data and llrint_upward_test_data.
54395 (llrint_test): Use ALL_RM_TEST.
54396 (llrint_tonearest_test_data): Remove.
54397 (llrint_test_tonearest): Likewise.
54398 (llrint_towardzero_test_data): Likewise.
54399 (llrint_test_towardzero): Likewise.
54400 (llrint_downward_test_data): Likewise.
54401 (llrint_test_downward): Likewise.
54402 (llrint_upward_test_data): Likewise.
54403 (llrint_test_upward): Likewise.
54404 (rint_test_data): Merge in per-rounding-mode tests and results
54405 from rint_tonearest_test_data, rint_towardzero_test_data,
54406 rint_downward_test_data and rint_upward_test_data. Add
54407 per-rounding-mode results for tests not in those arrays.
54408 (rint_test): Use ALL_RM_TEST.
54409 (rint_tonearest_test_data): Remove.
54410 (rint_test_tonearest): Likewise.
54411 (rint_towardzero_test_data): Likewise.
54412 (rint_test_towardzero): Likewise.
54413 (rint_downward_test_data): Likewise.
54414 (rint_test_downward): Likewise.
54415 (rint_upward_test_data): Likewise.
54416 (rint_test_upward): Likewise.
54417 (main): Don't call removed functions.
54418
54419 2014-03-14 Roland McGrath <roland@hack.frob.com>
54420
54421 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54422 "Compiled on ..." crapola. It is anti-useful.
54423
54424 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54425
54426 * scripts/evaluate-test.sh: Handle fourth argument to determine
54427 whether test run should stop on failure.
54428 * Makeconfig (stop-on-test-failure): New variable.
54429 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54430 $(stop-on-test-failure).
54431 * Makefile (tests): Give a summary of results from testing and
54432 exit with failure status if they include an ERROR or FAIL.
54433 (xtests): Likewise.
54434 * manual/install.texi (Configuring and compiling): Mention
54435 stop-on-test-failure=y.
54436 * INSTALL: Regenerated.
54437
54438 2014-03-14 Roland McGrath <roland@hack.frob.com>
54439
54440 * scripts/versionlist.awk: New file.
54441 * Makerules [$(build-shared) = yes]
54442 (postclean-generated): Add Versions.def, not Versions.def.v and
54443 Versions.def.v.i.
54444 ($(common-objpfx)Versions.def.v.i): Target removed.
54445 ($(common-objpfx)Versions.def): New target.
54446 ($(common-objpfx)Versions.all): Depend on that rather that
54447 $(common-objpfx)Versions.def.v.
54448 * Versions.def: File removed.
54449
54450 * Makeconfig (+gccwarn): Add -Wundef.
54451 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54452 a dl-sysdep.h breaking its contract.
54453 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54454 * include/stackinfo.h: New file.
54455 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54456 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54457 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54458 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54459 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54460 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54461 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54462 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54463 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54464 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54465 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54466 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54467 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54468 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54469 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54470
54471 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54472
54473 [BZ #16707]
54474 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54475 implementation.
54476 * math/libm-test.inc (round_test_data): Add more tests.
54477
54478 [BZ #16706]
54479 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54480 implementation.
54481 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54482
54483 [BZ #16701]
54484 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54485 implementation.
54486 * math/libm-test.inc (ceil_test_data): Add more tests.
54487
54488 * math/libm-test.inc (trunc_test_data): Add more tests related to
54489 BZ#16414.
54490
54491 2014-03-14 Roland McGrath <roland@hack.frob.com>
54492
54493 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54494 with #if rather than #ifdef.
54495 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54496
54497 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54498
54499 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54500 first. Disable AVX-512 GCC support if assembler doesn't support
54501 it.
54502 * sysdeps/x86_64/configure: Regenerated.
54503
54504 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54505
54506 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54507 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54508 (__old_pthread_attr_setstack): Likewise.
54509 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54510 [!_STACK_GROWS_DOWN]: Likewise.
54511
54512 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54513
54514 * config.make.in (have-bash2): Delete.
54515 * configure.ac (libc_cv_have_bash2): Delete.
54516 * configure: Regenerate.
54517 * elf/Makefile (common-ldd-rewrite): Rename to ...
54518 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54519 (sh-ldd-rewrite): Delete.
54520 (bash-ldd-rewrite): Delete.
54521 (have-bash2): Delete checks.
54522 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54523 ldd-rewrite.
54524
54525 * config.make.in (have-ksh): Delete.
54526 (KSH): Delete.
54527 * configure.ac (libc_cv_have_ksh): Delete.
54528 * configure: Regenerate.
54529
54530 * elf/Makefile: Delete $(have-ksh) check.
54531 ($(objpfx)sotruss): Change KSH to BASH.
54532 * elf/sotruss.ksh: Rename to ...
54533 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54534 function style to match POSIX. Drop ksh vim mode setting.
54535
54536 * manual/time.texi (Specifying the Time Zone with TZ): Change
54537 Tuesday to Thursday.
54538
54539 * debug/tst-longjmp_chk2.c: Update header comment.
54540 (stackoverflow_handler): Add comment. Call assert on pass value.
54541
54542 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54543
54544 [BZ #16194]
54545 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54546 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54547 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54548 (La_x86_64_vector): Add zmm.
54549 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54550 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54551 ($(objpfx)tst-audit10): New target.
54552 ($(objpfx)tst-audit10.out): Likewise.
54553 (tst-audit10-ENV): New.
54554 (AVX512-CFLAGS): Likewise.
54555 (CFLAGS-tst-audit10.c): Likewise.
54556 (CFLAGS-tst-auditmod10a.c): Likewise.
54557 (CFLAGS-tst-auditmod10b.c): Likewise.
54558 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54559 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54560 * sysdeps/x86_64/configure: Regenerated.
54561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54562 AVX-512 zmm register support.
54563 (_dl_x86_64_save_sse): Likewise.
54564 (_dl_x86_64_restore_sse): Likewise.
54565 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54566 size vector registers.
54567 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54568 (ZMM_SIZE): Likewise.
54569 * sysdeps/x86_64/tst-audit10.c: New file.
54570 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54571 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54572
54573 2014-03-13 Roland McGrath <roland@hack.frob.com>
54574
54575 * configure.ac (HAVE_EHDR_START): New check.
54576 * configure: Regenerated.
54577 * config.h.in (HAVE_EHDR_START): New #undef.
54578 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54579 assuming the lowest-addressed segment maps the start of the file.
54580
54581 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54582
54583 * INSTALL: Regenerated.
54584
54585 2014-03-13 Will Newton <will.newton@linaro.org>
54586
54587 * manual/setjmp.texi (System V contexts): Improve
54588 clarity and grammar of documentation.
54589
54590 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54591
54592 [BZ #16381]
54593 * elf/Makefile (tests): Add tst-pie2.
54594 (tests-pie): Add tst-pie2.
54595 * elf/tst-pie2.c: New file.
54596 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54597 for ET_EXEC.
54598 * elf/rtld.c (map_doit): Load executable as lt_executable.
54599 (dl_main): Likewise.
54600
54601 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54602
54603 [BZ #16642]
54604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54605 (__ASSUME_PSELECT): Undefine.
54606
54607 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54608
54609 [BZ #16689]
54610 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54611 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54612 static build.
54613 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54614 selector for static builds.
54615
54616 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54617
54618 [BZ #16695]
54619 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54620 key in the buffer.
54621
54622 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54623
54624 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54625 IFUNC selector for static builds.
54626
54627 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54628
54629 * sysdeps/mips/math_private.h [__mips_hard_float]
54630 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54631 libc_feresetround_mips_ctx.
54632 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54633 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54634 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54635
54636 [BZ #16677]
54637 * math/s_nextafter.c (__nextafter): Do not return value from
54638 overflowing computation.
54639 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54640 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54641 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54642 Likewise.
54643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54644 Likewise.
54645 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54646 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54647
54648 2014-03-11 Roland McGrath <roland@hack.frob.com>
54649
54650 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54651 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54652 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54653 the new mov targetting sp.
54654
54655 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54656
54657 [BZ #16683]
54658 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54659 Define it for static builds as well.
54660 (NO_BZERO_IMPL): Likewise.
54661
54662 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54663
54664 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54665 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54666 multiarch strspn for PPC64.
54667 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54668 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54670 (__libc_ifunc_impl_list): Likewise.
54671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54672 multiarch optimizations
54673 * string/strspn.c (strspn): Using macro to redefine symbol name.
54674
54675 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54676 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54677
54678 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54679 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54680 multiarch strncat for PPC64.
54681 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54682 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54684 (__libc_ifunc_impl_list): Likewise.
54685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54686 multiarch optimizations
54687
54688 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54689
54690 [BZ #16639]
54691 * nscd/nscd.service: Make service type forking.
54692
54693 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54694
54695 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54696 sign in non default rounding modes.
54697 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54698
54699 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54700
54701 * math/libm-test.inc (ALL_RM_TEST): New macro.
54702 (ceil_test): Use ALL_RM_TEST.
54703 (cimag_test): Likewise.
54704 (conj_test): Likewise.
54705 (copysign_test): Likewise.
54706 (cproj_test): Likewise.
54707 (creal_test): Likewise.
54708 (fabs_test): Likewise.
54709 (floor_test): Likewise.
54710 (fmax_test): Likewise.
54711 (fmin_test): Likewise.
54712 (fmod_test): Likewise.
54713 (fpclassify_test): Likewise.
54714 (frexp_test): Likewise.
54715 (ilogb_test): Likewise.
54716 (isfinite_test): Likewise.
54717 (finite_test): Likewise.
54718 (isgreater_test): Likewise.
54719 (isgreaterequal_test): Likewise.
54720 (isinf_test): Likewise.
54721 (isless_test): Likewise.
54722 (islessequal_test): Likewise.
54723 (islessgreater_test): Likewise.
54724 (isnan_test): Likewise.
54725 (isnormal_test): Likewise.
54726 (issignaling_test): Likewise.
54727 (isunordered_test): Likewise.
54728 (logb_test): Likewise.
54729 (logb_downward_test_data): Remove.
54730 (logb_test_downward): Likewise.
54731 (lround_test): Use ALL_RM_TEST.
54732 (llround_test): Likewise.
54733 (modf_test): Likewise.
54734 (nexttoward_test): Likewise.
54735 (remainder_test): Likewise.
54736 (drem_test): Likewise.
54737 (remainder_tonearest_test_data): Likewise.
54738 (remainder_test_tonearest): Likewise.
54739 (drem_test_tonearest): Likewise.
54740 (remainder_towardzero_test_data): Likewise.
54741 (remainder_test_towardzero): Likewise.
54742 (drem_test_towardzero): Likewise.
54743 (remainder_downward_test_data): Likewise.
54744 (remainder_test_downward): Likewise.
54745 (drem_test_downward): Likewise.
54746 (remainder_upward_test_data): Likewise.
54747 (remainder_test_upward): Likewise.
54748 (drem_test_upward): Likewise.
54749 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54750 (round_test): Use ALL_RM_TEST.
54751 (signbit_test): Likewise.
54752 (trunc_test): Likewise.
54753 (significand_test): Likewise.
54754 (main): Don't call removed functions.
54755
54756 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54757
54758 [BZ #16674]
54759 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54760 || __USE_XOPEN2K8].
54761 (ILL_ILLOPN): Likewise.
54762 (ILL_ILLADR): Likewise.
54763 (ILL_ILLTRP): Likewise.
54764 (ILL_PRVOPC): Likewise.
54765 (ILL_PRVREG): Likewise.
54766 (ILL_COPROC): Likewise.
54767 (ILL_BADSTK): Likewise.
54768 (FPE_INTDIV): Likewise.
54769 (FPE_INTOVF): Likewise.
54770 (FPE_FLTDIV): Likewise.
54771 (FPE_FLTOVF): Likewise.
54772 (FPE_FLTUND): Likewise.
54773 (FPE_FLTRES): Likewise.
54774 (FPE_FLTINV): Likewise.
54775 (FPE_FLTSUB): Likewise.
54776 (SEGV_MAPERR): Likewise.
54777 (SEGV_ACCERR): Likewise.
54778 (BUS_ADRALN): Likewise.
54779 (BUS_ADRERR): Likewise.
54780 (BUS_OBJERR): Likewise.
54781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54782 (TRAP_TRACE): Likewise.
54783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54784 __USE_XOPEN2K8].
54785 (CLD_KILLED): Likewise.
54786 (CLD_DUMPED): Likewise.
54787 (CLD_TRAPPED): Likewise.
54788 (CLD_STOPPED): Likewise.
54789 (CLD_CONTINUED): Likewise.
54790 (POLL_IN): Likewise.
54791 (POLL_OUT): Likewise.
54792 (POLL_MSG): Likewise.
54793 (POLL_ERR): Likewise.
54794 (POLL_PRI): Likewise.
54795 (POLL_HUP): Likewise.
54796 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54797 Likewise.
54798 (ILL_ILLOPN): Likewise.
54799 (ILL_ILLADR): Likewise.
54800 (ILL_ILLTRP): Likewise.
54801 (ILL_PRVOPC): Likewise.
54802 (ILL_PRVREG): Likewise.
54803 (ILL_COPROC): Likewise.
54804 (ILL_BADSTK): Likewise.
54805 (FPE_INTDIV): Likewise.
54806 (FPE_INTOVF): Likewise.
54807 (FPE_FLTDIV): Likewise.
54808 (FPE_FLTOVF): Likewise.
54809 (FPE_FLTUND): Likewise.
54810 (FPE_FLTRES): Likewise.
54811 (FPE_FLTINV): Likewise.
54812 (FPE_FLTSUB): Likewise.
54813 (SEGV_MAPERR): Likewise.
54814 (SEGV_ACCERR): Likewise.
54815 (BUS_ADRALN): Likewise.
54816 (BUS_ADRERR): Likewise.
54817 (BUS_OBJERR): Likewise.
54818 (BUS_MCEERR_AR): Likewise.
54819 (BUS_MCEERR_AO): Likewise.
54820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54821 (TRAP_TRACE): Likewise.
54822 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54823 __USE_XOPEN2K8].
54824 (CLD_KILLED): Likewise.
54825 (CLD_DUMPED): Likewise.
54826 (CLD_TRAPPED): Likewise.
54827 (CLD_STOPPED): Likewise.
54828 (CLD_CONTINUED): Likewise.
54829 (POLL_IN): Likewise.
54830 (POLL_OUT): Likewise.
54831 (POLL_MSG): Likewise.
54832 (POLL_ERR): Likewise.
54833 (POLL_PRI): Likewise.
54834 (POLL_HUP): Likewise.
54835 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54836 (ILL_ILLOPN): Likewise.
54837 (ILL_ILLADR): Likewise.
54838 (ILL_ILLTRP): Likewise.
54839 (ILL_PRVOPC): Likewise.
54840 (ILL_PRVREG): Likewise.
54841 (ILL_COPROC): Likewise.
54842 (ILL_BADSTK): Likewise.
54843 (FPE_INTDIV): Likewise.
54844 (FPE_INTOVF): Likewise.
54845 (FPE_FLTDIV): Likewise.
54846 (FPE_FLTOVF): Likewise.
54847 (FPE_FLTUND): Likewise.
54848 (FPE_FLTRES): Likewise.
54849 (FPE_FLTINV): Likewise.
54850 (FPE_FLTSUB): Likewise.
54851 (SEGV_MAPERR): Likewise.
54852 (SEGV_ACCERR): Likewise.
54853 (BUS_ADRALN): Likewise.
54854 (BUS_ADRERR): Likewise.
54855 (BUS_OBJERR): Likewise.
54856 (BUS_MCEERR_AR): Likewise.
54857 (BUS_MCEERR_AO): Likewise.
54858 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54859 (TRAP_TRACE): Likewise.
54860 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54861 __USE_XOPEN2K8].
54862 (CLD_KILLED): Likewise.
54863 (CLD_DUMPED): Likewise.
54864 (CLD_TRAPPED): Likewise.
54865 (CLD_STOPPED): Likewise.
54866 (CLD_CONTINUED): Likewise.
54867 (POLL_IN): Likewise.
54868 (POLL_OUT): Likewise.
54869 (POLL_MSG): Likewise.
54870 (POLL_ERR): Likewise.
54871 (POLL_PRI): Likewise.
54872 (POLL_HUP): Likewise.
54873 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54874 Likewise.
54875 (ILL_ILLOPN): Likewise.
54876 (ILL_ILLADR): Likewise.
54877 (ILL_ILLTRP): Likewise.
54878 (ILL_PRVOPC): Likewise.
54879 (ILL_PRVREG): Likewise.
54880 (ILL_COPROC): Likewise.
54881 (ILL_BADSTK): Likewise.
54882 (ILL_BADIADDR): Likewise.
54883 (ILL_BREAK): Likewise.
54884 (FPE_INTDIV): Likewise.
54885 (FPE_INTOVF): Likewise.
54886 (FPE_FLTDIV): Likewise.
54887 (FPE_FLTOVF): Likewise.
54888 (FPE_FLTUND): Likewise.
54889 (FPE_FLTRES): Likewise.
54890 (FPE_FLTINV): Likewise.
54891 (FPE_FLTSUB): Likewise.
54892 (FPE_DECOVF): Likewise.
54893 (FPE_DECDIV): Likewise.
54894 (FPE_DECERR): Likewise.
54895 (FPE_INVASC): Likewise.
54896 (FPE_INVDEC): Likewise.
54897 (SEGV_MAPERR): Likewise.
54898 (SEGV_ACCERR): Likewise.
54899 (SEGV_PSTKOVF): Likewise.
54900 (BUS_ADRALN): Likewise.
54901 (BUS_ADRERR): Likewise.
54902 (BUS_OBJERR): Likewise.
54903 (BUS_MCEERR_AR): Likewise.
54904 (BUS_MCEERR_AO): Likewise.
54905 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54906 (TRAP_TRACE): Likewise.
54907 (TRAP_BRANCH): Likewise.
54908 (TRAP_HWBKPT): Likewise.
54909 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54910 __USE_XOPEN2K8].
54911 (CLD_KILLED): Likewise.
54912 (CLD_DUMPED): Likewise.
54913 (CLD_TRAPPED): Likewise.
54914 (CLD_STOPPED): Likewise.
54915 (CLD_CONTINUED): Likewise.
54916 (POLL_IN): Likewise.
54917 (POLL_OUT): Likewise.
54918 (POLL_MSG): Likewise.
54919 (POLL_ERR): Likewise.
54920 (POLL_PRI): Likewise.
54921 (POLL_HUP): Likewise.
54922 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): 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 (FPE_INTDIV): Likewise.
54931 (FPE_INTOVF): Likewise.
54932 (FPE_FLTDIV): Likewise.
54933 (FPE_FLTOVF): Likewise.
54934 (FPE_FLTUND): Likewise.
54935 (FPE_FLTRES): Likewise.
54936 (FPE_FLTINV): Likewise.
54937 (FPE_FLTSUB): Likewise.
54938 (SEGV_MAPERR): Likewise.
54939 (SEGV_ACCERR): Likewise.
54940 (BUS_ADRALN): Likewise.
54941 (BUS_ADRERR): Likewise.
54942 (BUS_OBJERR): Likewise.
54943 (BUS_MCEERR_AR): Likewise.
54944 (BUS_MCEERR_AO): Likewise.
54945 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54946 (TRAP_TRACE): Likewise.
54947 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54948 __USE_XOPEN2K8].
54949 (CLD_KILLED): Likewise.
54950 (CLD_DUMPED): Likewise.
54951 (CLD_TRAPPED): Likewise.
54952 (CLD_STOPPED): Likewise.
54953 (CLD_CONTINUED): Likewise.
54954 (POLL_IN): Likewise.
54955 (POLL_OUT): Likewise.
54956 (POLL_MSG): Likewise.
54957 (POLL_ERR): Likewise.
54958 (POLL_PRI): Likewise.
54959 (POLL_HUP): Likewise.
54960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54961 (ILL_ILLOPN): Likewise.
54962 (ILL_ILLADR): Likewise.
54963 (ILL_ILLTRP): Likewise.
54964 (ILL_PRVOPC): Likewise.
54965 (ILL_PRVREG): Likewise.
54966 (ILL_COPROC): Likewise.
54967 (ILL_BADSTK): Likewise.
54968 (FPE_INTDIV): Likewise.
54969 (FPE_INTOVF): Likewise.
54970 (FPE_FLTDIV): Likewise.
54971 (FPE_FLTOVF): Likewise.
54972 (FPE_FLTUND): Likewise.
54973 (FPE_FLTRES): Likewise.
54974 (FPE_FLTINV): Likewise.
54975 (FPE_FLTSUB): Likewise.
54976 (SEGV_MAPERR): Likewise.
54977 (SEGV_ACCERR): Likewise.
54978 (BUS_ADRALN): Likewise.
54979 (BUS_ADRERR): Likewise.
54980 (BUS_OBJERR): Likewise.
54981 (BUS_MCEERR_AR): Likewise.
54982 (BUS_MCEERR_AO): Likewise.
54983 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54984 (TRAP_TRACE): Likewise.
54985 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54986 __USE_XOPEN2K8].
54987 (CLD_KILLED): Likewise.
54988 (CLD_DUMPED): Likewise.
54989 (CLD_TRAPPED): Likewise.
54990 (CLD_STOPPED): Likewise.
54991 (CLD_CONTINUED): Likewise.
54992 (POLL_IN): Likewise.
54993 (POLL_OUT): Likewise.
54994 (POLL_MSG): Likewise.
54995 (POLL_ERR): Likewise.
54996 (POLL_PRI): Likewise.
54997 (POLL_HUP): Likewise.
54998 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54999 (ILL_ILLOPN): Likewise.
55000 (ILL_ILLADR): Likewise.
55001 (ILL_ILLTRP): Likewise.
55002 (ILL_PRVOPC): Likewise.
55003 (ILL_PRVREG): Likewise.
55004 (ILL_COPROC): Likewise.
55005 (ILL_BADSTK): Likewise.
55006 (FPE_INTDIV): Likewise.
55007 (FPE_INTOVF): Likewise.
55008 (FPE_FLTDIV): Likewise.
55009 (FPE_FLTOVF): Likewise.
55010 (FPE_FLTUND): Likewise.
55011 (FPE_FLTRES): Likewise.
55012 (FPE_FLTINV): Likewise.
55013 (FPE_FLTSUB): Likewise.
55014 (SEGV_MAPERR): Likewise.
55015 (SEGV_ACCERR): Likewise.
55016 (BUS_ADRALN): Likewise.
55017 (BUS_ADRERR): Likewise.
55018 (BUS_OBJERR): Likewise.
55019 (BUS_MCEERR_AR): Likewise.
55020 (BUS_MCEERR_AO): Likewise.
55021 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55022 (TRAP_TRACE): Likewise.
55023 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55024 __USE_XOPEN2K8].
55025 (CLD_KILLED): Likewise.
55026 (CLD_DUMPED): Likewise.
55027 (CLD_TRAPPED): Likewise.
55028 (CLD_STOPPED): Likewise.
55029 (CLD_CONTINUED): Likewise.
55030 (POLL_IN): Likewise.
55031 (POLL_OUT): Likewise.
55032 (POLL_MSG): Likewise.
55033 (POLL_ERR): Likewise.
55034 (POLL_PRI): Likewise.
55035 (POLL_HUP): Likewise.
55036 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55037 (ILL_ILLOPN): Likewise.
55038 (ILL_ILLADR): Likewise.
55039 (ILL_ILLTRP): Likewise.
55040 (ILL_PRVOPC): Likewise.
55041 (ILL_PRVREG): Likewise.
55042 (ILL_COPROC): Likewise.
55043 (ILL_BADSTK): Likewise.
55044 (ILL_DBLFLT): Likewise.
55045 (ILL_HARDWALL): Likewise.
55046 (FPE_INTDIV): Likewise.
55047 (FPE_INTOVF): Likewise.
55048 (FPE_FLTDIV): Likewise.
55049 (FPE_FLTOVF): Likewise.
55050 (FPE_FLTUND): Likewise.
55051 (FPE_FLTRES): Likewise.
55052 (FPE_FLTINV): Likewise.
55053 (FPE_FLTSUB): Likewise.
55054 (SEGV_MAPERR): Likewise.
55055 (SEGV_ACCERR): Likewise.
55056 (BUS_ADRALN): Likewise.
55057 (BUS_ADRERR): Likewise.
55058 (BUS_OBJERR): Likewise.
55059 (BUS_MCEERR_AR): Likewise.
55060 (BUS_MCEERR_AO): Likewise.
55061 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55062 (TRAP_TRACE): Likewise.
55063 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55064 __USE_XOPEN2K8].
55065 (CLD_KILLED): Likewise.
55066 (CLD_DUMPED): Likewise.
55067 (CLD_TRAPPED): Likewise.
55068 (CLD_STOPPED): Likewise.
55069 (CLD_CONTINUED): Likewise.
55070 (POLL_IN): Likewise.
55071 (POLL_OUT): Likewise.
55072 (POLL_MSG): Likewise.
55073 (POLL_ERR): Likewise.
55074 (POLL_PRI): Likewise.
55075 (POLL_HUP): Likewise.
55076 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55077 (ILL_ILLOPN): Likewise.
55078 (ILL_ILLADR): Likewise.
55079 (ILL_ILLTRP): Likewise.
55080 (ILL_PRVOPC): Likewise.
55081 (ILL_PRVREG): Likewise.
55082 (ILL_COPROC): Likewise.
55083 (ILL_BADSTK): Likewise.
55084 (FPE_INTDIV): Likewise.
55085 (FPE_INTOVF): Likewise.
55086 (FPE_FLTDIV): Likewise.
55087 (FPE_FLTOVF): Likewise.
55088 (FPE_FLTUND): Likewise.
55089 (FPE_FLTRES): Likewise.
55090 (FPE_FLTINV): Likewise.
55091 (FPE_FLTSUB): Likewise.
55092 (SEGV_MAPERR): Likewise.
55093 (SEGV_ACCERR): Likewise.
55094 (BUS_ADRALN): Likewise.
55095 (BUS_ADRERR): Likewise.
55096 (BUS_OBJERR): Likewise.
55097 (BUS_MCEERR_AR): Likewise.
55098 (BUS_MCEERR_AO): Likewise.
55099 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55100 (TRAP_TRACE): Likewise.
55101 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55102 __USE_XOPEN2K8].
55103 (CLD_KILLED): Likewise.
55104 (CLD_DUMPED): Likewise.
55105 (CLD_TRAPPED): Likewise.
55106 (CLD_STOPPED): Likewise.
55107 (CLD_CONTINUED): Likewise.
55108 (POLL_IN): Likewise.
55109 (POLL_OUT): Likewise.
55110 (POLL_MSG): Likewise.
55111 (POLL_ERR): Likewise.
55112 (POLL_PRI): Likewise.
55113 (POLL_HUP): Likewise.
55114 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55115 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55116
55117 [BZ #16670]
55118 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55119 before #include of <time.h>.
55120 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55121 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55122 (test-xfail-UNIX98/sched.h/conform): Likewise.
55123
55124 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55125
55126 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55127 error absence of trapping exception support.
55128 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55129
55130 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55131
55132 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55133 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55134 * timezone/Makefile (testdata): Move definition above include of
55135 Rules.
55136 (test-zones): New variable.
55137 (tests-special): Add zone files.
55138 (build-testdata): Use $(evaluate-test).
55139
55140 * elf/Makefile (tests-special): Rename tests to end with .out.
55141 ($(objpfx)noload-mem): Likewise.
55142 ($(objpfx)tst-leaks1-mem): Likewise.
55143 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55144 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55145 $(objpfx)test-iconvconfig.out.
55146 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55147 set -e inside subshell and redirect output to file.
55148 * iconvdata/Makefile (generated): Rename tests to end with .out.
55149 Correct type.
55150 (tests-special): Rename tests to end with .out.
55151 ($(objpfx)mtrace-tst-loading): Likewise.
55152 * intl/Makefile (generated): Likewise.
55153 (tests-special): Likewise.
55154 ($(objpfx)mtrace-tst-gettext): Likewise.
55155 * misc/Makefile (generated): Likewise.
55156 (tests-special): Likewise.
55157 ($(objpfx)tst-error1-mem): Likewise.
55158 * nptl/Makefile (tests-special): Likewise.
55159 ($(objpfx)tst-stack3-mem): Likewise.
55160 (generated): Likewise.
55161 * posix/Makefile (generated): Likewise.
55162 (tests-special): Likewise.
55163 (xtests-special): Likewise.
55164 ($(objpfx)tst-fnmatch-mem): Likewise.
55165 ($(objpfx)bug-regex2-mem): Likewise.
55166 ($(objpfx)bug-regex14-mem): Likewise.
55167 ($(objpfx)bug-regex21-mem): Likewise.
55168 ($(objpfx)bug-regex31-mem): Likewise.
55169 ($(objpfx)tst-vfork3-mem): Likewise.
55170 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55171 ($(objpfx)tst-pcre-mem): Likewise.
55172 ($(objpfx)tst-boost-mem): Likewise.
55173 ($(objpfx)bug-ga2-mem): Likewise.
55174 ($(objpfx)bug-glob2-mem): Likewise.
55175 * resolv/Makefile (generate): Likewise.
55176 (tests-special): Likewise.
55177 (xtests-special): Likewise.
55178 (generated): Likewise.
55179 ($(objpfx)mtrace-tst-leaks): Likewise.
55180 ($(objpfx)mtrace-tst-leaks2): Likewise.
55181
55182 * scripts/merge-test-results.sh: New file.
55183 * Makefile (tests-special-notdir): New variable.
55184 (tests): Run merge-test-results.sh.
55185 (xtests): Likewise.
55186 * Rules (tests-special-notdir): New variable.
55187 (xtests-special-notdir): Likewise.
55188 (tests): Run merge-test-results.sh
55189 (xtests): Likewise.
55190
55191 * Makeconfig (test-xfail-name): New variable.
55192 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55193 compute variable name for expected failures.
55194 * conform/Makefile (conformtest-headers-data): New variable.
55195 (conformtest-standards): Likewise.
55196 (conformtest-headers-ISO): Likewise.
55197 (conformtest-headers-ISO99): Likewise.
55198 (conformtest-headers-ISO11): Likewise.
55199 (conformtest-headers-POSIX): Likewise.
55200 (conformtest-headers-XPG3): Likewise.
55201 (conformtest-headers-XPG4): Likewise.
55202 (conformtest-headers-UNIX98): Likewise.
55203 (conformtest-headers-XOPEN2K): Likewise.
55204 (conformtest-headers-POSIX2008): Likewise.
55205 (conformtest-headers-XOPEN2K8): Likewise.
55206 (conformtest-header-list-base): Likewise.
55207 (conformtest-header-list-tests): Likewise.
55208 (conformtest-header-base): Likewise.
55209 (conformtest-header-tests): Likewise.
55210 (tests-special): Add $(conformtest-header-list-tests). If
55211 [$(fast-check) && !$(cross-compiling)], add
55212 $(conformtest-header-tests) instead of
55213 $(objpfx)run-conformtest.out.
55214 (generated): Add $(conformtest-header-list-base). If
55215 [$(fast-check) && !$(cross-compiling)], add
55216 $(conformtest-header-base). Remove previous setting.
55217 ($(conformtest-header-list-tests)): New target.
55218 (test-xfail-run-conformtest): Remove variable.
55219 ($(objpfx)run-conformtest.out): Remove target.
55220 (test-xfail-ISO11/complex.h/conform): New variable.
55221 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55222 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55223 (test-xfail-XPG3/varargs.h/conform): Likewise.
55224 (test-xfail-XPG4/varargs.h/conform): Likewise.
55225 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55226 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55227 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55228 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55229 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55230 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55231 (test-xfail-XPG3/ftw.h/conform): Likewise.
55232 (test-xfail-XPG3/grp.h/conform): Likewise.
55233 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55234 (test-xfail-XPG3/limits.h/conform): Likewise.
55235 (test-xfail-XPG3/pwd.h/conform): Likewise.
55236 (test-xfail-XPG3/search.h/conform): Likewise.
55237 (test-xfail-XPG3/signal.h/conform): Likewise.
55238 (test-xfail-XPG3/stdio.h/conform): Likewise.
55239 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55240 (test-xfail-XPG3/string.h/conform): Likewise.
55241 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55242 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55243 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55244 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55245 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55246 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55247 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55248 (test-xfail-XPG3/termios.h/conform): Likewise.
55249 (test-xfail-XPG3/time.h/conform): Likewise.
55250 (test-xfail-XPG3/unistd.h/conform): Likewise.
55251 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55252 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55253 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55254 (test-xfail-XPG4/netdb.h/conform): Likewise.
55255 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55256 (test-xfail-XPG4/signal.h/conform): Likewise.
55257 (test-xfail-XPG4/stdio.h/conform): Likewise.
55258 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55259 (test-xfail-XPG4/stropts.h/conform): Likewise.
55260 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55261 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55262 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55263 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55264 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55265 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55266 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55267 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55268 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55269 (test-xfail-XPG4/termios.h/conform): Likewise.
55270 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55271 (test-xfail-XPG4/unistd.h/conform): Likewise.
55272 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55273 (test-xfail-POSIX/sched.h/conform): Likewise.
55274 (test-xfail-POSIX/signal.h/conform): Likewise.
55275 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55276 (test-xfail-POSIX/tar.h/conform): Likewise.
55277 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55278 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55279 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55280 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55281 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55282 (test-xfail-UNIX98/sched.h/conform): Likewise.
55283 (test-xfail-UNIX98/signal.h/conform): Likewise.
55284 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55285 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55286 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55287 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55288 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55289 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55290 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55291 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55292 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55293 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55294 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55295 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55296 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55297 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55298 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55299 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55300 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55301 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55302 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55303 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55304 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55305 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55306 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55307 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55308 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55309 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55310 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55311 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55312 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55313 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55314 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55315 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55316 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55317 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55318 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55319 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55320 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55321 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55322 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55323 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55324 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55325 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55326 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55327 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55328 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55329 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55330 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55331 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55332 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55333 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55334 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55335 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55336 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55337 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55338 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55339 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55340 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55341 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55342 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55343 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55344 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55345 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55346 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55347 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55348 (conformtest-cc-flags): Likewise.
55349 ($(conformtest-header-tests): New target.
55350 * conform/check-header-lists.sh: New file.
55351 * conform/run-conformtest.sh: Remove.
55352
55353 * conform/conformtest.pl: Allow ' and \ in values given for
55354 constants.
55355 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55356 inclusion.
55357 [POSIX] (sys/types.h): Likewise.
55358 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55359 inclusion.
55360 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55361 inclusion.
55362 * conform/data/signal.h-data (SIGIO): Remove expectation.
55363 [XPG3] (SIGBUS): Do not expect.
55364 [POSIX || XPG3] (SIGPOLL): Likewise.
55365 [POSIX || XPG3] (SIGPROF): Likewise.
55366 [POSIX || XPG3] (SIGSYS): Likewise.
55367 [XPG3] (SIGTRAP): Likewise.
55368 [POSIX || XPG3] (SIGURG): Likewise.
55369 [POSIX || XPG3] (SIGVTALRM): Likewise.
55370 [POSIX || XPG3] (SIGXCPU): Likewise.
55371 [POSIX || XPG3] (SIGXFSZ): Likewise.
55372 [POSIX] (SA_SIGINFO): Expect.
55373 [XPG3] (siginfo_t): Do not expect type or contents.
55374 [POSIX] (si_pid): Do not expect element.
55375 [POSIX] (si_uid): Likewise.
55376 [POSIX] (si_addr): Likewise.
55377 [POSIX] (si_status): Likewise.
55378 [POSIX] (si_band): Likewise.
55379 [XPG4] (si_value): Likewise.
55380 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55381 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55382 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55383 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55384 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55385 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55386 [POSIX || XPG3] (ILL_COPROC): Likewise.
55387 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55388 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55389 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55390 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55391 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55392 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55393 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55394 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55395 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55396 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55397 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55398 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55399 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55400 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55401 [POSIX || XPG3] (CLD_EXITED): Likewise.
55402 [POSIX || XPG3] (CLD_KILLED): Likewise.
55403 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55404 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55405 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55406 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55407 [POSIX || XPG3] (POLL_IN): Likewise.
55408 [POSIX || XPG3] (POLL_OUT): Likewise.
55409 [POSIX || XPG3] (POLL_MSG): Likewise.
55410 [POSIX || XPG3] (POLL_ERR): Likewise.
55411 [POSIX || XPG3] (POLL_PRI): Likewise.
55412 [POSIX || XPG3] (POLL_HUP): Likewise.
55413 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55414 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55415 (SIG*): Do not allow.
55416 [XPG3] (si_*): Likewise.
55417 [XPG3] (SI_*): Likewise.
55418 [XPG3 || XPG4] (sigev_*): Likewise.
55419 [XPG3 || XPG4] (SIGEV_*): Likewise.
55420 [XPG3 || XPG4] (sival_*): Likewise.
55421 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55422 [POSIX || XPG3] (BUS_*): Likewise.
55423 [POSIX || XPG3] (CLD_*): Likewise.
55424 [POSIX || XPG3] (FPE_*): Likewise.
55425 [POSIX || XPG3] (ILL_*): Likewise.
55426 [POSIX || XPG3] (POLL_*): Likewise.
55427 [POSIX || XPG3] (SEGV_*): Likewise.
55428 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55429 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55430 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55431 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55432 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55433 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55434 Specify type and value.
55435 (TVERSLEN): Likewise.
55436 (REGTYPE): Likewise.
55437 (AREGTYPE): Likewise.
55438 (LNKTYPE): Likewise.
55439 (SYMTYPE): Likewise.
55440 (CHRTYPE): Likewise.
55441 (BLKTYPE): Likewise.
55442 (DIRTYPE): Likewise.
55443 (FIFOTYPE): Likewise.
55444 (CONTTYPE): Likewise.
55445 (TSUID): Likewise.
55446 (TSGID): Likewise.
55447 (TSVTX): Likewise.
55448 (TUREAD): Likewise.
55449 (TUWRITE): Likewise.
55450 (TUEXEC): Likewise.
55451 (TGREAD): Likewise.
55452 (TGWRITE): Likewise.
55453 (TGEXEC): Likewise.
55454 (TOREAD): Likewise.
55455 (TOWRITE): Likewise.
55456 (TOEXEC): Likewise.
55457 [POSIX] (TSVTX): Expect constant.
55458
55459 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55460
55461 * Makefile (tests): Change dependencies to ....
55462 (tests-special): ... additions to this variable.
55463 (tests): Depend on $(tests-special).
55464 * Makerules (check-abi-list): New variable.
55465 (check-abi): Depend on $(check-abi-list).
55466 [$(subdir) = elf] (tests-special): Add
55467 $(objpfx)check-abi-libc.out.
55468 [$(build-shared) = yes && subdir] (tests-special): Add
55469 $(check-abi-list).
55470 [$(build-shared) = yes && subdir] (tests): Do not depend on
55471 check-abi.
55472 * Rules (tests): Depend on $(tests-special).
55473 (xtests): Depend on $(xtests-special).
55474 * catgets/Makefile (tests): Change dependencies to ....
55475 (tests-special): ... additions to this variable.
55476 * conform/Makefile (tests): Change dependencies to ....
55477 (tests-special): ... additions to this variable.
55478 * elf/Makefile (tests): Change dependencies to ....
55479 (tests-special): ... additions to this variable.
55480 * grp/Makefile (tests): Change dependencies to ....
55481 (tests-special): ... additions to this variable.
55482 * iconv/Makefile (xtests): Change dependencies to ....
55483 (xtests-special): ... additions to this variable.
55484 * iconvdata/Makefile (tests): Change dependencies to ....
55485 (tests-special): ... additions to this variable.
55486 * intl/Makefile (tests): Change dependencies to ....
55487 (tests-special): ... additions to this variable. Also add
55488 $(objpfx)tst-gettext.out.
55489 * io/Makefile (tests): Change dependencies to ....
55490 (tests-special): ... additions to this variable.
55491 * libio/Makefile (tests): Change dependencies to ....
55492 (tests-special): ... additions to this variable.
55493 * malloc/Makefile (tests): Change dependencies to ....
55494 (tests-special): ... additions to this variable.
55495 * misc/Makefile (tests): Change dependencies to ....
55496 (tests-special): ... additions to this variable.
55497 * nptl/Makefile (tests): Change dependencies to ....
55498 (tests-special): ... additions to this variable.
55499 * nptl_db/Makefile (tests): Change dependencies to ....
55500 (tests-special): ... additions to this variable.
55501 * posix/Makefile (tests): Change dependencies to ....
55502 (tests-special): ... additions to this variable.
55503 (xtests): Change dependencies to ....
55504 (xtests-special): ... additions to this variable.
55505 * resolv/Makefile (tests): Change dependencies to ....
55506 (tests-special): ... additions to this variable.
55507 (xtests): Change dependencies to ....
55508 (xtests-special): ... additions to this variable.
55509 * stdio-common/Makefile (tests): Change dependencies to ....
55510 (tests-special): ... additions to this variable.
55511 (do-tst-unbputc): Remove target.
55512 (do-tst-printf): Likewise.
55513 * stdlib/Makefile (tests): Change dependencies to ....
55514 (tests-special): ... additions to this variable.
55515 * string/Makefile (tests): Change dependencies to ....
55516 (tests-special): ... additions to this variable.
55517 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55518 (tests-special): ... additions to this variable.
55519
55520 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55521 whole file.
55522 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55523 whole file.
55524 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55525 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55526
55527 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55528 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55529 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55530 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55531 * conform/data/libgen.h-data [XPG3]: Likewise.
55532 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55533 * conform/data/ndbm.h-data [XPG3]: Likewise.
55534 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55535 * conform/data/netdb.h-data [XPG3]: Likewise.
55536 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55537 * conform/data/poll.h-data [XPG3]: Likewise.
55538 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55539 * conform/data/strings.h-data [XPG3]: Likewise.
55540 * conform/data/stropts.h-data [XPG3]: Likewise.
55541 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55542 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55543 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55544 Likewise.
55545 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55546 * conform/data/sys/time.h-data [XPG3]: Likewise.
55547 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55548 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55549 * conform/data/sys/un.h-data [XPG3]: Likewise.
55550 * conform/data/syslog.h-data [XPG3]: Likewise.
55551 * conform/data/ucontext.h-data [XPG3]: Likewise.
55552 * conform/data/utmpx.h-data [XPG3]: Likewise.
55553 * conform/data/varargs.h-data [UNIX98]: Enable file.
55554
55555 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55556
55557 * math/libm-test.inc (struct test_f_f_data): Move expected results
55558 into structure for each rounding mode.
55559 (struct test_ff_f_data): Likewise.
55560 (struct test_ff_f_data_nexttoward): Likewise.
55561 (struct test_fi_f_data): Likewise.
55562 (struct test_fl_f_data): Likewise.
55563 (struct test_if_f_data): Likewise.
55564 (struct test_fff_f_data): Likewise.
55565 (struct test_c_f_data): Likewise.
55566 (struct test_f_f1_data): Likewise.
55567 (struct test_fF_f1_data): Likewise.
55568 (struct test_ffI_f1_data): Likewise.
55569 (struct test_c_c_data): Likewise.
55570 (struct test_cc_c_data): Likewise.
55571 (struct test_f_i_data): Likewise.
55572 (struct test_ff_i_data): Likewise.
55573 (struct test_f_l_data): Likewise.
55574 (struct test_f_L_data): Likewise.
55575 (struct test_fFF_11_data): Likewise.
55576 (RM_): New macro.
55577 (RM_FE_DOWNWARD): Likewise.
55578 (RM_FE_TONEAREST): Likewise.
55579 (RM_FE_TOWARDZERO): Likewise.
55580 (RM_FE_UPWARD): Likewise.
55581 (RUN_TEST_LOOP_f_f): Update references to expected results.
55582 (RUN_TEST_LOOP_2_f): Likewise.
55583 (RUN_TEST_LOOP_fff_f): Likewise.
55584 (RUN_TEST_LOOP_c_f): Likewise.
55585 (RUN_TEST_LOOP_f_f1): Likewise.
55586 (RUN_TEST_LOOP_fF_f1): Likewise.
55587 (RUN_TEST_LOOP_fI_f1): Likewise.
55588 (RUN_TEST_LOOP_ffI_f1): Likewise.
55589 (RUN_TEST_LOOP_c_c): Likewise.
55590 (RUN_TEST_LOOP_cc_c): Likewise.
55591 (RUN_TEST_LOOP_f_i): Likewise.
55592 (RUN_TEST_LOOP_f_i_tg): Likewise.
55593 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55594 (RUN_TEST_LOOP_f_b): Likewise.
55595 (RUN_TEST_LOOP_f_b_tg): Likewise.
55596 (RUN_TEST_LOOP_f_l): Likewise.
55597 (RUN_TEST_LOOP_f_L): Likewise.
55598 (RUN_TEST_LOOP_fFF_11): Likewise.
55599 * math/gen-libm-test.pl (parse_args): Output four copies of
55600 expected results for each test.
55601
55602 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55603 (__ASSUME_UTIMES): Remove.
55604 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55605 (__ASSUME_UTIMES): Likewise.
55606
55607 * math/gen-auto-libm-tests.c: Update comment on output format.
55608 (output_for_one_input_case): Generate before-rounding and
55609 after-rounding information as conditions on output flags not
55610 floating-point format.
55611 * math/auto-libm-test-out: Regenerated.
55612 * math/gen-libm-test.pl (cond_value): New function.
55613 (or_cond_value): Use cond_value.
55614 (generate_testfile): Handle conditional exceptions.
55615
55616 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55617
55618 * math/libm-test.inc (max_valid_error): New variable.
55619 (init_max_error): Take new argument specifying whether function
55620 results are exactly determined. Set max_valid_error and bound
55621 other variables for errors based on this argument.
55622 (set_max_error): Do not record results above max_valid_error.
55623 (check_float_internal): Only accept errors of up to 0.5ulps if
55624 also at most max_valid_error.
55625 (START): Take new argument EXACT and pass it to init_max_error.
55626 (acos_test): Update call to START.
55627 (acos_test_tonearest): Likewise.
55628 (acos_test_towardzero): Likewise.
55629 (acos_test_downward): Likewise.
55630 (acos_test_upward): Likewise.
55631 (acosh_test): Likewise.
55632 (asin_test): Likewise.
55633 (asin_test_tonearest): Likewise.
55634 (asin_test_towardzero): Likewise.
55635 (asin_test_downward): Likewise.
55636 (asin_test_upward): Likewise.
55637 (asinh_test): Likewise.
55638 (atan_test): Likewise.
55639 (atanh_test): Likewise.
55640 (atan2_test): Likewise.
55641 (cabs_test): Likewise.
55642 (cacos_test): Likewise.
55643 (cacosh_test): Likewise.
55644 (carg_test): Likewise.
55645 (casin_test): Likewise.
55646 (casinh_test): Likewise.
55647 (catan_test): Likewise.
55648 (catanh_test): Likewise.
55649 (cbrt_test): Likewise.
55650 (ccos_test): Likewise.
55651 (ccosh_test): Likewise.
55652 (ceil_test): Likewise.
55653 (cexp_test): Likewise.
55654 (cimag_test): Likewise.
55655 (clog_test): Likewise.
55656 (clog10_test): Likewise.
55657 (conj_test): Likewise.
55658 (copysign_test): Likewise.
55659 (cos_test): Likewise.
55660 (cos_test_tonearest): Likewise.
55661 (cos_test_towardzero): Likewise.
55662 (cos_test_downward): Likewise.
55663 (cos_test_upward): Likewise.
55664 (cosh_test): Likewise.
55665 (cosh_test_tonearest): Likewise.
55666 (cosh_test_towardzero): Likewise.
55667 (cosh_test_downward): Likewise.
55668 (cosh_test_upward): Likewise.
55669 (cpow_test): Likewise.
55670 (cproj_test): Likewise.
55671 (creal_test): Likewise.
55672 (csin_test): Likewise.
55673 (csinh_test): Likewise.
55674 (csqrt_test): Likewise.
55675 (ctan_test): Likewise.
55676 (ctan_test_tonearest): Likewise.
55677 (ctan_test_towardzero): Likewise.
55678 (ctan_test_downward): Likewise.
55679 (ctan_test_upward): Likewise.
55680 (ctanh_test): Likewise.
55681 (ctanh_test_tonearest): Likewise.
55682 (ctanh_test_towardzero): Likewise.
55683 (ctanh_test_downward): Likewise.
55684 (ctanh_test_upward): Likewise.
55685 (erf_test): Likewise.
55686 (erfc_test): Likewise.
55687 (exp_test): Likewise.
55688 (exp_test_tonearest): Likewise.
55689 (exp_test_towardzero): Likewise.
55690 (exp_test_downward): Likewise.
55691 (exp_test_upward): Likewise.
55692 (exp10_test): Likewise.
55693 (exp10_test_tonearest): Likewise.
55694 (exp10_test_towardzero): Likewise.
55695 (exp10_test_downward): Likewise.
55696 (exp10_test_upward): Likewise.
55697 (pow10_test): Likewise.
55698 (exp2_test): Likewise.
55699 (expm1_test): Likewise.
55700 (expm1_test_tonearest): Likewise.
55701 (expm1_test_towardzero): Likewise.
55702 (expm1_test_downward): Likewise.
55703 (expm1_test_upward): Likewise.
55704 (fabs_test): Likewise.
55705 (fdim_test): Likewise.
55706 (floor_test): Likewise.
55707 (fma_test): Likewise.
55708 (fma_test_towardzero): Likewise.
55709 (fma_test_downward): Likewise.
55710 (fma_test_upward): Likewise.
55711 (fmax_test): Likewise.
55712 (fmin_test): Likewise.
55713 (fmod_test): Likewise.
55714 (fpclassify_test): Likewise.
55715 (frexp_test): Likewise.
55716 (hypot_test): Likewise.
55717 (ilogb_test): Likewise.
55718 (isfinite_test): Likewise.
55719 (finite_test): Likewise.
55720 (isgreater_test): Likewise.
55721 (isgreaterequal_test): Likewise.
55722 (isinf_test): Likewise.
55723 (isless_test): Likewise.
55724 (islessequal_test): Likewise.
55725 (islessgreater_test): Likewise.
55726 (isnan_test): Likewise.
55727 (isnormal_test): Likewise.
55728 (issignaling_test): Likewise.
55729 (isunordered_test): Likewise.
55730 (j0_test): Likewise.
55731 (j1_test): Likewise.
55732 (jn_test): Likewise.
55733 (ldexp_test): Likewise.
55734 (lgamma_test): Likewise.
55735 (gamma_test): Likewise.
55736 (lrint_test): Likewise.
55737 (lrint_test_tonearest): Likewise.
55738 (lrint_test_towardzero): Likewise.
55739 (lrint_test_downward): Likewise.
55740 (lrint_test_upward): Likewise.
55741 (llrint_test): Likewise.
55742 (llrint_test_tonearest): Likewise.
55743 (llrint_test_towardzero): Likewise.
55744 (llrint_test_downward): Likewise.
55745 (llrint_test_upward): Likewise.
55746 (log_test): Likewise.
55747 (log10_test): Likewise.
55748 (log1p_test): Likewise.
55749 (log2_test): Likewise.
55750 (logb_test): Likewise.
55751 (logb_test_downward): Likewise.
55752 (lround_test): Likewise.
55753 (llround_test): Likewise.
55754 (modf_test): Likewise.
55755 (nearbyint_test): Likewise.
55756 (nextafter_test): Likewise.
55757 (nexttoward_test): Likewise.
55758 (pow_test): Likewise.
55759 (pow_test_tonearest): Likewise.
55760 (pow_test_towardzero): Likewise.
55761 (pow_test_downward): Likewise.
55762 (pow_test_upward): Likewise.
55763 (remainder_test): Likewise.
55764 (drem_test): Likewise.
55765 (remainder_test_tonearest): Likewise.
55766 (drem_test_tonearest): Likewise.
55767 (remainder_test_towardzero): Likewise.
55768 (drem_test_towardzero): Likewise.
55769 (remainder_test_downward): Likewise.
55770 (drem_test_downward): Likewise.
55771 (remainder_test_upward): Likewise.
55772 (drem_test_upward): Likewise.
55773 (remquo_test): Likewise.
55774 (rint_test): Likewise.
55775 (rint_test_tonearest): Likewise.
55776 (rint_test_towardzero): Likewise.
55777 (rint_test_downward): Likewise.
55778 (rint_test_upward): Likewise.
55779 (round_test): Likewise.
55780 (scalb_test): Likewise.
55781 (scalbn_test): Likewise.
55782 (scalbln_test): Likewise.
55783 (signbit_test): Likewise.
55784 (sin_test): Likewise.
55785 (sin_test_tonearest): Likewise.
55786 (sin_test_towardzero): Likewise.
55787 (sin_test_downward): Likewise.
55788 (sin_test_upward): Likewise.
55789 (sincos_test): Likewise.
55790 (sinh_test): Likewise.
55791 (sinh_test_tonearest): Likewise.
55792 (sinh_test_towardzero): Likewise.
55793 (sinh_test_downward): Likewise.
55794 (sinh_test_upward): Likewise.
55795 (sqrt_test): Likewise.
55796 (sqrt_test_tonearest): Likewise.
55797 (sqrt_test_towardzero): Likewise.
55798 (sqrt_test_downward): Likewise.
55799 (sqrt_test_upward): Likewise.
55800 (tan_test): Likewise.
55801 (tan_test_tonearest): Likewise.
55802 (tan_test_towardzero): Likewise.
55803 (tan_test_downward): Likewise.
55804 (tan_test_upward): Likewise.
55805 (tanh_test): Likewise.
55806 (tgamma_test): Likewise.
55807 (trunc_test): Likewise.
55808 (y0_test): Likewise.
55809 (y1_test): Likewise.
55810 (yn_test): Likewise.
55811 (significand_test): Likewise.
55812
55813 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55814 individual tests in comment.
55815 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55816 (prev_max_error): New variable.
55817 (prev_real_max_error): Likewise.
55818 (prev_imag_max_error): Likewise.
55819 (compare_ulp_data): Don't refer to test names in comment.
55820 (find_test_ulps): Remove function.
55821 (find_function_ulps): Likewise.
55822 (find_complex_function_ulps): Likewise.
55823 (init_max_error): Take function name as argument. Look up ulps
55824 for that function.
55825 (print_ulps): Remove function.
55826 (print_max_error): Use prev_max_error instead of calling
55827 find_function_ulps.
55828 (print_complex_max_error): Use prev_real_max_error and
55829 prev_imag_max_error instead of calling find_complex_function_ulps.
55830 (check_float_internal): Take max_ulp parameter instead of calling
55831 find_test_ulps. Don't call print_ulps.
55832 (check_float): Update call to check_float_internal.
55833 (check_complex): Update calls to check_float_internal.
55834 (START): Pass argument to init_max_error.
55835 * math/gen-libm-test.pl (%results): Don't include "kind"
55836 information.
55837 (parse_ulps): Don't handle ulps of individual tests.
55838 (print_ulps_file): Likewise.
55839 (output_ulps): Likewise.
55840 * math/README.libm-test: Update.
55841 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55842 individual tests.
55843 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55844 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55845 * sysdeps/arm/libm-test-ulps: Likewise.
55846 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55847 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55848 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55849 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55850 * sysdeps/microblaze/libm-test-ulps: Likewise.
55851 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55852 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55854 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55855 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55856 * sysdeps/sh/libm-test-ulps: Likewise.
55857 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55858 * sysdeps/tile/libm-test-ulps: Likewise.
55859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55860
55861 2014-03-04 Joseph Myers <joseph@codesourcery.com>
55862
55863 * math/libm-test.inc (print_complex_max_error): Check separately
55864 whether real and imaginary errors are within allowed range and
55865 pass 0 to print_complex_function_ulps instead of value within
55866 allowed range.
55867
55868 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55869
55870 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55871 formatting.
55872 (get_handles_fopen): Likewise.
55873 (do_write_test): Likewise.
55874
55875 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55876
55877 * libio/fileops.c (do_ftell): Use cached offset when
55878 available.
55879 * libio/iofwide.c (do_ftell_wide): Likewise.
55880 * libio/iofdopen.c (_IO_new_fdopen): Don't use
55881 _IO_file_attach.
55882 * libio/wfileops.c (_IO_fwide): Don't cache offset.
55883
55884 [BZ #16532]
55885 * libio/libioP.h (get_file_offset): New function.
55886 * libio/fileops.c (get_file_offset): Likewise.
55887 (do_ftell): Likewise.
55888 (_IO_new_file_seekoff): Split out ftell logic.
55889 * libio/wfileops.c (do_ftell_wide): Likewise.
55890 (_IO_wfile_seekoff): Split out ftell logic.
55891 * libio/tst-ftell-active-handler.c: New test case.
55892 * libio/Makefile (tests): Add it.
55893
55894 2014-03-03 Roland McGrath <roland@hack.frob.com>
55895
55896 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55897 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55898
55899 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55900
55901 [BZ #16639]
55902 * nscd/connections.c (nscd_init): Call do_exit.
55903 (start_threads): Call do_exit and notify_parent.
55904 (begin_drop_privileges): Call do_exit.
55905 (finish_drop_privileges): Likewise.
55906 * nscd/selinux.c (preserve_capabilities): Likewise.
55907 (install_real_capabilities): Likewise.
55908 (nscd_selinux_enabled): Likewise.
55909 (avc_create_thread): Likewise.
55910 (avc_alloc_lock): Likewise.
55911 (nscd_avc_init): Likewise.
55912 * nscd/nscd.c (parent_fd): New static variable.
55913 (main): Create a pipe between parent and child processes.
55914 Skip closing parent_fd.
55915 (monitor_child): New function.
55916 (do_exit): Likewise.
55917 (notify_parent): Likewise.
55918 * nscd/nscd.h (notify_parent): Likewise.
55919 (do_exit): Likewise.
55920
55921 2014-03-03 Carlos O'Donell <carlos@redhat.com>
55922
55923 * malloc/malloc.c (__libc_calloc): Revert last change.
55924
55925 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55926
55927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55928
55929 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55930
55931 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55933 implementation.
55934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55935 (__libc_ifunc_impl_list): Likewise.
55936 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55937 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55938 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55939 * string/strrchr.c: Define STRRCHR.
55940
55941 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
55942
55943 * benchtest/bench-strtok.c (simple_strtok): Delete.
55944 (strtok_string): Use as benchmark.
55945 * string/strtok (STRTOK): New macro.
55946
55947 2014-02-28 Carlos O'Donell <carlos@redhat.com>
55948
55949 * manual/threads.texi: Add header and standard comments to all
55950 functions.
55951
55952 * elf/dl-lookup.c (check_match): New function.
55953 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55954 (do_lookup_x): Remove nested function check_match. Use non-nested
55955 function check_match.
55956
55957 2014-02-28 Roland McGrath <roland@hack.frob.com>
55958
55959 * csu/Makefile (generated, before-compile): Use += rather than =.
55960 * catgets/Makefile (generated, generated-dirs): Likewise.
55961 * debug/Makefile (generated): Likewise.
55962 * dlfcn/Makefile (generated): Likewise.
55963 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55964 * iconvdata/Makefile (before-compile, generated): Likewise.
55965 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55966 * libio/Makefile (generated): Likewise.
55967 * malloc/Makefile (generated): Likewise.
55968 * manual/Makefile (generated, generated-dirs): Likewise.
55969 * misc/Makefile (generated): Likewise.
55970 * posix/Makefile (generated): Likewise.
55971 * resolv/Makefile (generated): Likewise.
55972 * sunrpc/Makefile (generated, generated-dirs): Likewise.
55973 * timezone/Makefile (generated, generated-dirs): Likewise.
55974
55975 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55976
55977 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55978
55979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55980 power8 implementation.
55981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55982 file: POWER8 llround ifunc implementation.
55983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55984 (__lllround): Add POWER8 implementation.
55985 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55986 POWER8 llround implementation.
55987
55988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55989 power8 implementation.
55990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55991 file: POWER8 llrint ifunc implementation.
55992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55993 Add POWER8 implementation.
55994 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55995 POWER8 llrint implementation.
55996
55997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55998 power8 implementation.
55999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56000 file: POWER8 finite ifunc implementation.
56001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56002 Add POWER8 implementation.
56003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56004 Likewise.
56005 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56006 POWER8 finite implementation.
56007 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56008
56009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56010 power8 implementation.
56011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56012 file: POWER8 isinf ifunc implementation.
56013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56014 POWER8 implementation.
56015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56016 Likewise.
56017 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56018 isinf implementation.
56019 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56020
56021 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56022 (INIT_ARCH): Add hwcap2 initialization.
56023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56024 power8 implementation.
56025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56026 file: POWER8 isnan ifunc implementation.
56027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56028 POWER8 implementation.
56029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56030 Likewise.
56031 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56032 isnan implementation.
56033 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56034
56035 2014-02-27 Joey Ye <joey.ye@arm.com>
56036
56037 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56038 (_FP_NANFRAC_Q): Set to zero.
56039
56040 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56041
56042 [BZ #16623]
56043 * math/auto-libm-test-in: New test inputs.
56044 * math/auto-libm-test-out: Regenerate.
56045 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56046 and DA.
56047 (__cos): Likewise.
56048 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56049
56050 2014-02-27 Joseph Myers <joseph@codesourcery.com>
56051
56052 * scripts/evaluate-test.sh: Take new argument indicating whether
56053 failure is expected.
56054 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56055 indicating whether failure is expected.
56056 * conform/Makefile (test-xfail-run-conformtest): New variable.
56057 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56058 level.
56059 * posix/Makefile (test-xfail-annexc): New variable.
56060 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56061
56062 2014-02-26 Joseph Myers <joseph@codesourcery.com>
56063
56064 * argp/Makefile: Include Makeconfig immediately after defining
56065 subdir.
56066 * assert/Makefile: Likewise.
56067 * benchtests/Makefile: Likewise.
56068 * catgets/Makefile: Likewise.
56069 * conform/Makefile: Likewise.
56070 * crypt/Makefile: Likewise.
56071 * csu/Makefile: Likewise.
56072 (all): Remove target.
56073 * ctype/Makefile: Include Makeconfig immediately after defining
56074 subdir.
56075 * debug/Makefile: Likewise.
56076 * dirent/Makefile: Likewise.
56077 * dlfcn/Makefile: Likewise.
56078 * gmon/Makefile: Likewise.
56079 * gnulib/Makefile: Likewise.
56080 * grp/Makefile: Likewise.
56081 * gshadow/Makefile: Likewise.
56082 * hesiod/Makefile: Likewise.
56083 * hurd/Makefile: Likewise.
56084 (all): Remove target.
56085 * iconvdata/Makefile: Include Makeconfig immediately after
56086 defining subdir.
56087 * inet/Makefile: Likewise.
56088 * intl/Makefile: Likewise.
56089 * io/Makefile: Likewise.
56090 * libio/Makefile: Likewise.
56091 (all): Remove target.
56092 * locale/Makefile: Include Makeconfig immediately after defining
56093 subdir.
56094 * login/Makefile: Likewise.
56095 * mach/Makefile: Likewise.
56096 (all): Remove target.
56097 * malloc/Makefile: Include Makeconfig immediately after defining
56098 subdir.
56099 (all): Remove target.
56100 * manual/Makefile: Include Makeconfig immediately after defining
56101 subdir.
56102 * math/Makefile: Likewise.
56103 * misc/Makefile: Likewise.
56104 * nis/Makefile: Likewise.
56105 * nss/Makefile: Likewise.
56106 * po/Makefile: Likewise.
56107 (all): Remove target.
56108 * posix/Makefile: Include Makeconfig immediately after defining
56109 subdir.
56110 * pwd/Makefile: Likewise.
56111 * resolv/Makefile: Likewise.
56112 * resource/Makefile: Likewise.
56113 * rt/Makefile: Likewise.
56114 * setjmp/Makefile: Likewise.
56115 * shadow/Makefile: Likewise.
56116 * signal/Makefile: Likewise.
56117 * socket/Makefile: Likewise.
56118 * soft-fp/Makefile: Likewise.
56119 * stdio-common/Makefile: Likewise.
56120 * stdlib/Makefile: Likewise.
56121 * streams/Makefile: Likewise.
56122 * string/Makefile: Likewise.
56123 * sunrpc/Makefile: Likewise.
56124 (all): Remove target.
56125 * sysvipc/Makefile: Include Makeconfig immediately after defining
56126 subdir.
56127 * termios/Makefile: Likewise.
56128 * time/Makefile: Likewise.
56129 * timezone/Makefile: Likewise.
56130 (all): Remove target.
56131 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56132 subdir.
56133 * wctype/Makefile: Likewise.
56134
56135 2014-02-26 Steve Ellcey <sellcey@mips.com>
56136
56137 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56138 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56139 (libc_feholdexcept_setround_mips): Ditto.
56140 (libc_feholdsetround): New.
56141 (libc_feholdsetroundf): New.
56142 (libc_feholdsetroundl): New.
56143 (libc_feupdateenv_test_mips): New.
56144 (libc_feupdateenv_test): New.
56145 (libc_feupdateenv_testf): New.
56146 (libc_feupdateenv_testl): New.
56147 (libc_feresetround): New.
56148 (libc_feresetroundf): New.
56149 (libc_feresetroundl): New.
56150 (libc_fetestexcept_mips): New.
56151 (libc_fetestexcept): New.
56152 (libc_fetestexceptf): New.
56153 (libc_fetestexceptl): New.
56154 (HAVE_RM_CTX): New.
56155 (libc_feholdexcept_setround_mips_ctx): New.
56156 (libc_feholdexcept_setround_ctx): New.
56157 (libc_feholdexcept_setroundf_ctx): New.
56158 (libc_feholdexcept_setroundl_ctx): New.
56159 (libc_fesetenv_mips_ctx): New.
56160 (libc_fesetenv_ctx): New.
56161 (libc_fesetenv_ctxf): New.
56162 (libc_fesetenv_ctxl): New.
56163 (libc_feupdateenv_mips_ctx): New.
56164 (libc_feupdateenv_ctx): New.
56165 (libc_feupdateenvf_ctx): New.
56166 (libc_feupdateenvl_ctx): New.
56167 (libc_feholdsetround_mips_ctx): New.
56168 (libc_feholdsetround_ctx): New.
56169 (libc_feholdsetroundf_ctx): New.
56170 (libc_feholdsetroundl_ctx): New.
56171 (libc_feresetround_mips_ctx): New.
56172 (libc_feresetround_ctx): New.
56173 (libc_feresetroundf_ctx): New.
56174 (libc_feresetroundl_ctx): New.
56175
56176 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56177
56178 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56179
56180 * manual/ipc.texi: New file.
56181 * manual/Makefile (chapters): Add ipc.
56182 * manual/job.texi: Add "Inter-Process Communication" to next.
56183 * manual/process.texi: Add "Inter-Process Communication" to prev.
56184
56185 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56186
56187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56188
56189 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
56190
56191 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56192
56193 * manual/arith.texi: Fix spaces after sentences.
56194 * manual/charset.texi: Likewise.
56195 * manual/errno.texi: Likewise.
56196 * manual/install.texi: Likewise.
56197 * manual/llio.texi: Likewise.
56198 * manual/locale.texi: Likewise.
56199 * manual/maint.texi: Likewise.
56200 * manual/math.texi: Likewise.
56201 * manual/memory.texi: Likewise.
56202 * manual/message.texi: Likewise.
56203 * manual/probes.texi: Likewise.
56204 * manual/resource.texi: Likewise.
56205 * manual/signal.texi: Likewise.
56206 * manual/socket.texi: Likewise.
56207 * manual/stdio.texi: Likewise.
56208 * manual/string.texi: Likewise.
56209 * manual/time.texi: Likewise.
56210 * manual/users.texi: Likewise.
56211
56212 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56213
56214 [BZ #16632]
56215 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56216 _DEFAULT_SOURCE is defined.
56217
56218 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56219 Carlos O'Donell <carlos@redhat.com>
56220
56221 [BZ #16613]
56222 * elf/dl-tls.c (_dl_count_modids): New function.
56223 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56224 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56225 audit library and increment generation counter.
56226 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56227 * elf/tst-audit9.c: New file.
56228 * elf/tst-auditmod9a.c: New file.
56229 * elf/tst-auditmod9b.c: New file.
56230 * elf/Makefile: Add rules to build and run tst-audit9.
56231
56232 2014-02-25 Florian Weimer <fweimer@redhat.com>
56233
56234 [BZ #15347]
56235 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56236
56237 2014-02-25 Will Newton <will.newton@linaro.org>
56238
56239 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56240 (__longjmp): Restore sp and lr before restoring callee
56241 saved registers. Add longjmp and longjmp_target
56242 SystemTap probe point.
56243 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56244 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56245 Define to zero to match jmpbuf layout.
56246 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56247 (__sigsetjmp): Save sp and lr before saving callee
56248 saved registers. Add setjmp SystemTap probe point.
56249
56250 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56251
56252 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56253
56254 2014-02-24 Andreas Schwab <schwab@suse.de>
56255
56256 [BZ #15804]
56257 * elf/pldd.c (wait_for_ptrace_stop): New function.
56258 (main): Call it after attaching.
56259
56260 2014-02-22 Roland McGrath <roland@hack.frob.com>
56261
56262 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56263 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56264 Versions files is now verboten.
56265 * hurd/Versions (libc: GLIBC_2.0):
56266 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56267 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56268 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56269 * mach/Versions: Likewise.
56270
56271 * csu/Versions: Remove unused %include.
56272 * resolv/Versions: Likewise.
56273
56274 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56275
56276 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56277 ($(objpfx)check-local-headers.out): Likewise.
56278 ($(objpfx)begin-end-check.out): Likewise.
56279 * Makerules (check-abi-%.out): Likewise.
56280 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56281 ($(objpfx)test2.cat): Likewise.
56282 ($(objpfx)de/libc.cat): Likewise.
56283 ($(objpfx)test-gencat.out): Likewise.
56284 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56285 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56286 ($(objpfx)noload-mem): Likewise.
56287 ($(objpfx)tst-pathopt.out): Likewise.
56288 ($(objpfx)tst-rtld-load-self.out): Likewise.
56289 ($(objpfx)tst-array1-cmp.out): Likewise.
56290 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56291 ($(objpfx)tst-array2-cmp.out): Likewise.
56292 ($(objpfx)tst-array3-cmp.out): Likewise.
56293 ($(objpfx)tst-array4-cmp.out): Likewise.
56294 ($(objpfx)tst-array5-cmp.out): Likewise.
56295 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56296 ($(objpfx)check-textrel.out): Likewise.
56297 ($(objpfx)check-execstack.out): Likewise.
56298 ($(objpfx)check-localplt.out): Likewise.
56299 ($(objpfx)order2-cmp.out): Likewise.
56300 ($(objpfx)tst-leaks1-mem): Likewise.
56301 ($(objpfx)tst-leaks1-static-mem): Likewise.
56302 ($(objpfx)tst-initorder-cmp.out): Likewise.
56303 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56304 ($(objpfx)tst-unused-dep.out): Likewise.
56305 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56306 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56307 * iconv/Makefile (test-iconvconfig): Likewise.
56308 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56309 ($(objpfx)iconv-test.out): Likewise.
56310 ($(objpfx)tst-tables.out): Likewise.
56311 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56312 ($(objpfx)tst-gettext.out): Likewise.
56313 ($(objpfx)tst-translit.out): Likewise.
56314 ($(objpfx)tst-gettext2.out): Likewise.
56315 ($(objpfx)tst-gettext4.out): Likewise.
56316 ($(objpfx)tst-gettext6.out): Likewise.
56317 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56318 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56319 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56320 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56321 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56322 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56323 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56324 ($(objpfx)wordexp-tst.out): Likewise.
56325 ($(objpfx)annexc.out): Likewise.
56326 ($(objpfx)tst-fnmatch-mem): Likewise.
56327 ($(objpfx)bug-regex2-mem): Likewise.
56328 ($(objpfx)bug-regex14-mem): Likewise.
56329 ($(objpfx)bug-regex21-mem): Likewise.
56330 ($(objpfx)bug-regex31-mem): Likewise.
56331 ($(objpfx)tst-vfork3-mem): Likewise.
56332 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56333 ($(objpfx)tst-pcre-mem): Likewise.
56334 ($(objpfx)tst-boost-mem): Likewise.
56335 ($(objpfx)tst-getconf.out): Likewise.
56336 ($(objpfx)bug-ga2-mem): Likewise.
56337 ($(objpfx)bug-glob2-mem): Likewise.
56338 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56339 ($(objpfx)mtrace-tst-leaks2): Likewise.
56340 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56341 ($(objpfx)tst-printf.out): Likewise.
56342 ($(objpfx)tst-setvbuf1.out): Likewise.
56343 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56344 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56345 ($(objpfx)tst-fmtmsg.out): Likewise.
56346 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56347 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56348
56349 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56350 * bits/sigaction.h [__USE_MISC]: Likewise.
56351 * bits/waitstatus.h: Update #endif comments.
56352 * ctype/ctype.h: Likewise.
56353 * dirent/dirent.h: Likewise.
56354 [__USE_MISC]: Remove redundant conditionals.
56355 * grp/grp.h: Update #endif comments.
56356 [__USE_GNU]: Remove redundant conditionals.
56357 [__USE_MISC]: Likewise.
56358 * inet/netinet/in.h [__USE_GNU]: Likewise.
56359 * io/sys/stat.h [__USE_MISC]: Likewise.
56360 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56361 * libio/bits/stdio.h: Update #endif comments.
56362 [__USE_MISC]: Remove redundant conditionals.
56363 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56364 * libio/stdio.h: Update #endif comments.
56365 [__USE_MISC]: Remove redundant conditionals.
56366 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56367 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56368 * math/math.h: Update #else and #endif comments.
56369 [__USE_MISC]: Remove redundant conditionals.
56370 * misc/sys/uio.h: Update #endif comments.
56371 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56372 * posix/glob.h [__USE_MISC]: Likewise.
56373 * posix/sys/types.h: Update #endif comments.
56374 [__USE_MISC]: Remove redundant conditionals.
56375 * posix/sys/wait.h: Update #endif comments.
56376 [__USE_MISC]: Remove redundant conditionals.
56377 * posix/unistd.h: Update #endif comments.
56378 [__USE_MISC]: Remove redundant conditionals.
56379 * pwd/pwd.h [__USE_GNU]: Likewise.
56380 [__USE_MISC]: Likewise.
56381 * resolv/netdb.h [__USE_GNU]: Likewise.
56382 * signal/signal.h: Update #endif comments.
56383 [__USE_MISC]: Remove redundant conditionals.
56384 * stdlib/stdlib.h: Update #else and #endif comments.
56385 [__USE_MISC]: Remove redundant conditionals.
56386 [__USE_GNU]: Likewise.
56387 * string/bits/string2.h [__USE_MISC]: Likewise.
56388 * string/string.h: Update #endif comments.
56389 [__USE_MISC]: Remove redundant conditionals.
56390 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56391 Likewise.
56392 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56393 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56394 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56395 Likewise.
56396 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56397 Likewise.
56398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56399 comments.
56400 [__USE_MISC]: Remove redundant conditionals.
56401 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56402 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56403 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56404 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56405 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56406 Likewise.
56407 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56408 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56409 Likewise.
56410 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56411 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56412 Likewise.
56413 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56414 Likewise.
56415 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56416 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56417 Likewise.
56418 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56419 Likewise.
56420 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56421 * sysdeps/x86/bits/string.h: Update #endif comments.
56422 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56423 conditionals.
56424 * time/sys/time.h: Update #endif comments.
56425 * time/time.h: Likewise.
56426 [__USE_MISC]: Remove redundant conditionals.
56427
56428 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56429
56430 [BZ #16600]
56431 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56432
56433 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56434
56435 * Versions.def (librt): Add GLIBC_2.17.
56436
56437 2014-02-21 Adam Conrad <adconrad@0c3.net>
56438
56439 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56440 synonym for _SYS_AUXV_H to allow direct inclusion.
56441 * sysdeps/sparc/bits/hwcap.h: Likewise.
56442 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56443 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56444 * sysdeps/sparc/sysdep.h: Likewise.
56445
56446 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56447
56448 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56449
56450 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56451
56452 * benchtests/bench-strrchr.c: Print length instead of position.
56453
56454 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56455
56456 [BZ #16611]
56457 * sysdeps/unix/sysv/linux/kernel-features.h
56458 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56459 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56460 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56461 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56462 Likewise.
56463 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56464 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56465 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56466 (__ASSUME_SENDMMSG): Define instead of using previous
56467 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56468 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56469 (__ASSUME_SENDMMSG_SYSCALL): Define.
56470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56471 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56472 Likewise.
56473 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56474 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56475 Likewise.
56476 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56477 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56478 Likewise.
56479 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56480 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56481 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56482 [__ASSUME_SENDMMSG]: Change conditionals to
56483 [__ASSUME_SENDMMSG_SOCKETCALL].
56484 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56485 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56486 Define.
56487 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56488 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56489 Likewise.
56490 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56491 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56492 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56493 [!__ASSUME_SENDMMSG]: Change conditional to
56494 [!__ASSUME_SENDMMSG_SOCKETCALL].
56495 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56496 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56497 Define.
56498
56499 [BZ #16610]
56500 * sysdeps/unix/sysv/linux/kernel-features.h
56501 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56502 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56503 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56504 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56505 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56506 [__i386__ || __sparc__]
56507 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56508 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56509 (__ASSUME_RECVMMSG): Define instead of using previous
56510 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56511 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56512 (__ASSUME_RECVMMSG_SYSCALL): Define.
56513 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56514 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56515 Likewise.
56516 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56517 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56518 Likewise.
56519 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56520 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56521 Likewise.
56522 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56523 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56524 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56525 [__ASSUME_RECVMMSG]: Change condition to
56526 [__ASSUME_RECVMMSG_SOCKETCALL].
56527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56528 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56529 Define.
56530 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56531 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56532 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56533 Likewise.
56534 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56535 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56536 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56537 [!__ASSUME_RECVMMSG]: Change condition to
56538 [!__ASSUME_RECVMMSG_SOCKETCALL].
56539 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56540 (__ASSUME_RECVMMSG_SYSCALL): Define.
56541
56542 [BZ #16609]
56543 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56544 __powerpc__ || __s390__ || __sh__ || __sparc__]
56545 (__ASSUME_SOCKETCALL): Define.
56546 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56547 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56548 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56549 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56550 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56551 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56552 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56553 (__ASSUME_ACCEPT4): Define instead of using previous
56554 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56555 __powerpc__ || __sparc__ || __s390__)] condition.
56556 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56557 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56558 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56559 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56560 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56561 [!__ASSUME_ACCEPT4]: Change condition to
56562 [!__ASSUME_ACCEPT4_SOCKETCALL].
56563 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56564 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56565 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56566 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56567 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56568 __ASSUME_ACCEPT4_SYSCALL.
56569 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56570 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56571 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56572 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56573 __ASSUME_ACCEPT4_SYSCALL.
56574 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56575 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56576 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56577 [__ASSUME_ACCEPT4]: Change condition to
56578 [__ASSUME_ACCEPT4_SOCKETCALL].
56579 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56580 (__ASSUME_SOCKETCALL): Define.
56581 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56582 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56583 (__ASSUME_SOCKETCALL): Define.
56584 (__ASSUME_ACCEPT4): Remove.
56585 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56586 Define.
56587 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56588 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56589 Likewise.
56590 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56591 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56592
56593 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56594 macro.
56595 (HWCAP_ARM_LPAE): Likewise.
56596 (HWCAP_ARM_EVTSTRM): Likewise.
56597 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56598 Add vpfd32, lpae and evtstrm.
56599 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56600 Increase to 22.
56601
56602 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56603
56604 * math/auto-libm-test-in: Add tests of clog10.
56605 * math/auto-libm-test-out: Regenerated.
56606 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56607 * sysdeps/i386/fpu/libm-test-ulps: Update.
56608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56609
56610 2014-02-18 Andreas Schwab <schwab@suse.de>
56611
56612 [BZ #16574]
56613 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56614 Store non-zero if the second buffer was newly allocated.
56615 (send_dg): Likewise.
56616 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56617 to send_vc and send_dg.
56618 (res_nsend): Pass NULL for ansp2_malloced.
56619 * resolv/res_query.c (__libc_res_nquery): Add parameter
56620 answerp2_malloced and pass it down to __libc_res_nsend.
56621 (res_nquery): Pass additional NULL to __libc_res_nquery.
56622 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56623 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56624 second answer buffer if answerp2_malloced was set.
56625 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56626 (__libc_res_nquerydomain): Add parameter
56627 answerp2_malloced and pass it down to __libc_res_nquery.
56628 (res_nquerydomain): Pass additional NULL to
56629 __libc_res_nquerydomain.
56630 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56631 additional NULL to __libc_res_nsend and __libc_res_nquery.
56632 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56633 additional NULL to __libc_res_nsearch.
56634 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56635 parameter of __libc_res_nsearch to check for separately allocated
56636 second buffer.
56637 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56638 __libc_res_nquery.
56639 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56640 additional NULL to __libc_res_nquery.
56641 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56642 __libc_res_nsearch.
56643 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56644 * include/resolv.h: Update prototypes of __libc_res_nquery,
56645 __libc_res_nsearch, __libc_res_nsend.
56646
56647 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56648
56649 * math/auto-libm-test-in: Add tests of fma.
56650 * math/auto-libm-test-out: Regenerated.
56651 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56652 (fma_towardzero_test_data): Likewise.
56653 (fma_downward_test_data): Likewise.
56654 (fma_upward_test_data): Likewise.
56655 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56656 mpc_mode.
56657 (rounding_modes): Add values for new field.
56658 (func_calc_method): Add value mpfr_fff_f.
56659 (func_calc_desc): Add mpfr_fff_f union field.
56660 (test_function): Add field exact_args.
56661 (FUNC): Add macro argument EXACT_ARGS.
56662 (FUNC_mpfr_f_f): Update call to FUNC.
56663 (FUNC_mpfr_f_f): Likewise.
56664 (FUNC_mpfr_ff_f): Likewise.
56665 (FUNC_mpfr_if_f): Likewise.
56666 (FUNC_mpc_c_f): Likewise.
56667 (FUNC_mpc_c_c): Likewise.
56668 (test_functions): Add fma. Update calls to FUNC.
56669 (handle_input_arg): Add argument exact_args.
56670 (add_test): Update call to handle_input_arg.
56671 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56672 (output_for_one_input_case): Update call to calc_generic_results.
56673 Recalculate exact zero results in each rounding mode.
56674
56675 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56676 non-negative before setting low bit.
56677 * math/auto-libm-test-in: Mark one asin test possibly having
56678 spurious underflow.
56679 * math/auto-libm-test-out: Regenerated.
56680 * sysdeps/i386/fpu/libm-test-ulps: Update.
56681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56682
56683 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56684
56685 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56686 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56687 ports/sysdeps/unix/sysv/linux/microblaze.
56688 * README: Add missing listing for microblaze*-*-linux-gnu.
56689
56690 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
56691
56692 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56693 duplicate code
56694
56695 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56696
56697 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56698 * sysdeps/unix/sysv/linux/ia64: Move directory from
56699 ports/sysdeps/unix/sysv/linux/ia64.
56700 * README: Update listing for ia64-*-linux-gnu.
56701
56702 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56703 Joseph Myers <joseph@codesourcery.com>
56704
56705 * Makeconfig (test-name): New variable.
56706 (evaluate-test): Likewise.
56707 * Makerules (do-test-clean): Remove .test-result files.
56708 (common-mostlyclean): Likewise.
56709 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56710 * scripts/evaluate-test.sh: New file.
56711
56712 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56713
56714 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56715 separate $(objpfx)tst-fopenloc-cmp.out and
56716 $(objpfx)tst-fopenloc-mem.out targets.
56717 (tests): Update dependencies.
56718 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56719 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56720 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56721 (tst-rxspencer-no-utf8-ARGS): New variable.
56722 (tst-rxspencer-no-utf8-ENV): Likewise.
56723 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56724 instead of $(objpfx)tst-rxspencer-mem.
56725 ($(objpfx)tst-rxspencer-mem): Change target to
56726 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56727 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56728 * posix/tst-rxspencer-no-utf8.c: New file.
56729
56730 * elf/Makefile ($(objpfx)order.out): Remove rule.
56731 [$(run-built-tests) = yes] (tests): Depend on
56732 $(objpfx)order-cmp.out.
56733 ($(objpfx)order-cmp.out): New rule.
56734 [$(run-built-tests) = yes] (tests): Depend on
56735 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56736 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56737 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56738 $(objpfx)tst-array5-static-cmp.out.
56739 ($(objpfx)tst-array1.out): Remove rule.
56740 ($(objpfx)tst-array1-cmp.out): New rule.
56741 ($(objpfx)tst-array1-static.out): Remove rule.
56742 ($(objpfx)tst-array1-static-cmp.out): New rule.
56743 ($(objpfx)tst-array2.out): Remove rule.
56744 ($(objpfx)tst-array2-cmp.out): New rule.
56745 ($(objpfx)tst-array3.out): Remove rule.
56746 ($(objpfx)tst-array3-cmp.out): New rule.
56747 ($(objpfx)tst-array4.out): Remove rule.
56748 ($(objpfx)tst-array4-cmp.out): New rule.
56749 ($(objpfx)tst-array5.out): Remove rule.
56750 ($(objpfx)tst-array5-cmp.out): New rule.
56751 ($(objpfx)tst-array5-static.out): Remove rule.
56752 ($(objpfx)tst-array5-static-cmp.out): New rule.
56753 [$(run-built-tests) = yes] (tests): Depend on
56754 $(objpfx)order2-cmp.out.
56755 ($(objpfx)order2.out): Remove rule.
56756 ($(objpfx)order2-cmp.out): New rule.
56757 ($(objpfx)tst-initorder.out): Remove rule.
56758 [$(run-built-tests) = yes] (tests): Depend on
56759 $(objpfx)tst-initorder-cmp.out.
56760 ($(objpfx)tst-initorder-cmp.out): New rule.
56761 ($(objpfx)tst-initorder2.out): Remove rule.
56762 [$(run-built-tests) = yes] (tests): Depend on
56763 $(objpfx)tst-initorder2-cmp.out.
56764 ($(objpfx)tst-initorder2-cmp.out): New rule.
56765 [$(run-built-tests) = yes] (tests): Depend on
56766 $(objpfx)tst-unused-dep-cmp.out.
56767 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56768 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56769 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56770 on $(objpfx)tst-setvbuf1-cmp.out.
56771 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56772 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56773 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56774 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56775 ($(objpfx)tst-svc.out): Remove rule.
56776 ($(objpfx)tst-svc-cmp.out): New rule.
56777
56778 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56779
56780 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56781 * ctype/ctype.h [__USE_MISC]: Likewise.
56782 * dirent/dirent.h [__USE_MISC]: Likewise.
56783 * grp/grp.h [__USE_MISC]: Likewise.
56784 * io/fcntl.h [__USE_MISC]: Likewise.
56785 * io/sys/stat.h [__USE_MISC]: Likewise.
56786 * libio/stdio.h [__USE_MISC]: Likewise.
56787 * posix/unistd.h [__USE_MISC]: Likewise.
56788 * pwd/pwd.h [__USE_MISC]: Likewise.
56789 * stdlib.h [__USE_MISC]: Likewise.
56790 * string/bits/string2.h [__USE_MISC]: Likewise.
56791 * string/string.h [__USE_MISC]: Likewise.
56792 * time/time.h [__USE_MISC]: Likewise.
56793
56794 2014-02-13 Andreas Schwab <schwab@suse.de>
56795
56796 [BZ #16574]
56797 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56798 second answer buffer if it was separately allocated.
56799
56800 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56801
56802 * sysdeps/mips/math-tests.h: Include <features.h>.
56803 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56804 (ROUNDING_TESTS_long_double): Do not define.
56805 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56806 (EXCEPTION_TESTS_long_double): Likewise.
56807 * sysdeps/mips/mips64/libm-test-ulps: Update.
56808
56809 * include/features.h (__USE_BSD): Remove macro definitions.
56810 (__USE_SVID): Likewise.
56811 (_BSD_SOURCE): Likewise.
56812 (_SVID_SOURCE): Likewise.
56813 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56814 from definition of _DEFAULT_SOURCE.
56815 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56816 [_DEFAULT_SOURCE].
56817 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56818 * bits/mman.h [__USE_BSD]: Likewise.
56819 * bits/termios.h [__USE_BSD]: Likewise.
56820 * bits/waitstatus.h [__USE_BSD]: Likewise.
56821 * ctype/ctype.h [__USE_SVID]: Likewise.
56822 * dirent/dirent.h [__USE_BSD]: Likewise.
56823 * grp/grp.h [__USE_SVID]: Likewise.
56824 [__USE_BSD]: Likewise.
56825 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56826 * io/fcntl.h [__USE_BSD]: Likewise.
56827 * io/ftw.h [__USE_BSD]: Likewise.
56828 * io/sys/stat.h [__USE_BSD]: Likewise.
56829 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56830 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56831 * libio/stdio.h [__USE_SVID]: Likewise.
56832 [__USE_BSD]: Likewise.
56833 * math/math.h [__USE_SVID]: Likewise.
56834 [__USE_BSD]: Likewise.
56835 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56836 * misc/bits/syslog.h [__USE_BSD]: Likewise.
56837 * misc/search.h [__USE_SVID]: Likewise.
56838 * misc/sys/mman.h [__USE_BSD]: Likewise.
56839 * misc/sys/syslog.h [__USE_BSD]: Likewise.
56840 * misc/sys/uio.h [__USE_BSD]: Likewise.
56841 * posix/bits/unistd.h [__USE_BSD]: Likewise.
56842 * posix/glob.h [__USE_BSD]: Likewise.
56843 * posix/regex.h [__USE_BSD]: Likewise.
56844 * posix/sys/types.h [__USE_BSD]: Likewise.
56845 [__USE_SVID]: Likewise.
56846 * posix/sys/utsname.h [__USE_SVID]: Likewise.
56847 * posix/sys/wait.h [__USE_BSD]: Likewise.
56848 [__USE_SVID]: Likewise.
56849 * posix/unistd.h [__USE_BSD]: Likewise.
56850 [__USE_SVID]: Likewise.
56851 * pwd/pwd.h [__USE_SVID]: Likewise.
56852 * resolv/netdb.h [__USE_BSD]: Likewise.
56853 * setjmp/setjmp.h [__USE_BSD]: Likewise.
56854 * signal/signal.h [__USE_BSD]: Likewise.
56855 [__USE_SVID]: Likewise.
56856 * socket/sys/socket.h [__USE_BSD]: Likewise.
56857 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56858 * stdlib/stdlib.h [__USE_BSD]: Likewise.
56859 [__USE_SVID]: Likewise.
56860 * string/bits/string2.h [__USE_BSD]: Likewise.
56861 [__USE_SVID]: Likewise.
56862 * string/bits/string3.h [__USE_BSD]: Likewise.
56863 * string/endian.h [__USE_BSD]: Likewise.
56864 * string/string.h [__USE_SVID]: Likewise.
56865 [__USE_BSD]: Likewise.
56866 * string/strings.h [__USE_BSD]: Likewise.
56867 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56868 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56869 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56870 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56871 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56872 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56873 Likewise.
56874 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56875 Likewise.
56876 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56877 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56878 Likewise.
56879 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56880 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56881 Likewise.
56882 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56883 Likewise.
56884 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56885 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56886 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56887 Likewise.
56888 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56889 Likewise.
56890 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56891 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56892 * termios/termios.h [__USE_BSD]: Likewise.
56893 * time/sys/time.h [__USE_BSD]: Likewise.
56894 * time/time.h [__USE_BSD]: Likewise.
56895 [__USE_SVID]: Likewise.
56896
56897 * Makefile (subdir_targets): Remove subdir_lint.out.
56898
56899 * stdio-common/Makefile (do-tst-unbputc): Remove target.
56900 (do-tst-printf): Likewise.
56901 (tests): Depend directly on $(objpfx)tst-unbputc.out and
56902 $(objpfx)tst-printf.out.
56903
56904 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56905
56906 * Makerules (check-abi-%): Change target to
56907 $(objpfx)check-abi-%.out.
56908 (check-abi target): Update dependencies.
56909 (check-abi-pattern variable): Redirect output of diff to $@.
56910 (check-abi variable): Likewise.
56911 * elf/Makefile (check-abi): Update dependencies.
56912
56913 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56914 unused.
56915 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56916 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56917 subnormal range.
56918 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56919 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56920 value has largest subnormal exponent.
56921 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56922 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56923 * sysdeps/aarch64/soft-fp/sfp-machine.h
56924 (_FP_TININESS_AFTER_ROUNDING): New macro.
56925 * sysdeps/alpha/soft-fp/sfp-machine.h
56926 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56927 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56928 Likewise.
56929 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56931 * sysdeps/mips/soft-fp/sfp-machine.h
56932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56933 * sysdeps/powerpc/soft-fp/sfp-machine.h
56934 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56935 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56936 Likewise.
56937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56938 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56939 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56940 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56941 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56942 Likewise.
56943
56944 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
56945
56946 [BZ #16545]
56947 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56948 model 1.
56949
56950 2014-02-12 Richard Henderson <rth@redhat.com>
56951
56952 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56953 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56954 * sysdeps/unix/sysv/linux/alpha: Move directory from
56955 ports/sysdeps/unix/sysv/linux/alpha.
56956 * README: Update listing for alpha-*-linux-gnu.
56957
56958 2014-02-11 Joseph Myers <joseph@codesourcery.com>
56959
56960 * include/features.h: Update comment documenting feature test
56961 macros.
56962 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
56963 _DEFAULT_SOURCE.
56964 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56965 (_SVID_SOURCE): Likewise.
56966 (_DEFAULT_SOURCE): Update description of default features.
56967 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56968 with _GNU_SOURCE.
56969 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56970 (S_ISVTX): Likewise.
56971 * manual/math.texi (Mathematical Constants): Likewise.
56972 * manual/signal.texi (Interrupted Primitives): Likewise.
56973 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56974 * math/test-matherr.c (_SVID_SOURCE): Do not define.
56975 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56976 Don't refer to _SVID_SOURCE in warning text.
56977
56978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56979
56980 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56981 already defined.
56982 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56983 * sysdeps/mips/dl-lookup.c: Remove.
56984 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56985
56986 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
56987
56988 [BZ #16447]
56989 * math/auto-libm-test-in: Add testcase for expl.
56990 * math/auto-libm-test-out: Regenerate.
56991 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56992 calculation of unsafe.
56993 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56994
56995 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
56996
56997 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56998 * sysdeps/unix/sysv/linux/aarch64: Move directory from
56999 ports/sysdeps/unix/sysv/linux/aarch64.
57000 * README: Update listing for aarch64*-*-linux-gnu.
57001
57002 2014-02-11 Will Newton <will.newton@linaro.org>
57003
57004 * manual/probes.texi (Mathematical Function Probes): Use
57005 "triggered" instead of "hit".
57006
57007 * manual/probes.texi (Internal Probes): Add documentation
57008 of setjmp, longjmp and longjmp_target probes.
57009
57010 * include/stap-probe.h: Add comment about probe argument
57011 format.
57012
57013 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57014 definition. (tr_where, tr_freehook, tr_mallochook,
57015 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57016
57017 2014-02-11 David S. Miller <davem@davemloft.net>
57018
57019 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57020 processing int_tests.
57021
57022 2014-02-10 Joseph Myers <joseph@codesourcery.com>
57023
57024 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57025 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57026 * sysdeps/unix/sysv/linux/mips: Move directory from
57027 ports/sysdeps/unix/sysv/linux/mips.
57028 * README: Update listing for mips-*-linux-gnu and
57029 mips64-*-linux-gnu.
57030
57031 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57032
57033 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57034 * sysdeps/unix/sysv/linux/m68k: Move directory from
57035 ports/sysdeps/unix/sysv/linux/m68k.
57036 * README: Update listing for m68k-*-linux-gnu.
57037
57038 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57039
57040 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57041 * sysdeps/unix/sysv/linux/generic: Move directory from
57042 ports/sysdeps/unix/sysv/linux/generic.
57043 * sysdeps/unix/sysv/linux/tile: Move directory from
57044 ports/sysdeps/unix/sysv/linux/tile.
57045 * README: Update listing for tile*-*-linux-gnu.
57046
57047 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
57048
57049 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57050 __builtin_expect.
57051 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57052 * catgets/open_catalog.c (__open_catalog): Likewise.
57053 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57054 * debug/confstr_chk.c: Likewise.
57055 * debug/fread_chk.c (__fread_chk): Likewise.
57056 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57057 * debug/getgroups_chk.c: Likewise.
57058 * debug/mbsnrtowcs_chk.c: Likewise.
57059 * debug/mbsrtowcs_chk.c: Likewise.
57060 * debug/mbstowcs_chk.c: Likewise.
57061 * debug/memcpy_chk.c: Likewise.
57062 * debug/memmove_chk.c: Likewise.
57063 * debug/mempcpy_chk.c: Likewise.
57064 * debug/memset_chk.c: Likewise.
57065 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57066 * debug/strcat_chk.c (__strcat_chk): Likewise.
57067 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57068 * debug/strncat_chk.c (__strncat_chk): Likewise.
57069 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57070 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57071 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57072 * debug/wcpncpy_chk.c: Likewise.
57073 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57074 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57075 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57076 * debug/wcsncpy_chk.c: Likewise.
57077 * debug/wcsnrtombs_chk.c: Likewise.
57078 * debug/wcsrtombs_chk.c: Likewise.
57079 * debug/wcstombs_chk.c: Likewise.
57080 * debug/wmemcpy_chk.c: Likewise.
57081 * debug/wmemmove_chk.c: Likewise.
57082 * debug/wmempcpy_chk.c: Likewise.
57083 * debug/wmemset_chk.c: Likewise.
57084 * dirent/scandirat.c (SCANDIRAT): Likewise.
57085 * dlfcn/dladdr1.c (dladdr1): Likewise.
57086 * dlfcn/dladdr.c (dladdr): Likewise.
57087 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57088 * dlfcn/dlerror.c (__dlerror): Likewise.
57089 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57090 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57091 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57092 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57093 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57094 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57095 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57096 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57097 Likewise.
57098 * elf/dl-conflict.c: Likewise.
57099 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57100 * elf/dl-dst.h: Likewise.
57101 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57102 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57103 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57104 * elf/dl-init.c (call_init, _dl_init): Likewise.
57105 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57106 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57107 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57108 Likewise.
57109 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57110 Likewise.
57111 * elf/dl-minimal.c (__libc_memalign): Likewise.
57112 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57113 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57114 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57115 * elf/dl-sym.c (do_sym): Likewise.
57116 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57117 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57118 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57119 * elf/dl-writev.h (_dl_writev): Likewise.
57120 * elf/ldconfig.c (search_dir): Likewise.
57121 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57122 (dl_main): Likewise.
57123 * elf/setup-vdso.h (setup_vdso): Likewise.
57124 * grp/compat-initgroups.c (compat_call): Likewise.
57125 * grp/fgetgrent.c (fgetgrent): Likewise.
57126 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57127 * grp/putgrent.c (putgrent): Likewise.
57128 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57129 Likewise.
57130 * hurd/hurdinit.c: Likewise.
57131 * iconvdata/8bit-gap.c (struct): Likewise.
57132 * iconvdata/ansi_x3.110.c : Likewise.
57133 * iconvdata/big5.c : Likewise.
57134 * iconvdata/big5hkscs.c : Likewise.
57135 * iconvdata/cp1255.c: Likewise.
57136 * iconvdata/cp1258.c : Likewise.
57137 * iconvdata/cp932.c : Likewise.
57138 * iconvdata/euc-cn.c: Likewise.
57139 * iconvdata/euc-jisx0213.c : Likewise.
57140 * iconvdata/euc-jp.c: Likewise.
57141 * iconvdata/euc-jp-ms.c : Likewise.
57142 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57143 * iconvdata/gb18030.c : Likewise.
57144 * iconvdata/gbbig5.c (const): Likewise.
57145 * iconvdata/gbgbk.c: Likewise.
57146 * iconvdata/gbk.c : Likewise.
57147 * iconvdata/ibm1364.c : Likewise.
57148 * iconvdata/ibm930.c : Likewise.
57149 * iconvdata/ibm932.c: Likewise.
57150 * iconvdata/ibm933.c : Likewise.
57151 * iconvdata/ibm935.c : Likewise.
57152 * iconvdata/ibm937.c : Likewise.
57153 * iconvdata/ibm939.c : Likewise.
57154 * iconvdata/ibm943.c: Likewise.
57155 * iconvdata/iso_11548-1.c: Likewise.
57156 * iconvdata/iso-2022-cn.c : Likewise.
57157 * iconvdata/iso-2022-cn-ext.c : Likewise.
57158 * iconvdata/iso-2022-jp-3.c: Likewise.
57159 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57160 * iconvdata/iso-2022-kr.c : Likewise.
57161 * iconvdata/iso646.c (gconv_end): Likewise.
57162 * iconvdata/iso_6937-2.c : Likewise.
57163 * iconvdata/iso_6937.c : Likewise.
57164 * iconvdata/iso8859-1.c: Likewise.
57165 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57166 * iconvdata/shift_jisx0213.c : Likewise.
57167 * iconvdata/sjis.c : Likewise.
57168 * iconvdata/t.61.c : Likewise.
57169 * iconvdata/tcvn5712-1.c : Likewise.
57170 * iconvdata/tscii.c: Likewise.
57171 * iconvdata/uhc.c : Likewise.
57172 * iconvdata/unicode.c (gconv_end): Likewise.
57173 * iconvdata/utf-16.c (gconv_end): Likewise.
57174 * iconvdata/utf-32.c (gconv_end): Likewise.
57175 * iconvdata/utf-7.c (base64): Likewise.
57176 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57177 * iconv/gconv_close.c (__gconv_close): Likewise.
57178 * iconv/gconv_open.c (__gconv_open): Likewise.
57179 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57180 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57181 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57182 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57183 (ucs4le_internal_loop_single): Likewise.
57184 * iconv/iconv.c (iconv): Likewise.
57185 * iconv/iconv_close.c: Likewise.
57186 * iconv/loop.c (SINGLE): Likewise.
57187 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57188 * include/atomic.h: Likewise.
57189 * inet/inet6_option.c (option_alloc): Likewise.
57190 * intl/bindtextdom.c (set_binding_values): Likewise.
57191 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57192 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57193 * intl/localealias.c (read_alias_file): Likewise.
57194 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57195 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57196 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57197 * libio/fmemopen.c (fmemopen): Likewise.
57198 * libio/iofgets.c (_IO_fgets): Likewise.
57199 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57200 * libio/iofgetws.c (fgetws): Likewise.
57201 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57202 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57203 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57204 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57205 * locale/findlocale.c (_nl_find_locale): Likewise.
57206 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57207 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57208 Likewise.
57209 * locale/setlocale.c (setlocale): Likewise.
57210 * login/programs/pt_chown.c (main): Likewise.
57211 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57212 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57213 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57214 (mmap, mmap64, mremap, munmap): Likewise.
57215 * math/e_exp2l.c: Likewise.
57216 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57217 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57218 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57219 * math/s_catan.c (__catan): Likewise.
57220 * math/s_catanf.c (__catanf): Likewise.
57221 * math/s_catanh.c (__catanh): Likewise.
57222 * math/s_catanhf.c (__catanhf): Likewise.
57223 * math/s_catanhl.c (__catanhl): Likewise.
57224 * math/s_catanl.c (__catanl): Likewise.
57225 * math/s_ccosh.c (__ccosh): Likewise.
57226 * math/s_ccoshf.c (__ccoshf): Likewise.
57227 * math/s_ccoshl.c (__ccoshl): Likewise.
57228 * math/s_cexp.c (__cexp): Likewise.
57229 * math/s_cexpf.c (__cexpf): Likewise.
57230 * math/s_cexpl.c (__cexpl): Likewise.
57231 * math/s_clog10.c (__clog10): Likewise.
57232 * math/s_clog10f.c (__clog10f): Likewise.
57233 * math/s_clog10l.c (__clog10l): Likewise.
57234 * math/s_clog.c (__clog): Likewise.
57235 * math/s_clogf.c (__clogf): Likewise.
57236 * math/s_clogl.c (__clogl): Likewise.
57237 * math/s_csin.c (__csin): Likewise.
57238 * math/s_csinf.c (__csinf): Likewise.
57239 * math/s_csinh.c (__csinh): Likewise.
57240 * math/s_csinhf.c (__csinhf): Likewise.
57241 * math/s_csinhl.c (__csinhl): Likewise.
57242 * math/s_csinl.c (__csinl): Likewise.
57243 * math/s_csqrt.c (__csqrt): Likewise.
57244 * math/s_csqrtf.c (__csqrtf): Likewise.
57245 * math/s_csqrtl.c (__csqrtl): Likewise.
57246 * math/s_ctan.c (__ctan): Likewise.
57247 * math/s_ctanf.c (__ctanf): Likewise.
57248 * math/s_ctanh.c (__ctanh): Likewise.
57249 * math/s_ctanhf.c (__ctanhf): Likewise.
57250 * math/s_ctanhl.c (__ctanhl): Likewise.
57251 * math/s_ctanl.c (__ctanl): Likewise.
57252 * math/w_pow.c: Likewise.
57253 * math/w_powf.c: Likewise.
57254 * math/w_powl.c: Likewise.
57255 * math/w_scalb.c (sysv_scalb): Likewise.
57256 * math/w_scalbf.c (sysv_scalbf): Likewise.
57257 * math/w_scalbl.c (sysv_scalbl): Likewise.
57258 * misc/error.c (error_tail): Likewise.
57259 * misc/pselect.c (__pselect): Likewise.
57260 * nis/nis_callback.c (__nis_create_callback): Likewise.
57261 * nis/nis_call.c (__nisfind_server): Likewise.
57262 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57263 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57264 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57265 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57266 * nis/nis_lookup.c (nis_lookup): Likewise.
57267 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57268 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57269 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57270 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57271 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57272 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57273 * nis/nss_compat/compat-initgroups.c (add_group)
57274 (internal_getgrent_r): Likewise.
57275 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57276 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57277 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57278 (internal_getspnam_r): Likewise.
57279 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57280 (_nss_nis_getaliasbyname_r): Likewise.
57281 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57282 (_nss_nis_getntohost_r): Likewise.
57283 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57284 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57285 (_nss_nis_getgrgid_r): Likewise.
57286 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57287 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57288 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57289 (_nss_nis_gethostbyname4_r): Likewise.
57290 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57291 (initgroups_netid): Likewise.
57292 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57293 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57294 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57295 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57296 (_nss_nis_getprotobynumber_r): Likewise.
57297 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57298 (_nss_nis_getsecretkey): Likewise.
57299 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57300 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57301 (_nss_nis_getpwuid_r): Likewise.
57302 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57303 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57304 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57305 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57306 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57307 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57308 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57309 Likewise.
57310 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57311 (_nss_nisplus_getntohost_r): Likewise.
57312 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57313 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57314 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57315 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57316 Likewise.
57317 * nis/nss_nisplus/nisplus-initgroups.c
57318 (_nss_nisplus_initgroups_dyn): Likewise.
57319 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57320 (_nss_nisplus_getnetbyaddr_r): Likewise.
57321 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57322 (_nss_nisplus_getprotobynumber_r): Likewise.
57323 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57324 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57325 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57326 Likewise.
57327 * nis/nss_nisplus/nisplus-service.c
57328 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57329 (_nss_nisplus_getservbyport_r): Likewise.
57330 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57331 (_nss_nisplus_getspnam_r): Likewise.
57332 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57333 Likewise.
57334 * nscd/aicache.c (addhstaiX): Likewise.
57335 * nscd/cache.c (cache_search, prune_cache): Likewise.
57336 * nscd/connections.c (register_traced_file, send_ro_fd)
57337 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57338 (main_loop_epoll): Likewise.
57339 * nscd/grpcache.c (addgrbyX): Likewise.
57340 * nscd/hstcache.c (addhstbyX): Likewise.
57341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57342 * nscd/mem.c (gc, mempool_alloc): Likewise.
57343 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57344 (addinnetgrX): Likewise.
57345 * nscd/nscd-client.h (__nscd_acquire_maplock)
57346 (__nscd_drop_map_ref): Likewise.
57347 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57348 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57349 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57350 Likewise.
57351 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57353 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57354 (__nscd_get_map_ref): Likewise.
57355 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57356 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57357 Likewise.
57358 * nscd/pwdcache.c (addpwbyX): Likewise.
57359 * nscd/selinux.c (preserve_capabilities): Likewise.
57360 * nscd/servicescache.c (addservbyX): Likewise.
57361 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57362 * posix/fnmatch.c (fnmatch): Likewise.
57363 * posix/getopt.c (_getopt_internal_r): Likewise.
57364 * posix/glob.c (glob, glob_in_dir): Likewise.
57365 * posix/wordexp.c (exec_comm_child): Likewise.
57366 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57367 (getanswer_r, gaih_getanswer_slice): Likewise.
57368 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57369 * resolv/res_init.c: Likewise.
57370 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57371 * resolv/res_query.c (__libc_res_nquery): Likewise.
57372 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57373 Likewise.
57374 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57375 * stdio-common/perror.c (perror): Likewise.
57376 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57377 * stdio-common/tmpnam.c (tmpnam): Likewise.
57378 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57379 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57380 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57381 Likewise.
57382 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57383 * stdlib/putenv.c (putenv): Likewise.
57384 * stdlib/setenv.c (__add_to_environ): Likewise.
57385 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57386 * stdlib/strtol_l.c (INTERNAL): Likewise.
57387 * string/memmem.c (memmem): Likewise.
57388 * string/strerror.c (strerror): Likewise.
57389 * string/strnlen.c (__strnlen): Likewise.
57390 * string/test-memmem.c (simple_memmem): Likewise.
57391 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57392 * sunrpc/pm_getport.c (__get_socket): Likewise.
57393 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57394 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57395 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57396 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57397 Likewise.
57398 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57399 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57400 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57401 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57402 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57403 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57404 Likewise.
57405 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57406 Likewise.
57407 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57408 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57410 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57411 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57413 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57414 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57415 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57416 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57417 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57419 Likewise.
57420 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57421 Likewise.
57422 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57423 Likewise.
57424 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57428 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57429 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57430 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57431 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57432 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57433 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57434 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57435 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57436 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57437 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57439 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57440 Likewise.
57441 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57442 Likewise.
57443 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57444 Likewise.
57445 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57446 Likewise.
57447 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57448 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57449 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57450 Likewise.
57451 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57452 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57453 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57454 * sysdeps/posix/sleep.c: Likewise.
57455 * sysdeps/posix/tempname.c: Likewise.
57456 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57457 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57458 Likewise.
57459 * sysdeps/powerpc/powerpc32/dl-machine.h
57460 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57461 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57463 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57464 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57465 Likewise.
57466 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57467 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57468 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57469 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57470 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57471 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57472 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57473 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57474 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57475 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57477 (elf_machine_lazy_rel): Likewise.
57478 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57480 (elf_machine_lazy_rel): Likewise.
57481 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57482 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57483 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57484 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57485 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57486 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57487 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57489 Likewise.
57490 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57491 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57492 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57493 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57494 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57495 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57496 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57497 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57499 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57500 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57501 Likewise.
57502 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57503 (__posix_fallocate64_l64): Likewise.
57504 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57505 (posix_fallocate): Likewise.
57506 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57507 Likewise.
57508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57509 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57510 (getifaddrs_internal): Likewise.
57511 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57512 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57513 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57514 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57515 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57516 (__posix_fallocate64_l64): Likewise.
57517 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57518 Likewise.
57519 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57520 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57521 (__get_clockfreq): Likewise.
57522 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57523 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57524 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57527 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57528 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57529 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57530 Likewise.
57531 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57532 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57533 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57535 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57536 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57537 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57538 Likewise.
57539 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57540 (posix_fallocate): Likewise.
57541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57542 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57543 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57544 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57545 (elf_machine_rela, elf_machine_rela_relative)
57546 (elf_machine_lazy_rel): Likewise.
57547 * time/asctime.c (asctime_internal): Likewise.
57548 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57549 * time/tzset.c (__tzset_parse_tz): Likewise.
57550 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57551 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57552 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57553 * wcsmbs/wcsmbsload.h: Likewise.
57554
57555 [BZ #15894]
57556 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57557
57558 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57559 (arena_get2): Remove THREAD_STATS conditionals.
57560 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57561 (__malloc_stats, int): Likewise.
57562
57563 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57564
57565 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57566 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57567
57568 * manual/setjmp.texi: Fix typos/grammar errors.
57569
57570 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57571 Only return early when n is <= 0. Delete unused return statement.
57572
57573 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57574 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57575 * debug/tst-longjmp_chk3.c: New file.
57576
57577 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57578 (test_main): Replace code with set_fortify_handler call.
57579 * debug/test-strcpy_chk.c: Likewise.
57580 * debug/tst-chk1.c: Likewise.
57581 * debug/tst-longjmp_chk.c: Likewise.
57582 * test-skeleton.c: Include fcntl.h & paths.h
57583 (set_fortify_handler): Define.
57584
57585 * debug/tst-longjmp_chk.c: Add header comment and include
57586 ../test-skeleton.c.
57587 (do_test): Mark static.
57588 (TEST_FUNCTION): Define.
57589
57590 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57591 (IP_PMTUDISC_INTERFACE): Likewise.
57592 (IP_MULTICAST_IF): Likewise.
57593 (IP_MULTICAST_TTL): Likewise.
57594 (IP_MULTICAST_LOOP): Likewise.
57595 (IP_ADD_MEMBERSHIP): Likewise.
57596 (IP_DROP_MEMBERSHIP): Likewise.
57597 (IP_UNBLOCK_SOURCE): Likewise.
57598 (IP_BLOCK_SOURCE): Likewise.
57599 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57600 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57601 (IP_MSFILTER): Likewise.
57602 (MCAST_JOIN_GROUP): Likewise.
57603 (MCAST_BLOCK_SOURCE): Likewise.
57604 (MCAST_UNBLOCK_SOURCE): Likewise.
57605 (MCAST_LEAVE_GROUP): Likewise.
57606 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57607 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57608 (MCAST_MSFILTER): Likewise.
57609 (IP_MULTICAST_ALL): Likewise.
57610 (IP_UNICAST_IF): Likewise.
57611
57612 * timezone/Makefile: Delete $(have-ksh) check.
57613 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57614 * timezone/tzselect.ksh: Add +x mode bits.
57615
57616 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57617 (ANON_INODE_FS_MAGIC): Likewise.
57618 (BDEVFS_MAGIC): Likewise.
57619 (BINFMTFS_MAGIC): Likewise.
57620 (BTRFS_TEST_MAGIC): Likewise.
57621 (CRAMFS_MAGIC_WEND): Likewise.
57622 (DEBUGFS_MAGIC): Likewise.
57623 (ECRYPTFS_SUPER_MAGIC): Likewise.
57624 (EXT3_SUPER_MAGIC): Likewise.
57625 (EXT4_SUPER_MAGIC): Likewise.
57626 (FUTEXFS_SUPER_MAGIC): Likewise.
57627 (HOSTFS_SUPER_MAGIC): Likewise.
57628 (HUGETLBFS_MAGIC): Likewise.
57629 (MINIX3_SUPER_MAGIC): Likewise.
57630 (MTD_INODE_FS_MAGIC): Likewise.
57631 (NILFS_SUPER_MAGIC): Likewise.
57632 (OPENPROM_SUPER_MAGIC): Likewise.
57633 (PIPEFS_MAGIC): Likewise.
57634 (PSTOREFS_MAGIC): Likewise.
57635 (QNX6_SUPER_MAGIC): Likewise.
57636 (RAMFS_MAGIC): Likewise.
57637 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57638 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57639 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57640 (SECURITYFS_MAGIC): Likewise.
57641 (SELINUX_MAGIC): Likewise.
57642 (SMACK_MAGIC): Likewise.
57643 (SOCKFS_MAGIC): Likewise.
57644 (SQUASHFS_MAGIC): Likewise.
57645 (STACK_END_MAGIC): Likewise.
57646 (TMPFS_MAGIC): Likewise.
57647 (USBDEVICE_SUPER_MAGIC): Likewise.
57648 (V9FS_MAGIC): Likewise.
57649 (XENFS_SUPER_MAGIC): Likewise.
57650 (CRAMFS_MAGIC): Fix typo in comment.
57651 (EXT2_SUPER_MAGIC): Update comment.
57652 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57653
57654 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57655
57656 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57657 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57658 * sysdeps/unix/sysv/linux/arm: Move directory from
57659 ports/sysdeps/unix/sysv/linux/arm.
57660 * README: Update listing for arm-*-linux-gnueabi.
57661
57662 * README: Remove mention of am33.
57663
57664 2014-02-07 Roland McGrath <roland@hack.frob.com>
57665
57666 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57667 than the comma operator, to avoid "rhs of comma has no effect"
57668 compiler warnings.
57669 (__sigfillset, __sigandset, __sigorset): Likewise.
57670 * include/signal.h (__sigemptyset): Likewise.
57671 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57672
57673 2014-02-07 Allan McRae <allan@archlinux.org>
57674
57675 * version.h (RELEASE): Set to "development".
57676 (VERSION): Set to "2.19.90"
57677 * NEWS: Add 2.20 section.
57678
57679 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57680
57681 [BZ #16529]
57682 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57683
57684 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57685
57686 * manual/contrib.texi: Update entry for Carlos O'Donell,
57687 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57688
57689 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57690
57691 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57692
57693 * sysdeps/unix/sysv/linux/kernel-features.h
57694 [__LINUX_KERNEL_VERSION >= 0x020621]
57695 (__ASSUME_PROC_PID_TASK_COMM): Define.
57696
57697 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57698
57699 [BZ #16398]
57700 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57701 conversion when destination buffer does not have enough space.
57702 * libio/tst-ftell-partial-wide.c: New test case.
57703 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57704
57705 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57706 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57707 Leonard and Allan McRae.
57708
57709 2014-02-04 David S. Miller <davem@davemloft.net>
57710
57711 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57712 32-bit.
57713
57714 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57715
57716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57717 New file
57718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57719 New file
57720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57721 New file.
57722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57723 New file.
57724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57725 New file.
57726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57727 New file.
57728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57729 New file.
57730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57731 New file.
57732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57733 New file.
57734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57735 New file.
57736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57737 New file.
57738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57739 New file.
57740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57741 New file.
57742
57743 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57744
57745 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57746 * shlib-versions: Likewise.
57747
57748 2014-02-04 Roland McGrath <roland@hack.frob.com>
57749 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57750
57751 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57752 (abilist-pattern): New variable, set to %-le.abilist.
57753
57754 * Makerules (abilist-pattern): New variable.
57755 (vpath): Use $(abilist-pattern) in place of %.abilist.
57756 (check-abi-% pattern rule): Likewise.
57757 (check-abi, update-abi): Likewise.
57758
57759 2014-02-04 Eric Wong <normalperson@yhbt.net>
57760
57761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57762
57763 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57764
57765 * manual/startup.texi: Add next, previous, and top entries for
57766 the `Program Arguments' and `Environment Variables' nodes.
57767
57768 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57769
57770 * manual/macros.texi: Add comments before MTASC-safety macros.
57771
57772 * manual/users.texi: Document MTASC-safety properties.
57773
57774 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57775 (pthread_getspecific, pthread_setspecific): Format with
57776 @deftypefun, and add @safety note.
57777 * manual/signal.texi: Move comments that analyze the above
57778 functions to their home place.
57779
57780 2014-02-03 Allan McRae <allan@archlinux.org>
57781
57782 * po/sl.po: Update Slovenian translation from translation project.
57783
57784 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57785
57786 * manual/time.texi (timegm): Add missing blank after @c.
57787 Reported by Joseph Myers <joseph@codesourcery.com>.
57788
57789 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57790
57791 * manual/check-safety.sh: New.
57792 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57793
57794 * manual/terminal.texi: Document MTASC-safety properties.
57795
57796 * manual/filesys.texi: Document MTASC-safety properties.
57797
57798 * manual/errno.texi: Document MTASC-safety properties.
57799
57800 * manual/intro.texi: Document safety identifiers and
57801 conditionals.
57802
57803 * manual/string.texi (wcstok): Fix prototype.
57804 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57805
57806 * manual/time.texi: Document MTASC-safety properties.
57807
57808 * manual/string.texi: Document MTASC-safety properties.
57809
57810 * manual/threads.texi: Document MTASC-safety properties.
57811
57812 * manual/stdio.texi: Document MTASC-safety properties.
57813
57814 * manual/syslog.texi: Document MTASC-safety properties.
57815
57816 * manual/sysinfo.texi: Document MTASC-safety properties.
57817
57818 * manual/startup.texi: Document MTASC-safety properties.
57819
57820 * manual/socket.texi: Document MTASC-safety properties.
57821
57822 * manual/signal.texi: Document MTASC-safety properties.
57823
57824 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
57825
57826 * manual/setjmp.texi: Document MTASC-safety properties.
57827
57828 * manual/search.texi: Document MTASC-safety properties.
57829
57830 * manual/resource.texi: Document MTASC-safety properties.
57831
57832 * manual/process.texi: Document MTASC-safety properties.
57833
57834 * manual/platform.texi: Document MTASC-safety properties.
57835
57836 * manual/pipe.texi: Document MTASC-safety properties.
57837
57838 * manual/pattern.texi: Document MTASC-safety properties.
57839
57840 * manual/message.texi: Document MTASC-safety properties.
57841
57842 [BZ #12751]
57843 * manual/memory.texi: Document MTASC-safety properties.
57844
57845 * manual/math.texi: Document MTASC-safety properties.
57846
57847 * manual/locale.texi: Document MTASC-safety properties.
57848
57849 * manual/llio.texi: Document MTASC-safety properties.
57850
57851 * manual/libdl.texi: New.
57852
57853 * manual/lang.texi: Document MTASC-safety properties.
57854
57855 * manual/job.texi: Document MTASC-safety properties.
57856
57857 * manual/getopt.texi: Document MTASC-safety properties.
57858
57859 * manual/ctype.texi: Document MTASC-safety properties.
57860
57861 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
57862
57863 [BZ #16046]
57864 * csu/libc-tls.c (static_map): Remove variable.
57865 (__libc_setup_tls): Use main executable's link map for TLS data.
57866 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57867 casing for LM_ID_BASE and GL(dl_nns).
57868 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57869 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
57870 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57871 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57872 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57873 member.
57874 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57875 l_phnum members.
57876
57877 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
57878
57879 * manual/debug.texi: Document MTASC-safety properties.
57880
57881 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
57882
57883 [BZ #16510]
57884 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57885 of __x86_64__ when disabling x87 inline functions.
57886
57887 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57888
57889 * manual/charset.texi: Document MTASC-safety properties.
57890
57891 * manual/crypt.texi: Document MTASC-safety properties.
57892
57893 * manual/conf.texi: Document MTASC-safety properties.
57894
57895 * manual/arith.texi: Document MTASC-safety properties.
57896
57897 * manual/argp.texi: Document MTASC-safety properties.
57898
57899 * manual/macros.texi: Introduce macros to document multi
57900 thread, asynchronous signal and asynchronous cancellation
57901 safety properties.
57902 * manual/intro.texi: Introduce the properties themselves.
57903
57904 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57905
57906 * sysdeps/sh/sh4/Makefile: New file.
57907
57908 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
57909
57910 * math/gen-libm-test.pl ($srcdir): New variable.
57911 ($auto_input): Use it.
57912
57913 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57914
57915 [BZ #16506]
57916 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57917 access beyond array bounds when parsing netgroups file.
57918
57919 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57920 the old buffer before realloc.
57921
57922 2014-01-27 Allan McRae <allan@archlinux.org>
57923
57924 * po/fr.po: Update French translation from translation project.
57925
57926 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57927
57928 * sysdeps/sh/libm-test-ulps: Regenerate.
57929
57930 2014-01-24 David S. Miller <davem@davemloft.net>
57931
57932 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57933
57934 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57935
57936 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57937 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57938
57939 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57940
57941 [BZ #16474]
57942 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57943 string pointers after reallocation.
57944
57945 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57946
57947 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57948 __SH4A__ instead of __SH_FPU_ANY__.
57949
57950 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57951
57952 * sysdeps/sh/fpu_control.h: New file.
57953 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57954 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57955 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57956 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57957 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57958 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57959 * sysdeps/sh/sys/ucontext.h: Remove.
57960 * sysdeps/sh/sys: Remove directory.
57961
57962 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57963
57964 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57965 s390/sys/ucontext.h.
57966 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57967 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57968
57969 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
57970
57971 [BZ #15605]
57972 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57973
57974 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57975
57976 [BZ #16431]
57977 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57978 Adjust the vDSO correctly for internal calls.
57979 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57980
57981 2014-01-20 Allan McRae <allan@archlinux.org>
57982
57983 * po/ca.po: Update Catalan translation from translation project.
57984
57985 2014-01-16 Mike Frysinger <vapier@gentoo.org>
57986
57987 * sysdeps/s390/sotruss-lib.c: New file.
57988
57989 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57990
57991 [BZ #16430]
57992 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57993 (__GI___gettimeofday): Alias for a different internal symbol to avoid
57994 local calls issues by not having a PLT stub required for IFUNC calls.
57995 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57996
57997 2014-01-16 Joseph Myers <joseph@codesourcery.com>
57998
57999 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58000 * math/test-fpucw-static.c: Likewise.
58001
58002 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58003
58004 [BZ #16453]
58005 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58006
58007 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58008
58009 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58010 implementation for powerpc.
58011
58012 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
58013
58014 [BZ #14782]
58015 * sysdeps/posix/system.c (__libc_system): Do not enable
58016 asynchronous cancellation.
58017
58018 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58019
58020 [BZ #16427]
58021 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58022 handling only for numbers special also in the IEEE case.
58023
58024 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58025
58026 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58027
58028 2014-01-11 Allan McRae <allan@archlinux.org>
58029
58030 * po/bg.po: Update Bulgarian translation from translation project.
58031
58032 * po/de.po: Update German translation from translation project.
58033
58034 2014-01-10 Roland McGrath <roland@hack.frob.com>
58035
58036 * sysdeps/generic/gcc-compat.h: New file.
58037
58038 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58039
58040 * benchtests/asin-inputs: Correct slow inputs.
58041 * benchtests/acos-inputs: Likewise.
58042
58043 2014-01-10 Allan McRae <allan@archlinux.org>
58044
58045 * po:sv.po: Update Swedish translation from translation project.
58046
58047 * po/vi.po: Update Vietnamese translation from translation project.
58048
58049 * po/eo.po: Update Esperanto translation from translation project.
58050
58051 * po/cs.po: Update Czech translation from translation project.
58052
58053 * po/nl.po: Update Dutch translation from translation project.
58054
58055 * po/pl.po: Update Polish translation from translation project.
58056
58057 * po/ru.po: Update Russian translation from translation project.
58058
58059 * po/uk.po: Update Ukrainian translation from translation project.
58060
58061 2014-01-08 Brooks Moses <bmoses@google.com>
58062
58063 * elf/dl-load.c: Fix comment typo.
58064
58065 2014-01-08 Carlos O'Donell <carlos@redhat.com>
58066
58067 * po/header.pot: Rename to...
58068 * po/pot.header: ... this.
58069 * po/Makefile: Use pot.header.
58070
58071 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58072 Maxim Kuvyrkov <maxim@kugelworks.com>
58073
58074 [BZ #16394]
58075 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58076 SRC and DEST against LEN.
58077
58078 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58079
58080 [BZ #16414]
58081 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58082 implementation.
58083 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58084
58085 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58086
58087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58088
58089 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58090
58091 [BZ #16408]
58092 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58093 for large positive arguments.
58094
58095 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58096
58097 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58098
58099 * math/auto-libm-test-in: Mark various tests with
58100 xfail-rounding:ldbl-128ibm.
58101 * math/auto-libm-test-out: Regenerated.
58102
58103 [BZ #16407]
58104 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58105 Increase overflow threshold.
58106
58107 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
58108
58109 [BZ #14286]
58110 * stdio-common/vfprintf.c: Check for integer overflow.
58111
58112 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58113
58114 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58115 the first argument and return value of __tls_get_addr_internal.
58116
58117 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58118
58119 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58120 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58121
58122 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58123
58124 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58125 * sysdeps/s390/rtld-global-offsets.sym: New file.
58126 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58127 GLIBC_2.19 symbol.
58128 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58130 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58131 ... this.
58132 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58133 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58134 ... this.
58135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58136 Regenerate.
58137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58138 Regenerate.
58139 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58140 halfs of GPRs for high_gprs contexts.
58141 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58142 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58143 field.
58144 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58145 uc_flags field.
58146 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58147 64 bit versions:
58148 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58149 for high GPRs (uc_high_gprs) and for future extensions
58150 (__reserved).
58151 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58152 for future extensions (__reserved).
58153 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58154 64 bit versions:
58155 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58156 SC_HIGHGPRS offset definition.
58157 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58158 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58159
58160 * Versions.def: Add GLIBC_2.19 for libpthread.
58161 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58162 siglongjmp for libpthread with GLIBC_2.19 symver.
58163 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58164 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58165 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58166 * sysdeps/s390/__longjmp.c: New file.
58167 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58168 * sysdeps/s390/longjmp.c: New file.
58169 * sysdeps/s390/setjmp.S: New file.
58170 * sysdeps/s390/sigjmp.S: New file.
58171 * sysdeps/s390/v1-longjmp.c: New file.
58172 * sysdeps/s390/v1-setjmp.h: New file.
58173 * sysdeps/s390/v1-sigjmp.c: New file.
58174 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58175 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58176 GLIBC_2.19 version.
58177 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58178 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58179 versioned symbols for ____longjmp_chk.
58180 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58181 Likewise.
58182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58183 Regenerate.
58184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58185 Regenerate.
58186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58187 Regenerate.
58188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58189 Regenerate.
58190 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58191 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58192 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58193 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58194 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58195 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58196 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58197 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58198 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58199 * sysdeps/s390/rtld-__longjmp.c: New file.
58200 * sysdeps/s390/rtld-setjmp.S: New file.
58201
58202 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58203
58204 [BZ #16400]
58205 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58206 Return -__logl (x) for small positive arguments without evaluating
58207 a polynomial.
58208
58209 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58210
58211 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58212 Rename to ...
58213 (__ptrace_peeksiginfo_args): ... this.
58214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58215 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58216 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58217
58218 2014-01-06 Allan McRae <allan@archlinux.org>
58219
58220 * inet/netinet/in.h: Fix typo in comment.
58221
58222 2014-01-05 Andreas Jaeger <aj@suse.de>
58223
58224 * sysdeps/i386/fpu/libm-test-ulps: Update.
58225
58226 2014-01-05 Allan McRae <allan@archlinux.org>
58227
58228 * po/libc.pot: Regenerated.
58229
58230 * malloc/memusagestat.c: Fix gettext call formatting.
58231
58232 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58233
58234 * nscd/nscd.c: Improve usage() output.
58235
58236 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58237
58238 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58239 * sysdeps/unix/sysv/linux/configure: Regenerated.
58240 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58241 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58242
58243 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58244
58245 [BZ #16390]
58246 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58247 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58248
58249 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58250
58251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58252 extra tokens at end of #undef directive.
58253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58254 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58255 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58256
58257 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58258
58259 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58260
58261 * math/auto-libm-test-in: Mark various tests with
58262 xfail-rounding:ldbl-128ibm.
58263 * math/auto-libm-test-out: Regenerated.
58264
58265 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58266
58267 [BZ #16386]
58268 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58269 numbers with subnormal high part when calculating exponent.
58270
58271 [BZ #16385]
58272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58273 fabs.
58274
58275 [BZ #16384]
58276 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58277 M_LN2l.
58278 (__ieee754_acoshl): Use __log1pl not __log1p.
58279
58280 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
58281
58282 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58283 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58284 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58285 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58286 (reused_arena, arena_get2): Convert to GNU style.
58287 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58288 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58289 (memalign_check, __malloc_set_state): Likewise.
58290 * malloc/mallocbug.c (main): Likewise.
58291 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58292 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58293 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58294 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58295 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58296 (__posix_memalign, malloc_info): Likewise.
58297 * malloc/malloc.h: Likewise.
58298 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58299 (mallochook, memalignhook, reallochook, mabort): Likewise.
58300 * malloc/mcheck.h: Likewise.
58301 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58302 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58303 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58304 * malloc/morecore.c (__default_morecore): Likewise.
58305 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58306 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58307 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58308 (print_and_abort): Likewise.
58309 * malloc/obstack.h: Likewise.
58310 * malloc/set-freeres.c (__libc_freeres): Likewise.
58311 * malloc/tst-mallocstate.c (main): Likewise.
58312 * malloc/tst-mtrace.c (main): Likewise.
58313 * malloc/tst-realloc.c (do_test): Likewise.
58314
58315 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58316
58317 [BZ #16366]
58318 * nscd/netgroupcache.c (do_notfound): New function.
58319 (addgetnetgrentX): Use it.
58320
58321 [BZ # 16365]
58322 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58323 NSS_STATUS_NOTFOUND.
58324
58325 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58326
58327 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58329
58330 2014-01-01 Allan McRae <allan@archlinux.org>
58331
58332 * scripts/update-copyrights: Update configure input file suffix.
58333
58334 * NEWS: Update copyright year.
58335 * catgets/gencat.c: Likewise.
58336 * csu/version.c: Likewise.
58337 * debug/catchsegv.sh: Likewise.
58338 * debug/pcprofiledump.c: Likewise.
58339 * debug/xtrace.sh: Likewise.
58340 * elf/ldconfig.c: Likewise.
58341 * elf/ldd.bash.in: Likewise.
58342 * elf/pldd.c: Likewise.
58343 * elf/sotruss.ksh: Likewise.
58344 * elf/sprof.c: Likewise.
58345 * iconv/iconv_prog.c: Likewise.
58346 * iconv/iconvconfig.c: Likewise.
58347 * locale/programs/locale.c: Likewise.
58348 * locale/programs/localedef.c: Likewise.
58349 * login/programs/pt_chown.c: Likewise.
58350 * malloc/memusage.sh: Likewise.
58351 * malloc/memusagestat.c: Likewise.
58352 * malloc/mtrace.pl: Likewise.
58353 * manual/libc.texinfo: Likewise.
58354 * nscd/nscd.c: Likewise.
58355 * nss/getent.c: Likewise.
58356 * nss/makedb.c: Likewise.
58357 * posix/getconf.c: Likewise.
58358 * scripts/test-installation.pl: Likewise.
58359
58360 * All files with FSF copyright notices: Update copyright dates
58361 using scripts/update-copyrights.
58362 * intl/plural.c: Regenerated.
58363 * locale/programs/charmap-kw.h: Likewise.
58364 * locale/programs/locfile-kw.h: Likewise.
58365
58366 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58367
58368 * sysdeps/unix/sysv/linux/configure: Regenerated.
58369 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58370 the linux/fanotify.h header.
58371 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58372 HAVE_LINUX_FANOTIFY_H is defined.
58373
58374 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58375
58376 * benchtests/cos-inputs: New inputs.
58377 * benchtests/sin-inputs: Likewise.
58378
58379 * benchtests/atan-inputs: New inputs. Fix name of multiple
58380 precision fallback inputs.
58381
58382 * benchtests/atanh-inputs: New inputs.
58383 * benchtests/tanh-inputs: Likewise.
58384
58385 * benchtests/acosh-inputs: New inputs.
58386 * benchtests/asinh-inputs: Likewise.
58387
58388 * benchtests/cosh-inputs: New inputs.
58389 * benchtests/sinh-inputs: Likewise.
58390
58391 * benchtests/acos-inputs: Add more inputs.
58392 * benchtests/asin-inputs: Likewise.
58393
58394 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58395
58396 [BZ #16375]
58397 * manual/arith.texi: Fix spelling.
58398 * manual/charset.texi: Likewise.
58399 * manual/errno.texi: Likewise.
58400 * manual/filesys.texi: Likewise.
58401 * manual/lang.texi: Likewise.
58402 * manual/llio.texi: Likewise.
58403 * manual/locale.texi: Likewise.
58404 * manual/message.texi: Likewise.
58405 * manual/resource.texi: Likewise.
58406 * manual/search.texi: Likewise.
58407 * manual/setjmp.texi: Likewise.
58408 * manual/stdio.texi: Likewise.
58409 * manual/string.texi: Likewise.
58410 * manual/sysinfo.texi: Likewise.
58411 * manual/time.texi: Likewise.
58412
58413 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58414
58415 * po/sl.po: New file.
58416
58417 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58418
58419 * .gitignore: Add core/.gdbinit/.gdb_history.
58420
58421 2013-12-27 Allan McRae <allan@archlinux.org>
58422
58423 [BZ #16369]
58424 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58425 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58426
58427 2013-12-24 Brooks Moses <bmoses@google.com>
58428
58429 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58430 all compilers that claim C++98 compliance, not just GCC.
58431 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58432 Likewise.
58433
58434 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58435
58436 * NEWS: Restore accidentally deleted bug-fix entries.
58437
58438 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58439 Ondřej Bílka <neleai@seznam.cz>
58440
58441 [BZ #15073]
58442 * malloc/malloc.c (_int_free): Perform sanity check only if we
58443 have_lock.
58444
58445 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
58446
58447 [BZ #12986]
58448 * manual/stdio.texi (String Input Conversions): Clarify that character
58449 classes are not supported.
58450
58451 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58452
58453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58454
58455 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58456
58457 [BZ #16337]
58458 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58459 Calculate results for small negative arguments directly rather
58460 than using reflection formula with special underflow handling.
58461
58462 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58463 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58464 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58465 (fchflags): Likewise.
58466 (revoke): Likewise.
58467 (setlogin): Likewise.
58468 (sigaltstack): Likewise.
58469 (wait4): Likewise.
58470 (sigblock): Remove.
58471 (sigsetmask): Likewise.
58472 (wait3): Likewise.
58473 (waitpid): Likewise.
58474 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58475 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58476 file.
58477 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58478 * sysdeps/unix/bsd/Makefile: ... here.
58479 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58480 * sysdeps/unix/bsd/Versions: ... here.
58481 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58482 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58483 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58484 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58485 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58486 * sysdeps/unix/bsd/sigblock.c: ... here.
58487 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58488 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58489 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58490 * sysdeps/unix/bsd/sigvec.c: ... here.
58491 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58492 * sysdeps/unix/bsd/tcdrain.c: ... here.
58493 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58494 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58495 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58496 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58497 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58498 * sysdeps/unix/bsd/wait.c: ... here.
58499 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58500 * sysdeps/unix/bsd/wait3.c: ... here.
58501 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58502 * sysdeps/unix/bsd/waitpid.c: ... here.
58503
58504 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58505
58506 [BZ #16356]
58507 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58508 round-to-nearest for [!USE_AS_EXPM1L].
58509 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58510 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58511 more tests of exp and exp10. Expect some exp10 tests to miss
58512 exceptions or fail in directed rounding modes.
58513 * math/auto-libm-test-out: Regenerated.
58514 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58515 (exp10_test_tonearest): New function.
58516 (exp10_towardzero_test_data): New array.
58517 (exp10_test_towardzero): New function.
58518 (exp10_downward_test_data): New array.
58519 (exp10_test_downward): New function.
58520 (exp10_upward_test_data): New array.
58521 (exp10_test_upward): New function.
58522 (main): Call the new functions.
58523 * sysdeps/i386/fpu/libm-test-ulps: Update.
58524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58525
58526 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58527
58528 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58529 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58530 * math/auto-libm-test-out: Regenerated.
58531 * math/libm-test.inc (acosh_test_data): Add more tests.
58532 (atanh_test_data): Likewise.
58533 (ceil_test_data): Likewise.
58534 (copysign_test_data): Likewise.
58535 * sysdeps/i386/fpu/libm-test-ulps: Update.
58536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58537
58538 * timezone/checktab.awk: Update from tzcode 2013i.
58539 * timezone/private.h: Likewise.
58540 * timezone/scheck.c: Likewise.
58541 * timezone/tzfile.h: Likewise.
58542 * timezone/tzselect.ksh: Likewise.
58543 * timezone/zdump.c: Likewise.
58544 * timezone/zic.c: Likewise.
58545
58546 * math/auto-libm-test-in: Add tests of cpow.
58547 * math/auto-libm-test-out: Regenerated.
58548 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58550 mpc_cc_c.
58551 (func_calc_desc): Add mpc_cc_c union field.
58552 (test_functions): Add cpow.
58553 (special_fill_2pi): New function.
58554 (special_real_inputs): Add 2pi.
58555 (calc_generic_results): Handle mpc_cc_c.
58556 * sysdeps/i386/fpu/libm-test-ulps: Update.
58557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58558
58559 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58560 csqrt, ctan and ctanh.
58561 * math/auto-libm-test-out: Regenerated.
58562 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58563 (TEST_COND_x86): Likewise.
58564 (ccos_test_data): Use AUTO_TESTS_c_c.
58565 (ccosh_test_data): Likewise.
58566 (cexp_test_data): Likewise.
58567 (clog_test_data): Likewise.
58568 (csqrt_test_data): Likewise.
58569 (ctan_test_data): Likewise.
58570 (ctan_tonearest_test_data): Likewise.
58571 (ctan_towardzero_test_data): Likewise.
58572 (ctan_downward_test_data): Likewise.
58573 (ctan_upward_test_data): Likewise.
58574 (ctanh_test_data): Likewise.
58575 (ctanh_tonearest_test_data): Likewise.
58576 (ctanh_towardzero_test_data): Likewise.
58577 (ctanh_downward_test_data): Likewise.
58578 (ctanh_upward_test_data): Likewise.
58579 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58580 mpc_c_c.
58581 (func_calc_desc): Add mpc_c_c union field.
58582 (FUNC_mpc_c_c): New macro.
58583 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58584 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58585 ctanh.
58586 (special_fill_min_subnorm_p120): New function.
58587 (special_real_inputs): Add min_subnorm_p120.
58588 (calc_generic_results): Handle mpc_c_c.
58589 * sysdeps/i386/fpu/libm-test-ulps: Update.
58590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58591
58592 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58593
58594 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58595 (do_sin_slow): New functions.
58596 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58597 (cslow2, csloww1, csloww2): Use the new functions.
58598
58599 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58600 Use M to change sign of result instead of X. Assume X is
58601 positive.
58602 (csloww1): Likewise.
58603 (__sin): Adjust.
58604 (__cos): Adjust.
58605
58606 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58607 arguments A and DA.
58608 (__sin): Adjust.
58609 (__cos): Likewise.
58610
58611 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58612 (__cos): Likewise.
58613 (sloww1): Don't adjust sign of DX.
58614 (csloww1): Likewise.
58615 (sloww2): Use X directly and don't adjust sign of DX.
58616 (csloww2): Likewise.
58617
58618 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58619
58620 * math/auto-libm-test-in: Add tests of cabs and carg.
58621 * math/auto-libm-test-out: Regenerated.
58622 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58623 (carg_test_data): Likewise.
58624 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58625 mpc_c_f.
58626 (func_calc_desc): Add mpc_c_f union field.
58627 (test_functions): Add cabs and carg.
58628 (calc_generic_results): Handle mpc_c_f.
58629
58630 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58631 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58632 as a macro and a compat symbol.
58633 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58634 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58635 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58636 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58637 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58639 not use .hidden.
58640 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58641 Likewise.
58642 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58643 Likewise.
58644 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58645 Likewise.
58646 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58647 Likewise.
58648 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58649 Likewise.
58650 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58651 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58652 from GLIBC_2.3.2.
58653
58654 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58655
58656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58657
58658 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58659
58660 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58661 trailing whitespace removed.
58662 * scripts/config.guess: Update to version 2013-11-29.
58663 * scripts/config.sub: Update to version 2013-10-01.
58664
58665 * math/auto-libm-test-in: Add tests of sincos.
58666 * math/auto-libm-test-out: Regenerated.
58667 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58668 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58669 mpfr_f_11.
58670 (func_calc_desc): Add mpfr_f_11 union field.
58671 (test_functions): Add sincos.
58672 (calc_generic_results): Handle mpfr_f_11.
58673 * sysdeps/i386/fpu/libm-test-ulps: Update.
58674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58675
58676 2013-12-19 Andreas Schwab <schwab@suse.de>
58677
58678 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58679 CALL_MCOUNT.
58680 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58681 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58682 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58683
58684 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58685
58686 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58687 * sysdeps/i386/fpu/libm-test-ulps: Update.
58688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58689
58690 [BZ #16293]
58691 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58692 round-to-nearest mode when using frndint.
58693 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58694 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58696 Likewise.
58697 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58698 sinh test to fail.
58699 * math/auto-libm-test-out: Regenerated.
58700 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58701 (TEST_COND_x86): Likewise.
58702 (expm1_tonearest_test_data): New array.
58703 (expm1_test_tonearest): New function.
58704 (expm1_towardzero_test_data): New array.
58705 (expm1_test_towardzero): New function.
58706 (expm1_downward_test_data): New array.
58707 (expm1_test_downward): New function.
58708 (expm1_upward_test_data): New array.
58709 (expm1_test_upward): New function.
58710 (main): Run the new test functions.
58711 * sysdeps/i386/fpu/libm-test-ulps: Update.
58712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58713
58714 * include/features.h: Update comment documenting feature test
58715 macros. Mention _DEFAULT_SOURCE in comment.
58716 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58717 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58718 _BSD_SOURCE and _SVID_SOURCE.
58719 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58720 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58721 !_SVID_SOURCE]: Likewise.
58722 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58723 (__USE_POSIX_IMPLICITLY): Define.
58724 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58725 (_POSIX_SOURCE): Undefine and redefine.
58726 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58727 (_POSIX_C_SOURCE): Likewise.
58728 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58729 (Feature Test Macros): Update documentation of default features.
58730
58731 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58732
58733 * benchtests/Makefile: Add bench-strtok.
58734 * benchtests/bench-strtok.c: New file: strtok benchtest.
58735
58736 2013-12-19 Allan McRae <allan@archlinux.org>
58737
58738 * manual/install.texi: Suppress menu for plain text output.
58739 * INSTALL: Regenerated.
58740
58741 2013-12-18 Brooks Moses <bmoses@google.com>
58742
58743 [BZ #15846]
58744 * misc/getauxval.c: Include errno.h.
58745 (__getauxval): Set errno to ENOENT if the requested type is not
58746 found.
58747 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58748 don't declare with __attribute_const__.
58749 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58750 * manual/startup.texi: Document that getauxval sets errno.
58751
58752 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58753
58754 * math/auto-libm-test-in: Add tests of jn and yn.
58755 * math/auto-libm-test-out: Regenerated.
58756 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58757 (yn_test_data): Likewise.
58758 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58759 mpfr_if_f.
58760 (func_calc_desc): Add mpfr_if_f union field.
58761 (FUNC_mpfr_if_f): New macro.
58762 (test_functions): Add jn and yn.
58763 (calc_generic_results): Assert type of second input for
58764 mpfr_ff_f. Handle mpfr_if_f.
58765 (output_for_one_input_case): Disable all checking for arguments
58766 fitting floating-point types in case of an integer argument.
58767 * sysdeps/i386/fpu/libm-test-ulps: Update.
58768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58769
58770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58771 Don't expect fegetround reference in libm.so.
58772
58773 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58774
58775 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58776 $(config-cflags-nofma).
58777
58778 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58779
58780 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58781 * math/auto-libm-test-out: Regenerated.
58782
58783 [BZ #16338]
58784 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58785 to determine exponent and adjust argument to have exponent of -1.
58786 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58787 log2.
58788 * math/auto-libm-test-out: Regenerated.
58789 * sysdeps/i386/fpu/libm-test-ulps: Update.
58790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58791
58792 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
58793
58794 * manual/probes.texi: Remove cases when per-thread arenas are
58795 disabled.
58796
58797 2013-12-18 Andreas Schwab <schwab@suse.de>
58798
58799 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58800 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58801 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58802 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58803 * sysdeps/i386/i686/multiarch/Makefile: Update.
58804 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58805
58806 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58807
58808 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58809 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58810
58811 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58812
58813 [BZ #15968]
58814 Support TZ transition times < 00:00:00.
58815 This is needed for version-3 tz-format files; it supports time
58816 stamps past 2037 for America/Godthab (the only entry in the tz
58817 database for which this change is relevant).
58818 * manual/time.texi (TZ Variable): Document transition times
58819 from -167:59:59 through -00:00:01.
58820 * time/tzset.c (tz_rule): Time of day is now signed.
58821 (__tzset_parse_tz): Parse negative time of day.
58822
58823 Document TZ transition times >= 25:00:00.
58824 * manual/time.texi (TZ Variable): Document transition times from
58825 25:00:00 through 167:59:59. These are already supported, and this
58826 support will help with version-3 tz-format files.
58827
58828 * manual/time.texi (TZ Variable): Modernize North America example
58829 to reflect current (i.e., 2007-and-later) daylight saving rules.
58830
58831 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58832
58833 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58834
58835 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58836 * sysdeps/unix/bsd/bits/stat.h: Likewise.
58837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58839 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58840 * sysdeps/unix/bsd/bsdstat.h: Likewise.
58841 * sysdeps/unix/bsd/clock.c: Likewise.
58842 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58843 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58844 * sysdeps/unix/bsd/init-posix.c: Likewise.
58845 * sysdeps/unix/bsd/poll.c: Likewise.
58846 * sysdeps/unix/bsd/ptsname.c: Likewise.
58847 * sysdeps/unix/bsd/seekdir.c: Likewise.
58848 * sysdeps/unix/bsd/setegid.c: Likewise.
58849 * sysdeps/unix/bsd/seteuid.c: Likewise.
58850 * sysdeps/unix/bsd/setgid.c: Likewise.
58851 * sysdeps/unix/bsd/setrgid.c: Likewise.
58852 * sysdeps/unix/bsd/setruid.c: Likewise.
58853 * sysdeps/unix/bsd/setsid.c: Likewise.
58854 * sysdeps/unix/bsd/setuid.c: Likewise.
58855 * sysdeps/unix/bsd/sigaction.c: Likewise.
58856 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58857 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58858 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58859 * sysdeps/unix/bsd/telldir.c: Likewise.
58860 * sysdeps/unix/bsd/times.c: Likewise.
58861 * sysdeps/unix/bsd/usleep.c: Likewise.
58862
58863 * misc/Makefile (install-lib): Remove libbsd-compat.a.
58864 ($(objpfx)libbsd-compat.a): Remove rule.
58865
58866 * include/features.h (__FAVOR_BSD): Do not define.
58867 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58868 features conflicting with POSIX.
58869 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58870 (_BSD_SOURCE): Remove description of not being a subset of other
58871 feature test macros.
58872 * manual/job.texi (getpgrp): Do not document BSD version.
58873 (getpgid): Do not document by reference to BSD getpgrp.
58874 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58875 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58876 * signal/signal.h [__FAVOR_BSD]: Likewise.
58877 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58878 instead of making contents conditional on [__FAVOR_BSD].
58879 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58880
58881 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58882
58883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58884
58885 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58886
58887 [BZ #16314]
58888 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58889 values below 2**-450, not 2**-500.
58890 * math/auto-libm-test-in: Don't allow spurious underflow from
58891 hypot.
58892 * math/auto-libm-test-out: Regenerated.
58893
58894 [BZ #16316]
58895 [BZ #16330]
58896 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58897 values of ha and hb and sort them after adjusting subnormal
58898 arguments.
58899 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58900 Likewise.
58901 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58902 values of ea and eb and sort them after adjusting subnormal
58903 arguments.
58904 * math/auto-libm-test-in: Do not expect some hypot tests of
58905 subnormals to fail. Add more hypot tests.
58906 * math/auto-libm-test-out: Regenerated.
58907
58908 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58909
58910 [BZ #13304]
58911 * sysdeps/sh/s_fma.c: New file.
58912 * sysdeps/sh/s_fmaf.c: New file.
58913 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
58914 version.
58915 * sysdeps/sh/Implies: Add sh/soft-fp.
58916
58917 2013-12-16 Roland McGrath <roland@hack.frob.com>
58918
58919 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
58920 level of indirection to members `objname', `errstring', `malloced'.
58921 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58922 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
58923 it as the __longjmp argument (just pass 1 instead).
58924 (_dl_catch_error): Initialize C with argument pointers and address of
58925 volatile local ERRCODE rather than copying values out of C at return.
58926
58927 2013-12-16 Joseph Myers <joseph@codesourcery.com>
58928
58929 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58930 * math/auto-libm-test-out: Regenerated.
58931 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58932 (hypot_test_data): Likewise.
58933 (pow_test_data): Likewise.
58934 (pow_tonearest_test_data): Likewise.
58935 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58936 mpfr_ff_f.
58937 (func_calc_desc): Add mpfr_ff_f union field.
58938 (FUNC_mpfr_ff_f): New macro.
58939 (test_functions): Add atan2, hypot and pow.
58940 (special_fill_min): New function.
58941 (special_fill_minus_min): Likewise.
58942 (special_fill_min_subnorm): Likewise.
58943 (special_fill_minus_min_subnorm): Likewise.
58944 (special_real_inputs): Add min, -min, min_subnorm and
58945 -min_subnorm.
58946 (calc_generic_results): Handle mpfr_ff_f.
58947 * sysdeps/i386/fpu/libm-test-ulps: Update.
58948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58949
58950 2013-12-16 Will Newton <will.newton@linaro.org>
58951
58952 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58953 (Aligned Memory Blocks): Add documentation for aligned_alloc
58954 and suggest it as an alternative to posix_memalign.
58955 (Hooks for Malloc): Document __memalign_hook is also called
58956 for aligned_alloc. (Summary of Malloc): Add summary for
58957 aligned alloc. Document __memalign_hook is also called
58958 for aligned_alloc.
58959
58960 2013-12-16 Will Newton <will.newton@linaro.org>
58961
58962 * manual/memory.texi (Malloc Examples): Clarify default
58963 alignment documentation. Suggest posix_memalign rather
58964 than memalign or valloc.
58965 (Aligned Memory Blocks): Remove suggestion to use memalign
58966 or valloc. Remove obsolete comment about BSD.
58967 Document memalign errno values and mark the function obsolete.
58968 Document posix_memalign returned error codes. Mark valloc
58969 as obsolete. (Hooks for Malloc): __memalign_hook is also
58970 called for posix_memalign and valloc.
58971 (Summary of Malloc): Add posix_memalign to function summary.
58972 __memalign_hook is also called for posix_memalign and valloc.
58973
58974 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58975
58976 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58977 TAYLOR_SIN.
58978 (__sin): Adjust.
58979 (__cos): Likewise.
58980 (sloww): Use mynumber union. Expand ternary operator into
58981 if-else statements.
58982 (cslow): use mynumber union.
58983
58984 2013-12-16 Allan McRae <allan@archlinux.org>
58985
58986 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58987 * configure: Regenerated.
58988
58989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58990
58991 [BZ #14120]
58992 * configure.ac: Added --enable-maintainer-mode. Check for
58993 autoconf when enabled.
58994 * configure: Regenerated.
58995
58996 * nscd/nscd.service: New file.
58997 * nscd/nscd.tmpfiles: New file.
58998
58999 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
59000
59001 [BZ #12100]
59002 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59003 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59004 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59005 (strstr): Add __strstr_sse2_unaligned ifunc.
59006 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59007 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59008 (strcasestr): Remove __strcasestr_sse42 ifunc.
59009 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59012
59013 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59014
59015 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59016 * sysdeps/sh/bits/fenv.h: ... here.
59017 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59018
59019 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59020
59021 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59022
59023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59024 hypotf multiarch implementations.
59025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59026 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59028 multiarch hypot for PPC64.
59029 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59030 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59031 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59032 multiarch hypotf for PPC64.
59033
59034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59035 modff multiarch implementations.
59036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59039 multiarch modf for PPC64.
59040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59043 multiarch modff for PPC64.
59044
59045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59046 and logl multiarch implementations.
59047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59050 multiarch logb for PPC64.
59051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59054 multiarch logb for PPC64.
59055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59058 multiarch logb for PPC64.
59059
59060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59061 isinff multiarch implementation.
59062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59063 file.
59064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59066 multiarch isinf for PPC64.
59067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59068 file.
59069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59070 multiarch isinff for PPC64.
59071
59072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59073 finitef multiarch implementation.
59074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59075 file.
59076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59078 multiarch finite for PPC64.
59079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59080 file.
59081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59082 multiarch finitef for PPC64.
59083
59084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59085 lrint multiarch implementation.
59086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59087 file.
59088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59090 multiarch llrint for PPC64.
59091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59092 multiarch lrint for PPC64.
59093
59094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59095 copysignf multiarch implementation.
59096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59097 file.
59098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59099 file.
59100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59101 multiarch copysign for PPC64.
59102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59103 multiarch copysignf for PPC64.
59104
59105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59106 multiarch implementation.
59107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59108 file.
59109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59110 file.
59111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59112 file.
59113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59114 file.
59115 multiarch llround for PPC64.
59116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59117 multiarch trunc for PPC64.
59118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59119 multiarch truncf for PPC64.
59120
59121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59122 multiarch implementation.
59123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59124 file.
59125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59126 file.
59127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59128 file.
59129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59130 file.
59131 multiarch llround for PPC64.
59132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59133 multiarch round for PPC64.
59134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59135 multiarch roundf for PPC64.
59136
59137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59138 multiarch implementation.
59139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59140 file.
59141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59142 file.
59143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59144 file.
59145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59146 file.
59147 multiarch llround for PPC64.
59148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59149 multiarch floor for PPC64.
59150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59151 multiarch floorf for PPC64.
59152
59153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59154 multiarch implementation.
59155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59156 file.
59157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59158 file.
59159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59160 file.
59161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59162 file.
59163 multiarch llround for PPC64.
59164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59165 multiarch ceil for PPC64.
59166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59167 multiarch ceilf for PPC64.
59168
59169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59170 multiarch implementation.
59171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59172 file.
59173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59174 file.
59175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59176 file.
59177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59178 multiarch llround for PPC64.
59179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59180 multiarch lround for PPC64.
59181
59182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59183 multiarch implementation.
59184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59187 file.
59188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59191 multiarch isnan for PPC64.
59192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59193 multiarch isnanf for PPC64.
59194
59195 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59196 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59197 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59198 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59199 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59201
59202 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59206
59207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59208 multiarch implementations.
59209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59210 (__libc_ifunc_impl_list): Likewise.
59211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59212 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59213 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59214 multiarch stpcpy for PPC64.
59215
59216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59217 multiarch implementations.
59218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59219 (__libc_ifunc_impl_list): Likewise.
59220 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59221 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59222 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59223 multiarch strcpy for PPC64.
59224
59225 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59226 redefine function name.
59227 (_wordcopy_fwd_dest_aligned): Likewise.
59228 (_wordcopy_bwd_aligned): Likewise.
59229 (_wordcopy_bwd_dest_aligned): Likewise.
59230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59231 multiarch implementations.
59232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59233 (__libc_ifunc_impl_list): Likewise.
59234 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59235 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59236 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59237 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59238 multiarch wcscpy for PPC64.
59239
59240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59241 multiarch implementations.
59242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59243 (__libc_ifunc_impl_list): Likewise.
59244 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59245 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59246 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59247 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59248 multiarch wcscpy for PPC64.
59249
59250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59251 multiarch implementations.
59252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59253 (__libc_ifunc_impl_list): Likewise.
59254 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59255 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59256 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59257 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59258 multiarch wcsrchr for PPC64.
59259
59260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59261 multiarch implementations.
59262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59263 (__libc_ifunc_impl_list): Likewise.
59264 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59265 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59266 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59267 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59268 multiarch wcschr for PPC64.
59269
59270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59271 multiarch implementations.
59272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59273 (__libc_ifunc_impl_list): Likewise.
59274 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59275 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59276 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59277 multiarch strchrnul for PPC64.
59278
59279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59280 implementations.
59281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59282 (__libc_ifunc_impl_list): Likewise.
59283 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59284 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59285 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59286 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59287 strchr for PPC64.
59288
59289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59290 implementations.
59291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59292 (__libc_ifunc_impl_list): Likewise.
59293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59295 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59296 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59297 strncmp for PPC64.
59298
59299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59300 multiarch implementations.
59301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59302 (__libc_ifunc_impl_list): Likewise.
59303 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59304 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59305 strncasecmp for PPC64.
59306 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59307 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59308 multiarch strncasecmp_l for PPC64.
59309
59310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59311 multiarch implementations.
59312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59313 (__libc_ifunc_impl_list): Likewise.
59314 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59316 multiarch strcasecmp for PPC64.
59317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59318 file.
59319 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59320 multiarch strcasecmp_l for PPC64.
59321
59322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59323 implementations.
59324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59325 (__libc_ifunc_impl_list): Likewise.
59326 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59327 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59328 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59329 strnlen for PPC64.
59330
59331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59332 implementations.
59333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59334 (__libc_ifunc_impl_list): Likewise.
59335 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59336 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59337 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59338 strlen for PPC64.
59339
59340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59341 implementations.
59342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59343 (__libc_ifunc_impl_list): Likewise.
59344 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59345 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59346 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59347 rawmemrchr for PPC64.
59348
59349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59350 implementation.
59351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59352 (__libc_ifunc_impl_list): Likewise.
59353 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59354 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59355 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59356 memrchr for PPC64.
59357
59358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59359 implementation.
59360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59361 (__libc_ifunc_impl_list): Likewise.
59362 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59363 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59364 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59365 memchr for PPC64.
59366
59367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59368 implementation.
59369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59370 (__libc_ifunc_impl_list): Likewise.
59371 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59372 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59373 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59374 mempcpy for PPC64.
59375
59376 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59377 avoid cretion of __bzero symbol.
59378 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59379 Likewise.
59380 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59381 Likewise.
59382 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59383 Likewise.
59384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59385 multiarch implementations.
59386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59387 (__libc_ifunc_impl_list): Likewise.
59388 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59389 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59390 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59391 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59392 bzero for PPC32.
59393 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59394 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59395 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59396 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59397 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59398 memset for PPC64.
59399 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59400
59401 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59403 implementations.
59404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59405 (__libc_ifunc_impl_list): Likewise.
59406 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59407 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59408 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59409 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59410 memcmp for PPC64.
59411
59412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59413 multiarch for POWER/PPC64.
59414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59415 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59418 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59419 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59420 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59421 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59422 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59423 memcpy for PPC64.
59424
59425 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59426 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59427 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59428 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59429 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59430 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59431 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59432 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59433 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59434 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59435 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59436 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59437 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59438 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59439 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59447
59448 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59449
59450 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59451
59452 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59453
59454 * benchtests/Makefile (bench): Add exp2 and log2.
59455 (LDLIBS-bench-exp2): Add -lm.
59456 (LDLIBS-bench-log2): Likewise.
59457 * benchtests/exp2-inputs: New inputs file.
59458 * benchtests/log2-inputs: New inputs file.
59459 * benchtests/log-inputs: Add new inputs.
59460 * benchtests/tan-inputs: Likewise.
59461
59462 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59463
59464 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59465 definition...
59466 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59467 (csloww2): ... from here.
59468
59469 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59470 instead of structures.
59471 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59472 (POLYNOMIAL): Likewise.
59473 (TAYLOR_SLOW): Likewise.
59474 (__sin): Likewise.
59475 (__cos): Likewise.
59476 (slow1): Likewise.
59477 (slow2): Likewise.
59478 (sloww): Likewise.
59479 (sloww1); Likewise.
59480 (sloww2): Likewise.
59481 (bsloww1): Likewise.
59482 (bsloww2): Likewise.
59483 (cslow2): Likewise.
59484 (csloww): Likewise.
59485 (csloww1): Likewise.
59486 (csloww2): Likewise.
59487
59488 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59489
59490 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59491 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59492 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59493 * malloc/hooks.c (realloc_check): Likewise.
59494
59495 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59496 * malloc/arena.c: Remove PER_THREAD conditional.
59497 [!PER_THREAD]: Remove code.
59498 (ptmalloc_unlock_all2): Likewise.
59499 (ptmalloc_init): Likewise.
59500 (_int_new_arena): Likewise.
59501 (arena_get2): Likewise.
59502 * malloc/hooks.c (__malloc_get_state): Likewise.
59503 (__malloc_set_state): Likewise.
59504 * malloc/malloc.c: Likewise.
59505 (struct malloc_state): Likewise.
59506 (struct malloc_par): Likewise.
59507 (__libc_realloc): Likewise.
59508 (__libc_mallopt): Likewise.
59509
59510 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59511
59512 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59513
59514 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59515
59516 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59517 macro to a function. Check for zero perturb_byte.
59518 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59519
59520 * malloc/malloc.c: (force_reg): Remove.
59521 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59522 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59523 force_reg by atomic_forced_read.
59524 * malloc/arena.c (ptmalloc_init): Likewise.
59525 * malloc/hooks.c (top_check): Likewise.
59526
59527 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59528
59529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59530
59531 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59532
59533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59534
59535 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59536
59537 * math/auto-libm-test-in: Add tests of lgamma.
59538 * math/auto-libm-test-out: Regenerated.
59539 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59540 (M_LOG_2_SQRT_PIl): Likewise.
59541 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59543 mpfr_f_f1.
59544 (func_calc_desc): Add mpfr_f_f1 union field.
59545 (ARGS1): New macro.
59546 (ARGS2): Likewise.
59547 (ARGS3): Likewise.
59548 (ARGS4): Likewise.
59549 (RET1): Likewise.
59550 (RET2): Likewise.
59551 (CALC): Likewise.
59552 (FUNC): Likewise.
59553 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59554 (test_functions): Add lgamma.
59555 (calc_generic_results): Handle mpfr_f_f1.
59556 * sysdeps/i386/fpu/libm-test-ulps: Update.
59557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59558
59559 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59560
59561 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59562 __mpn_add_n for PowerPC64/POWER7.
59563 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59564 __mpn_sub_n for PowerPC64/POWER7.
59565
59566 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59567 __mpn_addmul_1 for PowerPC64.
59568 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59569 __mpn_submul_1 for PowerPC64.
59570 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59571 for PowerPC64.
59572 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59573 for PowerPC64.
59574
59575 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59576
59577 [BZ #15089]
59578 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59579
59580 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59581
59582 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59583
59584 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59585 add multiarch folders.
59586 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59587 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59588 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59589 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59590 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59591 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59592 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59593 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59594 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59595 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59596 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59603
59604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59605 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59607 New file.
59608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59609 New file.
59610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59611 multiarch __ieee754_hypot for PowerPC32.
59612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59613 New file.
59614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59615 New file.
59616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59617 multiarch __ieee754_hypotf for PowerPC32.
59618
59619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59620 long_double_symbol only if __logbl is defined.
59621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59622 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59624 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59626 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59628 path for implementation.
59629 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59630 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59632 logb, and logbl multiarch implementations for PowerPC32.
59633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59634 file.
59635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59636 file.
59637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59638 multiarch logb for PowerPC32.
59639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59640 file.
59641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59642 file.
59643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59644 multiarch logbf for PowerPC32.
59645 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59647 file.
59648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59649 multiarch logbl implementation for PowerPC32.
59650
59651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59652 and modff multiarch implementations.
59653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59654 New file.
59655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59656 New file.
59657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59658 multiarch modf for PowerPC32.
59659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59660 New file.
59661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59662 New file.
59663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59664 multiarch modff for PowerPC32.
59665
59666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59667 and lrintf multiarch implementations.
59668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59669 New file.
59670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59671 New file.
59672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59673 multiarch lrint for PowerPC32.
59674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59675 file: multiarch lrintf for PowerPC32.
59676
59677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59678 and lroundf multiarch implementations.
59679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59680 New file.
59681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59682 New file.
59683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59684 New file.
59685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59686 multiarch lround for PowerPC32.
59687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59688 file: multiarch lroundf for PowerPC32.
59689
59690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59691 copysign and copysignf multiarch implementations.
59692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59693 New file.
59694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59695 New file.
59696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59697 file: multiarch copysign for PowerPC32.
59698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59699 file: multiarch copysignf for PowerPC32.
59700
59701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59702 and truncf multiarch implementations.
59703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59704 New file.
59705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59706 file.
59707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59708 multiarch trunc for PowerPC32.
59709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59710 New file.
59711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59712 New file.
59713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59714 multiarch truncf for PowerPC32.
59715
59716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59717 and roundf multiarch implementations.
59718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59719 New file.
59720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59721 file.
59722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59723 multiarch round for PowerPC32.
59724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59725 New file.
59726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59727 New file.
59728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59729 multiarch roundf for PowerPC32.
59730
59731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59732 and floorf multiarch implementations.
59733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59734 New file.
59735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59736 file.
59737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59738 multiarch floor for PowerPC32.
59739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59740 New file.
59741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59742 New file.
59743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59744 multiarch floorf for PowerPC32.
59745
59746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59747 and ceilf multiarch implementations.
59748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59749 New file.
59750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59751 file.
59752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59753 multiarch ceil for PowerPC32.
59754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59755 New file.
59756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59757 file.
59758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59759 multiarch ceilf for PowerPC32.
59760
59761 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59762 is defined.
59763 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59764 FINITEF is defined.
59765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59766 and finitef multiarch implementations.
59767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59768 New file.
59769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59770 file.
59771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59772 multiarch finite for PowerPC32.
59773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59774 New file.
59775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59776 file: multiarch finitef for PowerPC32.
59777
59778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59779 and isinff multiarch implementations.
59780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59781 file.
59782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59783 file.
59784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59785 multiarch isinf for PowerPC32.
59786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59787 New file.
59788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59789 multiarch isinff for PowerPC32.
59790
59791 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59792 alias when __isnan is defined.
59793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59794 and isnanf multiarch implementations.
59795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59796 file.
59797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59798 file.
59799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59800 file.
59801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59802 file.
59803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59804 multiarch isnan for PowerPC32.
59805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59806 New file.
59807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59808 New file.
59809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59810 multiarch isnanf for PowerPC32.
59811
59812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59813 and sqrtf multiarch implementations.
59814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59815 file.
59816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59817 file.
59818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59819 multiarch sqrt for PowerPC32.
59820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59821 file.
59822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59823 file.
59824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59825 multiarch sqrtf for PowerPC32.
59826
59827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59828 and llroundf multiarch implementations.
59829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59830 New file.
59831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59832 New file.
59833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59834 New file.
59835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59836 file: multiarch llround for PowerPC32.
59837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59838 file: multiarch llroundf for PowerPC32.
59839
59840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59841 multiarch PowerPC32 fpu implementations.
59842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59843 New file.
59844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59845 New file.
59846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59847 multiarch llrint for PowerPC32.
59848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59849 New file.
59850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59851 New file.
59852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59853 file.
59854
59855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59856
59857 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59858 file.
59859 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59860 file.
59861 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59862 file.
59863 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59864 multiarch wordcopy for PPC32.
59865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59866 wordcopy objects.
59867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59868 (__libc_ifunc_impl_list): Likewise.
59869 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59870 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59871 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59872 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59873 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59874 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59875
59876 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59878 file.
59879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59880 file.
59881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59882 file.
59883 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59884 multiarch wcscpy for PPC32.
59885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59886 multiarch objects.
59887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59888 (__libc_ifunc_impl_list): Likewise.
59889 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59890 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59891 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59892 sysdeps/powerpc/power6/wcscpy.c.
59893
59894 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59896 file.
59897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59898 file.
59899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59900 file.
59901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59902 multiarch wcsrchr for PPC32.
59903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59904 multiarch objects.
59905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59906 (__libc_ifunc_impl_list): Likewise.
59907 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59908 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59909 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59910 sysdeps/powerpc/power6/wcsrchr.c.
59911
59912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59913 file.
59914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59915 file.
59916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59918 multiarch wcschr for PPc32.
59919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59920 multiarch objects.
59921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59922 (__libc_ifunc_impl_list): Likewise.
59923 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59924 * sysdeps/powerpc/power6/wcschr.c: ... to here.
59925 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59926 sysdeps/powerpc/power6/wcschr.c.
59927
59928 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59929 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59930 file.
59931 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59932 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59933 file: multiarch strchr for PPC32.
59934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59935 multiarch objects.
59936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59937 (__libc_ifunc_impl_list): Likewise.
59938
59939 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59940 name.
59941 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59942 file.
59943 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59944 file.
59945 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59946 multiarch strchrnul for PPC32.
59947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59948 multiarch objects.
59949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59950 (__libc_ifunc_impl_list): Likewise.
59951
59952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59953 file.
59954 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59955 multiarch strncasecmp for PPC32.
59956 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59957 file.
59958 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59959 multiarch strncasecmp_l for PPC32.
59960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59961 strncasecmp multiarch objects.
59962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59963 (__libc_ifunc_impl_list): Likewise.
59964
59965 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59966 file.
59967 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59968 multiarch strncasecmp for PPC32.
59969 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59970 New file.
59971 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59972 multiarch strcasecmp_l for PPC32.
59973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59974 multiarch objects.
59975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59976 (__libc_ifunc_impl_list): Likewise.
59977
59978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59979 file.
59980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59981 file.
59982 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59983 multiarch strncmp for PPC32.
59984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59985 multiarch objects.
59986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59987 (__libc_ifunc_impl_list): Likewise.
59988
59989 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59990 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59991 file.
59992 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59993 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59995 multiarch objects.
59996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59997 (__libc_ifunc_impl_list): Likewise.
59998
59999 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60000 file.
60001 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60002 file.
60003 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60005 multiarch objects.
60006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60007 (__libc_ifunc_impl_list): Likewise.
60008
60009 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60010 file.
60011 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60012 file.
60013 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60014 multiarch rawmemchr for PPC32.
60015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60016 multiarch objects.
60017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60018 (__libc_ifunc_impl_list): Likewise.
60019
60020 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60021 file.
60022 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60023 file.
60024 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60025 file: memrchr multiarch for PPC32.
60026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60027 multiarch objects.
60028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60029 (__libc_ifunc_impl_list): Likewise.
60030
60031 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60032 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60033 file.
60034 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60035 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60036 multiarch memchr for PPC32.
60037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60038 multiarch objects.
60039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60040 (__libc_ifunc_impl_list): Likewise.
60041
60042 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60043 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60044 file.
60045 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60046 file.
60047 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60048 file: multiarch mempcpy for PPC32.
60049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60050 multiarch objects.
60051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60052 (__libc_ifunc_impl_list): Likewise.
60053
60054 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60055 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60056 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60057 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60058 multiarch bzero for PPC32.
60059 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60060 file.
60061 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60062 file.
60063 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60064 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60065 file: multiarch memset for PPC32.
60066 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60068 memset multiarch objects.
60069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60070 (__libc_ifunc_impl_list): Likewise.
60071
60072 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60073 file.
60074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60076 memcmp for PPC32.
60077 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60079 multiarch objects.
60080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60081 (__libc_ifunc_impl_list): Likewise.
60082
60083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60084 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60085 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60086 file.
60087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60088 file.
60089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60090 file.
60091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60092 multiarch memcpy for PPC32.
60093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60094 multiarch objects.
60095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60096 (__libc_ifunc_impl_list): Likewise.
60097
60098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60099 support multiarch for POWER/PPC32.
60100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60101 Likewise.
60102 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60104 Implies file to make multiarch folder appers before the fpu and
60105 default folder for power4 configuration.
60106
60107 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60108
60109 * scripts/bench.pl: Append volatile keyword to type.
60110
60111 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60112
60113 * sysdeps/sh/sotruss-lib.c: New file.
60114 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60115
60116 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60117
60118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60119
60120 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60121
60122 [BZ #6810]
60123 * math/w_tgamma.c: Include <errno.h>.
60124 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60125 * math/w_tgammaf.c: Include <errno.h>.
60126 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60127 * math/w_tgammal.c: Include <errno.h>.
60128 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60129 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60130 underflow. Add more tgamma tests.
60131 * math/auto-libm-test-out: Regenerated.
60132 * sysdeps/i386/fpu/libm-test-ulps: Update.
60133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60134
60135 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60136 sin, sinh, tan, tanh, tgamma, y0 and y1.
60137 * math/auto-libm-test-out: Regenerated.
60138 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60139 (TEST_COND_x86): Likewise.
60140 (M_E2l): Remove macro.
60141 (M_E3l): Likewise.
60142 (M_2_SQRT_PIl): Likewise.
60143 (M_SQRT_PIl): Likewise.
60144 (M_1_DIV_El): Likewise.
60145 (log_test_data): Use AUTO_TESTS_f_f.
60146 (log10_test_data): Likewise.
60147 (log1p_test_data): Likewise.
60148 (log2_test_data): Likewise.
60149 (sin_test_data): Likewise.
60150 (sin_tonearest_test_data): Likewise.
60151 (sin_towardzero_test_data): Likewise.
60152 (sin_downward_test_data): Likewise.
60153 (sin_upward_test_data): Likewise.
60154 (sinh_test_data): Likewise.
60155 (sinh_tonearest_test_data): Likewise.
60156 (sinh_towardzero_test_data): Likewise.
60157 (sinh_downward_test_data): Likewise.
60158 (sinh_upward_test_data): Likewise.
60159 (tan_test_data): Likewise.
60160 (tan_tonearest_test_data): Likewise.
60161 (tan_towardzero_test_data): Likewise.
60162 (tan_downward_test_data): Likewise.
60163 (tan_upward_test_data): Likewise.
60164 (tanh_test_data): Likewise.
60165 (tgamma_test_data): Likewise.
60166 (y0_test_data): Likewise.
60167 (y1_test_data): Likewise.
60168 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60169 (special_real_inputs): Add pi/4.
60170 * sysdeps/i386/fpu/libm-test-ulps: Update.
60171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60172
60173 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60174
60175 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60176 "longjmp_target" static probes.
60177 (__longjmp): Rename to __longjmp_symbol.
60178 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60179 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60180 on which longjmp to generate.
60181 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60182 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60183 probe.
60184 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60185 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60186 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60187 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60188 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60189 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60191 __longjmp_symbol based on which __longjmp to generate.
60192 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60193 probe.
60194 (setjmp): Rename to setjmp_symbol.
60195 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60196 (_setjmp): Rename to _setjmp_symbol.
60197 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60198 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60199 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60200 which setjmp to generate.
60201 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60202 "longjmp_target" static probes.
60203
60204 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60205
60206 * benchtests/README: Add note about output arguments.
60207 * benchtests/bench-sincos.c: Remove file.
60208 * benchtests/sincos-inputs: New file.
60209 * scripts/bench.pl: Identify output arguments and define
60210 static variables for them.
60211
60212 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60213
60214 [BZ #15941]
60215 * Makefile (INSTALL): Add install-plain.texi as the primary
60216 dependency.
60217 * manual/install-plain.texi: New file.
60218 * manual/install.texi: Include node directive only for
60219 non-plaintext output.
60220
60221 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60222
60223 * stdlib/longlong.h: Update from GCC.
60224
60225 [BZ #6807]
60226 [BZ #15901]
60227 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60228 * math/w_j0f.c (y0f): Likewise.
60229 * math/w_j0l.c (__y0l): Likewise.
60230 * math/w_j1.c (y1): Likewise.
60231 * math/w_j1f.c (y1f): Likewise.
60232 * math/w_j1l.c (__y1l): Likewise.
60233 * math/w_jn.c (yn): Likewise.
60234 * math/w_jnf.c (ynf): Likewise.
60235 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60236 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60237 value for Bessel function domain errors outside _SVID_ mode.
60238 Adjust sign of return value for yn (negative integer, 0).
60239 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60240 by zero in return for negative x and set sign appropriately for
60241 negative n.
60242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60244 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60245 expectations in error cases.
60246 (y1_test_data): Likewise.
60247 (yn_test_data): Likewise.
60248 * sysdeps/i386/fpu/libm-test-ulps: Update.
60249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60250
60251 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60252
60253 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60254 "64" to "64-v1". Add "64-v2".
60255 (abi-64-options): Rename to ...
60256 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60257 (abi-64-condition): Rename to ...
60258 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60259 (abi-64-ld-soname): Rename to ...
60260 (abi-64-v1-ld-soname): ... this.
60261 (abi-64-v2-options): Define.
60262 (abi-64-v2-condition): Likewise.
60263 (abi-64-v2-ld-soname): Likewise.
60264 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60265 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60269
60270 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60271 Alan Modra <amodra@gmail.com>
60272
60273 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60274 New versions for use with the ELFv2 ABI.
60275 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60276 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60277 declaration.
60278 (struct La_ppc64v2_retval): Likewise.
60279 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60280 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60281 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60282 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60283 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60284 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60285 Do not save or restore CR.
60286 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60287 (_dl_profile_resolve): Do no save or restore CR. Support extended
60288 return values for ELFv2 ABI. Fix location of FPR return registers.
60289 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60290 updated values for _CALL_ELF == 2.
60291 (La_regs, La_retval, int_retval): Likewise.
60292
60293 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60294
60295 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60296 (FRAME_MIN_SIZE_PARM): Likewise.
60297 (FRAME_BACKCHAIN): Likewise.
60298 (FRAME_CR_SAVE): Likewise.
60299 (FRAME_LR_SAVE): Likewise.
60300 (FRAME_TOC_SAVE): Likewise.
60301 (FRAME_PARM_SAVE): Likewise.
60302 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60303 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60304 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60305 (call_mcount_parm_offset): New macro.
60306 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60307 (PROF): Use symbolic stack frame offsets.
60308 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60309 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60310 Redefine in terms of FRAME_MIN_SIZE.
60311 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60312 (_dl_profile_resolve): Likewise. Update comment.
60313 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60314 symbols stack frame offsets.
60315 (__sigsetjmp): Likewise.
60316 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60317 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60318 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60319 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60320
60321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60322 (FRAME_BACKCHAIN): Remove.
60323 (FRAME_CR_SAVE): Likewise.
60324 (FRAME_LR_SAVE): Likewise.
60325 (FRAME_COMPILER_DW): Likewise.
60326 (FRAME_LINKER_DW): Likewise.
60327 (FRAME_TOC_SAVE): Likewise.
60328 (FRAME_PARM_SAVE): Likewise.
60329 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60330 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60331 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60333 (CHECK_SP): Use symbolic stack frame offsets.
60334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60335 zone" instead of caller's parameter save area for temp storage.
60336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60337 Likewise. Also, use symbolic stack frame offsets.
60338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60339 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60340 our own stack frame instead of the caller's.
60341 (__socket): Use symbolic stack frame offsets.
60342
60343 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60344 Alan Modra <amodra@gmail.com>
60345
60346 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60347 Define.
60348 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60349 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60350 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60351 New function.
60352 (elf_machine_fixup_plt): Call it.
60353 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60354 reloc arguments.
60355 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60357 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60358 r2 before calling target.
60359
60360 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60361 Alan Modra <amodra@gmail.com>
60362
60363 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60364 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60365 versions of macros to support ELFv2 ABI.
60366 (LOCALENTRY): New macro.
60367 (ENTRY, EALIGN): Use it.
60368 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60369 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60370 fall through into ENTRY entry point.
60371 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60372 Only define if _CALL_ELF != 2.
60373
60374 (elf_machine_matches_host): Verify ABI version matches.
60375 (RTLD_START): Use LOCALENTRY.
60376 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60377 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60378 (PLT_ENTRY_WORDS): New macro.
60379 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60380 (elf_machine_runtime_setup): Support ELFv2 ABI.
60381 (elf_machine_fixup_plt): Likewise.
60382 (elf_machine_plt_conflict): Likewise.
60383 (resolve_ifunc): Likewise.
60384 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60386 Likewise.
60387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60388 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60390 (makecontext): Support ELFv2 ABI.
60391 * elf/elf.h (EF_PPC64_ABI): Define.
60392
60393 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60394
60395 * sysdeps/powerpc/powerpc64/sysdep.h
60396 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60397 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60398 (ENTRY) [ASSEMBLER]: ... but instead here ...
60399 (EALIGN) [ASSEMBLER]: ... and here.
60400 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60401 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60402 (ENTRY_2) [!ASSEMBLER]: Use it.
60403 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60404 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60405 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60406 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60407 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60409 Use PPC64_LOAD_FUNCPTR.
60410
60411 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60412
60413 2013-12-04 Alan Modra <amodra@gmail.com>
60414
60415 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60416 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60417 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60418 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60419
60420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60421 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60422 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60423 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60424 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60425 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60426
60427 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60428
60429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60430 (__makecontext): Fix incorrect CFI when backtracing out of
60431 context created via makecontext.
60432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60433 (__setcontext): Fix incorrect CFI during switch to new context.
60434 (__novec_setcontext): Likewise.
60435
60436 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60437
60438 [BZ #4772]
60439 * time/strptime_l.c (__strptime_internal): Allow modifiers
60440 in strptime.
60441 * time/tst-strptime.c (day_tests): Add testcase.
60442
60443 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60444
60445 * scripts/bench.pl: Skip over blank lines.
60446
60447 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60448
60449 [BZ #926]
60450 * manual/time.texi (Calendar Time): Clarify what timezone functions
60451 use.
60452
60453 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60454
60455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60456
60457 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60458
60459 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60460 implementation.
60461 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60462 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60463 * debug/memset_chk.c (__memset_chk): Likewise.
60464 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60465 * debug/strncpy_chk.c: Likewise.
60466
60467 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60468
60469 [BZ #15268]
60470 [BZ #15425]
60471 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60472 (__ieee754_exp): For possibly underflowing results, check size of
60473 result and force underflow exception if required.
60474 * math/auto-libm-test-in: Add more tests of exp.
60475 * math/auto-libm-test-out: Regenerated.
60476 * sysdeps/i386/fpu/libm-test-ulps: Update.
60477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60478
60479 [BZ #16283]
60480 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60481 * math/w_exp2f.c (__exp2f): Likewise.
60482 * math/w_exp2l.c (__exp2l): Likewise.
60483 * math/auto-libm-test-in: Do not allow missing errno on exp2
60484 underflow.
60485 * math/auto-libm-test-out: Regenerated.
60486
60487 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60488
60489 [BZ #16274]
60490 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60491 handle filename validation.
60492 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60493 (do_open): Delete.
60494
60495 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60496
60497 [BZ #6786]
60498 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60499 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60500 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60501 <float.h>.
60502 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60503 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60504 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60506 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60507 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60508 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60509 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60510 Add more erfc tests.
60511 * math/auto-libm-test-out: Regenerated.
60512 * sysdeps/i386/fpu/libm-test-ulps: Update.
60513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60514
60515 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60516 exp2, expm1, j0 and j1.
60517 * math/auto-libm-test-out: Regenerated.
60518 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60519 (erfc_test_data): Likewise.
60520 (exp_test_data): Likewise.
60521 (exp_tonearest_test_data): Likewise.
60522 (exp_towardzero_test_data): Likewise.
60523 (exp_downward_test_data): Likewise.
60524 (exp_upward_test_data): Likewise.
60525 (exp10_test_data): Likewise.
60526 (exp2_test_data): Likewise.
60527 (expm1_test_data): Likewise.
60528 (j0_test_data): Likewise.
60529 (j1_test_data): Likewise.
60530 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60531 (input_flag_type): Add flag_xfail_rounding.
60532 (input_flags): Add xfail-rounding.
60533 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60534 (output_for_one_input_case): Handle flag_xfail_rounding.
60535 * sysdeps/i386/fpu/libm-test-ulps: Update.
60536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60537
60538 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60539
60540 [BZ #16289]
60541 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60542 division by 0.
60543
60544 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60545
60546 [BZ #16195]
60547 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60548 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60549 (STAP_PROBE0): New macro.
60550 (STAP_PROBE1): Likewise.
60551 (STAP_PROBE2): Likewise.
60552 (STAP_PROBE3): Likewise.
60553 (STAP_PROBE4): Likewise.
60554
60555 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60556
60557 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60558
60559 2013-12-02 Steve Ellcey <sellcey@mips.com>
60560
60561 * benchtests/Makefile (bench): Add sqrt.
60562 (LDLIBS-bench-sqrt): New.
60563 * benchtests/sqrt-input: New.
60564
60565 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60566
60567 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60568 (GAIH_EAI): Likewise.
60569 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60570 (gaih_inet): Likewise.
60571 (getaddrinfo): Don't use GAIH_EAI.
60572
60573 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60574 (struct gaih): Remove definition.
60575
60576 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60577
60578 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60579 Use HERRNOP directly.
60580
60581 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60582
60583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60584
60585 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60586
60587 * math/gen-auto-libm-tests.c (test_functions): Add more
60588 single-argument functions.
60589 (special_fill_pi_2): New function.
60590 (special_fill_minus_pi_2): Likewise.
60591 (special_fill_pi_6): Likewise.
60592 (special_fill_minus_pi_6): Likewise.
60593 (special_fill_pi_3): Likewise.
60594 (special_fill_2pi_3): Likewise.
60595 (special_fill_e): Likewise.
60596 (special_fill_1_e): Likewise.
60597 (special_fill_e_minus_1): Likewise.
60598 (special_real_inputs): Add more special inputs.
60599 (output_for_one_input_case): Do not require ERANGE on underflow to
60600 zero if round-to-nearest result does not underflow to zero, unless
60601 exact results required.
60602 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60603 atan, atanh, cbrt, cos and cosh.
60604 * math/auto-libm-test-out: Regenerated.
60605 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60606 (acos_tonearest_test_data): Likewise.
60607 (acos_towardzero_test_data): Likewise.
60608 (acos_downward_test_data): Likewise.
60609 (acos_upward_test_data): Likewise.
60610 (acosh_test_data): Likewise.
60611 (asin_test_data): Likewise.
60612 (asin_tonearest_test_data): Likewise.
60613 (asin_towardzero_test_data): Likewise.
60614 (asin_upward_test_data): Likewise.
60615 (asinh_test_data): Likewise.
60616 (atan_test_data): Likewise.
60617 (atanh_test_data): Likewise.
60618 (cbrt_test_data): Likewise.
60619 (cos_test_data): Likewise.
60620 (cos_tonearest_test_data): Likewise.
60621 (cos_towardzero_test_data): Likewise.
60622 (cos_downward_test_data): Likewise.
60623 (cos_upward_test_data): Likewise.
60624 (cosh_test_data): Likewise.
60625 (cosh_tonearest_test_data): Likewise.
60626 (cosh_towardzero_test_data): Likewise.
60627 (cosh_downward_test_data): Likewise.
60628 (cosh_upward_test_data): Likewise.
60629 * sysdeps/i386/fpu/libm-test-ulps: Update.
60630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60631
60632 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60633
60634 [BZ #6787]
60635 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60636 * math/w_exp10f.c (__exp10f): Likewise.
60637 * math/w_exp10l.c (__exp10l): Likewise.
60638 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60639 errno settings in existing tests.
60640
60641 [BZ #14032]
60642 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60643 precision control set to double precision.
60644 * sysdeps/i386/fpu/w_sqrt.c: New file.
60645 * math/auto-libm-test-in: Add more tests.
60646 * math/auto-libm-test-out: Update.
60647
60648 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60649 (sqrt_test_tonearest): New function.
60650 (sqrt_towardzero_test_data): New variable.
60651 (sqrt_test_towardzero): New function.
60652 (sqrt_downward_test_data): New variable.
60653 (sqrt_test_downward): New function.
60654 (sqrt_upward_test_data): New variable.
60655 (sqrt_test_upward): New function.
60656 (main): Call the new functions.
60657
60658 * math/gen-auto-libm-tests.c: New file.
60659 * math/auto-libm-test-in: Likewise.
60660 * math/auto-libm-test-out: New generated file.
60661 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60662 variables.
60663 (%beautify): Add generated representations of zero.
60664 (top level): Set $auto_input and call parse_auto_input.
60665 (beautify): Remove trailing "f" from hex float constants.
60666 (parse_args): Handle XFAIL_TEST.
60667 (convert_condition): New function.
60668 (or_value): Likewise.
60669 (or_cond_value): Likewise.
60670 (generate_testfile): Handle AUTO_TESTS_* lines.
60671 (parse_auto_input): New function.
60672 * math/libm-test.inc (XFAIL_TEST): New macro.
60673 (ERRNO_UNCHANGED): Update value.
60674 (ERRNO_EDOM): Likewise.
60675 (ERRNO_ERANGE): Likewise.
60676 (IGNORE_RESULT): Likewise.
60677 (TEST_COND_flt_32): New macro.
60678 (TEST_COND_dbl_64): Likewise.
60679 (TEST_COND_ldbl_96_intel): Likewise.
60680 (TEST_COND_ldbl_96_m68k): Likewise.
60681 (TEST_COND_ldbl_128): Likewise.
60682 (TEST_COND_ldbl_128ibm): Likewise.
60683 (TEST_COND_long32): Likewise.
60684 (TEST_COND_long64): Likewise.
60685 (TEST_COND_before_rounding): Likewise.
60686 (TEST_COND_after_rounding): Likewise.
60687 (enable_test): Handle XFAIL_TEST flag.
60688 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60689 with finite results.
60690 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60691 auto-libm-test-out.
60692
60693 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60694 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60695
60696 [BZ #16214]
60697 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60698 __tls_get_addr_internal instead of __tls_get_offset in order to
60699 avoid GOT pointer dependency. Make rtld export
60700 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60701 __tls_get_addr since we are a __tls_get_offset platform.
60702 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60703 GOT pointer being set up before.
60704 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60705
60706 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60707
60708 * manual/math.texi (Errors in Math Functions): Document accuracy
60709 goals.
60710
60711 [BZ #15004]
60712 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60713 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60714 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60715 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60716 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60717 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60718 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60719 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60720 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60721 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60722 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60723 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60724 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60725 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60726 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60727 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60728
60729 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60730 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60731 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60732 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60733 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60734 Likewise.
60735 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60736 Likewise.
60737 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60738 Likewise.
60739 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60740 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60741 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60742 atomic-feupdateenv and flt-rounds.
60743 * sysdeps/powerpc/nofpu/Versions (libc): Add
60744 __atomic_feholdexcept, __atomic_feclearexcept,
60745 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60746 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60747 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60748 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60749 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60750 here.
60751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60752 Update.
60753
60754 * manual/arith.texi (FP Exceptions): Document that exceptions may
60755 not be raised when matherr is used.
60756 (Math Error Reporting): Document overflow in directed rounding
60757 modes. Document that errno may not be set when finite values are
60758 returned on overflow. Document intent to set errno on underflow
60759 only for underflow to zero.
60760
60761 [BZ #16271]
60762 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60763 round-to-nearest then adjust result for other rounding modes.
60764 * include/fenv.h (fegetround): Use libm_hidden_proto.
60765 * math/fegetround.c (fegetround): Use libm_hidden_def.
60766 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60767 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60768 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60769 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60770 Likewise.
60771 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60772 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60773 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60774 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60775
60776 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60777
60778 [BZ #16077]
60779 * nss/Versions (libnss_files): Add
60780 _nss_files_gethostbyname3_r.
60781 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60782 New function.
60783 (HOST_DB_LOOKUP): Remove macro.
60784 (_nss_files_gethostbyname_r): Implement function without the
60785 HOST_DB_LOOKUP macro.
60786 (_nss_files_gethostbyname2_r): Likewise.
60787
60788 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
60789
60790 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60791
60792 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60793
60794 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60795 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60796 warning.
60797
60798 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60799
60800 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60801 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60802 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60803 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60804 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60805 __fe_nomask_env_priv and attribute_hidden.
60806 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60807 (libc_feupdateenv_test_ppc): Likewise.
60808 (libc_feresetround_ppc): Likewise.
60809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60810 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60811 compat_symbol macro.
60812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60813 (__fe_nomask_env): Likewise.
60814 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60815
60816 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60817
60818 * string/Makefile: Remove ifunc tests.
60819 * string/test-string.h: Define TEST_IFUNC.
60820 * string/test-bcopy-ifunc.c: Remove.
60821 * string/test-bzero-ifunc.c: Likewise.
60822 * string/test-memccpy-ifunc.c: Likewise.
60823 * string/test-memchr-ifunc.c: Likewise.
60824 * string/test-memcmp-ifunc.c: Likewise.
60825 * string/test-memcpy-ifunc.c: Likewise.
60826 * string/test-memmem-ifunc.c: Likewise.
60827 * string/test-memmove-ifunc.c: Likewise.
60828 * string/test-mempcpy-ifunc.c: Likewise.
60829 * string/test-memrchr-ifunc.c: Likewise.
60830 * string/test-memset-ifunc.c: Likewise.
60831 * string/test-rawmemchr-ifunc.c: Likewise.
60832 * string/test-stpcpy-ifunc.c: Likewise.
60833 * string/test-stpncpy-ifunc.c: Likewise.
60834 * string/test-strcasecmp-ifunc.c: Likewise.
60835 * string/test-strcasestr-ifunc.c: Likewise.
60836 * string/test-strcat-ifunc.c: Likewise.
60837 * string/test-strchr-ifunc.c: Likewise.
60838 * string/test-strchrnul-ifunc.c: Likewise.
60839 * string/test-strcmp-ifunc.c: Likewise.
60840 * string/test-strcpy-ifunc.c: Likewise.
60841 * string/test-strcspn-ifunc.c: Likewise.
60842 * string/test-strlen-ifunc.c: Likewise.
60843 * string/test-strncasecmp-ifunc.c: Likewise.
60844 * string/test-strncat-ifunc.c: Likewise.
60845 * string/test-strncmp-ifunc.c: Likewise.
60846 * string/test-strncpy-ifunc.c: Likewise.
60847 * string/test-strnlen-ifunc.c: Likewise.
60848 * string/test-strpbrk-ifunc.c: Likewise.
60849 * string/test-strrchr-ifunc.c: Likewise.
60850 * string/test-strspn-ifunc.c: Likewise.
60851 * string/test-strstr-ifunc.c: Likewise.
60852
60853 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60854
60855 * benchtests/Makefile: Remove ifunc tests.
60856 * benchtests/bench-string.h: Define TEST_IFUNC.
60857 * benchtests/bench-bcopy-ifunc.c: Remove.
60858 * benchtests/bench-bzero-ifunc.c: Likewise.
60859 * benchtests/bench-memccpy-ifunc.c: Likewise.
60860 * benchtests/bench-memchr-ifunc.c: Likewise.
60861 * benchtests/bench-memcmp-ifunc.c: Likewise.
60862 * benchtests/bench-memcpy-ifunc.c: Likewise.
60863 * benchtests/bench-memmem-ifunc.c: Likewise.
60864 * benchtests/bench-memmove-ifunc.c: Likewise.
60865 * benchtests/bench-mempcpy-ifunc.c: Likewise.
60866 * benchtests/bench-memrchr-ifunc.c: Likewise.
60867 * benchtests/bench-memset-ifunc.c: Likewise.
60868 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60869 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60870 * benchtests/bench-stpcpy-ifunc.c: Likewise.
60871 * benchtests/bench-stpncpy-ifunc.c: Likewise.
60872 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60873 * benchtests/bench-strcasestr-ifunc.c: Likewise.
60874 * benchtests/bench-strcat-ifunc.c: Likewise.
60875 * benchtests/bench-strchr-ifunc.c: Likewise.
60876 * benchtests/bench-strchrnul-ifunc.c: Likewise.
60877 * benchtests/bench-strcmp-ifunc.c: Likewise.
60878 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60879 * benchtests/bench-strcpy-ifunc.c: Likewise.
60880 * benchtests/bench-strcspn-ifunc.c: Likewise.
60881 * benchtests/bench-strlen-ifunc.c: Likewise.
60882 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60883 * benchtests/bench-strncat-ifunc.c: Likewise.
60884 * benchtests/bench-strncmp-ifunc.c: Likewise.
60885 * benchtests/bench-strncpy-ifunc.c: Likewise.
60886 * benchtests/bench-strnlen-ifunc.c: Likewise.
60887 * benchtests/bench-strpbrk-ifunc.c: Likewise.
60888 * benchtests/bench-strrchr-ifunc.c: Likewise.
60889 * benchtests/bench-strsep-ifunc.c: Likewise.
60890 * benchtests/bench-strspn-ifunc.c: Likewise.
60891 * benchtests/bench-strstr-ifunc.c: Likewise.
60892
60893 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60894
60895 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60896
60897 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60898
60899 * resolv/netdb.h: Use __glibc_reserved instead __unused.
60900 * rt/aio.h: Likewise.
60901 * sysdeps/gnu/bits/utmp.h: Likewise.
60902 * sysdeps/gnu/bits/utmpx.h: Likewise.
60903 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60904 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60905 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60906 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60907 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60908 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60909 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60910 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60911 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60912 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60913 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60914 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60915 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60917 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60918 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60919 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60920 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60921 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60922 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60923 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60924 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60925 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60926 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60927 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60929 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60930 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60931 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60932 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60933 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60934 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60935 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60936 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60937 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60938 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60939 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60940 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60941 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60942 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60943 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60944 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60945
60946 2013-11-25 Carlos O'Donell <carlos@redhat.com>
60947
60948 [BZ #16245]
60949 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60950 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60951
60952 2013-11-25 Joseph Myers <joseph@codesourcery.com>
60953
60954 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60955 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60956 Likewise.
60957
60958 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60959
60960 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60961 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60962 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60963 (__fesetround): Remove define.
60964 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60965 rounding and exceptions handling.
60966 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60967 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60968 (__fe_nomask_env): Likewise.
60969 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60970 __fegetround instead of fegetround.
60971 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60972 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60973
60974 2013-11-21 Roland McGrath <roland@hack.frob.com>
60975
60976 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60977 it's there.
60978
60979 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60980
60981 2013-11-21 Meador Inge <meadori@codesourcery.com>
60982
60983 [BZ #11157]
60984 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60985 (encrypt_r): Likewise.
60986 * malloc/obstack.h (obstack_free): Likewise.
60987 * posix/unistd.h (encrypt): Likewise.
60988
60989 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
60990
60991 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60992 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60993 DL_CALL_DT_FINI() that call the functions directly.
60994 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60995 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60996 * elf/dl-fini.c: Likewise.
60997
60998 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
60999
61000 * malloc/hooks.c (memalign_check): Add alignment rounding.
61001 * malloc/malloc.c (_mid_memalign): New function.
61002 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61003 Implement by calling _mid_memalign.
61004 * manual/probes.texi (Memory Allocation Probes): Remove
61005 memory_valloc_retry and memory_pvalloc_retry.
61006
61007 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61008
61009 * locale/programs/locarchive.c (open_archive): Add const
61010 qualifier to ARCHIVEFNAME and copy default fname to
61011 DEFAULT_FNAME.
61012
61013 [BZ #15601]
61014 * libio/tst-widetext.input: Rename Oriya to Odia.
61015 * locale/iso-639.def: Likewise.
61016
61017 * manual/probes.texi (Mathematical Function Probes): Add
61018 documentation for sin, cos, asin and acos probes.
61019 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61020 (__sin32): Add slowasin probe.
61021 (__cos32): Add slowacos probe.
61022 (__mpsin): Add slowsin probe.
61023 (__mpcos): Add slowcos probe.
61024
61025 2013-11-19 Joseph Myers <joseph@codesourcery.com>
61026
61027 [BZ #15483]
61028 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61029 thread-local __sim_exceptions_thread and global
61030 __sim_exceptions_global.
61031 (__sim_disabled_exceptions): Change to thread-local
61032 __sim_disabled_exceptions_thread and global
61033 __sim_disabled_exceptions_global.
61034 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61035 and global __sim_round_mode_global.
61036 (__simulate_exceptions): Use thread-local floating-point state and
61037 set global state from it as needed.
61038 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61039 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61040 __sim_round_mode_thread.
61041 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61042 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61043 and global __sim_exceptions_global.
61044 (__sim_disabled_exceptions): Change to thread-local
61045 __sim_disabled_exceptions_thread and global
61046 __sim_disabled_exceptions_global.
61047 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61048 and global __sim_round_mode_global.
61049 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61050 (SIM_SET_GLOBAL): Likewise.
61051 * sysdeps/powerpc/soft-fp/sfp-machine.h
61052 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61053 __sim_round_mode_thread.
61054 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61055 __sim_disabled_exceptions_thread.
61056 (__sim_exceptions): Change to __sim_exceptions_thread.
61057 (__sim_disabled_exceptions): Change to
61058 __sim_disabled_exceptions_thread.
61059 (__sim_round_mode): Change to __sim_round_mode_thread.
61060 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61061 thread-local floating-point state and set global state from it as
61062 needed.
61063 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61064 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61065 (__sim_disabled_exceptions): Remove extern declaration.
61066 (feenableexcept): Use thread-local floating-point state and set
61067 global state from it as needed.
61068 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61069 extern declaration.
61070 (__sim_disabled_exceptions): Likewise.
61071 (__sim_round_mode): Likewise.
61072 (__fegetenv): Use thread-local floating-point state.
61073 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61074 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61075 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61076 floating-point state and set global state from it as needed.
61077 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61078 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61079 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61080 Likewise.
61081 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61082 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61083 Likewise.
61084 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61085 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61086 Use __sim_round_mode_thread.
61087 * math/test-fenv-tls.c: New file.
61088 * math/Makefile (tests): Add test-fenv-tls.
61089 ($(objpfx)test-fenv-tls): Depend on
61090 $(common-objpfx)nptl/libpthread.so.
61091
61092 2013-11-19 Andreas Schwab <schwab@suse.de>
61093
61094 * locale/programs/locale.c (show_info): Decode wordarray elements.
61095 * locale/categories.def (LC_MONETARY): Add element for
61096 _NL_MONETARY_CRNCYSTR.
61097 * locale/C-monetary.c (conversion_rate): New variable.
61098 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61099 element.
61100
61101 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61102
61103 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61104 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61105
61106 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61107
61108 * elf/Makefile (tst-auxv): New test.
61109 * elf/tst-auxv.c: New
61110 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61111
61112 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61113
61114 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61115 (hidden_proto): Caller changed.
61116 (hidden_tls_proto): New macro.
61117 (libc_hidden_tls_proto): Likewise.
61118 (rtld_hidden_tls_proto): Likewise.
61119 (libm_hidden_tls_proto): Likewise.
61120 (libresolv_hidden_tls_proto): Likewise.
61121 (librt_hidden_tls_proto): Likewise.
61122 (libdl_hidden_tls_proto): Likewise.
61123 (libnss_files_hidden_tls_proto): Likewise.
61124 (libnsl_hidden_tls_proto): Likewise.
61125 (libnss_nisplus_hidden_tls_proto): Likewise.
61126 (libutil_hidden_tls_proto): Likewise.
61127
61128 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
61129
61130 [BZ #10253]
61131 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61132 (decompose_rpath): Defer expansion to fillin_rpath.
61133 (_dl_init_paths): Pass linkmap to fillin_rpath.
61134
61135 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61136
61137 * benchtests/Makefile: Add strsep.
61138 * benchtests/bench-strsep.c: New file: strsep benchtest.
61139 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61140
61141 2013-11-18 Andreas Schwab <schwab@suse.de>
61142
61143 * locale/programs/locale.c (show_info) [case byte]: Check for
61144 '\377' instead of '\177'.
61145 * locale/C-monetary.c (not_available): Always use "\377".
61146 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61147 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61148 detect unavailable sign_posn locale elements.
61149 * locale/localeconv.c (__localeconv): For grouping and
61150 mon_grouping handle "\177" and "\377" like no grouping.
61151 (INT_ELEM): New macro. Use it to set all numeric members.
61152 * locale/programs/ld-monetary.c (monetary_read)
61153 <tok_mon_grouping>: Normalize single -1 to the empty string.
61154 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61155 Likewise.
61156
61157 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61158
61159 [BZ #16055]
61160 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61161 when we match (nil).
61162 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61163
61164 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61165
61166 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61167 (NO_TEST_INLINE): Update value.
61168 (ERRNO_UNCHANGED): Likewise.
61169 (ERRNO_EDOM): Likewise.
61170 (ERRNO_ERANGE): Likewise.
61171 (IGNORE_RESULT): Likewise.
61172 (check_float_internal): Check signs of NaN results if
61173 TEST_NAN_SIGN used.
61174 (check_complex): Pass TEST_NAN_SIGN flag through to second
61175 check_float_internal call.
61176 (copysign_test_data): Add tests with quiet NaNs as second
61177 argument. Use TEST_NAN_SIGN.
61178 (fabs_test_data): Add test of negative quiet NaN argument. Use
61179 TEST_NAN_SIGN.
61180 (signbit_test_data): Add tests of quiet NaN argument.
61181 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61182
61183 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61184 $ignore_result.
61185 (parse_args): Handle function results specified as IGNORE.
61186 * math/libm-test.inc (IGNORE_RESULT): New macro.
61187 (check_float_internal): Do not check numerical result if flag
61188 IGNORE_RESULT set.
61189 (check_complex): Pass through IGNORE_RESULT to second
61190 check_float_internal call.
61191 (check_int): Do not check numerical result if flag IGNORE_RESULT
61192 set.
61193 (check_long): Likewise.
61194 (check_bool): Likewise.
61195 (check_longlong): Likewise.
61196 (lrint_test_data): Add tests of infinite and NaN arguments.
61197 (lrint_tonearest_test_data): Likewise.
61198 (lrint_towardzero_test_data): Likewise.
61199 (lrint_downward_test_data): Likewise.
61200 (lrint_upward_test_data): Likewise.
61201 (llrint_test_data): Likewise.
61202 (llrint_tonearest_test_data): Likewise.
61203 (llrint_towardzero_test_data): Likewise.
61204 (llrint_downward_test_data): Likewise.
61205 (llrint_upward_test_data): Likewise.
61206 (lround_test_data): Likewise.
61207 (llround_test_data): Likewise.
61208
61209 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61210 (ERRNO_UNCHANGED): Update value.
61211 (ERRNO_EDOM): Likewise.
61212 (ERRNO_ERANGE): Likewise.
61213 (NO_TEST_INLINE_FLOAT): New macro.
61214 (NO_TEST_INLINE_DOUBLE): Likewise.
61215 (enable_test): New function.
61216 (RUN_TEST_f_f): Check enable_test before running test.
61217 (RUN_TEST_2_f): Likewise.
61218 (RUN_TEST_fff_f): Likewise.
61219 (RUN_TEST_c_f): Likewise.
61220 (RUN_TEST_f_f1): Likewise.
61221 (RUN_TEST_fF_f1): Likewise.
61222 (RUN_TEST_fI_f1): Likewise.
61223 (RUN_TEST_ffI_f1): Likewise.
61224 (RUN_TEST_c_c): Likewise.
61225 (RUN_TEST_cc_c): Likewise.
61226 (RUN_TEST_f_i): Likewise.
61227 (RUN_TEST_f_i_tg): Likewise.
61228 (RUN_TEST_ff_i_tg): Likewise.
61229 (RUN_TEST_f_b): Likewise.
61230 (RUN_TEST_f_b_tg): Likewise.
61231 (RUN_TEST_f_l): Likewise.
61232 (RUN_TEST_f_L): Likewise.
61233 (RUN_TEST_fFF_11): Likewise.
61234 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61235 conditionals.
61236 (cosh_test_data): Likewise.
61237 (exp_test_data): Likewise.
61238 (expm1_test_data): Likewise.
61239 (hypot_test_data): Likewise.
61240 (pow_test_data): Likewise.
61241 (sinh_test_data): Likewise.
61242 (tanh_test_data): Likewise.
61243 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61244 flags argument.
61245
61246 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61247 tests with quiet NaN input and output.
61248 (acosh_test_data): Likewise.
61249 (asin_test_data): Likewise.
61250 (asinh_test_data): Likewise.
61251 (atan_test_data): Likewise.
61252 (atanh_test_data): Likewise.
61253 (atan2_test_data): Likewise.
61254 (cbrt_test_data): Likewise.
61255 (cos_test_data): Likewise.
61256 (cosh_test_data): Likewise.
61257 (erf_test_data): Likewise.
61258 (erfc_test_data): Likewise.
61259 (exp_test_data): Likewise.
61260 (exp10_test_data): Likewise.
61261 (exp2_test_data): Likewise.
61262 (expm1_test_data): Likewise.
61263 (hypot_test_data): Likewise.
61264 (j0_test_data): Likewise.
61265 (j1_test_data): Likewise.
61266 (jn_test_data): Likewise.
61267 (lgamma_test_data): Likewise.
61268 (log_test_data): Likewise.
61269 (log10_test_data): Likewise.
61270 (log1p_test_data): Likewise.
61271 (log2_test_data): Likewise.
61272 (pow_test_data): Likewise.
61273 (scalb_test_data): Likewise.
61274 (sin_test_data): Likewise.
61275 (sincos_test_data): Likewise.
61276 (sinh_test_data): Likewise.
61277 (tan_test_data): Likewise.
61278 (tanh_test_data): Likewise.
61279 (tgamma_test_data): Likewise.
61280 (y0_test_data): Likewise.
61281 (y1_test_data): Likewise.
61282 (yn_test_data): Likewise.
61283
61284 [BZ #16167]
61285 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61286 argument being NaN and avoid computations with second argument in
61287 that case.
61288 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61289 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61291
61292 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61293
61294 * locale/iso-639.def: Add Chitwani Tharu (the).
61295
61296 2013-11-14 Andreas Schwab <schwab@suse.de>
61297
61298 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61299 word instead of empty string.
61300
61301 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61302
61303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61304 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61306 (__fe_nomask_env): Likewise.
61307
61308 2013-11-13 Steve Ellcey <sellcey@mips.com>
61309
61310 * benchtests/bench-timing.h: Include time.h.
61311
61312 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61313
61314 [BZ #15997]
61315 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61316 to 3.4.0 for x32.
61317 * sysdeps/unix/sysv/linux/configure: Regenerated.
61318
61319 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61320
61321 [BZ #16151]
61322 * stdlib/strtod_l.c (round_and_return): Do not consider
61323 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61324 exponent one less than half the least subnormal exponent.
61325 * stdlib/test-strtod-round-data: Add more tests.
61326 * stdlib/tst-strtod-round.c (tests): Regenerated.
61327
61328 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61329
61330 [BZ #14143]
61331 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61332 (__fe_mask_env): Likewise.
61333 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61334 libm_hidden_proto and add function prototype.
61335 (__fe_mask_env): Add function prototype.
61336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61337 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61339 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61341 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61342
61343 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61344
61345 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61346 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61347
61348 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61349
61350 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61351 of htab_find_slot().
61352
61353 2013-11-11 David S. Miller <davem@davemloft.net>
61354
61355 [BZ #16150]
61356 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61357 symbol in the non-vis3 case in static builds.
61358 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61359 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61360 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61361 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61362
61363 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61364
61365 [BZ #387]
61366 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61367 it is empty.
61368
61369 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61370
61371 * benchtests/Makefile: Add bench-strtod.
61372 * benchtests/bench-strtod.c: New file: strtod benchtest
61373
61374 2013-11-11 Andreas Schwab <schwab@suse.de>
61375
61376 [BZ #16153]
61377 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61378 terminating NUL in key length.
61379
61380 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61381
61382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61383 Add artificial ODP entry for vDSO symbol for PPC64.
61384 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61385 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61386
61387 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61388
61389 [BZ #15374]
61390 * nss/getent.c (services_keys): Recognize services starting with digit.
61391
61392 2013-11-06 David S. Miller <davem@davemloft.net>
61393
61394 [BZ #15985]
61395 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61396 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61397
61398 2013-11-06 Will Newton <will.newton@linaro.org>
61399
61400 * manual/memory.texi (Malloc Examples): Remove register
61401 keyword from examples.
61402
61403 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61404
61405 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61406
61407 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61408
61409 [BZ #6981]
61410 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61411 depending on [__GCC_IEC_559 > 0].
61412 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61413 depending on [__GCC_IEC_559_COMPLEX > 0].
61414
61415 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61416
61417 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61418 to iso-639.def.
61419
61420 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
61421
61422 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61423
61424 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
61425
61426 [BZ #16112]
61427 * malloc/malloc (malloc_info): Do not handle first bin as
61428 special case.
61429
61430 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61431
61432 * locale/iso-639.def: Add Central Nahuatl (nhn).
61433
61434 2013-11-01 Bruno Haible <bruno@clisp.org>
61435
61436 [BZ #7003]
61437 * manual/math.texi (BSD Random): Specify range upper bound as
61438 in POSIX.
61439
61440 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61441
61442 * locale/iso-639.def: Add Meadow Mari (mhr).
61443
61444 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
61445
61446 [BZ #14752], [BZ #15763]
61447 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61448 Validate name.
61449 * rt/tst_shm.c: Add test for escaping directory.
61450
61451 2013-10-31 Andreas Schwab <schwab@suse.de>
61452
61453 [BZ #15917]
61454 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61455 followed by 'x' as part of digit sequence.
61456 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61457
61458 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61459
61460 [BZ #16037]
61461 * configure.ac: allow GNU Make 4.0 and greater.
61462 * configure: Regenerated.
61463
61464 2013-10-30 Will Newton <will.newton@linaro.org>
61465
61466 [BZ #16038]
61467 * malloc/hooks.c (memalign_check): Limit alignment to the
61468 maximum representable power of two.
61469 * malloc/malloc.c (__libc_memalign): Likewise.
61470 * malloc/tst-memalign.c (do_test): Add test for very
61471 large alignment values.
61472 * malloc/tst-posix_memalign.c (do_test): Likewise.
61473
61474 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61475
61476 [BZ #11087]
61477 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61478 (munmap_chunk): Likewise.
61479 (mremap_chunk): Likewise.
61480
61481 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61482
61483 [BZ #15799]
61484 * stdlib/div.c (div): Remove obsolete code.
61485 * stdlib/ldiv.c (ldiv): Likewise.
61486 * stdlib/lldiv.c (lldiv): Likewise.
61487
61488 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61489
61490 [BZ #16071]
61491 * nss/nss_files/files-XXX.c (get_contents_ret): New
61492 enumerator.
61493 (get_contents): New function.
61494 (internal_getent): Use it. Expand size of LINEBUFLEN.
61495
61496 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61497
61498 * configure.in: Moved to ...
61499 * configure.ac: ... here. Change reference to configure.in
61500 to configure.ac.
61501 * sysdeps/arm/preconfigure.ac: ... here.
61502 configure.in to configure.ac.
61503 * sysdeps/gnu/configure.in: Moved to ...
61504 * sysdeps/gnu/configure.ac: ... here.
61505 * sysdeps/i386/configure.in: Moved to ...
61506 * sysdeps/i386/configure.ac: ... here.
61507 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61508 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61509 * sysdeps/mach/configure.in: Moved to ...
61510 * sysdeps/mach/configure.ac: ... here.
61511 * sysdeps/mach/hurd/configure.in: Moved to ...
61512 * sysdeps/mach/hurd/configure.ac: ... here.
61513 * sysdeps/powerpc/configure.in: Moved to ...
61514 * sysdeps/powerpc/configure.ac: ... here.
61515 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61516 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61517 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61518 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61519 * sysdeps/s390/s390-32/configure.in: Moved to ...
61520 * sysdeps/s390/s390-32/configure.ac: ... here.
61521 * sysdeps/s390/s390-64/configure.in: Moved to ...
61522 * sysdeps/s390/s390-64/configure.ac: ... here.
61523 * sysdeps/sh/configure.in: Moved to ...
61524 * sysdeps/sh/configure.ac: ... here.
61525 * sysdeps/sparc/configure.in: Moved to ...
61526 * sysdeps/sparc/configure.ac: ... here.
61527 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61528 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61529 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61530 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61531 * sysdeps/x86_64/configure.in: Moved to ...
61532 * sysdeps/x86_64/configure.ac: ... here.
61533 * sysdeps/x86_64/preconfigure.in: Moved to ...
61534 * sysdeps/x86_64/preconfigure.ac: ... here.
61535 * aclocal.m4: Change reference to configure.in to configure.ac.
61536 * config.h.in: Likewise.
61537 * manual/install.texi: Likewise.
61538 * manual/maint.texi: Likewise.
61539 * Makefile: Likewise.
61540 * malloc/Makefile: Likewise.
61541 * nscd/Makefile: Likewise.
61542 * Makeconfig: Change reference to configure.in and
61543 preconfigure.in to configure.ac and preconfigure.ac
61544 respectively.
61545 * INSTALL: Regenerated.
61546 * configure: Likewise.
61547 * sysdeps/gnu/configure: Likewise.
61548 * sysdeps/i386/configure: Likewise.
61549 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61550 * sysdeps/mach/configure: Likewise.
61551 * sysdeps/mach/hurd/configure: Likewise.
61552 * sysdeps/powerpc/configure: Likewise.
61553 * sysdeps/powerpc/powerpc32/configure: Likewise.
61554 * sysdeps/powerpc/powerpc64/configure: Likewise.
61555 * sysdeps/s390/s390-32/configure: Likewise.
61556 * sysdeps/s390/s390-64/configure: Likewise.
61557 * sysdeps/sh/configure: Likewise.
61558 * sysdeps/sparc/configure: Likewise.
61559 * sysdeps/unix/sysv/linux/configure: Likewise.
61560 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61561 * sysdeps/x86_64/configure: Likewise.
61562 * sysdeps/x86_64/preconfigure: Likewise.
61563
61564 2013-10-29 Andreas Schwab <schwab@suse.de>
61565
61566 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61567
61568 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61569
61570 * benchtests/pow-inputs: Add new inputs.
61571
61572 * benchtests/exp-inputs: Add new inputs.
61573
61574 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61575 conditional check for return value.
61576 (__cos32): Likewise.
61577
61578 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61579
61580 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61581 to provide a boost for large inputs with word alignment.
61582 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61583 implementation based on optimized PPC64 strcpy.
61584 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61585 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61586 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61587 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61588
61589 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61590
61591 [BZ #2801]
61592 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61593
61594 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61595
61596 [BZ #14876]
61597 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61598 * time/tst-strptime.c (day_tests): Add testcase.
61599
61600 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61601
61602 [BZ #14029]
61603 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61604
61605 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61606
61607 [BZ #16074]
61608 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61609 MAP_FAILED on error.
61610
61611 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61612
61613 [BZ #16072]
61614 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61615 heap for large requests.
61616
61617 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61618
61619 [BZ #9954]
61620 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61621 result if the result has no associated interface.
61622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61623 interface for all 127.X.Y.Z addresses.
61624
61625 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61626
61627 * locale/iso-639.def: Add Ligurian (lij)
61628
61629 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
61630
61631 [BZ #15825]
61632 * sunrpc/rpc_main.c: Document rpcgen -5.
61633
61634 2013-10-19 Michael Stahl <mstahl@redhat.com>
61635
61636 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61637
61638 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61639
61640 [BZ #10278]
61641 * posix/glob.c: Match only directories when trailing slash is present.
61642 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61643 (main): Add testcase.
61644
61645 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61646
61647 [BZ #15670]
61648 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61649
61650 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61651
61652 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61653 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61654 AUTH_DES and cindex for FIPS 140-2.
61655 (DES Encryption): Add cindex FIPS 46-3.
61656
61657 * locale/locarchive.h (struct locarhandle): Add fname.
61658 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61659 if an optional argument was specified to --list-archive,
61660 otherwise NULL.
61661 * locale/programs/locarchive.c (show_archive_content): Take new
61662 argument fname and pass it via ah.fname to open_archive.
61663 * locale/programs/localedef.h: Update decl.
61664 (open_archive): If AH->fname is non-null, open that file
61665 rather than the default file name, and don't ignore ENOENT.
61666 (create_archive): Set AH.fname to NULL.
61667 (delete_locales_from_archive): Likewise.
61668 (add_locales_to_archive): Likewise.
61669 * locale/programs/locfile.c (write_all_categories): Likewise.
61670
61671 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61672 Aldy Hernandez <aldyh@redhat.com>
61673
61674 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61675 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61676 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61677 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61678 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61679 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61680 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61681 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61682 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61683 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61684 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61685 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61686 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61687 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61688 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61689 Likewise.
61690 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61691 Likewise.
61692 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61693 Likewise.
61694 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61695 Likewise.
61696 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61697 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61698 Likewise.
61699 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61700 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61701 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61702 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61703 Likewise.
61704 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61705 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61706 * sysdeps/powerpc/preconfigure: Likewise.
61707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61708 Likewise.
61709 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61710 Replace contents of file by #include of <fenv_libc.h>.
61711 * sysdeps/powerpc/soft-fp/sfp-machine.h
61712 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61713 and <sys/prctl.h>.
61714 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61718 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61719 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61721 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61722 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61723 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61724 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61725 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61727 Allow copysignl PLT reference to be missing.
61728
61729 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61730 Joseph Myers <joseph@codesourcery.com
61731
61732 [BZ #15948]
61733 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61734 single character.
61735 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61736
61737 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61738
61739 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61740 * elf/tst-tls1.c: Likewise.
61741 * elf/tst-tls10.h: Likewise.
61742 * elf/tst-tls14.c: Likewise.
61743 * elf/tst-tls2.c: Likewise.
61744 * elf/tst-tls3.c: Likewise.
61745 * elf/tst-tls4.c: Likewise.
61746 * elf/tst-tls5.c: Likewise.
61747 * elf/tst-tls6.c: Likewise.
61748 * elf/tst-tls7.c: Likewise.
61749 * elf/tst-tls8.c: Likewise.
61750 * elf/tst-tls9.c: Likewise.
61751 * elf/tst-tlsmod1.c: Likewise.
61752 * elf/tst-tlsmod13.c: Likewise.
61753 * elf/tst-tlsmod13a.c: Likewise.
61754 * elf/tst-tlsmod14a.c: Likewise.
61755 * elf/tst-tlsmod16a.c: Likewise.
61756 * elf/tst-tlsmod16b.c: Likewise.
61757 * elf/tst-tlsmod2.c: Likewise.
61758 * elf/tst-tlsmod3.c: Likewise.
61759 * elf/tst-tlsmod4.c: Likewise.
61760 * elf/tst-tlsmod5.c: Likewise.
61761 * elf/tst-tlsmod6.c: Likewise.
61762
61763 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
61764
61765 [BZ #12486]
61766 * malloc/malloc.c: remove checks for statistics.
61767
61768 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61769
61770 [BZ #15277]
61771 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61772 * inet/tst-network.c: Add testcase.
61773
61774 2013-10-17 Andreas Schwab <schwab@suse.de>
61775
61776 [BZ #15218]
61777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61778 to determine canonical name.
61779
61780 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61781
61782 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61783 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61785 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61787 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61788 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61789 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61790 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61791 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61792 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61794 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61795 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61796 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61797 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61799 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61801 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61802 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61805 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61806 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61807 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61808 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61809 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61810 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61811 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61812 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61814 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61815 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61816 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61817 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61818 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61819 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61820 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61822 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61823 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61824 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61825 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61826 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61827 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61828 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61829 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61830 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61831 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61832 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61833 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61834 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61835 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61836 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61837 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61838 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61839 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61840
61841 2013-10-17 Joseph Myers <joseph@codesourcery.com>
61842
61843 [BZ #16041]
61844 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61845 make result into a quiet NaN.
61846
61847 2013-10-16 Joseph Myers <joseph@codesourcery.com>
61848
61849 * soft-fp/adddf3.c: Fix horizontal whitespace.
61850 * soft-fp/addsf3.c: Likewise.
61851 * soft-fp/addtf3.c: Likewise.
61852 * soft-fp/divdf3.c: Likewise.
61853 * soft-fp/divsf3.c: Likewise.
61854 * soft-fp/divtf3.c: Likewise.
61855 * soft-fp/double.h: Likewise.
61856 * soft-fp/eqdf2.c: Likewise.
61857 * soft-fp/eqsf2.c: Likewise.
61858 * soft-fp/eqtf2.c: Likewise.
61859 * soft-fp/extenddftf2.c: Likewise.
61860 * soft-fp/extended.h: Likewise.
61861 * soft-fp/extendsfdf2.c: Likewise.
61862 * soft-fp/extendsftf2.c: Likewise.
61863 * soft-fp/extendxftf2.c: Likewise.
61864 * soft-fp/fixdfdi.c: Likewise.
61865 * soft-fp/fixdfsi.c: Likewise.
61866 * soft-fp/fixdfti.c: Likewise.
61867 * soft-fp/fixsfdi.c: Likewise.
61868 * soft-fp/fixsfsi.c: Likewise.
61869 * soft-fp/fixsfti.c: Likewise.
61870 * soft-fp/fixtfdi.c: Likewise.
61871 * soft-fp/fixtfsi.c: Likewise.
61872 * soft-fp/fixtfti.c: Likewise.
61873 * soft-fp/fixunsdfdi.c: Likewise.
61874 * soft-fp/fixunsdfsi.c: Likewise.
61875 * soft-fp/fixunsdfti.c: Likewise.
61876 * soft-fp/fixunssfdi.c: Likewise.
61877 * soft-fp/fixunssfsi.c: Likewise.
61878 * soft-fp/fixunssfti.c: Likewise.
61879 * soft-fp/fixunstfdi.c: Likewise.
61880 * soft-fp/fixunstfsi.c: Likewise.
61881 * soft-fp/fixunstfti.c: Likewise.
61882 * soft-fp/floatdidf.c: Likewise.
61883 * soft-fp/floatdisf.c: Likewise.
61884 * soft-fp/floatditf.c: Likewise.
61885 * soft-fp/floatsidf.c: Likewise.
61886 * soft-fp/floatsisf.c: Likewise.
61887 * soft-fp/floatsitf.c: Likewise.
61888 * soft-fp/floattidf.c: Likewise.
61889 * soft-fp/floattisf.c: Likewise.
61890 * soft-fp/floattitf.c: Likewise.
61891 * soft-fp/floatundidf.c: Likewise.
61892 * soft-fp/floatundisf.c: Likewise.
61893 * soft-fp/floatunditf.c: Likewise.
61894 * soft-fp/floatunsidf.c: Likewise.
61895 * soft-fp/floatunsisf.c: Likewise.
61896 * soft-fp/floatunsitf.c: Likewise.
61897 * soft-fp/floatuntidf.c: Likewise.
61898 * soft-fp/floatuntisf.c: Likewise.
61899 * soft-fp/floatuntitf.c: Likewise.
61900 * soft-fp/fmadf4.c: Likewise.
61901 * soft-fp/fmasf4.c: Likewise.
61902 * soft-fp/fmatf4.c: Likewise.
61903 * soft-fp/gedf2.c: Likewise.
61904 * soft-fp/gesf2.c: Likewise.
61905 * soft-fp/getf2.c: Likewise.
61906 * soft-fp/ledf2.c: Likewise.
61907 * soft-fp/lesf2.c: Likewise.
61908 * soft-fp/letf2.c: Likewise.
61909 * soft-fp/muldf3.c: Likewise.
61910 * soft-fp/mulsf3.c: Likewise.
61911 * soft-fp/multf3.c: Likewise.
61912 * soft-fp/negdf2.c: Likewise.
61913 * soft-fp/negsf2.c: Likewise.
61914 * soft-fp/negtf2.c: Likewise.
61915 * soft-fp/op-1.h: Likewise.
61916 * soft-fp/op-2.h: Likewise.
61917 * soft-fp/op-4.h: Likewise.
61918 * soft-fp/op-8.h: Likewise.
61919 * soft-fp/op-common.h: Likewise.
61920 * soft-fp/quad.h: Likewise.
61921 * soft-fp/single.h: Likewise.
61922 * soft-fp/soft-fp.h: Likewise.
61923 * soft-fp/sqrtdf2.c: Likewise.
61924 * soft-fp/sqrtsf2.c: Likewise.
61925 * soft-fp/sqrttf2.c: Likewise.
61926 * soft-fp/subdf3.c: Likewise.
61927 * soft-fp/subsf3.c: Likewise.
61928 * soft-fp/subtf3.c: Likewise.
61929 * soft-fp/truncdfsf2.c: Likewise.
61930 * soft-fp/trunctfdf2.c: Likewise.
61931 * soft-fp/trunctfsf2.c: Likewise.
61932 * soft-fp/trunctfxf2.c: Likewise.
61933 * soft-fp/unorddf2.c: Likewise.
61934 * soft-fp/unordsf2.c: Likewise.
61935 * soft-fp/unordtf2.c: Likewise.
61936
61937 2013-10-15 Joseph Myers <joseph@codesourcery.com>
61938
61939 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61940 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61941
61942 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
61943
61944 * elf/dl-libc.c: Clear initfini list after freeing.
61945
61946 2013-10-14 Joseph Myers <joseph@codesourcery.com>
61947
61948 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61949 * soft-fp/addsf3.c: Likewise.
61950 * soft-fp/addtf3.c: Likewise.
61951 * soft-fp/divdf3.c: Likewise.
61952 * soft-fp/divsf3.c: Likewise.
61953 * soft-fp/divtf3.c: Likewise.
61954 * soft-fp/double.h: Likewise.
61955 * soft-fp/eqdf2.c: Likewise.
61956 * soft-fp/eqsf2.c: Likewise.
61957 * soft-fp/eqtf2.c: Likewise.
61958 * soft-fp/extenddftf2.c: Likewise.
61959 * soft-fp/extended.h: Likewise.
61960 * soft-fp/extendsfdf2.c: Likewise.
61961 * soft-fp/extendsftf2.c: Likewise.
61962 * soft-fp/extendxftf2.c: Likewise.
61963 * soft-fp/fixdfdi.c: Likewise.
61964 * soft-fp/fixdfsi.c: Likewise.
61965 * soft-fp/fixdfti.c: Likewise.
61966 * soft-fp/fixsfdi.c: Likewise.
61967 * soft-fp/fixsfsi.c: Likewise.
61968 * soft-fp/fixsfti.c: Likewise.
61969 * soft-fp/fixtfdi.c: Likewise.
61970 * soft-fp/fixtfsi.c: Likewise.
61971 * soft-fp/fixtfti.c: Likewise.
61972 * soft-fp/fixunsdfdi.c: Likewise.
61973 * soft-fp/fixunsdfsi.c: Likewise.
61974 * soft-fp/fixunsdfti.c: Likewise.
61975 * soft-fp/fixunssfdi.c: Likewise.
61976 * soft-fp/fixunssfsi.c: Likewise.
61977 * soft-fp/fixunssfti.c: Likewise.
61978 * soft-fp/fixunstfdi.c: Likewise.
61979 * soft-fp/fixunstfsi.c: Likewise.
61980 * soft-fp/fixunstfti.c: Likewise.
61981 * soft-fp/floatdidf.c: Likewise.
61982 * soft-fp/floatdisf.c: Likewise.
61983 * soft-fp/floatditf.c: Likewise.
61984 * soft-fp/floatsidf.c: Likewise.
61985 * soft-fp/floatsisf.c: Likewise.
61986 * soft-fp/floatsitf.c: Likewise.
61987 * soft-fp/floattidf.c: Likewise.
61988 * soft-fp/floattisf.c: Likewise.
61989 * soft-fp/floattitf.c: Likewise.
61990 * soft-fp/floatundidf.c: Likewise.
61991 * soft-fp/floatundisf.c: Likewise.
61992 * soft-fp/floatunsidf.c: Likewise.
61993 * soft-fp/floatunsisf.c: Likewise.
61994 * soft-fp/floatuntidf.c: Likewise.
61995 * soft-fp/floatuntisf.c: Likewise.
61996 * soft-fp/floatuntitf.c: Likewise.
61997 * soft-fp/fmadf4.c: Likewise.
61998 * soft-fp/fmasf4.c: Likewise.
61999 * soft-fp/fmatf4.c: Likewise.
62000 * soft-fp/gedf2.c: Likewise.
62001 * soft-fp/gesf2.c: Likewise.
62002 * soft-fp/getf2.c: Likewise.
62003 * soft-fp/ledf2.c: Likewise.
62004 * soft-fp/lesf2.c: Likewise.
62005 * soft-fp/letf2.c: Likewise.
62006 * soft-fp/muldf3.c: Likewise.
62007 * soft-fp/mulsf3.c: Likewise.
62008 * soft-fp/multf3.c: Likewise.
62009 * soft-fp/negdf2.c: Likewise.
62010 * soft-fp/negsf2.c: Likewise.
62011 * soft-fp/negtf2.c: Likewise.
62012 * soft-fp/op-1.h: Likewise.
62013 * soft-fp/op-2.h: Likewise.
62014 * soft-fp/op-4.h: Likewise.
62015 * soft-fp/op-8.h: Likewise.
62016 * soft-fp/op-common.h: Likewise.
62017 * soft-fp/quad.h: Likewise.
62018 * soft-fp/single.h: Likewise.
62019 * soft-fp/soft-fp.h: Likewise.
62020 * soft-fp/sqrtdf2.c: Likewise.
62021 * soft-fp/sqrtsf2.c: Likewise.
62022 * soft-fp/sqrttf2.c: Likewise.
62023 * soft-fp/subdf3.c: Likewise.
62024 * soft-fp/subsf3.c: Likewise.
62025 * soft-fp/subtf3.c: Likewise.
62026 * soft-fp/truncdfsf2.c: Likewise.
62027 * soft-fp/trunctfdf2.c: Likewise.
62028 * soft-fp/trunctfsf2.c: Likewise.
62029 * soft-fp/trunctfxf2.c: Likewise.
62030 * soft-fp/unorddf2.c: Likewise.
62031 * soft-fp/unordsf2.c: Likewise.
62032 * soft-fp/unordtf2.c: Likewise.
62033
62034 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
62035
62036 [BZ #15672]
62037 * misc/error.c (error_tail): Fix possible buffer overflow.
62038
62039 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62040
62041 [BZ #13028]
62042 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62043 address.
62044
62045 2013-10-14 P. J. McDermott <pj@pehjota.net>
62046
62047 [BZ #832]
62048 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62049 testing pipefail option.
62050
62051 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62052
62053 * soft-fp/double.h: Indent preprocessor directives inside #if.
62054 * soft-fp/extended.h: Likewise.
62055 * soft-fp/op-2.h: Likewise.
62056 * soft-fp/op-4.h: Likewise.
62057 * soft-fp/op-common.h: Likewise.
62058 * soft-fp/quad.h: Likewise.
62059 * soft-fp/single.h: Likewise.
62060 * soft-fp/soft-fp.h: Likewise.
62061
62062 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62063
62064 * iconv/iconv_prog.c: Fix typos.
62065 * stdio-common/psiginfo-data.h: Likewise.
62066
62067 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62068
62069 [BZ #15764]
62070 * locale/setlocale.c: Fix typo.
62071
62072 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62073
62074 [BZ #16036]
62075 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62076 signaling NaN arguments.
62077 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62078 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62079
62080 [BZ #14910]
62081 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62082 unordered operands.
62083 * soft-fp/gesf2.c (__gesf2): Likewise.
62084 * soft-fp/getf2.c (__getf2): Likewise.
62085 * soft-fp/ledf2.c (__ledf2): Likewise.
62086 * soft-fp/lesf2.c (__lesf2): Likewise.
62087 * soft-fp/letf2.c (__letf2): Likewise.
62088
62089 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62090 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62091 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62092 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62093 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62094 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62095 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62096 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62097 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62098 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62099 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62100 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62101 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62102 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62103 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62104 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62105 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62106 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62107 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62108 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62109 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62110 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62111 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62112 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62113 * soft-fp/floattidf.c (__floattidf): Likewise.
62114 * soft-fp/floattisf.c (__floattisf): Likewise.
62115 * soft-fp/floattitf.c (__floattitf): Likewise.
62116 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62117 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62118 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62119 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62120 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62121 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62122 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62123 * soft-fp/gesf2.c (__gesf2): Likewise.
62124 * soft-fp/getf2.c (__getf2): Likewise.
62125 * soft-fp/ledf2.c (__ledf2): Likewise.
62126 * soft-fp/lesf2.c (__lesf2): Likewise.
62127 * soft-fp/letf2.c (__letf2): Likewise.
62128
62129 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62130 Undefine and redefine.
62131 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62132 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62133 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62134 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62135 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62136 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62137 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62138 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62139 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62140 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62141 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62142 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62143 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62144 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62145 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62146
62147 [BZ #16032]
62148 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62149 without decrementing exponent if mantissa >= that for the
62150 denominator, not >.
62151 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62152 denominator, not >. Decrement exponent in < case instead of
62153 incrementing in >= case.
62154 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62155 without decrementing exponent if mantissa >= that for the
62156 denominator, not >.
62157
62158 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62159 computing saturated result for unsigned overflow.
62160
62161 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62162 Jeff Law <law@redhat.com>
62163
62164 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62165 (atan2Mp): Add systemtap probe marker.
62166 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62167 (__ieee754_log): Add systemtap probe marker.
62168 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62169 (atanMp): Add systemtap probe marker.
62170 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62171 (tanMp): Add systemtap probe marker.
62172 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62173 (__slowexp): Add systemtap probe marker.
62174 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62175 (__slowpow): Add systemtap probe marker.
62176 * manual/probes.texi: Document probes.
62177
62178 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62179
62180 [BZ #15362]
62181 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62182 written.
62183 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62184 written.
62185 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62186 written to buffer but not flushed.
62187 * libio/iofwrite_u.c: Likewise.
62188 * libio/iopadn.c: Return bytes returned even if EOF was
62189 encountered.
62190 * libio/iowpadn.c: Likewise.
62191 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62192 if _IO_padn does not write the whole buffer.
62193 [!COMPILE_WPRINTF] (PAD): Likewise.
62194
62195 2013-10-10 David S. Miller <davem@davemloft.net>
62196
62197 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62198 directory block.
62199
62200 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62201
62202 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62203 instead of FSF address.
62204 * soft-fp/fixdfti.c: Likewise.
62205 * soft-fp/fixsfti.c: Likewise.
62206 * soft-fp/fixtfti.c: Likewise.
62207 * soft-fp/fixunsdfti.c: Likewise.
62208 * soft-fp/fixunssfti.c: Likewise.
62209 * soft-fp/fixunstfti.c: Likewise.
62210 * soft-fp/floattidf.c: Likewise.
62211 * soft-fp/floattisf.c: Likewise.
62212 * soft-fp/floattitf.c: Likewise.
62213 * soft-fp/floatuntidf.c: Likewise.
62214 * soft-fp/floatuntisf.c: Likewise.
62215 * soft-fp/floatuntitf.c: Likewise.
62216 * soft-fp/trunctfxf2.c: Likewise.
62217
62218 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62219 * soft-fp/fixdfti.c: Likewise.
62220 * soft-fp/fixsfti.c: Likewise.
62221 * soft-fp/fixtfti.c: Likewise.
62222 * soft-fp/fixunsdfti.c: Likewise.
62223 * soft-fp/fixunssfti.c: Likewise.
62224 * soft-fp/fixunstfti.c: Likewise.
62225 * soft-fp/floattidf.c: Likewise.
62226 * soft-fp/floattisf.c: Likewise.
62227 * soft-fp/floattitf.c: Likewise.
62228 * soft-fp/floatuntidf.c: Likewise.
62229 * soft-fp/floatuntisf.c: Likewise.
62230 * soft-fp/floatuntitf.c: Likewise.
62231 * soft-fp/trunctfxf2.c: Likewise.
62232
62233 2013-10-10 David S. Miller <davem@davemloft.net>
62234
62235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62236
62237 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62238
62239 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62240 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62241 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62242 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62243 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62244 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62245 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62246
62247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62248 for NaNs before doing comparisons on argument.
62249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62250 Likewise.
62251
62252 2013-10-10 Will Newton <will.newton@linaro.org>
62253
62254 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62255 passed to _int_memalign does not overflow.
62256
62257 2013-10-10 Torvald Riegel <triegel@redhat.com>
62258
62259 * scripts/bench.pl: Add include-sources directive.
62260 * benchtests/README: Update documentation.
62261
62262 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62263
62264 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62265 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62266 instead of FP_INIT_ROUNDMODE.
62267 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62268 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62269
62270 [BZ #16034]
62271 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62272 copy class of input value.
62273 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62274 not handle exceptions.
62275 * soft-fp/negsf2.c (__negsf2): Likewise.
62276 * soft-fp/negtf2.c (__negtf2): Likewise.
62277 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62278
62279 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62280
62281 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62282 semicolon. From Linux kernel.
62283
62284 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62285
62286 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62287
62288 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62289
62290 [BZ #156]
62291 * manual/socket.texi: Added statement about buffer
62292 for gethostbyname2_r.
62293
62294 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
62295
62296 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62297 Use .p2align directive instead, throughout.
62298 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62299 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62300 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62301 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62302 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62303 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62304 * sysdeps/x86_64/strchr.S: Likewise.
62305 * sysdeps/x86_64/strrchr.S: Likewise.
62306
62307 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62308
62309 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62310
62311 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62312
62313 * sysdeps/generic/math_private.h (__mpsin1): Remove
62314 declaration.
62315 (__mpcos1): Likewise.
62316 (__mpsin): New argument __range_reduce.
62317 (__mpcos): Likewise.
62318 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62319 (slow): Use __mpsin and __mpcos.
62320 (slow1): Likewise.
62321 (slow2): Likewise.
62322 (sloww): Likewise.
62323 (sloww1): Likewise.
62324 (sloww2): Likewise.
62325 (bsloww): Likewise.
62326 (bsloww1): Likewise.
62327 (bsloww2): Likewise.
62328 (cslow2): Likewise.
62329 (csloww): Likewise.
62330 (csloww1): Likewise.
62331 (csloww2): Likewise.
62332 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62333 range_reduce. Merge in __mpsin1.
62334 (__mpcos): Likewise.
62335 (__mpsin1): Remove.
62336 (__mpcos1): Likewise.
62337
62338 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62339
62340 * locale/loadlocale.c (_nl_intern_locale_data): Use
62341 LOCFILE_ALIGNED_P.
62342 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62343 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62344 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62345 obstack data is appropriately aligned.
62346 (obstack_int32_grow_fast): Likewise.
62347 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62348 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62349 (add_locale_uint32_array): Likewise.
62350
62351 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62352
62353 * benchtests/Makefile: Remove ARGLIST and RET variables.
62354 ($(objpfx)bench-%.c): Pass only function name to the script.
62355 * benchtests/README: Update documentation.
62356 * benchtests/acos-inputs: Add new directives.
62357 * benchtests/acosh-inputs: Likewise.
62358 * benchtests/asin-inputs: Likewise.
62359 * benchtests/asinh-inputs: Likewise.
62360 * benchtests/atan-inputs: Likewise.
62361 * benchtests/atanh-inputs: Likewise.
62362 * benchtests/cos-inputs: Likewise.
62363 * benchtests/cosh-inputs: Likewise.
62364 * benchtests/exp-inputs: Likewise.
62365 * benchtests/log-inputs: Likewise.
62366 * benchtests/pow-inputs: Likewise.
62367 * benchtests/rint-inputs: Likewise.
62368 * benchtests/sin-inputs: Likewise.
62369 * benchtests/sinh-inputs: Likewise.
62370 * benchtests/tan-inputs: Likewise.
62371 * benchtests/tanh-inputs: Likewise.
62372 * scripts/bench.pl: Add support for new directives.
62373
62374 2013-10-07 Alan Modra <amodra@gmail.com>
62375
62376 * README: Fix careless merge.
62377
62378 2013-10-05 Alan Modra <amodra@gmail.com>
62379
62380 * NEWS: Mention powerpc64le support and bugs fixed.
62381 * README: Both big-endian and little-endian powerpc64 supported.
62382
62383 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62384
62385 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62386 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62387 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62388 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62389
62390 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62391
62392 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62393 match prototype.
62394
62395 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62396
62397 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62398 Move -mhard-float appending from
62399 ports/sysdeps/powerpc/powerpc32/Makefile.
62400 [$(with-fp) = yes] (ASFLAGS): Likewise.
62401 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62402 * sysdeps/powerpc/nofpu: Move directory from
62403 ports/sysdeps/powerpc/nofpu.
62404 * sysdeps/powerpc/soft-fp: Move directory from
62405 ports/sysdeps/powerpc/soft-fp.
62406 * sysdeps/powerpc/powerpc32/405: Move directory from
62407 ports/sysdeps/powerpc/powerpc32/405.
62408 * sysdeps/powerpc/powerpc32/440: Move directory from
62409 ports/sysdeps/powerpc/powerpc32/440.
62410 * sysdeps/powerpc/powerpc32/464: Move directory from
62411 ports/sysdeps/powerpc/powerpc32/464.
62412 * sysdeps/powerpc/powerpc32/476: Move directory from
62413 ports/sysdeps/powerpc/powerpc32/476.
62414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62415 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62417 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62419 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62421 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62423 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62424 * README: Update for powerpc-*-linux-gnu software floating point
62425 support in libc.
62426
62427 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62428 case to powerpc/powerpc32*.
62429 * sysdeps/unix/sysv/linux/configure: Regenerated.
62430
62431 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62432 (_FPU_MASK_OM): Define as 0x04.
62433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62435 0x00c10080.
62436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62437 0x0000003c.
62438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62439
62440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62441 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62442 getcontext_e500.
62443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62444 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62445 setcontext_e500.
62446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62447 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62448 and setcontext_e500.
62449
62450 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62451
62452 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62453
62454 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62455
62456 * manual/threads.texi (Default Thread Attributes): Fix typo.
62457
62458 2013-10-04 Will Newton <will.newton@linaro.org>
62459
62460 * malloc/Makefile: Add tst-memalign.
62461 * malloc/tst-memalign.c: New file.
62462
62463 * malloc/tst-posix_memalign.c: Add comments.
62464 (do_test): Add comments and call free on all potentially
62465 allocated pointers. Add space after cast.
62466
62467 * malloc/tst-pvalloc.c: Add comments.
62468 (do_test): Add comments and call free on all potentially
62469 allocated pointers. Remove duplicate check for NULL pointer.
62470 Add space after cast.
62471
62472 * malloc/tst-valloc.c: Add comments.
62473 (do_test): Add comments and call free on all potentially
62474 allocated pointers. Remove duplicate check for NULL pointer.
62475 Add space after cast.
62476
62477 2013-10-04 Alan Modra <amodra@gmail.com>
62478
62479 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62480 Use stdint types in rather than __attribute__((mode())).
62481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62482
62483 2013-10-04 Alan Modra <amodra@gmail.com>
62484
62485 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62486 Correct handling of unaligned relocs for little-endian.
62487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62488
62489 2013-10-04 Alan Modra <amodra@gmail.com>
62490
62491 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62492 * configure: Regenerate.
62493 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62494 * shlib-versions: Likewise.
62495
62496 2013-10-04 Alan Modra <amodra@gmail.com>
62497
62498 * string/tester.c (test_memrchr): Increment reported test cycle.
62499
62500 2013-10-04 Alan Modra <amodra@gmail.com>
62501
62502 * string/test-memcpy.c (do_one_test): When reporting errors, print
62503 string address and don't overrun end of string.
62504
62505 2013-10-04 Alan Modra <amodra@gmail.com>
62506
62507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62508 insrdi. Make better use of reg selection to speed exit slightly.
62509 Schedule entry path a little better. Remove useless "are we done"
62510 checks on entry to main loop. Handle wrapping around zero address.
62511 Correct main loop count. Handle single left-over word from main
62512 loop inline rather than by using loop_small. Remove extra word
62513 case in loop_small caused by wrong loop count. Add little-endian
62514 support.
62515 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62516 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62517 cache hint.
62518 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62519 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62520 support. Avoid rlwimi.
62521 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62522
62523 2013-10-04 Alan Modra <amodra@gmail.com>
62524
62525 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62526 insrdi. Formatting.
62527 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62528 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62529 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62530 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62531 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62532 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62533
62534 2013-10-04 Alan Modra <amodra@gmail.com>
62535
62536 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62538 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62539 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62540 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62541 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62542 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62543 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62544 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62545 use of regs. Use power7 mtocrf. Tidy function tails.
62546
62547 2013-10-04 Alan Modra <amodra@gmail.com>
62548
62549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62550 Formatting. Consistently use rXXX register defines or rN defines.
62551 Use early exit labels that avoid restoring unused non-volatile regs.
62552 Make cr field use more consistent with rWORDn compares. Rename
62553 regs used as shift registers for unaligned loop, using rN defines
62554 for short lifetime/multiple use regs.
62555 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62556 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62557 addi 1,1,64 to pop stack frame. Simplify return value code.
62558 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62559
62560 2013-10-04 Alan Modra <amodra@gmail.com>
62561
62562 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62563 support. Correct typos, formatting. Optimize tail. Use insrdi
62564 rather than rlwimi.
62565 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62566 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62567 little-endian support. Correct typos.
62568 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62569 rather than rlwimi.
62570 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62571 in loop and entry code to keep "and." results.
62572 (strchr): Add little-endian support. Comment. Move cntlzd
62573 earlier in tail.
62574 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62575
62576 2013-10-04 Alan Modra <amodra@gmail.com>
62577
62578 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62579 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62580 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62581 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62582
62583 2013-10-04 Alan Modra <amodra@gmail.com>
62584
62585 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62586 (rTMP): Define as r11.
62587 (strcmp): Add little-endian support. Optimise tail.
62588 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62589 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62590 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62591 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62592 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62595
62596 2013-10-04 Alan Modra <amodra@gmail.com>
62597
62598 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62599 little-endian support. Remove unnecessary "are we done" tests.
62600 Handle "s" wrapping around zero and extremely large "size".
62601 Correct main loop count. Handle single left-over word from main
62602 loop inline rather than by using small_loop. Correct comments.
62603 Delete "zero" tail, use "end_max" instead.
62604 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62605
62606 2013-10-04 Alan Modra <amodra@gmail.com>
62607
62608 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62609 support. Don't branch over align.
62610 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62611 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62612 support. Rearrange tmp reg use to suit. Comment.
62613 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62614
62615 2013-10-04 Alan Modra <amodra@gmail.com>
62616
62617 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62618
62619 2013-10-04 Alan Modra <amodra@gmail.com>
62620
62621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62622 conditional form of branch and link when obtaining pc.
62623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62624
62625 2013-10-04 Alan Modra <amodra@gmail.com>
62626
62627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62628 HIWORD/LOWORD.
62629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62631
62632 2013-10-04 Alan Modra <amodra@gmail.com>
62633
62634 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62635 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62636 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62637 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62638 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62639 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62640 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62641 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62642 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62643 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62644
62645 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62646 Alistair Popple <alistair@ozlabs.au.ibm.com>
62647 Alan Modra <amodra@gmail.com>
62648
62649 [BZ #15723]
62650 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62651 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62652 _dl_hwcap access for little-endian.
62653 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62654 destroy vmx regs when saving unaligned.
62655 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62656 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62657 destroy vmx regs when saving unaligned.
62658
62659 2013-10-04 Alan Modra <amodra@gmail.com>
62660
62661 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62662 Don't use a union to pack hi/low value.
62663
62664 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62665
62666 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62667 for little-endian.
62668 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62669 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62670 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62671 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62672 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62673
62674 2013-10-04 Alan Modra <amodra@gmail.com>
62675
62676 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62677 constants to usual value for .cst8 section, and remove redundant
62678 high address load.
62679 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62680 constant for 0x1p52. Load little-endian words of double from
62681 correct stack offsets.
62682
62683 2013-10-04 Alan Modra <amodra@gmail.com>
62684
62685 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62686 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62687 words of double from correct stack offsets.
62688 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62689 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62690 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62691 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62692 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62693 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62694 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62695 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62696 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62697 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62698 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62699 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62700 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62701 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62702 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62703 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62704 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62705
62706 2013-10-04 Alan Modra <amodra@gmail.com>
62707
62708 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62709 64-bit int/double union.
62710 (_FPU_SETCW): Likewise.
62711 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62712 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62713
62714 2013-10-04 Alan Modra <amodra@gmail.com>
62715
62716 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62717 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62718
62719 2013-10-04 Alan Modra <amodra@gmail.com>
62720
62721 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62722 use vector int constants.
62723 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62724
62725 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62726
62727 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62728 array with long long.
62729 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62730 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62731 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62732 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62733 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62734 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62735 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62736 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62737 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62738 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62739 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62740 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62741 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62742
62743 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62744
62745 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62746 (__signbit): Likewise. Correct for little-endian.
62747 (__signbitl): Call __signbit.
62748 (lrint): Correct for little-endian.
62749 (lrintf): Call lrint.
62750
62751 2013-10-04 Alan Modra <amodra@gmail.com>
62752
62753 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62754 union 32-bit int array member with 64-bit int array.
62755 (t515, tm256): Double rather than long double.
62756 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62757
62758 2013-10-04 Alan Modra <amodra@gmail.com>
62759
62760 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62761 Delete.
62762 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62764 version of math_ldbl.h.
62765
62766 2013-10-04 Alan Modra <amodra@gmail.com>
62767
62768 [BZ #15734], [BZ #15735]
62769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62770 all uses of ieee875 long double macros and unions. Simplify test
62771 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62772 ldbl_extract_mantissa value for ix,iy exponents. Properly
62773 normalize after ldbl_extract_mantissa, and don't add hidden bit
62774 already handled. Don't treat low word of ieee854 mantissa like
62775 low word of IBM long double and mask off bit when testing for
62776 zero.
62777 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62778 all uses of ieee875 long double macros and unions. Simplify tests
62779 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62780 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62781 two1022, instead use their values. Recognise that tests for large
62782 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62783 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62784 Rewrite all uses of ieee875 long double macros and unions. Simplify
62785 test for 0.0L and nan. Correct negation.
62786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62787 ieee875 long double macros and unions. Correct output for large
62788 magnitude x. Correct absolute value calculation.
62789 (__erfcl): Likewise.
62790 * math/libm-test.inc: Add tests for errors discovered in IBM long
62791 double versions of fmodl, remainderl, erfl and erfcl.
62792
62793 2013-10-04 Alan Modra <amodra@gmail.com>
62794
62795 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62796 all uses of ieee854 long double macros and unions. Simplify tests
62797 for long doubles that are fully specified by the high double.
62798 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62799 Likewise.
62800 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62801 Remove dead code too.
62802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62803 (__ieee754_ynl): Likewise.
62804 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62805 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62807 Remove dead code too.
62808 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62809 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62810 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62811 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62812 Simplify.
62813 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62814 Simplify.
62815 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62818 Comment on variable precision.
62819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62821 Likewise.
62822 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62823 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62827
62828 2013-10-04 Alan Modra <amodra@gmail.com>
62829
62830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62831 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62832 all uses of ieee854 long double macros and unions.
62833 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62835 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62836 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62837 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62838 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62839 Likewise.
62840 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62841 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62842 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62843 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62844 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62845 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62846 Simplify sign and nan test too.
62847 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62848 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62849 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62850 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62851 Likewise.
62852 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62853 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62854 Likewise.
62855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62856 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62857 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62858 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62859 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62861
62862 2013-10-04 Alan Modra <amodra@gmail.com>
62863
62864 * stdio-common/printf_size.c (__printf_size): Don't use
62865 union ieee854_long_double in fpnum union.
62866 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
62867 signbit macro to retrieve sign from long double.
62868 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62869 retrieve sign from long double.
62870 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62871 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62872 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62873 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62874 * math/test-misc.c (main): Don't use union ieee854_long_double.
62875
62876 2013-10-04 Alan Modra <amodra@gmail.com>
62877
62878 [BZ #15680]
62879 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62880 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62881 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62882 calculation. Remove unnecessary test for denormal exponent.
62883 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62884 Correct handling of denormals. Avoid undefined shift behaviour.
62885 Correct normalisation of low mantissa when low double is denormal.
62886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62887 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
62888 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62889 Correct normalisation of low mantissa. Test for overflow of high
62890 mantissa and normalise.
62891 (ldbl_nearbyint): Use more readable constant for two52.
62892 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62893 (__mpn_construct_long_double): Fix test for overflow of high
62894 mantissa and correct normalisation. Avoid undefined shift.
62895
62896 2013-10-04 Alan Modra <amodra@gmail.com>
62897
62898 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62899 (union ibm_extended_long_double): Define as an array of ieee754_double.
62900 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62901 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62902 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62903 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62905 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62907 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62908 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62909 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62910 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62911
62912 2013-10-03 Joseph Myers <joseph@codesourcery.com>
62913
62914 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62915 page size instead of calling getpagesize.
62916
62917 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62918 (LOCFILE_ALIGN_MASK): Likewise.
62919 (LOCFILE_ALIGN_UP): Likewise.
62920 (LOCFILE_ALIGNED_P): Likewise.
62921 * locale/programs/ld-collate.c (collate_output): Use the new
62922 macros instead of __alignof__ (int32_t).
62923 * locale/weight.h (findidx): Likewise.
62924
62925 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
62926
62927 [BZ #431]
62928 * manual/string.texi: Fix strncat and wcsncat.
62929
62930 2013-10-03 Brooks Moses <bmoses@google.com>
62931
62932 [BZ #15915]
62933 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62934 * Makerules: ...here, and adjust associated comments.
62935
62936 2013-10-02 Will Newton <will.newton@linaro.org>
62937
62938 * malloc/Makefile: Add tst-pvalloc.
62939 * malloc/tst-pvalloc.c: New file.
62940
62941 2013-10-02 Will Newton <will.newton@linaro.org>
62942
62943 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62944 improve test coverage.
62945
62946 2013-10-02 Will Newton <will.newton@linaro.org>
62947
62948 * malloc/Makefile: Add tst-posix_memalign.
62949 * malloc/tst-posix_memalign.c: New file.
62950
62951 2013-10-01 Eric Blake <eblake@redhat.com>
62952
62953 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62954 Use __THROWNL rather than __THROW on static functions.
62955
62956 2013-09-30 Petr Machata <pmachata@redhat.com>
62957
62958 * elf/elf.h (R_AARCH64_ABS16): New macro.
62959 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62960 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62961 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62962 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62963 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62964 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62965 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62966 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62967 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62968 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62969 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62970 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62971 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62972 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62973 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62974 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62975 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62976 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62977 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62978 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62979 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62980 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62981 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62982 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62983 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62984 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62985 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62986 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62987 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62988 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62989 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62990 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62991 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62992 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62993 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62994 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62995 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62996 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62997 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62998 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62999 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63000 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63001 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63002 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63003 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63004 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63005 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63006 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63007 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63008 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63009 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63010 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63011 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63012 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63013 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63014 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63015 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63016 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63017 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63018 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63019 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63020 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63021 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63022 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63023 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63024 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63025 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63026 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63027 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63028 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63029 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63030 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63031 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63032 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63033 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63034 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63035 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63036 (R_AARCH64_TLSDESC_LDR): Likewise.
63037 (R_AARCH64_TLSDESC_ADD): Likewise.
63038 (R_AARCH64_TLSDESC_CALL): Likewise.
63039
63040 2013-09-30 Andreas Schwab <schwab@suse.de>
63041
63042 [BZ #15048]
63043 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63044 the nss database lookup.
63045 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63047
63048 2013-09-28 Mike Frysinger <vapier@gentoo.org>
63049
63050 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63051
63052 2013-09-28 P. J. McDermott <pj@pehjota.net>
63053
63054 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63055 ${Bash-specific parameter/pattern/string} parameter expansion.
63056 * sysdeps/unix/make-syscalls.sh: Likewise.
63057
63058 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63059
63060 * sysdeps/sh/stackguard-macros.h: New file.
63061
63062 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
63063
63064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63066 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63067 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63068 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63069 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63070
63071 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63072
63073 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63074 Fix thread ID register.
63075
63076 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63077
63078 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63079 [POSIX || UNIX98]: Require rather than permitting all symbols from
63080 <time.h>.
63081 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63082 element of struct sched_param.
63083 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63084 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63085 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63086 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63087 constant.
63088
63089 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63090
63091 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63092 argument calculation.
63093
63094 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63095
63096 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63097 Expect macro.
63098 [POSIX] (pthread_attr_t): Do not require type.
63099 [POSIX] (pthread_cond_t): Likewise.
63100 [POSIX] (pthread_condattr_t): Likewise.
63101 [POSIX] (pthread_key_t): Likewise.
63102 [POSIX] (pthread_mutex_t): Likewise.
63103 [POSIX] (pthread_mutexattr_t): Likewise.
63104 [POSIX] (pthread_once_t): Likewise.
63105 [POSIX] (pthread_t): Likewise.
63106 [POSIX-based standards] (pthread_atfork): Expect function.
63107
63108 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63109 Richard Sandiford <richard@codesourcery.com>
63110
63111 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63112 (swap_endianness_p): New extern variable.
63113 (set_big_endian): New inline function.
63114 (maybe_swap_uint32): Likewise.
63115 (maybe_swap_uint32_array): Likewise.
63116 (maybe_swap_uint32_obstack): Likewise.
63117 * locale/programs/locfile.c: Include <stdbool.h>.
63118 (swap_endianness_p): New variable.
63119 (add_locale_uint32): Call maybe_swap_uint32.
63120 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63121 (write_locale_data): Call maybe_swap_uint32_array.
63122 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63123 maybe_swap_uint32.
63124 (obstack_int32_grow_fast): Likewise.
63125 (output_weightwc): Call maybe_swap_uint32_obstack.
63126 (collate_output): Likewise.
63127 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63128 (OPT_LITTLE_ENDIAN): Likewise.
63129 (options): Add --little-endian and --big-endian options.
63130 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63131 * locale/programs/locarchive.c: Include "locfile.h".
63132 (GET): New macro.
63133 (SET): Likewise.
63134 (INC): Likewise.
63135 (create_archive): Use the new macros to access fields of
63136 structures directly mapped from or written to locale archives.
63137 (oldlocrecentcmp): Likewise.
63138 (enlarge_archive): Likewise.
63139 (insert_name): Likewise.
63140 (add_alias): Likewise.
63141 (add_locale): Likewise.
63142 (delete_locales_from_archive): Likewise.
63143 (show_archive_content): Likewise.
63144 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63145 locale data.
63146
63147 2013-09-24 Roland McGrath <roland@hack.frob.com>
63148
63149 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63150 http://www.gnu.org/doc/freemanuals.texi.
63151 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63152
63153 2013-09-24 Will Newton <will.newton@linaro.org>
63154
63155 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63156 macro.
63157
63158 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63159
63160 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63161 unsigned char.
63162
63163 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63164
63165 * manual/threads.texi (POSIX Threads): Fix a typo.
63166
63167 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63168
63169 [BZ #14547]
63170 * string/tst-strcoll-overflow.c: New test case.
63171 * string/Makefile (xtests): Add tst-strcoll-overflow.
63172 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63173 cache if string sizes may cause integer overflow.
63174
63175 [BZ #14547]
63176 * string/strcoll_l.c (coll_seq): New members rule, idx,
63177 save_idx and back_us.
63178 (get_next_seq_nocache): New function.
63179 (do_compare_nocache): New function.
63180 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63181 when malloc fails.
63182
63183 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63184
63185 [BZ #15754]
63186 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63187 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63188 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63189
63190 [BZ #15754]
63191 * elf/Makefile (tests): Add tst-ptrguard1.
63192 (tests-static): Add tst-ptrguard1-static.
63193 (tst-ptrguard1-ARGS): Define.
63194 (tst-ptrguard1-static-ARGS): Define.
63195 * elf/tst-ptrguard1.c: New file.
63196 * elf/tst-ptrguard1-static.c: New file.
63197 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63198 * sysdeps/i386/stackguard-macros.h: Likewise.
63199 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63200 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63201 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63202 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63203 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63204 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63205
63206 2013-09-23 Hector Marco <hecmargi@upv.es>
63207 Ismael Ripoll <iripoll@disca.upv.es>
63208 Carlos O'Donell <carlos@redhat.com>
63209
63210 [BZ #15754]
63211 * sysdeps/generic/stackguard-macros.h: Define
63212 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63213 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63214 Define __pointer_chk_guard_local.
63215 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63216 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63217
63218 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63219
63220 [BZ #15859]
63221 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63222
63223 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63224
63225 * include/string.h (__ffs): Declare as hidden.
63226 * string/ffs.c (__ffs): Define as hidden.
63227 * sysdeps/i386/ffs.c (__ffs): Likewise.
63228 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63229 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63230 * sysdeps/s390/ffs.c (__ffs): Likewise.
63231 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63232
63233 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63234
63235 * NEWS: Mention malloc probes.
63236
63237 * malloc/arena.c (new_heap): New memory_heap_new probe.
63238 (grow_heap): New memory_heap_more probe.
63239 (shrink_heap): New memory_heap_less probe.
63240 (heap_trim): New memory_heap_free probe.
63241 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63242 (systrim): New memory_sbrk_less probe.
63243 * manual/probes.texi: Document them.
63244
63245 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63246 * manual/probes.texi: Document it.
63247
63248 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63249 (__libc_realloc): Add memory_realloc_retry probe.
63250 (__libc_memalign): Add memory_memalign_retry probe.
63251 (__libc_valloc): Add memory_valloc_retry probe.
63252 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63253 (__libc_calloc): Add memory_calloc_retry probe.
63254 * manual/probes.texi: Document them.
63255
63256 * malloc/arena.c (get_free_list): Add probe
63257 memory_arena_reuse_free_list.
63258 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63259 and memory_arena_reuse.
63260 (arena_get2) [!PER_THREAD]: Likewise.
63261 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63262 memory_arena_reuse_realloc.
63263 * manual/probes.texi: Document them.
63264
63265 * malloc/malloc.c (__libc_free): Add
63266 memory_mallopt_free_dyn_thresholds probe.
63267 (__libc_mallopt): Add multiple memory_mallopt probes.
63268 * manual/probes.texi: Document them.
63269
63270 * malloc/malloc.c: Include stap-probe.h.
63271 (__libc_mallopt): Add memory_mallopt probe.
63272 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63273 * manual/probes.texi: New.
63274 * manual/Makefile (chapters): Add probes.
63275 * manual/threads.texi: Set next node.
63276
63277 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63278
63279 [BZ #15963, #13985]
63280 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63281 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63282 Add `Chinese' to `nan' entry name.
63283
63284 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63285
63286 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63287 (POLYNOMIAL): Likewise.
63288 (TAYLOR_SINCOS): Likewise.
63289 (TAYLOR_SLOW): Likewise.
63290 (__sin): Use TAYLOR_SINCOS.
63291 (__cos): Likewise.
63292 (slow): Use TAYLOR_SLOW.
63293 (sloww): Likewise.
63294 (bsloww): Likewise.
63295 (csloww): Likewise.
63296
63297 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63298
63299 * stdlib/strtod_l.c: Fix buffer overrun.
63300
63301 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63302
63303 * benchtests/Makefile (bench): Add sincos.
63304 * benchtests/bench-sincos.c: New file.
63305
63306 * math/libm-test.inc (cos_test_data): New test inputs.
63307 (sin_test_data): Likewise.
63308
63309 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63310 macro.
63311 (__sin): Use it.
63312 (__cos): Likewise.
63313 (slow1): Likewise.
63314 (slow2): Likewise.
63315 (sloww1): Likewise.
63316 (sloww2): Likewise.
63317 (bsloww1): Likewise.
63318 (bsloww2): Likewise.
63319 (cslow2): Likewise.
63320 (csloww1): Likewise.
63321 (csloww2): Likewise.
63322
63323 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63324 function.
63325 (__sin): Use it.
63326 (__cos): Likewise.
63327
63328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63329 gotos.
63330 (__cos): Likewise.
63331
63332 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63333
63334 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63335 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63336 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63337 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63338 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63339 * elf/cache.c (print_entry): Handle the new cache flags.
63340
63341 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63342 Aldy Hernandez <aldyh@redhat.com>
63343
63344 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63345 Change condition to [_SOFT_FLOAT].
63346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63356 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63358 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63361 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63362 declaration.
63363
63364 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63365
63366 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63367 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63368 (__longjmp): Use LOAD_GP to load saved GPRs.
63369 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63370 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63371 (__sigsetjmp): Use SAVE_GP to save GPRs.
63372
63373 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63374 Do not append -msoft-float.
63375 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63376
63377 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63378
63379 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63380
63381 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63382
63383 [BZ #15966]
63384 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63385 (_FPU_GETCW): Use initial "__" on variable and field names but not
63386 on macro parameter name.
63387 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63388 parentheses around reference to macro parameter.
63389
63390 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63391
63392 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63393 prototype.
63394 (ctype_startup): Use uint32_t in cast and sizeof for
63395 ctype->charnames.
63396
63397 2013-09-11 Jia Liu <proljc@gmail.com>
63398
63399 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63400 __daddr_t_defined.
63401 [__FreeBSD__]: Likewise.
63402
63403 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
63404
63405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63406 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63407 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63408 (strchr): Remove __strchr_sse42 ifunc selection.
63409 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63410 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63411
63412 2013-09-11 Will Newton <will.newton@linaro.org>
63413
63414 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63415 parameter to RES. Remove hardcoded 1000 value.
63416 * benchtests/bench-skeleton.c (main): Pass RES parameter
63417 to TIMING_INIT and multiply result by 1000.
63418
63419 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63420
63421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63422
63423 2013-09-11 Andreas Schwab <schwab@suse.de>
63424
63425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63426 if not defined.
63427 (O_TMPFILE) [__USE_GNU]: Define.
63428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63429 Define.
63430
63431 2013-09-11 Will Newton <will.newton@linaro.org>
63432
63433 [BZ #15857]
63434 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63435 does not overflow.
63436
63437 2013-09-11 Will Newton <will.newton@linaro.org>
63438
63439 [BZ #15856]
63440 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63441 does not overflow.
63442
63443 2013-09-11 Will Newton <will.newton@linaro.org>
63444
63445 [BZ #15855]
63446 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63447 does not overflow.
63448
63449 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
63450
63451 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63452 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63453 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63454 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63455 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63456
63457 2013-09-10 Allan McRae <allan@archlinux.org>
63458
63459 [BZ #15748]
63460 * manual/arith.texi (Parsing of Floats): Clarify
63461 cross-reference.
63462
63463 [BZ #15849]
63464 * manual/install.texi (Running make install): Mention
63465 --enable-pt-chown.
63466 * INSTALL: Regenerated.
63467
63468 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63469
63470 * csu/init-first.c (_init): Remove the !SHARED condition around
63471 FPU control word initialization.
63472 * elf/dl-support.c (_dl_fpu_control): New variable.
63473 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63474 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63475 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63476 * math/test-fpucw-static.c: New file.
63477 * math/test-fpucw-ieee.c: New file.
63478 * math/test-fpucw-ieee-static.c: New file.
63479 * math/Makefile (tests): Add `test-fpucw-ieee' and
63480 `$(tests-static)'.
63481 (tests-static): New variable.
63482 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63483 dependency to...
63484 [($(build-shared),yes)]
63485 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63486 ... this.
63487 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63488 New dependency.
63489
63490 2013-09-09 Allan McRae <allan@archlinux.org>
63491
63492 [BZ #15939]
63493 * manual/string.texi (Collation Functions): Fix typo in
63494 strcoll example.
63495 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63496
63497 [BZ #15893]
63498 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63499
63500 [BZ #15892]
63501 * libio/memstream.c (open_memstream): Fix memory leak.
63502 * libio/wmemstream.c (open_wmemstream): Likewise.
63503
63504 [BZ #15895]
63505 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63506
63507 2013-09-09 Will Newton <will.newton@linaro.org>
63508
63509 * malloc/Makefile: Add tst-realloc to tests.
63510 * malloc/tst-realloc.c: New file.
63511
63512 2013-09-09 Allan McRae <allan@archlinux.org>
63513
63514 [BZ #15844]
63515 * COPYING: Update from GNU website to fix FSF address.
63516 * COPYING.LIB: Likewise.
63517
63518 2013-09-06 David S. Miller <davem@davemloft.net>
63519
63520 * po/zh_TW.po: Update Chinese (traditional) translation from
63521 translation project.
63522
63523 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63524 Joseph Myers <joseph@codesourcery.com>
63525
63526 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63527 "localeinfo.h".
63528 (obstack_chunk_alloc): New macro.
63529 (obstack_chunk_free): Likewise.
63530 (record_offset): New function.
63531 (init_locale_data): Likewise.
63532 (align_locale_data): Likewise.
63533 (add_locale_empty): Likewise.
63534 (add_locale_raw_data): Likewise.
63535 (add_locale_raw_obstack): Likewise.
63536 (add_locale_string): Likewise.
63537 (add_locale_wstring): Likewise.
63538 (add_locale_uint32): Likewise.
63539 (add_locale_uint32_array): Likewise.
63540 (add_locale_char): Likewise.
63541 (start_locale_structure): Likewise.
63542 (end_locale_structure): Likewise.
63543 (start_locale_prelude): Likewise.
63544 (end_locale_prelude): Likewise.
63545 (write_locale_data): Take locale_file structure rather than an
63546 iovec.
63547 * locale/programs/locfile.h: Include "obstack.h".
63548 (struct locale_file): Change to store locale file contents instead
63549 of header.
63550 (init_locale_data): New prototype.
63551 (align_locale_data): Likewise.
63552 (add_locale_empty): Likewise.
63553 (add_locale_raw_data): Likewise.
63554 (add_locale_raw_obstack): Likewise.
63555 (add_locale_string): Likewise.
63556 (add_locale_wstring): Likewise.
63557 (add_locale_uint32): Likewise.
63558 (add_locale_uint32_array): Likewise.
63559 (add_locale_char): Likewise.
63560 (start_locale_structure): Likewise.
63561 (end_locale_structure): Likewise.
63562 (start_locale_prelude): Likewise.
63563 (end_locale_prelude): Likewise.
63564 (write_locale_data): Update prototype.
63565 * locale/programs/3level.h (struct TABLE): Remove result field.
63566 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63567 Use new locale_file interface.
63568 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63569 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63570 * locale/programs/ld-address.c (address_output): Use new
63571 locale_file interface.
63572 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63573 NO_ADD_LOCALE.
63574 (collate_finish): Don't call collseq_table_finalize.
63575 (collate_output): Use new locale_file interface.
63576 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63577 in file.
63578 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63579 (TABLE): Move defines earlier in file.
63580 (ELEMENT): Likewise.
63581 (DEFAULT): Likewise.
63582 (wctrans_table_add): Move macro and inline function earlier in
63583 file.
63584 (struct wctype_table): Move type earlier in file.
63585 (add_locale_wctype_table): New static prototype.
63586 (struct locale_ctype_t): Use logical types instead of struct iovec
63587 pointers for members.
63588 (ctype_output): Use new locale_file interface.
63589 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63590 new locale_file interface.
63591 (allocate_arrays): Update for use of new locale_file interface.
63592 * locale/programs/ld-identification.c (identification_output): Use
63593 new locale_file interface.
63594 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63595 * locale/programs/ld-messages.c (messages_output): Likewise.
63596 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63597 * locale/programs/ld-name.c (name_output): Likewise.
63598 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63599 * locale/programs/ld-paper.c (paper_output): Likewise.
63600 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63601 * locale/programs/ld-time.c (time_output): Likewise.
63602
63603 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63604
63605 * benchtests/Makefile: Add memrchr benchmark.
63606 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63607 benchmark as memrchr.
63608 * benchtests/bench-memrchr-ifunc.c: New file.
63609 * benchtests/bench-memrchr.c: New file.
63610
63611 2013-09-06 Will Newton <will.newton@linaro.org>
63612
63613 * benchtests/Makefile (string-bench): Add memcpy.
63614
63615 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63616 Cong Wang <amwang@redhat.com>
63617
63618 [BZ #15850]
63619 * sysdeps/unix/sysv/linux/bits/in.h
63620 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63621 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63622 before __USE_KERNEL_IPV6_DEFS uses.
63623 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63624 IPPROTO_BEETPH.
63625 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63626 sockaddr_in6, or ipv6_mreq.
63627
63628 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63629
63630 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63631 memory access for final bytes in some large inputs.
63632 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63633
63634 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63635
63636 * string/test-memrchr.c: New file.
63637 * string/test-memrchr-ifunc.c: New file.
63638 * string/Makefile: Add new memrchr testcase.
63639
63640 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63641
63642 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63643 fanotify_init returns EPERM.
63644
63645 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63646
63647 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63648 errors.
63649 (top level): Treat second token from macro or constant entries for
63650 allowed headers as allowed.
63651 * include/complex.h: Condition internal declarations on
63652 [!_ISOMAC].
63653 * include/fenv.h: Condition include of <stdbool.h> and internal
63654 declarations on [!_ISOMAC].
63655
63656 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63657
63658 [BZ #15923]
63659 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63660
63661 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63662
63663 * configure.in (--enable-versioning): Remove configure option.
63664 (libc_cv_asm_symver_directive): Remove configure test.
63665 (libc_cv_ld_version_script_option): Likewise.
63666 (VERSIONING): Remove variable and AC_SUBST.
63667 (DO_VERSIONING): Remove AC_DEFINE.
63668 * configure: Regenerated.
63669 * config.h.in (DO_VERSIONING): Remove macro.
63670 * Makerules [$(versioning) = yes]: Change conditionals to
63671 [$(build-shared) = yes].
63672 * config.make.in (versioning): Remove variable.
63673 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63674 [$(build-shared) = yes].
63675 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63676 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63677 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63678 [$(build-shared) = yes].
63679 * extra-lib.mk [$(versioning) = yes]: Likewise.
63680 * hurd/Makefile [$(versioning) = yes]: Likewise.
63681 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63682 [SHARED].
63683 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63684 [SHARED].
63685 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63686 [SHARED && !NO_HIDDEN].
63687 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63688 [SHARED].
63689 [SHARED && DO_VERSIONING]: Likewise..
63690 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63691 [$(build-shared) = yes].
63692 * manual/install.texi (--disable-versioning): Remove
63693 documentation.
63694 * INSTALL: Regenerated.
63695 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63696 to [SHARED].
63697 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63698 [$(build-shared) = yes].
63699 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63700 * sysdeps/i386/i686/multiarch/strstr-c.c
63701 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63702 [SHARED && !NO_HIDDEN].
63703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63704 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63705 * sysdeps/powerpc/powerpc32/dl-machine.c
63706 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63707 * sysdeps/powerpc/powerpc32/sysdep.h
63708 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63709 to [SHARED && PIC && !NO_HIDDEN].
63710 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63711 conditional to [SHARED].
63712
63713 2013-09-04 Will Newton <will.newton@linaro.org>
63714
63715 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63716 * benchtests/bench-string.h: Include bench-timing.h instead
63717 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63718 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63719 call to HP_TIMING_DIFF_INIT.
63720 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63721 instead of hp-timing.h macros.
63722 * benchtests/bench-memchr.c: Likewise.
63723 * benchtests/bench-memcmp.c: Likewise.
63724 * benchtests/bench-memcpy.c: Likewise.
63725 * benchtests/bench-memmem.c: Likewise.
63726 * benchtests/bench-memmove.c: Likewise.
63727 * benchtests/bench-memset.c: Likewise.
63728 * benchtests/bench-rawmemchr.c: Likewise.
63729 * benchtests/bench-strcasecmp.c: Likewise.
63730 * benchtests/bench-strcasestr.c: Likewise.
63731 * benchtests/bench-strcat.c: Likewise.
63732 * benchtests/bench-strchr.c: Likewise.
63733 * benchtests/bench-strcmp.c: Likewise.
63734 * benchtests/bench-strcpy.c: Likewise.
63735 * benchtests/bench-strcpy_chk.c: Likewise.
63736 * benchtests/bench-strlen.c: Likewise.
63737 * benchtests/bench-strncasecmp.c: Likewise.
63738 * benchtests/bench-strncat.c: Likewise.
63739 * benchtests/bench-strncmp.c: Likewise.
63740 * benchtests/bench-strncpy.c: Likewise.
63741 * benchtests/bench-strnlen.c: Likewise.
63742 * benchtests/bench-strpbrk.c: Likewise.
63743 * benchtests/bench-strrchr.c: Likewise.
63744 * benchtests/bench-strspn.c: Likewise.
63745 * benchtests/bench-strstr.c: Likewise.
63746
63747 2013-09-04 Will Newton <will.newton@linaro.org>
63748
63749 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63750
63751 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63752
63753 [BZ #15427]
63754 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63755 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63756 * math/libm-test.inc (lgamma_test_data): Add more tests.
63757 * sysdeps/i386/fpu/libm-test-ulps: Update.
63758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63759
63760 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
63761
63762 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63764 Add ifunc.
63765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63766 Add strcmp-sse2-unaligned
63767 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63768
63769 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63770
63771 * Versions.def (libc): Add GLIBC_2.19.
63772
63773 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63774
63775 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63776 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63777
63778 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63779
63780 [BZ #14155]
63781 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63782 intermediate calculations in recurrence.
63783 (__ieee754_ynf): Likewise.
63784 * math/libm-test.inc (jn_test_data): Do not allow spurious
63785 underflow exception. Add more tests.
63786 (yn_test_data): Add more tests.
63787 * sysdeps/i386/fpu/libm-test-ulps: Update.
63788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63789
63790 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
63791
63792 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63793
63794 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63795
63796 * csu/init-first.c: Fix then/than typos.
63797 * locale/programs/ld-collate.c: Likewise.
63798 * locale/programs/linereader.h: Likewise.
63799 * manual/charset.texi: Likewise.
63800 * manual/filesys.texi: Likewise.
63801 * manual/stdio.texi: Likewise.
63802 * manual/string.texi: Likewise.
63803 * stdlib/fmtmsg.c: Likewise.
63804 * sysdeps/i386/stpncpy.S: Likewise.
63805 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63806 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63807 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63808 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63809
63810 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63811
63812 * elf/dl-open.c: Fix typos.
63813 * iconvdata/gbbig5.c: Likewise.
63814 * iconvdata/iso-2022-jp.c: Likewise.
63815 * iconv/gconv_int.h: Likewise.
63816 * iconv/loop.c: Likewise.
63817 * nis/rpcsvc/nis.h: Likewise.
63818 * resolv/ns_name.c: Likewise.
63819 * stdio-common/vfscanf.c: Likewise.
63820 * streams/stropts.h: Likewise.
63821 * sunrpc/rpc_thread.c: Likewise.
63822 * sysdeps/i386/strpbrk.S: Likewise.
63823 * sysdeps/ieee754/k_standard.c: Likewise.
63824 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63826 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63827 * sysdeps/mach/hurd/profil.c: Likewise.
63828 * sysdeps/s390/dl-procinfo.h: Likewise.
63829 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63830 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63831 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63832 * sysdeps/x86_64/dl-trampoline.S: Likewise.
63833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63834
63835 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63836
63837 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63839
63840 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63841
63842 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63843 aix specific files.
63844 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63845 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63846 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63847 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63848 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63849 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63850 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63851 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63852
63853 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63854 Roland McGrath <roland@hack.frob.com>
63855
63856 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63857 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63858
63859 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
63860
63861 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63862 __executable_start symbol instead of _start.
63863
63864 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63865
63866 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63867 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63868 Move macros to...
63869 * sysdeps/gnu/ldsodefs.h: ... this new file.
63870
63871 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63872 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63873 instead of ELFOSABI_LINUX.
63874
63875 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63876 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63877 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63878 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63879 Likewise.
63880 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63881 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63882 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63883 Likewise.
63884 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63885 (ibm_extended_long_double): Add ieee_nan member.
63886 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63887 (do_test): New function.
63888
63889 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63890 TEST_TRUNC.
63891 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63892 functions, renamed from truncdfsf_test, trunctfsf_test,
63893 trunctfdf_test.
63894 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63895 functions.
63896 (do_test): Run all these.
63897
63898 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63899
63900 * argp/argp-help.c: Fix typos.
63901 * argp/argp-parse.c: Likewise.
63902 * debug/backtracesyms.c: Likewise.
63903 * elf/elf.h: Likewise.
63904 * malloc/malloc.c: Likewise.
63905 * nis/nis_print.c: Likewise.
63906 * resolv/res_comp.c: Likewise.
63907 * stdlib/stdlib.h: Likewise.
63908 * sunrpc/clnt_tcp.c: Likewise.
63909 * sunrpc/clnt_udp.c: Likewise.
63910 * sunrpc/clnt_unix.c: Likewise.
63911 * sysdeps/unix/bsd/ptsname.c: Likewise.
63912 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63913 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63915 Likewise.
63916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63917 Likewise.
63918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63919 Likewise.
63920 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63921
63922 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63923
63924 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63926
63927 2013-08-27 Mike Frysinger <vapier@gentoo.org>
63928
63929 [BZ #15897]
63930 * dlfcn/Makefile (tests): Add bug-dl-leaf.
63931 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63932 ($(objpfx)bug-dl-leaf): New rule.
63933 ($(objpfx)bug-dl-leaf.so): Likewise.
63934 ($(objpfx)bug-dl-leaf.out): Likewise.
63935 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63936 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63937 * dlfcn/bug-dl-leaf.c: New test.
63938 * dlfcn/bug-dl-leaf-lib.c: Likewise.
63939 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63940 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63941 (dlclose): Likewise.
63942 (dlmopen): Likewise.
63943
63944 2013-08-27 Roland McGrath <roland@hack.frob.com>
63945
63946 * include/netdb.h [!_ISOMAC]:
63947 Don't include <tls.h>.
63948 (h_errno, __libc_h_errno): Move declaration and macros out of
63949 [_LIBC_REENTRANT].
63950
63951 * include/resolv.h [_RESOLV_H_]:
63952 Don't include <tls.h>.
63953 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63954 * resolv/res_libc.c: Don't include <tls.h>.
63955 (_res): Use __attribute__ ((nocommon)) in place of
63956 __attribute__ ((section (".bss"))).
63957
63958 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63959 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63960
63961 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63962
63963 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63964 only under [SIOCGIFCONF && SIOCGIFNETMASK].
63965
63966 * resolv/res_mkquery.c: Include <sys/time.h>.
63967
63968 * inet/ifreq.c: Moved to ...
63969 * sysdeps/unix/ifreq.c: ... here.
63970 * inet/ifreq.c: New file, true stub version.
63971
63972 * socket/sa_len.c: New file.
63973 * socket/Makefile (aux): Add it.
63974 * sysdeps/unix/sysv/linux/Makefile
63975 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63976 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63977 and #include <socket/sa_len.c>.
63978 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63979 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63980
63981 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63982 * bits/socket.h: ... here.
63983
63984 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63985 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63986 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63987
63988 2013-08-27 Andreas Schwab <schwab@suse.de>
63989
63990 [BZ #15736]
63991 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63992 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63993 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63994 * string/test-strcasecmp.c (test_main): Run tests in several
63995 locales.
63996 * string/test-strncasecmp.c (test_main): Likewise.
63997
63998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63999 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64000 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64002 (__strncasecmp_ssse3) [PIC]: Likewise.
64003
64004 2013-08-26 Roland McGrath <roland@hack.frob.com>
64005
64006 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64007
64008 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64009 instead of explicitly declaring xdecrypt.
64010 * nis/nss_nis/nis-publickey.c: Likewise.
64011
64012 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64013
64014 [BZ #15890]
64015 * nscd/aicache.c: Include res_hconf.h.
64016 (addhstaiX): Initialize res_hconf.
64017
64018 2013-08-26 Andreas Schwab <schwab@suse.de>
64019
64020 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64021 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64022
64023 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64024
64025 * nscd/aicache.c (addhstaiX): Fix indentation.
64026
64027 2013-08-25 Mike Frysinger <vapier@gentoo.org>
64028
64029 * configure.ac: Quote $build_pt_chown test.
64030 * configure: Regenerated.
64031
64032 2013-08-23 Joseph Myers <joseph@codesourcery.com>
64033
64034 [BZ #15532]
64035 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64036 * math/s_cexpf.c (__cexpf): Likewise.
64037 * math/s_cexpl.c (__cexpl): Likewise.
64038 * math/libm-test.inc (cexp_test_data): Correct expected return
64039 value for NaN + i0. Add another test.
64040
64041 2013-08-22 David S. Miller <davem@davemloft.net>
64042
64043 * po/ca.po: Update Catalan translation from translation project.
64044 * po/uk.po: Add Ukrainian translations from translation project.
64045
64046 2013-08-21 Joseph Myers <joseph@codesourcery.com>
64047
64048 [BZ #15797]
64049 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64050 is infinite, not alongside NaN test.
64051 * math/s_fdimf.c (__fdimf): Likewise.
64052 * math/s_fdiml.c (__fdiml): Likewise.
64053 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64054 errno is unchanged.
64055
64056 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
64057
64058 * argp/argp-help.c: Fix typos.
64059 * crypt/speeds.c: Likewise.
64060 * csu/check_fds.c: Likewise.
64061 * elf/dl-load.c: Likewise.
64062 * elf/dl-open.c: Likewise.
64063 * elf/reldep3.c: Likewise.
64064 * elf/reldep.c: Likewise.
64065 * elf/sprof.c: Likewise.
64066 * iconv/iconv_charmap.c: Likewise.
64067 * iconv/skeleton.c: Likewise.
64068 * iconv/strtab.c: Likewise.
64069 * io/lockf64.c: Likewise.
64070 * libio/libioP.h: Likewise.
64071 * resolv/gai_notify.c: Likewise.
64072 * resolv/ns_name.c: Likewise.
64073 * resolv/ns_samedomain.c: Likewise.
64074 * resolv/res_send.c: Likewise.
64075 * stdlib/random.c: Likewise.
64076 * sunrpc/rpc/xdr.h: Likewise.
64077 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64078 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64081 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64082 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64085 * sysdeps/mach/hurd/check_fds.c: Likewise.
64086 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64087 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64088 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64090 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64091 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64092 * sysdeps/pthread/aio_notify.c: Likewise.
64093 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64094 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64095 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64097 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64098
64099 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64100
64101 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64102 version if bit_Slow_SSE4_2 is set.
64103 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64104 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64105
64106 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64107
64108 [BZ #15867]
64109 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64110 trampoline stack frame information.
64111 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64113 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64114 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64115 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64116 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64117 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64118 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64119 sa_flags value.
64120 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64121 interrupting a syscall and set with option SA_SIGINFO.
64122
64123 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64124
64125 [BZ #15531]
64126 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64127 argument is infinite.
64128 * math/s_cprojf.c (__cprojf): Likewise.
64129 * math/s_cprojl.c (__cprojl): Likewise.
64130 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64131 * math/libm-test.inc (cproj_test_data): Add more tests.
64132
64133 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64134
64135 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64136 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64137 size. Use __ffs to determine corresponding shift.
64138
64139 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64140 Roland McGrath <roland@hack.frob.com>
64141
64142 * Makefile (INSTALL): Remove trailing blank lines from output of
64143 makeinfo.
64144
64145 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64146
64147 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64148 Align 32 bit compat elf_greg to 8 bytes.
64149
64150 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64151
64152 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64153
64154 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64155
64156 * string/strcoll_l.c (coll_seq): New structure.
64157 (get_next_seq_cached): New function.
64158 (get_next_seq): New function.
64159 (do_compare): New function.
64160 (STRCOLL): Use GNU style definition. Simplify implementation
64161 by using get_next_seq, get_next_seq_cached and do_compare.
64162
64163 2013-08-16 Florian Weimer <fweimer@redhat.com>
64164
64165 [BZ #14699]
64166 CVE-2013-4237
64167 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64168 member.
64169 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64170 member.
64171 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64172 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64173 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64174 conditional.
64175 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64176 GETDENTS_64BIT_ALIGNED.
64177 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64178 * manual/filesys.texi (Reading/Closing Directory): Document
64179 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64180 strongly.
64181 * manual/conf.texi (Limits for Files): Add portability note to
64182 NAME_MAX, PATH_MAX.
64183 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64184
64185 2013-08-13 Andreas Schwab <schwab@suse.de>
64186
64187 [BZ #15749]
64188 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64189 of fabs.
64190 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64191 LDBL_MAX_EXP >= 16384]: Add tests for it.
64192
64193 2013-08-12 David S. Miller <davem@davemloft.net>
64194
64195 * version.h (RELEASE): Set to "development".
64196 (VERSION): Set to "2.18.90".
64197 * NEWS: Add 2.19 section.
64198
64199 2013-08-03 David S. Miller <davem@davemloft.net>
64200
64201 * po/ko.po: Update Korean translation from translation project.
64202
64203 2013-08-01 David S. Miller <davem@davemloft.net>
64204
64205 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64206 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64207 Bilka.
64208
64209 2013-07-30 David S. Miller <davem@davemloft.net>
64210
64211 * po/fr.po: Update French translation from translation project.
64212
64213 2013-07-28 David S. Miller <davem@davemloft.net>
64214
64215 * po/cs.po: Update Czech translation from translation project.
64216
64217 * po/sv.po: Update Swedish translation from translation project.
64218
64219 2013-07-27 David S. Miller <davem@davemloft.net>
64220
64221 * po/eo.po: Update Esperanto translation from translation project.
64222
64223 * po/vi.po: Update Vietnamese translation from translation project.
64224
64225 * po/de.po: Update German translation from translation project.
64226
64227 2013-07-26 David S. Miller <davem@davemloft.net>
64228
64229 * po/bg.po: Update Bulgarian translation from translation project.
64230
64231 * po/nl.po: Update Dutch translation from translation project.
64232 * po/pl.po: Update Polish translation from translation project.
64233 * po/ru.po: Update Russian translation from translation project.
64234
64235 2013-07-24 David S. Miller <davem@davemloft.net>
64236
64237 * po/libc.pot: Update.
64238
64239 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64240
64241 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64242 variable page size.
64243 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64244 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64245 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64246
64247 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64248
64249 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64250
64251 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64252 Andreas Schwab <schwab@suse.de>
64253 Roland McGrath <roland@hack.frob.com>
64254 Joseph Myers <joseph@codesourcery.com>
64255 Carlos O'Donell <carlos@redhat.com>
64256
64257 [BZ #15755]
64258 * config.h.in: Define HAVE_PT_CHOWN.
64259 * config.make.in (build-pt-chown): New variable.
64260 * configure.in (--enable-pt_chown): New configure option.
64261 * configure: Regenerate.
64262 * login/Makefile: Include Makeconfig. Build pt_chown only if
64263 build-pt-chown is enabled.
64264 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64265 pt_chown to fix pty ownership.
64266 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64267 CLOSE_ALL_FDS.
64268 * manual/install.texi (Configuring and compiling): Mention
64269 --enable-pt_chown. Add @findex for grantpt.
64270 * INSTALL: Regenerate.
64271
64272 2013-07-20 David S. Miller <davem@davemloft.net>
64273
64274 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64275 difference between 32-bit and 64-bit.
64276
64277 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64278
64279 [BZ #15711]
64280 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64281 Avoid system header dependency with -ffreestanding.
64282 ($(objpfx)bits/syscall%d): Likewise.
64283
64284 2013-07-13 David S. Miller <davem@davemloft.net>
64285
64286 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64287 underflows from atanl/atan2l due to bug 15319.
64288 (casinh_test_data): Likewise.
64289
64290 2013-07-07 David S. Miller <davem@davemloft.net>
64291
64292 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64293
64294 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64295
64296 * sysdeps/i386/fpu/libm-test-ulps: Update.
64297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64298
64299 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64300
64301 * configure.in (--enable-lock-elision): Fix message text.
64302 * INSTALL: Regenerate.
64303 * configure: Regenerate.
64304
64305 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64306
64307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64308
64309 2013-07-03 Andreas Jaeger <aj@suse.de>
64310
64311 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64312 define.
64313 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64314 (ptrace_peeksiginfo_args): Add.
64315 (__ptrace_peeksiginfo_flags): Add.
64316 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64318 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64319
64320 2013-07-03 Allan McRae <allan@archlinux.org>
64321
64322 * sysdeps/i386/fpu/libm-test-ulps: Update.
64323
64324 2013-07-02 David S. Miller <davem@davemloft.net>
64325
64326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64327
64328 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64329
64330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64331
64332 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64333
64334 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64336
64337 2013-07-02 Andi Kleen <ak@linux.intel.com>
64338
64339 * config.h.in (ENABLE_LOCK_ELISION): Add.
64340 * configure.in (--enable-lock-elision): Add option.
64341 * manual/install.texi: Document --enable lock elision.
64342 * configure: Regenerate
64343 * INSTALL: Regenerate.
64344
64345 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64346
64347 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64348 SSE4.2 strcasecmp for libc.a.
64349 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64350
64351 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64352
64353 [BZ #13304]
64354 * soft-fp/op-common.h (_FP_FMA): New macro.
64355 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64356 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64357 (_FP_MUL_MEAT_1_imm): ... here.
64358 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64359 (_FP_MUL_MEAT_1_wide): ... here.
64360 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64361 (_FP_MUL_MEAT_1_hard): ... here.
64362 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64363 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64364 (_FP_MUL_MEAT_2_wide): ... here.
64365 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64366 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64367 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64368 (_FP_MUL_MEAT_2_gmp): ... here.
64369 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64370 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64371 (_FP_MUL_MEAT_4_wide): ... here.
64372 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64373 (_FP_MUL_MEAT_4_gmp): ... here.
64374 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64375 (_FP_WFRACBITS_DW_S): Likewise.
64376 (_FP_WFRACXBITS_DW_S): Likewise.
64377 (_FP_HIGHBIT_DW_S): Likewise.
64378 (FP_FMA_S): Likewise.
64379 (_FP_FRAC_HIGH_DW_S): Likewise.
64380 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64381 (_FP_WFRACBITS_DW_D): Likewise.
64382 (_FP_WFRACXBITS_DW_D): Likewise.
64383 (_FP_HIGHBIT_DW_D): Likewise.
64384 (FP_FMA_D): Likewise.
64385 (_FP_FRAC_HIGH_DW_D): Likewise.
64386 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64387 (_FP_WFRACBITS_DW_E): Likewise.
64388 (_FP_WFRACXBITS_DW_E): Likewise.
64389 (_FP_HIGHBIT_DW_E): Likewise.
64390 (FP_FMA_E): Likewise.
64391 (_FP_FRAC_HIGH_DW_E): Likewise.
64392 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64393 (_FP_WFRACBITS_DW_Q): Likewise.
64394 (_FP_WFRACXBITS_DW_Q): Likewise.
64395 (_FP_HIGHBIT_DW_Q): Likewise.
64396 (FP_FMA_Q): Likewise.
64397 (_FP_FRAC_HIGH_DW_Q): Likewise.
64398 * soft-fp/fmasf4.c: New file.
64399 * soft-fp/fmadf4.c: Likewise.
64400 * soft-fp/fmatf4.c: Likewise.
64401
64402 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64403
64404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64405 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64406 Silvermont.
64407 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64408 macro.
64409 (index_Slow_SSE4_2): Likewise.
64410 (index_Prefer_PMINUB_for_stringop): Likewise.
64411 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64412 bit_Slow_SSE4_2 is set.
64413 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64414 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64415
64416 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64417
64418 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64419 rtld_global._dl_hwcap2.
64420 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64421 POWER8.
64422 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64423 POWER8 feature descriptions defined in _dl_hwcap2.
64424 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64425 string handling for POWER8 feature bits.
64426 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64427 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64428 _dl_powerpc_cap_flags.
64429 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64430 * sysdeps/powerpc/rtld-global-offsets.sym
64431 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64432 _dl_hwcap2 in the rtld_global_ro structure.
64433
64434 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64435
64436 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64437 hardware capabilities in support of AT_HWCAP2.
64438 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64439 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64440 GLRO(dl_hwcap2).
64441 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64442 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64443 explicitly the unknown a_type display mechanism is used.
64444 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64445 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64446 struct member.
64447 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64448 to macro prototype for AT_HWCAP2 support.
64449 * sysdeps/i386/dl-procinfo.h: Likewise.
64450 * sysdeps/s390/dl-procinfo.h: Likewise.
64451 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64452 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64453 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64454 return -1 for unknown a_type display fallback.
64455 * sysdeps/sparc/dl-procinfo.h: Likewise.
64456 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64457 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64458
64459 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64460
64461 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64462 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64463
64464 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64465
64466 [BZ #12492]
64467 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64468 mprotect making __stack_prot writable.
64469
64470 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64471 Joseph Myers <joseph@codesourcery.com>
64472
64473 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64474 as being properly aligned.
64475
64476 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64477
64478 * dlfcn/modstatic5.c: New file.
64479 * dlfcn/tststatic5.c: New file.
64480 * dlfcn/Makefile (tests): Add tststatic5.
64481 (tests-static): Likewise.
64482 (modules-names): Add modstatic5.
64483 (tststatic5-ENV): New variable.
64484 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64485
64486 [BZ #15022]
64487 * elf/dl-support.c (_dl_main_map): New variable.
64488 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64489 (_dl_nns, _dl_load_adds): Set to 1.
64490 (_dl_initial_searchlist): Refer to _dl_main_map.
64491 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64492 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64493 call to _dl_get_origin.
64494 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64495 around call_map.
64496 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64497 * dlfcn/modstatic3.c: New file.
64498 * dlfcn/tststatic3.c: New file.
64499 * dlfcn/tststatic4.c: New file.
64500 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64501 (tests-static): Likewise.
64502 (modules-names): Add modstatic3.
64503 (tststatic3-ENV, tststatic4-ENV): New variables.
64504 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64505 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64506
64507 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64508
64509 * configure.in (CC): Require GCC version 4.4 or later.
64510 * configure: Regenerated.
64511 * manual/install.texi (Tools for Compilation): Update GCC version
64512 requirement.
64513 * INSTALL: Regenerated.
64514
64515 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64516
64517 [BZ #15674]
64518 * string/test-memcmp.c (check2): New.
64519 (main): Call check2.
64520
64521 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64522
64523 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64524
64525 [BZ #15022]
64526 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64527 over to...
64528 (dl_open_worker) [!SHARED]: ... here.
64529
64530 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64531
64532 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64533
64534 2013-06-25 Richard Henderson <rth@redhat.com>
64535
64536 * locale/programs/locarchive.c: Include <libc-internal.h>
64537
64538 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64539
64540 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64541 trailing whitespace removed.
64542
64543 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64544
64545 [BZ #10283]
64546 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64547 * locale/programs/locarchive.c: Include libc-mmap.h.
64548 (prepare_address_space): Take two new outputs (the mmap base and len).
64549 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64550 values.
64551 (create_archive): Declare new mmap base and len values for
64552 prepare_address_space, and store the result in ah.
64553 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64554 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64555 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64556 Declare new mmap base and len values for
64557 prepare_address_space, and store the result in new_ah.
64558 (open_archive): Declare new mmap base and len values for
64559 prepare_address_space, and store the result in ah.
64560 (close_archive): If ah->mmap_base is not NULL, use that and
64561 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64562 * sysdeps/generic/libc-mmap.h: New file.
64563
64564 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64565
64566 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64567 (ALIGN_UP): Likewise.
64568 (PTR_ALIGN_DOWN): Likewise.
64569 (PTR_ALIGN_UP): Likewise.
64570
64571 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64572
64573 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64574 entry mapped to PPC_PLATFORM_POWER8.
64575 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64576 POWER8.
64577 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64578 (_dl_string_platform): Add case for exporting platform position for
64579 POWER8.
64580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64581 search path to sysdeps/powerpc/powerpc32/power8 directory.
64582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64583 search path to sysdeps/powerpc/powerpc64/power8 directory.
64584 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64585 power7 directories.
64586 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64587 power7 directories.
64588
64589 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64590
64591 * INSTALL: Regenerate.
64592
64593 * nscd/connections.c (nscd_init): Fix comment.
64594
64595 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64596
64597 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64598
64599 [BZ #15667]
64600 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64601 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64602
64603 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64604
64605 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64606 DL_DST_REQ_STATIC.
64607 (DL_DST_REQ_STATIC): Remove macro.
64608
64609 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64610
64611 [BZ #7006]
64612 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64613 with a shift of 0 bits.
64614
64615 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64616
64617 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64618 $(tststatic-ENV).
64619
64620 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64621
64622 [BZ #15655]
64623 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64624
64625 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64626
64627 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64628 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64629 accepts -fno-tree-loop-distribute-patterns.
64630 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64631 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64632 recursive call.
64633 * string/memset.c (memset): Likewise.
64634 * string/test-memmove.c (simple_memmove): Disable loop transformation
64635 to library calls.
64636 * string/test-memset.c (simple_memset): Likewise.
64637 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64638 * benchtests/bench-memset.c (simple_memset): Likewise.
64639 * configure: Regenerated.
64640
64641 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64642
64643 * math/test-misc.c (main): Ignore fesetround failure when failures
64644 of subsequent rounding tests would be ignored.
64645
64646 [BZ #15654]
64647 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64648 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64649 * math/fegetenv.c (__fegetenv): Return 0.
64650 * math/fegetexcept.c (fegetexcept): Return 0.
64651 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64652 FE_TONEAREST.
64653 * math/feholdexcpt.c (feholdexcept): Return 0.
64654 * math/fesetenv.c (__fesetenv): Return 0.
64655 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64656 argument FE_TONEAREST.
64657 * math/feupdateenv.c (__feupdateenv): Return 0.
64658 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64659
64660 2013-06-18 Roland McGrath <roland@hack.frob.com>
64661
64662 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64663 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64664 ($(objpfx)rtld-%.os rules): Use them.
64665
64666 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64667
64668 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64669 fields.
64670
64671 2013-06-17 Roland McGrath <roland@hack.frob.com>
64672
64673 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64674 length of target pattern, then descending length of dependency pattern.
64675 * configure.in (AWK): Require gawk 3.1.2 or newer.
64676 * manual/install.texi (Tools for Compilation): Say that we do.
64677 * configure: Regenerated.
64678
64679 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64680 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64681 * scripts/sysd-rules.awk: ... this new script.
64682 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64683 than a glob-style pattern.
64684
64685 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64686
64687 * math/test-misc.c (main): Do not treat incorrectly rounded
64688 conversions as failure unless ROUNDING_TESTS passes.
64689
64690 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64691
64692 [BZ #15631]
64693 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64694 restore exception state around main square root computation, then
64695 check for inexactness explicitly.
64696
64697 * math/libm-test.inc (fma_test_data): Add another test.
64698
64699 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64700
64701 * manual/threads.texi (Non-POSIX Extensions): New document
64702 node. Document pthread_getattr_default_np and
64703 pthread_setattr_default_np.
64704
64705 * Versions.def (libpthread): Add GLIBC_2.18.
64706 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64708 Likewise.
64709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64710 Likewise.
64711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64712 Likewise.
64713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64714 Likewise.
64715 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64716 Likewise.
64717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64718 Likewise.
64719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64720 Likewise.
64721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64722 Likewise.
64723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64724 Likewise.
64725
64726 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64727
64728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64729 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64730
64731 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64732 H.J. Lu <hjl.tools@gmail.com>
64733
64734 [BZ #15627]
64735 * sysdeps/x86_64/rtld-memset.c: Remove file.
64736 * sysdeps/x86_64/rtld-memset.S: New file.
64737
64738 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64739
64740 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64741 (test_in_one_mode): Take arguments for whether the rounding mode
64742 is supported for each floating-point type.
64743 (do_test): Pass new arguments to test_in_one_mode using
64744 ROUNDING_TESTS.
64745
64746 2013-06-13 Roland McGrath <roland@hack.frob.com>
64747
64748 * posix/tst-waitid.c (do_test): Distinguish different instances of
64749 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64750 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64751 before entering the kernel for waitpid.
64752
64753 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64754
64755 * NEWS: Fix note on clock function precision. Text by Roland
64756 McGrath.
64757
64758 2013-06-13 Roland McGrath <roland@hack.frob.com>
64759
64760 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64761 it into place only when and if the sanity check passes.
64762
64763 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64764
64765 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64766 output for whether conversion result is exact. Take argument
64767 indicating whether type is IBM long double.
64768 (round_for_all): Change need_exact field to ibm_ld.
64769 * stdlib/tst-strtod-round.c (struct exactness): New type.
64770 (struct test): Change bool ld_ok field to struct exactness exact.
64771 (TEST): Update all definitions for change to field.
64772 (tests): Regenerate array contents.
64773 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64774 field value. Check for IBM long double here.
64775 (do_test): Update calls to test_in_one_mode.
64776
64777 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64778
64779 [BZ #12515]
64780 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64781 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64782
64783 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64784
64785 [BZ #15605]
64786 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64787 generated by the compiler on loop optimizations.
64788 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64789 general definitions.
64790
64791 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64792
64793 * math/bug-nextafter.c: Include <math-tests.h>.
64794 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64795 the relevant type.
64796 * math/bug-nexttoward.c: Include <math-tests.h>.
64797 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64798 the relevant type.
64799 * math/test-misc.c: Include <math-tests.h>.
64800 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64801 the relevant type.
64802
64803 2013-06-12 Andreas Jaeger <aj@suse.de>
64804
64805 * po/ia.po: Update Interlingua translation from translation
64806 project.
64807
64808 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64809
64810 * include/fenv.h: Include stdbool.h.
64811 (struct rm_ctx): New structure.
64812 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64813 Define macro.
64814 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64815 (SET_RESTORE_ROUNDF): Likewise.
64816 (SET_RESTORE_ROUNDL): Likewise.
64817 (SET_RESTORE_ROUND_NOEX): Likewise.
64818 (SET_RESTORE_ROUND_NOEXF): Likewise.
64819 (SET_RESTORE_ROUND_NOEXL): Likewise.
64820 (SET_RESTORE_ROUND_53BIT): Likewise.
64821 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64822 (libc_feresetround_noexf_ctx): Likewise.
64823 (libc_feresetround_noexl_ctx): Likewise.
64824 (libc_feholdsetround_53bit_ctx): Likewise.
64825 (libc_feresetround_53bit_ctx): Likewise.
64826 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64827 (libc_feholdexcept_setround_sse_ctx): New function.
64828 (libc_fesetenv_sse_ctx): Likewise.
64829 (libc_feupdateenv_sse_ctx): Likewise.
64830 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64831 (libc_feholdexcept_setround_387_ctx): Likewise.
64832 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64833 (libc_feholdsetround_387_prec_ctx): Likewise.
64834 (libc_feholdsetround_387_ctx): Likewise.
64835 (libc_feholdsetround_387_53bit_ctx): Likewise.
64836 (libc_feholdsetround_sse_ctx): Likewise.
64837 (libc_feresetround_sse_ctx): Likewise.
64838 (libc_feresetround_387_ctx): Likewise.
64839 (libc_feupdateenv_387_ctx): Likewise.
64840 (libc_feholdexcept_setroundf_ctx): Define macro.
64841 (libc_fesetenvf_ctx): Likewise.
64842 (libc_feupdateenvf_ctx): Likewise.
64843 (libc_feholdsetroundf_ctx): Likewise.
64844 (libc_feresetroundf_ctx): Likewise.
64845 (libc_feholdexcept_setround_ctx): Likewise.
64846 (libc_fesetenv_ctx): Likewise.
64847 (libc_feupdateenv_ctx): Likewise.
64848 (libc_feholdsetround_ctx): Likewise.
64849 (libc_feresetround_ctx): Likewise.
64850 (libc_feholdexcept_setroundl_ctx): Likewise.
64851 (libc_feupdateenvl_ctx): Likewise.
64852 (libc_feholdsetroundl_ctx): Likewise.
64853 (libc_feresetroundl_ctx): Likewise.
64854 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64855 (libc_feresetround_53bit_ctx): Likewise.
64856
64857 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64858
64859 * locale/iso-639.def: Convert to UTF-8.
64860
64861 2013-06-11 Joseph Myers <joseph@codesourcery.com>
64862
64863 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64864 (EXCEPTION_TESTS_double): Likewise.
64865 (EXCEPTION_TESTS_long_double): Likewise.
64866 (EXCEPTION_TESTS): Likewise.
64867 * math/libm-test.inc (test_exceptions): Only test exceptions if
64868 EXCEPTION_TESTS (FLOAT).
64869
64870 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64871
64872 * benchtests/Makefile (string-bench): Add strcpy_chk and
64873 stpcpy_chk.
64874 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64875 * benchtests/bench-stpcpy_chk.c: New file.
64876 * benchtests/bench-strcpy_chk-ifunc.c: New file.
64877 * benchtests/bench-strcpy_chk.c: New file.
64878 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64879 code.
64880 (do_test): Likewise.
64881
64882 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64883
64884 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64885 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64886 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64887 with tabs where appropriate.
64888 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64889 dl-procinfo.h.
64890 [PPC_PLATFORM_PPC440]: Likewise.
64891 [PPC_PLATFORM_PPC464]: Likewise.
64892 [PPC_PLATFORM_PPC476]: Likewise.
64893 (_dl_string_platform): Add support for detecting ppc405, ppc440,
64894 ppc464, and ppc476 platform strings merging from ports/
64895 dl-procinfo.h.
64896
64897 2013-06-11 Andreas Schwab <schwab@suse.de>
64898
64899 [BZ #14991]
64900 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64901 (from_ucs4_idx): Regenerate.
64902 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64903 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64904 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64905 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64906 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64907 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64908 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64909 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64910 from FROM_LOOP and TO_LOOP specific macros.
64911 (BODY): Handle combining characters.
64912 * iconvdata/BIG5HKSCS.irreversible: Update.
64913 * iconvdata/BIG5HKSCS.precomposed: New file.
64914 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64915 characters.
64916 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64917
64918 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64919
64920 * include/sys/time.h: Fix indentation and add copyright header.
64921
64922 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64923 (do_test): Likewise.
64924 * string/test-memchr.c (do_one_test): Likewise.
64925 (do_test): Likewise.
64926 * string/test-memcmp.c (do_one_test): Likewise.
64927 (do_test): Likewise.
64928 * string/test-memcpy.c (do_one_test): Likewise.
64929 (do_test): Likewise.
64930 * string/test-memmem.c (do_one_test): Likewise.
64931 (do_test): Likewise.
64932 (do_random_tests): Likewise.
64933 * string/test-memmove.c (do_one_test): Likewise.
64934 (do_test): Likewise.
64935 * string/test-memset.c (do_one_test): Likewise.
64936 (do_test): Likewise.
64937 * string/test-rawmemchr.c (do_one_test): Likewise.
64938 (do_test): Likewise.
64939 * string/test-strcasecmp.c (do_one_test): Likewise.
64940 (do_test): Likewise.
64941 * string/test-strcasestr.c (do_one_test): Likewise.
64942 (do_test): Likewise.
64943 * string/test-strcat.c (do_one_test): Likewise.
64944 (do_test): Likewise.
64945 * string/test-strchr.c (do_one_test): Likewise.
64946 (do_test): Likewise.
64947 * string/test-strcmp.c (do_one_test): Likewise.
64948 (do_test): Likewise.
64949 * string/test-strcpy.c (do_one_test): Likewise.
64950 (do_test): Likewise.
64951 * string/test-string.h: Likewise.
64952 (test_init): Likewise.
64953 * string/test-strlen.c (do_one_test): Likewise.
64954 (do_test): Likewise.
64955 * string/test-strncasecmp.c (do_one_test): Likewise.
64956 (do_test): Likewise.
64957 * string/test-strncat.c (do_one_test): Likewise.
64958 (do_test): Likewise.
64959 * string/test-strncmp.c (do_one_test): Likewise.
64960 (do_test_limit): Likewise.
64961 (do_test): Likewise.
64962 * string/test-strncpy.c (do_one_test): Likewise.
64963 (do_test): Likewise.
64964 * string/test-strnlen.c (do_one_test): Likewise.
64965 (do_test): Likewise.
64966 * string/test-strpbrk.c (do_one_test): Likewise.
64967 (do_test): Likewise.
64968 * string/test-strrchr.c (do_one_test): Likewise.
64969 (do_test): Likewise.
64970 * string/test-strspn.c (do_one_test): Likewise.
64971 (do_test): Likewise.
64972 * string/test-strstr.c (do_one_test): Likewise.
64973 (do_test): Likewise.
64974
64975 * benchtests/Makefile (string-bench): Add string benchmarks.
64976 * benchtests/bench-bcopy-ifunc.c: New file.
64977 * benchtests/bench-bcopy.c: New file.
64978 * benchtests/bench-bzero-ifunc.c: New file.
64979 * benchtests/bench-bzero.c: New file.
64980 * benchtests/bench-memccpy-ifunc.c: New file.
64981 * benchtests/bench-memccpy.c: New file.
64982 * benchtests/bench-memchr-ifunc.c: New file.
64983 * benchtests/bench-memchr.c: New file.
64984 * benchtests/bench-memcmp-ifunc.c: New file.
64985 * benchtests/bench-memcmp.c: New file.
64986 * benchtests/bench-memmem-ifunc.c: New file.
64987 * benchtests/bench-memmem.c: New file.
64988 * benchtests/bench-memmove-ifunc.c: New file.
64989 * benchtests/bench-memmove.c: New file.
64990 * benchtests/bench-mempcpy-ifunc.c: New file.
64991 * benchtests/bench-mempcpy.c: New file.
64992 * benchtests/bench-memset-ifunc.c: New file.
64993 * benchtests/bench-memset.c: New file.
64994 * benchtests/bench-rawmemchr-ifunc.c: New file.
64995 * benchtests/bench-rawmemchr.c: New file.
64996 * benchtests/bench-stpcpy-ifunc.c: New file.
64997 * benchtests/bench-stpcpy.c: New file.
64998 * benchtests/bench-stpncpy-ifunc.c: New file.
64999 * benchtests/bench-stpncpy.c: New file.
65000 * benchtests/bench-strcasecmp-ifunc.c: New file.
65001 * benchtests/bench-strcasecmp.c: New file.
65002 * benchtests/bench-strcasestr-ifunc.c: New file.
65003 * benchtests/bench-strcasestr.c: New file.
65004 * benchtests/bench-strcat-ifunc.c: New file.
65005 * benchtests/bench-strcat.c: New file.
65006 * benchtests/bench-strchr-ifunc.c: New file.
65007 * benchtests/bench-strchr.c: New file.
65008 * benchtests/bench-strchrnul-ifunc.c: New file.
65009 * benchtests/bench-strchrnul.c: New file.
65010 * benchtests/bench-strcmp-ifunc.c: New file.
65011 * benchtests/bench-strcmp.c: New file.
65012 * benchtests/bench-strcpy-ifunc.c: New file.
65013 * benchtests/bench-strcpy.c: New file.
65014 * benchtests/bench-strcspn-ifunc.c: New file.
65015 * benchtests/bench-strcspn.c: New file.
65016 * benchtests/bench-strlen-ifunc.c: New file.
65017 * benchtests/bench-strlen.c: New file.
65018 * benchtests/bench-strncasecmp-ifunc.c: New file.
65019 * benchtests/bench-strncasecmp.c: New file.
65020 * benchtests/bench-strncat-ifunc.c: New file.
65021 * benchtests/bench-strncat.c: New file.
65022 * benchtests/bench-strncmp-ifunc.c: New file.
65023 * benchtests/bench-strncmp.c: New file.
65024 * benchtests/bench-strncpy-ifunc.c: New file.
65025 * benchtests/bench-strncpy.c: New file.
65026 * benchtests/bench-strnlen-ifunc.c: New file.
65027 * benchtests/bench-strnlen.c: New file.
65028 * benchtests/bench-strpbrk-ifunc.c: New file.
65029 * benchtests/bench-strpbrk.c: New file.
65030 * benchtests/bench-strrchr-ifunc.c: New file.
65031 * benchtests/bench-strrchr.c: New file.
65032 * benchtests/bench-strspn-ifunc.c: New file.
65033 * benchtests/bench-strspn.c: New file.
65034 * benchtests/bench-strstr-ifunc.c: New file.
65035 * benchtests/bench-strstr.c: New file.
65036
65037 * benchtests/Makefile: Disable parallel execution of targets.
65038 (string-bench): Add memcpy.
65039 (benchset): New variable to store a list of benchmark sets.
65040 (bench-func): Renamed from bench.
65041 (bench-set): New target.
65042 (bench): Depend on bench-func and bench-set.
65043 * benchtests/README: Add section on benchmark sets.
65044 * benchtests/bench-memcpy-ifunc.c: New file.
65045 * benchtests/bench-memcpy.c: New file.
65046 * benchtests/bench-string.h: New file.
65047
65048 2013-06-11 Andreas Schwab <schwab@suse.de>
65049
65050 [BZ #15577]
65051 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65052 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65053 values in the triple.
65054 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65055 terminator in the group key.
65056
65057 2013-06-11 Andreas Jaeger <aj@suse.de>
65058
65059 * po/zh_TW.po: Update Chinese (traditional) translation from
65060 translation project.
65061
65062 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65063
65064 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65065 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65066 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65067 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65068 (clock_getcpuclockid): Likewise.
65069 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65070 Add weak_alias and libc_hidden_def.
65071 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65072 * rt/clock_gettime.c (clock_gettime): Rename to
65073 __clock_gettime. Add weak_alias and libc_hidden_def.
65074 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65075 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65076 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65077 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65078 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65079 Likewise.
65080 * rt/clock_settime.c (clock_settime): Rename to
65081 __clock_settime. Add weak_alias and libc_hidden_def.
65082 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65083
65084 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65085
65086 * mach/err_boot.sub: Remove trailing whitespace.
65087 * mach/err_ipc.sub: Likewise.
65088 * mach/err_mach.sub: Likewise.
65089
65090 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65091 (ROUNDING_TESTS_double): Likewise.
65092 (ROUNDING_TESTS_long_double): Likewise.
65093 (ROUNDING_TESTS): Likewise.
65094 * math/libm-test.inc: Include <math-tests.h>.
65095 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65096 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65097 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65098 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65099
65100 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65101
65102 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65103 of assigning.
65104
65105 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65106
65107 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65108 otherwise empty TRANS lines.
65109 * sysdeps/gnu/errlist.c: Regenerated.
65110
65111 * catgets/gencat.c (error_print): Use (void) in function
65112 definition.
65113 * crypt/crypt_util.c (__init_des): Likewise.
65114 * crypt/speeds.c (Stop): Likewise.
65115 (main): Likewise.
65116 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65117 * inet/ruserpass.c (token): Likewise.
65118 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65119 * intl/localealias.c (extend_alias_table): Likewise.
65120 * intl/plural-exp.c (init_germanic_plural): Likewise.
65121 * libio/fcloseall.c (__fcloseall): Likewise.
65122 * libio/genops.c (_IO_flush_all): Likewise.
65123 (_IO_flush_all_linebuffered): Likewise.
65124 (_IO_cleanup): Likewise.
65125 (_IO_iter_begin): Likewise.
65126 (_IO_iter_end): Likewise.
65127 (_IO_list_lock): Likewise.
65128 (_IO_list_unlock): Likewise.
65129 (_IO_list_resetlock): Likewise.
65130 * libio/getchar.c (getchar): Likewise.
65131 * libio/getchar_u.c (getchar_unlocked): Likewise.
65132 * libio/getwchar.c (getwchar): Likewise.
65133 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65134 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65135 * login/getpt.c (__getpt): Likewise.
65136 * login/tst-utmp.c (main): Likewise.
65137 * malloc/hooks.c (__malloc_check_init): Likewise.
65138 * malloc/malloc.c (__malloc_stats): Likewise.
65139 * malloc/mtrace.c (tr_break): Likewise.
65140 (mtrace): Likewise.
65141 (muntrace): Likewise.
65142 * misc/fstab.c (endfsent): Likewise.
65143 * misc/getclktck.c (__getclktck): Likewise.
65144 * misc/getdtsz.c (__getdtablesize): Likewise.
65145 * misc/gethostid.c (gethostid): Likewise.
65146 * misc/getpagesize.c (__getpagesize): Likewise.
65147 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65148 (__get_nprocs): Likewise.
65149 (__get_phys_pages): Likewise.
65150 (__get_avphys_pages): Likewise.
65151 * misc/getttyent.c (getttyent): Likewise.
65152 (setttyent): Likewise.
65153 (endttyent): Likewise.
65154 * misc/getusershell.c (getusershell): Likewise.
65155 (endusershell): Likewise.
65156 (setusershell): Likewise.
65157 (initshells): Likewise.
65158 * misc/hsearch.c (__hdestroy): Likewise.
65159 * misc/sync.c (sync): Likewise.
65160 * misc/syslog.c (closelog_internal): Likewise.
65161 (closelog): Likewise.
65162 * misc/ttyslot.c (ttyslot): Likewise.
65163 * misc/vhangup.c (vhangup): Likewise.
65164 * posix/fork.c (__fork): Likewise.
65165 * posix/getegid.c (__getegid): Likewise.
65166 * posix/geteuid.c (__geteuid): Likewise.
65167 * posix/getgid.c (__getgid): Likewise.
65168 * posix/getpid.c (__getpid): Likewise.
65169 * posix/getppid.c (__getppid): Likewise.
65170 * posix/getuid.c (__getuid): Likewise.
65171 * posix/pause.c (pause): Likewise.
65172 * posix/setpgrp.c (setpgrp): Likewise.
65173 * posix/setsid.c (__setsid): Likewise.
65174 * posix/test-vfork.c (noop): Likewise.
65175 * resolv/gethnamaddr.c (_endhtent): Likewise.
65176 (_gethtent): Likewise.
65177 (ht_endhostent): Likewise.
65178 (gethostent): Likewise.
65179 (dns_service): Likewise.
65180 * stdlib/drand48.c (drand48): Likewise.
65181 * stdlib/lrand48.c (lrand48): Likewise.
65182 * stdlib/mrand48.c (mrand48): Likewise.
65183 * stdlib/rand.c (rand): Likewise.
65184 * stdlib/random.c (__random): Likewise.
65185 * stdlib/setenv.c (clearenv): Likewise.
65186 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65187 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65188 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65189 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65190 (__get_nprocs): Likewise.
65191 (__get_phys_pages): Likewise.
65192 (__get_avphys_pages): Likewise.
65193 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65194 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65195 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65196 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65197 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65198 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65199 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65200 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65201 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65202 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65203 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65204 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65205 * sysdeps/posix/clock.c (clock): Likewise.
65206 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65207 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65208 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65209 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65210 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65211 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65212 (__get_nprocs_conf): Likewise.
65213 (__get_phys_pages): Likewise.
65214 (__get_avphys_pages): Likewise.
65215 * time/clock.c (clock): Likewise.
65216 * time/tzset.c (__tzname_max): Likewise.
65217
65218 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65219
65220 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65221 (__bswap_32): Do not use "register".
65222 * crypt/crypt.c (_ufc_doit_r): Likewise.
65223 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65224 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65225 * gmon/gmon.c (__monstartup): Likewise.
65226 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65227 * hurd/hurdmalloc.c (more_memory): Likewise.
65228 (malloc): Likewise.
65229 (free): Likewise.
65230 (realloc): Likewise.
65231 (malloc_fork_prepare): Likewise.
65232 (malloc_fork_parent): Likewise.
65233 (malloc_fork_child): Likewise.
65234 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65235 (_svcauth_des): Likewise.
65236 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65237 * inet/inet_net.c (inet_network): Likewise.
65238 * inet/inet_netof.c (inet_netof): Likewise.
65239 * inet/rcmd.c (__validuser2_sa): Likewise.
65240 * io/fts.c (fts_open): Likewise.
65241 (fts_load): Likewise.
65242 (fts_close): Likewise.
65243 (fts_read): Likewise.
65244 (fts_children): Likewise.
65245 (fts_build): Likewise.
65246 (fts_stat): Likewise.
65247 (fts_sort): Likewise.
65248 (fts_alloc): Likewise.
65249 (fts_lfree): Likewise.
65250 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65251 (_IO_file_xsgetn): Likewise.
65252 (_IO_file_xsgetn_mmap): Likewise.
65253 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65254 (_IO_cookie_write): Likewise.
65255 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65256 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65257 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65258 * malloc/obstack.c (_obstack_begin): Likewise.
65259 (_obstack_begin_1): Likewise.
65260 (_obstack_newchunk): Likewise.
65261 (_obstack_allocated_p): Likewise.
65262 (obstack_free): Likewise.
65263 (_obstack_memory_used): Likewise.
65264 * misc/getttyent.c (getttynam): Likewise.
65265 (getttyent): Likewise.
65266 (skip): Likewise.
65267 (value): Likewise.
65268 * misc/getusershell.c (initshells): Likewise.
65269 * misc/syslog.c (__vsyslog_chk): Likewise.
65270 * misc/ttyslot.c (ttyslot): Likewise.
65271 * nis/nis_hash.c (__nis_hash): Likewise.
65272 * posix/fnmatch_loop.c (FCT): Likewise.
65273 * posix/getconf.c (print_all): Likewise.
65274 (main): Likewise.
65275 * posix/getopt.c (exchange): Likewise.
65276 * posix/glob.c (globfree): Likewise.
65277 (prefix_array): Likewise.
65278 (__glob_pattern_type): Likewise.
65279 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65280 (NS_GET32): Likewise.
65281 (NS_PUT16): Likewise.
65282 (NS_PUT32): Likewise.
65283 * resolv/gethnamaddr.c (getanswer): Likewise.
65284 (gethostbyname2): Likewise.
65285 (gethostbyaddr): Likewise.
65286 (_gethtent): Likewise.
65287 (_gethtbyname2): Likewise.
65288 (_gethtbyaddr): Likewise.
65289 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65290 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65291 * resolv/res_init.c (__res_vinit): Likewise.
65292 (net_mask): Likewise.
65293 * resolv/res_mkquery.c (outchar): Likewise.
65294 (PRINT): Likewise.
65295 * stdio-common/printf_fp.c (outchar): Likewise.
65296 (PRINT): Likewise.
65297 * stdio-common/printf_fphex.c (outchar): Likewise.
65298 (PRINT): Likewise.
65299 * stdio-common/printf_size.c (outchar): Likewise.
65300 (PRINT): Likewise.
65301 * stdio-common/test_rdwr.c (main): Likewise.
65302 * stdio-common/tfformat.c (matches): Likewise.
65303 * stdio-common/vfprintf.c (outchar): Likewise.
65304 (printf_unknown): Likewise.
65305 (buffered_vfprintf): Likewise.
65306 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65307 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65308 (ReadFile): Likewise.
65309 * stdlib/qsort.c (SWAP): Likewise.
65310 (_quicksort): Likewise.
65311 * stdlib/setenv.c (__add_to_environ): Likewise.
65312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65313 * stdlib/strtol_l.c (__strtol_l): Likewise.
65314 * stdlib/tst-strtod.c (main): Likewise.
65315 * stdlib/tst-strtol.c (main): Likewise.
65316 * stdlib/tst-strtoll.c (main): Likewise.
65317 * string/bits/string2.h (__strcmp_cc): Likewise.
65318 (__strcmp_cg): Likewise.
65319 (__strcspn_c1): Likewise.
65320 (__strcspn_c2): Likewise.
65321 (__strcspn_c3): Likewise.
65322 (__strspn_c1): Likewise.
65323 (__strspn_c2): Likewise.
65324 (__strspn_c3): Likewise.
65325 (__strsep_1c): Likewise.
65326 (__strsep_2c): Likewise.
65327 (__strsep_3c): Likewise.
65328 * string/memccpy.c (__memccpy): Likewise.
65329 * string/stpcpy.c (__stpcpy): Likewise.
65330 * string/strcmp.c (strcmp): Likewise.
65331 * string/strrchr.c (strrchr): Likewise.
65332 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65333 Likewise.
65334 * sysdeps/mach/hurd/getcwd.c
65335 (_hurd_canonicalize_directory_name_internal): Likewise.
65336 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65337 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65338 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65339 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65340 Likewise, in both definitions.
65341 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65342 definitions.
65343 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65344 64] (__bswap_64): Likewise.
65345 * time/test_time.c (main): Likewise.
65346 * time/tzfile.c (__tzfile_read): Likewise.
65347 (__tzfile_compute): Likewise.
65348 * time/tzset.c (__tzset_parse_tz): Likewise.
65349 (tzset_internal): Likewise.
65350 (compute_change): Likewise.
65351 * wcsmbs/wcscat.c (__wcscat): Likewise.
65352 * wcsmbs/wcschr.c (wcschr): Likewise.
65353 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65354 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65355 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65356 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65357 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65358 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65359 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65360 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65361 * wcsmbs/wmemset.c (wmemset): Likewise.
65362
65363 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65364
65365 * scripts/config.guess: Update to version 2013-05-16.
65366 * scripts/config.sub: Update to version 2013-04-24.
65367 * scripts/install-sh: Update to version 2011-11-20.07.
65368 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65369 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65370
65371 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
65372
65373 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65374 * elf/sln.c: Likewise.
65375 * hurd/hurd/ioctl.h: Likewise.
65376 * hurd/hurdmalloc.c: Likewise.
65377 * hurd/xattr.c: Likewise.
65378 * include/shlib-compat.h: Likewise.
65379 * inet/ruserpass.c: Likewise.
65380 * libio/iofgets_u.c: Likewise.
65381 * libio/iofgetws_u.c: Likewise.
65382 * locale/programs/ld-identification.c: Likewise.
65383 * locale/programs/ld-time.c: Likewise.
65384 * mach/msg-destroy.c: Likewise.
65385 * nss/nss_files/files-netgrp.c: Likewise.
65386 * resolv/res_data.c: Likewise.
65387 * soft-fp/op-1.h: Likewise.
65388 * soft-fp/op-2.h: Likewise.
65389 * soft-fp/op-4.h: Likewise.
65390 * soft-fp/op-common.h: Likewise.
65391 * stdio-common/printf_fphex.c: Likewise.
65392 * stdlib/strtod_l.c: Likewise.
65393 * sunrpc/rpc/clnt.h: Likewise.
65394 * sysdeps/generic/framestate.c: Likewise.
65395 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65396 * sysdeps/i386/bsd-setjmp.S: Likewise.
65397 * sysdeps/i386/__longjmp.S: Likewise.
65398 * sysdeps/i386/setjmp.S: Likewise.
65399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65400 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65402 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65404 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65408 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65409 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65410 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65411 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65412 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65413 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65415 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65416 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65417 * sysdeps/ieee754/support.c: Likewise.
65418 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65419 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65420 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65421 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65422 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65423 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65424 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65425 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65426 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65427 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65428 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65429 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65430 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65431 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65432 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65433 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65434 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65436
65437 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
65438
65439 * posix/transbug.c: Remove executable mode.
65440
65441 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65442
65443 * crypt/speeds.c: Remove trailing whitespace.
65444 * dlfcn/default.c: Likewise.
65445 * elf/ifuncdep2.c: Likewise.
65446 * elf/ifuncmain1.c: Likewise.
65447 * elf/ifuncmain1vis.c: Likewise.
65448 * elf/testobj.h: Likewise.
65449 * elf/tst-stackguard1.c: Likewise.
65450 * gmon/sys/gmon.h: Likewise.
65451 * hurd/hurdmsg.c: Likewise.
65452 * hurd/new-fd.c: Likewise.
65453 * hurd/ports-get.c: Likewise.
65454 * iconvdata/ibm1008_420.c: Likewise.
65455 * inet/tst-getni1.c: Likewise.
65456 * inet/tst-getni2.c: Likewise.
65457 * libio/ioungetc.c: Likewise.
65458 * libio/wfiledoalloc.c: Likewise.
65459 * manual/libm-err-tab.pl: Likewise.
65460 * math/w_dremf.c: Likewise.
65461 * misc/ftruncate.c: Likewise.
65462 * posix/bug-glob2.c: Likewise.
65463 * posix/tst-pcre.c: Likewise.
65464 * posix/wait4.c: Likewise.
65465 * resolv/README: Likewise.
65466 * resolv/res_debug.h: Likewise.
65467 * resolv/tst-inet_ntop.c: Likewise.
65468 * setjmp/bug269-setjmp.c: Likewise.
65469 * soft-fp/extended.h: Likewise.
65470 * soft-fp/op-1.h: Likewise.
65471 * soft-fp/op-2.h: Likewise.
65472 * soft-fp/op-4.h: Likewise.
65473 * soft-fp/op-8.h: Likewise.
65474 * soft-fp/testit.c: Likewise.
65475 * stdio-common/bug16.c: Likewise.
65476 * stdlib/random.c: Likewise.
65477 * sunrpc/rpcsvc/rquota.x: Likewise.
65478 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65479 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65481 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65482 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65483 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65484 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65485 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65486 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65487 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65488 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65489 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65490 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65491 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65492 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65493 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65494 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65495 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65496 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65498 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65499 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65500 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65501 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65502 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65503 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65504 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65505 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65506 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65507 * sysdeps/ieee754/s_lib_version.c: Likewise.
65508 * sysdeps/mach/hurd/check_fds.c: Likewise.
65509 * sysdeps/mach/hurd/getsockname.c: Likewise.
65510 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65511 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65512 * sysdeps/powerpc/bits/link.h: Likewise.
65513 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65514 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65515 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65516 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65517 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65518 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65519 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65520 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65521 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65522 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65523 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65524 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65525 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65526 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65527 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65528 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65530 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65531 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65532 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65533 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65534 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65535 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65536 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65537 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65538 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65539 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65540 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65541 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65542 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65543 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65544 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65546 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65547 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65548 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65549 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65550 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65551 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65552 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65553 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65554 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65555 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65556 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65557 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65558 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65559 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65560 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65561 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65562 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65565 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65566 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65567 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65568 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65569 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65570 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65571 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65572 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65573 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65574 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65575 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65576 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65577 * sysdeps/powerpc/sysdep.h: Likewise.
65578 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65579 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65580 * sysdeps/sh/dl-trampoline.S: Likewise.
65581 * sysdeps/sh/memset.S: Likewise.
65582 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65583 * sysdeps/sh/strlen.S: Likewise.
65584 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65585 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65586 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65587 * sysdeps/sparc/sparc32/rem.S: Likewise.
65588 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65589 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65590 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65591 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65592 * sysdeps/sparc/sparc32/urem.S: Likewise.
65593 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65594 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65595 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65596 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65597 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65598 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65599 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65600 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65601 * sysdeps/unix/bsd/times.c: Likewise.
65602 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65603 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65607 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65608 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65609 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65610 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65611 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65612 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65613 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65614 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65615 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65616 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65617 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65618 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65619 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65620 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65621 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65622 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65623 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65624 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65625 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65626 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65627 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65628 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65629 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65630 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65631 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65632 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65633 * sysdeps/x86_64/strcspn.S: Likewise.
65634
65635 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65636
65637 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65638 generated file. Regenerate properly from gen-translit.pl.
65639 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65640 locale/C-translit.h.
65641
65642 2013-06-05 Andreas Schwab <schwab@suse.de>
65643
65644 [BZ #15100]
65645 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65646 week as 6 instead of -1.
65647 * time/tst-strptime.c (day_tests): Add test case.
65648
65649 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65650
65651 * sysdeps/generic/math_private.h
65652 (libc_feholdexcept_setround_53bit): Replace with
65653 libc_feholdsetround_53bit.
65654 (libc_feupdateenv_53bit): Replace with
65655 libc_feresetround_53bit.
65656 (SET_RESTORE_ROUND_53BIT): Adjust.
65657
65658 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65659
65660 * string/test-strchrnul.c: Add copyright header.
65661
65662 * posix/tst-getaddrinfo4.c: Increase test timeout.
65663
65664 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65665
65666 [BZ #15536]
65667 * math/libm-test.inc (MAX_EXP): Remove
65668 (MIN_EXP): Define.
65669 (ulp): Use MIN_EXP - MANT_DIG.
65670 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65671
65672 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65673
65674 * po/be.po: Revert last change.
65675 * po/zh_CN.po: Likewise.
65676 * po/header.pot: Likewise.
65677
65678 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65679
65680 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65681 link-libc-deps to empty as target-specific variable.
65682 * Makerules (link-libc-args): New variable.
65683 (libc-for-link): Likewise.
65684 (link-libc-deps): Likewise.
65685 (lib%.so): Depend on $(link-libc-deps). Link with
65686 $(link-libc-args).
65687 (build-module): Link with $(link-libc-args).
65688 (build-module-asneeded): Likewise.
65689 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65690 list of objects.
65691 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65692 target-specific variable.
65693 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65694 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65695 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65696 libc.
65697 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65698 libc and ld.so.
65699 ($(objpfx)libpcprofile.so): Likewise.
65700 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65701 libc_nonshared.a.
65702 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65703 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65704 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65705 $(link-libc-deps).
65706 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65707 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65708 * login/Makefile ($(objpfx)libutil.so): Likewise.
65709 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65710 * math/Makefile ($(objpfx)libm.so): Likewise.
65711 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65712 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65713 variable instead of depending directly on libc.
65714 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65715 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65716 $(link-libc-deps).
65717 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65718 libc.
65719 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65720 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65721 ($(objpfx)libanl.so): Likewise.
65722 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65723 ld.so.
65724 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65725 $(link-libc-deps).
65726 * sysdeps/i386/fpu/Makefile: Remove file.
65727 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65728 ($(objpfx)libm.so): Remove dependency on ld.so.
65729
65730 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65731
65732 [BZ # 15553]
65733 * nis/yp_xdr.c (XDRMAXNAME): Define.
65734 (XDRMAXRECORD): Define.
65735 (xdr_domainname): Use XDRMAXNAME.
65736 (xdr_mapname): Likewise.
65737 (xdr_peername): Likewise.
65738 (xdr_keydat): Use XDRMAXRECORD.
65739 (xdr_valdat): Likewise.
65740
65741 2013-05-30 Jeff Law <law@redhat.com>
65742
65743 [BZ #14256]
65744 * manual/errno.texi (ESTALE): Update to account for more than
65745 just NFS file systems.
65746 * sysdeps/gnu/errlist.c: Regenerated.
65747
65748 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65749
65750 [BZ #15465]
65751 * elf/Makefile (tests): Add tst-null-argv.
65752 (modules-names): Add tst-null-argv-lib.
65753 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65754 (tst-null-argv-ENV): Set environment for tst-null-argv.
65755 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65756 (RTLD_PROGNAME): New macro.
65757 * elf/tst-null-argv.c: New test case.
65758 * elf/tst-null-argv-lib.c: Library for test case.
65759 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65760 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65761 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65762 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65763 * elf/dl-init.c (call_init): Likewise.
65764 (_dl_init): Likewise.
65765 * elf/dl-load.c (print_search_path): Likewise.
65766 (_dl_map_object): Likewise.
65767 * elf/dl-lookup.c (do_lookup_x): Likewise.
65768 (add_dependency): Likewise.
65769 (_dl_lookup_symbol_x): Likewise.
65770 (_dl_debug_bindings): Likewise.
65771 * elf/dl-open.c (_dl_show_scope): Likewise.
65772 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65773 * elf/dl-version.c (match_symbol): Likewise.
65774 (_dl_check_map_versions): Likewise.
65775 * elf/rtld.c (dl_main): Likewise.
65776 (print_unresolved): Use RTLD_PROGNAME.
65777 (print_missing_version): Likewise.
65778 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65779 (elf_machine_rela): Likewise.
65780 * sysdeps/powerpc/powerpc32/dl-machine.c
65781 (__process_machine_rela): Likewise.
65782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65783 Likewise.
65784 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65785 Likewise.
65786 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65787 Likewise.
65788 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65790 Likewise.
65791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65792 Likewise.
65793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65794
65795 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65796
65797 * po/be.po: Add descriptive title.
65798 * po/zh_CN.po: Likewise.
65799 * po/header.pot: Likewise.
65800
65801 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65802
65803 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65804 error message.
65805 (enlarge_archive): Likewise.
65806
65807 2013-05-28 Ben North <ben@redfrontdoor.org>
65808
65809 * manual/arith.texi (frexp): It is the magnitude of the return
65810 value which lies in [0.5, 1), not the return value itself.
65811
65812 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65813
65814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65815
65816 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65817
65818 * stdio-common/bug26.c (main): Correct fscanf template.
65819
65820 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65821 declare _dl_skip_args.
65822
65823 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65824 Don't declare.
65825
65826 * manual/platform.texi: Add missing @end deftypefun.
65827
65828 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65829
65830 [BZ #15529]
65831 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65832 bit of mantissa of 2^16382.
65833 * math/libm-test.inc (hypot_test_data): Add more tests.
65834
65835 * math/libm-test.inc: Add drem and pow10 to list of tested
65836 functions.
65837 (pow10_test): New function.
65838 (drem_test): Likewise.
65839 (drem_test_tonearest): Likewise.
65840 (drem_test_towardzero): Likewise.
65841 (drem_test_downward): Likewise.
65842 (drem_test_upward): Likewise.
65843 (main): Call the new functions.
65844
65845 * math/libm-test.inc (finite_test_data): Remove.
65846 (finite_test): Run tests from isfinite_test_data.
65847 (gamma_test_data): Remove.
65848 (gamma_test): Run tests from lgamma_test_data.
65849 * sysdeps/i386/fpu/libm-test-ulps: Update.
65850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65851
65852 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65853
65854 * manual/platform.texi: Add PowerPC PPR function set documentation.
65855 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65856 implementation.
65857
65858 2013-05-24 Carlos O'Donell <carlos@redhat.com>
65859
65860 * math/libm-test.inc (MAX_EXP): Define.
65861 (ULPDIFF): Define.
65862 (ulp): New function.
65863 (check_float_internal): Use ULPDIFF.
65864 (cpow_test): Disable failing test.
65865 (check_ulp): Test ulp() implementation.
65866 (main): Call check_ulp before starting tests.
65867
65868 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65869
65870 * math/gen-libm-test.pl (generate_testfile): Do not handle
65871 START_DATA and END_DATA.
65872 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65873 END_DATA.
65874 (acos_tonearest_test_data): Likewise.
65875 (acos_towardzero_test_data): Likewise.
65876 (acos_downward_test_data): Likewise.
65877 (acos_upward_test_data): Likewise.
65878 (acosh_test_data): Likewise.
65879 (asin_test_data): Likewise.
65880 (asin_tonearest_test_data): Likewise.
65881 (asin_towardzero_test_data): Likewise.
65882 (asin_downward_test_data): Likewise.
65883 (asin_upward_test_data): Likewise.
65884 (asinh_test_data): Likewise.
65885 (atan_test_data): Likewise.
65886 (atanh_test_data): Likewise.
65887 (atan2_test_data): Likewise.
65888 (cabs_test_data): Likewise.
65889 (cacos_test_data): Likewise.
65890 (cacosh_test_data): Likewise.
65891 (carg_test_data): Likewise.
65892 (casin_test_data): Likewise.
65893 (casinh_test_data): Likewise.
65894 (catan_test_data): Likewise.
65895 (catanh_test_data): Likewise.
65896 (cbrt_test_data): Likewise.
65897 (ccos_test_data): Likewise.
65898 (ccosh_test_data): Likewise.
65899 (ceil_test_data): Likewise.
65900 (cexp_test_data): Likewise.
65901 (cimag_test_data): Likewise.
65902 (clog_test_data): Likewise.
65903 (clog10_test_data): Likewise.
65904 (conj_test_data): Likewise.
65905 (copysign_test_data): Likewise.
65906 (cos_test_data): Likewise.
65907 (cos_tonearest_test_data): Likewise.
65908 (cos_towardzero_test_data): Likewise.
65909 (cos_downward_test_data): Likewise.
65910 (cos_upward_test_data): Likewise.
65911 (cosh_test_data): Likewise.
65912 (cosh_tonearest_test_data): Likewise.
65913 (cosh_towardzero_test_data): Likewise.
65914 (cosh_downward_test_data): Likewise.
65915 (cosh_upward_test_data): Likewise.
65916 (cpow_test_data): Likewise.
65917 (cproj_test_data): Likewise.
65918 (creal_test_data): Likewise.
65919 (csin_test_data): Likewise.
65920 (csinh_test_data): Likewise.
65921 (csqrt_test_data): Likewise.
65922 (ctan_test_data): Likewise.
65923 (ctan_tonearest_test_data): Likewise.
65924 (ctan_towardzero_test_data): Likewise.
65925 (ctan_downward_test_data): Likewise.
65926 (ctan_upward_test_data): Likewise.
65927 (ctanh_test_data): Likewise.
65928 (ctanh_tonearest_test_data): Likewise.
65929 (ctanh_towardzero_test_data): Likewise.
65930 (ctanh_downward_test_data): Likewise.
65931 (ctanh_upward_test_data): Likewise.
65932 (erf_test_data): Likewise.
65933 (erfc_test_data): Likewise.
65934 (exp_test_data): Likewise.
65935 (exp_tonearest_test_data): Likewise.
65936 (exp_towardzero_test_data): Likewise.
65937 (exp_downward_test_data): Likewise.
65938 (exp_upward_test_data): Likewise.
65939 (exp10_test_data): Likewise.
65940 (exp2_test_data): Likewise.
65941 (expm1_test_data): Likewise.
65942 (fabs_test_data): Likewise.
65943 (fdim_test_data): Likewise.
65944 (finite_test_data): Likewise.
65945 (floor_test_data): Likewise.
65946 (fma_test_data): Likewise.
65947 (fma_towardzero_test_data): Likewise.
65948 (fma_downward_test_data): Likewise.
65949 (fma_upward_test_data): Likewise.
65950 (fmax_test_data): Likewise.
65951 (fmin_test_data): Likewise.
65952 (fmod_test_data): Likewise.
65953 (fpclassify_test_data): Likewise.
65954 (frexp_test_data): Likewise.
65955 (gamma_test_data): Likewise.
65956 (hypot_test_data): Likewise.
65957 (ilogb_test_data): Likewise.
65958 (isfinite_test_data): Likewise.
65959 (isgreater_test_data): Likewise.
65960 (isgreaterequal_test_data): Likewise.
65961 (isinf_test_data): Likewise.
65962 (isless_test_data): Likewise.
65963 (islessequal_test_data): Likewise.
65964 (islessgreater_test_data): Likewise.
65965 (isnan_test_data): Likewise.
65966 (isnormal_test_data): Likewise.
65967 (issignaling_test_data): Likewise.
65968 (isunordered_test_data): Likewise.
65969 (j0_test_data): Likewise.
65970 (j1_test_data): Likewise.
65971 (jn_test_data): Likewise.
65972 (ldexp_test_data): Likewise.
65973 (lgamma_test_data): Likewise.
65974 (lrint_test_data): Likewise.
65975 (lrint_tonearest_test_data): Likewise.
65976 (lrint_towardzero_test_data): Likewise.
65977 (lrint_downward_test_data): Likewise.
65978 (lrint_upward_test_data): Likewise.
65979 (llrint_test_data): Likewise.
65980 (llrint_tonearest_test_data): Likewise.
65981 (llrint_towardzero_test_data): Likewise.
65982 (llrint_downward_test_data): Likewise.
65983 (llrint_upward_test_data): Likewise.
65984 (log_test_data): Likewise.
65985 (log10_test_data): Likewise.
65986 (log1p_test_data): Likewise.
65987 (log2_test_data): Likewise.
65988 (logb_test_data): Likewise.
65989 (logb_downward_test_data): Likewise.
65990 (lround_test_data): Likewise.
65991 (llround_test_data): Likewise.
65992 (modf_test_data): Likewise.
65993 (nearbyint_test_data): Likewise.
65994 (nextafter_test_data): Likewise.
65995 (nexttoward_test_data): Likewise.
65996 (pow_test_data): Likewise.
65997 (pow_tonearest_test_data): Likewise.
65998 (pow_towardzero_test_data): Likewise.
65999 (pow_downward_test_data): Likewise.
66000 (pow_upward_test_data): Likewise.
66001 (remainder_test_data): Likewise.
66002 (remainder_tonearest_test_data): Likewise.
66003 (remainder_towardzero_test_data): Likewise.
66004 (remainder_downward_test_data): Likewise.
66005 (remainder_upward_test_data): Likewise.
66006 (remquo_test_data): Likewise.
66007 (rint_test_data): Likewise.
66008 (rint_tonearest_test_data): Likewise.
66009 (rint_towardzero_test_data): Likewise.
66010 (rint_downward_test_data): Likewise.
66011 (rint_upward_test_data): Likewise.
66012 (round_test_data): Likewise.
66013 (scalb_test_data): Likewise.
66014 (scalbn_test_data): Likewise.
66015 (scalbln_test_data): Likewise.
66016 (signbit_test_data): Likewise.
66017 (sin_test_data): Likewise.
66018 (sin_tonearest_test_data): Likewise.
66019 (sin_towardzero_test_data): Likewise.
66020 (sin_downward_test_data): Likewise.
66021 (sin_upward_test_data): Likewise.
66022 (sincos_test_data): Likewise.
66023 (sinh_test_data): Likewise.
66024 (sinh_tonearest_test_data): Likewise.
66025 (sinh_towardzero_test_data): Likewise.
66026 (sinh_downward_test_data): Likewise.
66027 (sinh_upward_test_data): Likewise.
66028 (sqrt_test_data): Likewise.
66029 (tan_test_data): Likewise.
66030 (tan_tonearest_test_data): Likewise.
66031 (tan_towardzero_test_data): Likewise.
66032 (tan_downward_test_data): Likewise.
66033 (tan_upward_test_data): Likewise.
66034 (tanh_test_data): Likewise.
66035 (tgamma_test_data): Likewise.
66036 (trunc_test_data): Likewise.
66037 (y0_test_data): Likewise.
66038 (y1_test_data): Likewise.
66039 (yn_test_data): Likewise.
66040 (significand_test_data): Likewise.
66041
66042 * math/gen-libm-test.pl (@functions): Remove variable.
66043 (generate_testfile): Don't handle START and END lines.
66044 * math/libm-test.inc (START): New macro.
66045 (END): Likewise.
66046 (END_COMPLEX): Likewise.
66047 (acos_test): Use END macro without arguments.
66048 (acos_test_tonearest): Likewise.
66049 (acos_test_towardzero): Likewise.
66050 (acos_test_downward): Likewise.
66051 (acos_test_upward): Likewise.
66052 (acosh_test): Likewise.
66053 (asin_test): Likewise.
66054 (asin_test_tonearest): Likewise.
66055 (asin_test_towardzero): Likewise.
66056 (asin_test_downward): Likewise.
66057 (asin_test_upward): Likewise.
66058 (asinh_test): Likewise.
66059 (atan_test): Likewise.
66060 (atanh_test): Likewise.
66061 (atan2_test): Likewise.
66062 (cabs_test): Likewise.
66063 (cacos_test): Use END_COMPLEX macro without arguments.
66064 (cacosh_test): Likewise.
66065 (carg_test): Use END macro without arguments.
66066 (casin_test): Use END_COMPLEX macro without arguments.
66067 (casinh_test): Likewise.
66068 (catan_test): Likewise.
66069 (catanh_test): Likewise.
66070 (cbrt_test): Use END macro without arguments.
66071 (ccos_test): Use END_COMPLEX macro without arguments.
66072 (ccosh_test): Likewise.
66073 (ceil_test): Use END macro without arguments.
66074 (cexp_test): Use END_COMPLEX macro without arguments.
66075 (cimag_test): Use END macro without arguments.
66076 (clog_test): Use END_COMPLEX macro without arguments.
66077 (clog10_test): Likewise.
66078 (conj_test): Likewise.
66079 (copysign_test): Use END macro without arguments.
66080 (cos_test): Likewise.
66081 (cos_test_tonearest): Likewise.
66082 (cos_test_towardzero): Likewise.
66083 (cos_test_downward): Likewise.
66084 (cos_test_upward): Likewise.
66085 (cosh_test): Likewise.
66086 (cosh_test_tonearest): Likewise.
66087 (cosh_test_towardzero): Likewise.
66088 (cosh_test_downward): Likewise.
66089 (cosh_test_upward): Likewise.
66090 (cpow_test): Use END_COMPLEX macro without arguments.
66091 (cproj_test): Likewise.
66092 (creal_test): Use END macro without arguments.
66093 (csin_test): Use END_COMPLEX macro without arguments.
66094 (csinh_test): Likewise.
66095 (csqrt_test): Likewise.
66096 (ctan_test): Likewise.
66097 (ctan_test_tonearest): Likewise.
66098 (ctan_test_towardzero): Likewise.
66099 (ctan_test_downward): Likewise.
66100 (ctan_test_upward): Likewise.
66101 (ctanh_test): Likewise.
66102 (ctanh_test_tonearest): Likewise.
66103 (ctanh_test_towardzero): Likewise.
66104 (ctanh_test_downward): Likewise.
66105 (ctanh_test_upward): Likewise.
66106 (erf_test): Use END macro without arguments.
66107 (erfc_test): Likewise.
66108 (exp_test): Likewise.
66109 (exp_test_tonearest): Likewise.
66110 (exp_test_towardzero): Likewise.
66111 (exp_test_downward): Likewise.
66112 (exp_test_upward): Likewise.
66113 (exp10_test): Likewise.
66114 (exp2_test): Likewise.
66115 (expm1_test): Likewise.
66116 (fabs_test): Likewise.
66117 (fdim_test): Likewise.
66118 (finite_test): Likewise.
66119 (floor_test): Likewise.
66120 (fma_test): Likewise.
66121 (fma_test_towardzero): Likewise.
66122 (fma_test_downward): Likewise.
66123 (fma_test_upward): Likewise.
66124 (fmax_test): Likewise.
66125 (fmin_test): Likewise.
66126 (fmod_test): Likewise.
66127 (fpclassify_test): Likewise.
66128 (frexp_test): Likewise.
66129 (gamma_test): Likewise.
66130 (hypot_test): Likewise.
66131 (ilogb_test): Likewise.
66132 (isfinite_test): Likewise.
66133 (isgreater_test): Likewise.
66134 (isgreaterequal_test): Likewise.
66135 (isinf_test): Likewise.
66136 (isless_test): Likewise.
66137 (islessequal_test): Likewise.
66138 (islessgreater_test): Likewise.
66139 (isnan_test): Likewise.
66140 (isnormal_test): Likewise.
66141 (issignaling_test): Likewise.
66142 (isunordered_test): Likewise.
66143 (j0_test): Likewise.
66144 (j1_test): Likewise.
66145 (jn_test): Likewise.
66146 (ldexp_test): Likewise.
66147 (lgamma_test): Likewise.
66148 (lrint_test): Likewise.
66149 (lrint_test_tonearest): Likewise.
66150 (lrint_test_towardzero): Likewise.
66151 (lrint_test_downward): Likewise.
66152 (lrint_test_upward): Likewise.
66153 (llrint_test): Likewise.
66154 (llrint_test_tonearest): Likewise.
66155 (llrint_test_towardzero): Likewise.
66156 (llrint_test_downward): Likewise.
66157 (llrint_test_upward): Likewise.
66158 (log_test): Likewise.
66159 (log10_test): Likewise.
66160 (log1p_test): Likewise.
66161 (log2_test): Likewise.
66162 (logb_test): Likewise.
66163 (logb_test_downward): Likewise.
66164 (lround_test): Likewise.
66165 (llround_test): Likewise.
66166 (modf_test): Likewise.
66167 (nearbyint_test): Likewise.
66168 (nextafter_test): Likewise.
66169 (nexttoward_test): Likewise.
66170 (pow_test): Likewise.
66171 (pow_test_tonearest): Likewise.
66172 (pow_test_towardzero): Likewise.
66173 (pow_test_downward): Likewise.
66174 (pow_test_upward): Likewise.
66175 (remainder_test): Likewise.
66176 (remainder_test_tonearest): Likewise.
66177 (remainder_test_towardzero): Likewise.
66178 (remainder_test_downward): Likewise.
66179 (remainder_test_upward): Likewise.
66180 (remquo_test): Likewise.
66181 (rint_test): Likewise.
66182 (rint_test_tonearest): Likewise.
66183 (rint_test_towardzero): Likewise.
66184 (rint_test_downward): Likewise.
66185 (rint_test_upward): Likewise.
66186 (round_test): Likewise.
66187 (scalb_test): Likewise.
66188 (scalbn_test): Likewise.
66189 (scalbln_test): Likewise.
66190 (signbit_test): Likewise.
66191 (sin_test): Likewise.
66192 (sin_test_tonearest): Likewise.
66193 (sin_test_towardzero): Likewise.
66194 (sin_test_downward): Likewise.
66195 (sin_test_upward): Likewise.
66196 (sincos_test): Likewise.
66197 (sinh_test): Likewise.
66198 (sinh_test_tonearest): Likewise.
66199 (sinh_test_towardzero): Likewise.
66200 (sinh_test_downward): Likewise.
66201 (sinh_test_upward): Likewise.
66202 (sqrt_test): Likewise.
66203 (tan_test): Likewise.
66204 (tan_test_tonearest): Likewise.
66205 (tan_test_towardzero): Likewise.
66206 (tan_test_downward): Likewise.
66207 (tan_test_upward): Likewise.
66208 (tanh_test): Likewise.
66209 (tgamma_test): Likewise.
66210 (trunc_test): Likewise.
66211 (y0_test): Likewise.
66212 (y1_test): Likewise.
66213 (yn_test): Likewise.
66214 (significand_test): Likewise.
66215
66216 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
66217
66218 [BZ #15381]
66219 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66220
66221 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66222
66223 [BZ #14894]
66224 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66225 __ppc_mdoio and __ppc_mdoom.
66226 * manual/platform.texi: Document new functions __ppc_yield,
66227 __ppc_mdoio and __ppc_mdoom.
66228
66229 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66230
66231 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66232 (main): Mention "tls" pseudo-hwcap is legacy.
66233 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66234
66235 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66236
66237 * math/gen-libm-test.pl (parse_args): Output only string of
66238 arguments as text for test name, not full call or descriptions of
66239 tests for extra outputs.
66240 (generate_testfile): Do not pass function name to parse_args.
66241 Generate this_func variable from START.
66242 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66243 field to arg_str.
66244 (struct test_ff_f_data): Likewise.
66245 (test_ff_f_data_nexttoward): Likewise.
66246 (struct test_fi_f_data): Likewise.
66247 (struct test_fl_f_data): Likewise.
66248 (struct test_if_f_data): Likewise.
66249 (struct test_fff_f_data): Likewise.
66250 (struct test_c_f_data): Likewise.
66251 (struct test_f_f1_data): Likewise. Remove field extra_name.
66252 (struct test_fF_f1_data): Likewise.
66253 (struct test_ffI_f1_data): Likewise.
66254 (struct test_c_c_data): Rename test_name field to arg_str.
66255 (struct test_cc_c_data): Likewise.
66256 (struct test_f_i_data): Likewise.
66257 (struct test_ff_i_data): Likewise.
66258 (struct test_f_l_data): Likewise.
66259 (struct test_f_L_data): Likewise.
66260 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66261 and extra2_name.
66262 (COMMON_TEST_SETUP): New macro.
66263 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66264 (COMMON_TEST_CLEANUP): Likewise.
66265 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66266 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66267 macros.
66268 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66269 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66270 macros.
66271 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66272 (RUN_TEST_fff_f): Take argument string. Call new setup and
66273 cleanup macros.
66274 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66275 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66276 macros.
66277 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66278 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66279 macros.
66280 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66281 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66282 cleanup macros.
66283 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66284 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66285 cleanup macros.
66286 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66287 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66288 cleanup macros.
66289 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66290 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66291 macros.
66292 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66293 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66294 macros.
66295 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66296 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66297 macros.
66298 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66299 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66300 cleanup macros.
66301 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66302 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66303 cleanup macros.
66304 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66305 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66306 macros.
66307 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66308 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66309 cleanup macros.
66310 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66311 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66312 macros.
66313 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66314 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66315 macros.
66316 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66317 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66318 cleanup macros.
66319 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66320
66321 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66322
66323 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66324 to _sifields.sigfault.
66325 (si_addr_lsb): Define new macro.
66326 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66328 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66329
66330 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66331
66332 [BZ #15441]
66333 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66334 returns -1.
66335 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66336 null return -1.
66337 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66338 loading the domain.
66339
66340 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66341
66342 * math/gen-libm-test.pl (parse_args): Do not include expected
66343 result in test name.
66344 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66346 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66347 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66348 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66350
66351 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66352
66353 * benchtests/Makefile: Sort function entries.
66354
66355 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66356 tanh, asinh, acosh, atanh.
66357 * benchtests/acos-inputs: New file.
66358 * benchtests/acosh-inputs: New file.
66359 * benchtests/asin-inputs: New file.
66360 * benchtests/asinh-inputs: New file.
66361 * benchtests/atanh-inputs: New file.
66362 * benchtests/cosh-inputs: New file.
66363 * benchtests/log-inputs: New file.
66364 * benchtests/sinh-inputs: New file.
66365 * benchtests/tanh-inputs: New file.
66366
66367 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66368
66369 [BZ #15339]
66370 * posix/tst-getaddrinfo4.c: New test.
66371 * posix/Makefile (tests): Add it.
66372
66373 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66374
66375 [BZ #15339]
66376 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66377 when no services were used.
66378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66379 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66380
66381 2013-05-21 Andreas Schwab <schwab@suse.de>
66382
66383 [BZ #15014]
66384 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66385 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66386 successful.
66387 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66388 redundant variable declarations and reallocation of buffer when
66389 parsing as IPv6 address. Always set NSS status when called from
66390 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66391 buffer too small. Correct computation of needed size.
66392 * nss/Makefile (tests): Add test-digits-dots.
66393 * nss/test-digits-dots.c: New test.
66394
66395 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66396
66397 * benchtests/Makefile: Remove instructions for adding
66398 benchmark tests.
66399 * benchtests/README: New file to explain how to execute and
66400 enhance the benchmark tests.
66401
66402 2013-05-21 Andreas Schwab <schwab@suse.de>
66403
66404 [BZ #15493]
66405 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66406 * setjmp/tst-sigsetjmp.c: New test.
66407
66408 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66409
66410 * sysdeps/x86_64/memset.S (memset): New implementation.
66411 (__bzero): Likewise.
66412 (__memset_tail): New function.
66413
66414 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66415
66416 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66417 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66418 __memcpy_sse2_unaligned ifunc selection.
66419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66420 Add memcpy-sse2-unaligned.S.
66421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66422 Add: __memcpy_sse2_unaligned.
66423
66424 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66425
66426 [BZ #15490]
66427 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66428 math_force_eval before restoring floating-point envrionment.
66429 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66431 Likewise.
66432 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66433 <math_private.h>.
66434 (__nearbyintl): Use math_force_eval before restoring
66435 floating-point environment.
66436 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66437
66438 * math/gen-libm-test.pl (special_functions): Remove.
66439 (parse_args): Don't handle TEST_extra. Handle functions with no
66440 return value.
66441 * math/libm-test.inc (struct test_sincos_data): Replace with
66442 struct test_fFF_11_data.
66443 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66444 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66445 (sincos_test_data): Change element type to struct
66446 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66447 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66448 RUN_TEST_LOOP_sincos.
66449 * math/README.libm-test: Don't mention special handling of
66450 individual functions.
66451 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66452 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66453 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66454 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66455 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66457
66458 * math/gen-libm-test.pl (get_variable): Remove function.
66459 (parse_args): Don't show pointer parameters to call in test
66460 names. Use "extra output N" in test names for extra outputs
66461 rather than naming variables.
66462
66463 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66464
66465 [BZ #15488]
66466 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66467 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66468 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66469 double tests.
66470 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66471 disable.
66472 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66473 check_long_double.
66474
66475 * math/gen-libm-test.pl (@tests): Remove variable.
66476 ($count): Likewise.
66477 (new_test): Remove function.
66478 (show_exceptions): New function.
66479 (special_functions): Use show_exceptions instead of new_test.
66480 (parse_args): Likewise.
66481 (generate_testfile): Pass only function name in generated call to
66482 print_max_error or print_complex_max_error.
66483 (get_ulps): Do not handle complex tests specially.
66484 (output_test): Rename to ...
66485 (get_all_ulps_for_test): ... this. Return a string rather than
66486 printing to a file. Require ulps to be present.
66487 (output_ulps): Generate arrays rather than #defines.
66488 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66489 (struct ulp_data): New type.
66490 (BUILD_COMPLEX_ULP): Remove macro.
66491 (compare_ulp_data): New function.
66492 (find_ulps): Likewise.
66493 (find_test_ulps): Likewise.
66494 (find_function_ulps): Likewise.
66495 (find_complex_function_ulps): Likewise.
66496 (print_max_error): Determine allowed ulps using
66497 find_function_ulps.
66498 (print_complex_max_error): Determine allowed ulps using
66499 find_complex_function_ulps.
66500 (check_float_internal): Determine max ulps using find_test_ulps.
66501 (check_float): Do not take max_ulp parameter. Update call to
66502 check_float_internal.
66503 (check_complex): Likewise.
66504 (check_int): Do not take max_ulp parameter.
66505 (check_long): Likewise.
66506 (check_bool): Likewise.
66507 (check_longlong): Likewise.
66508 (struct test_f_f_data): Remove max_ulp field.
66509 (struct test_ff_f_data): Likewise.
66510 (struct test_ff_f_data_nexttoward): Likewise.
66511 (struct test_fi_f_data): Likewise.
66512 (struct test_fl_f_data): Likewise.
66513 (struct test_if_f_data): Likewise.
66514 (struct test_fff_f_data): Likewise.
66515 (struct test_c_f_data): Likewise.
66516 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66517 (struct test_fF_f1_data): Likewise.
66518 (struct test_ffI_f1_data): Likewise.
66519 (struct test_c_c_data): Remove max_ulp field.
66520 (struct test_cc_c_data): Likewise.
66521 (struct test_f_i_data): Likewise.
66522 (struct test_ff_i_data): Likewise.
66523 (struct test_f_l_data): Likewise.
66524 (struct test_f_L_data): Likewise.
66525 (struct test_sincos_data): Likewise.
66526 (RUN_TEST_f_f): Do not handle ulps.
66527 (RUN_TEST_LOOP_f_f): Likewise.
66528 (RUN_TEST_2_f): Likewise.
66529 (RUN_TEST_LOOP_2_f): Likewise.
66530 (RUN_TEST_fff_f): Likewise.
66531 (RUN_TEST_LOOP_fff_f): Likewise.
66532 (RUN_TEST_c_f): Likewise.
66533 (RUN_TEST_LOOP_c_f): Likewise.
66534 (RUN_TEST_f_f1): Likewise.
66535 (RUN_TEST_LOOP_f_f1): Likewise.
66536 (RUN_TEST_fF_f1): Likewise.
66537 (RUN_TEST_LOOP_fF_f1): Likewise.
66538 (RUN_TEST_fI_f1): Likewise.
66539 (RUN_TEST_LOOP_fI_f1): Likewise.
66540 (RUN_TEST_ffI_f1): Likewise.
66541 (RUN_TEST_LOOP_ffI_f1): Likewise.
66542 (RUN_TEST_c_c): Likewise.
66543 (RUN_TEST_LOOP_c_c): Likewise.
66544 (RUN_TEST_cc_c): Likewise.
66545 (RUN_TEST_LOOP_cc_c): Likewise.
66546 (RUN_TEST_f_i): Likewise.
66547 (RUN_TEST_LOOP_f_i): Likewise.
66548 (RUN_TEST_f_i_tg): Likewise.
66549 (RUN_TEST_LOOP_f_i_tg): Likewise.
66550 (RUN_TEST_ff_i_tg): Likewise.
66551 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66552 (RUN_TEST_f_b): Likewise.
66553 (RUN_TEST_LOOP_f_b): Likewise.
66554 (RUN_TEST_f_b_tg): Likewise.
66555 (RUN_TEST_LOOP_f_b_tg): Likewise.
66556 (RUN_TEST_f_l): Likewise.
66557 (RUN_TEST_LOOP_f_l): Likewise.
66558 (RUN_TEST_f_L): Likewise.
66559 (RUN_TEST_LOOP_f_L): Likewise.
66560 (RUN_TEST_sincos): Likewise.
66561 (RUN_TEST_LOOP_sincos): Likewise.
66562
66563 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66564
66565 [BZ #15480]
66566 [BZ #15485]
66567 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66568 main case of finite arguments, set rounding mode to FE_TONEAREST
66569 and discard exceptions.
66570 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66571 exceptions.
66572 (remainder_tonearest_test_data): New variable.
66573 (remainder_test_tonearest): New function.
66574 (remainder_towardzero_test_data): New variable.
66575 (remainder_test_towardzero): New function.
66576 (remainder_downward_test_data): New variable.
66577 (remainder_test_downward): New function.
66578 (remainder_upward_test_data): New variable.
66579 (remainder_test_upward): New function.
66580 (main): Call the new test functions.
66581
66582 * math/libm-test.inc (struct test_f_f1_data): Remove field
66583 extra_init.
66584 (struct test_fF_f1_data): Likewise.
66585 (struct test_ffI_f1_data): Likewise.
66586 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66587 based on value of EXTRA_EXPECTED.
66588 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66589 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66590 EXTRA_VAR based on value of EXTRA_EXPECTED.
66591 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66592 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66593 EXTRA_VAR based on value of EXTRA_EXPECTED.
66594 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66595 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66596 EXTRA_VAR based on value of EXTRA_EXPECTED.
66597 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66598 * math/gen-libm-test.pl (parse_args): Don't output initializers
66599 for extra output values.
66600
66601 * math/libm-test.inc (check_int): Expect result to be exactly
66602 equal to expected value and do not handle ulps.
66603 (check_long): Likewise.
66604 (check_longlong): Likewise.
66605
66606 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66607 exceptions.
66608 (cimag_test_data): Likewise.
66609 (conj_test_data): Likewise.
66610 (copysign_test_data): Likewise.
66611 (cproj_test_data): Likewise.
66612 (creal_test_data): Likewise.
66613 (fabs_test_data): Likewise.
66614 (fdim_test_data): Likewise.
66615 (finite_test_data): Likewise.
66616 (floor_test_data): Likewise.
66617 (fmax_test_data): Likewise.
66618 (fmin_test_data): Likewise.
66619 (fmod_test_data): Likewise.
66620 (fpclassify_test_data): Likewise.
66621 (frexp_test_data): Likewise.
66622 (ilogb_test_data): Likewise.
66623 (isfinite_test_data): Likewise.
66624 (isgreater_test_data): Likewise.
66625 (isgreaterequal_test_data): Likewise.
66626 (isinf_test_data): Likewise.
66627 (isless_test_data): Likewise.
66628 (islessequal_test_data): Likewise.
66629 (islessgreater_test_data): Likewise.
66630 (isnan_test_data): Likewise.
66631 (isnormal_test_data): Likewise.
66632 (issignaling_test_data): Likewise.
66633 (isunordered_test_data): Likewise.
66634 (ldexp_test_data): Likewise.
66635 (lrint_test_data): Likewise.
66636 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66637 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66638 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66639 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66640 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66641 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66642 test input.
66643 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66644 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66645 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66646 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66647 that test input.
66648 (lrint_downward_test_data): Test for "inexact" exceptions.
66649 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66650 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66651 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66652 test input.
66653 (lrint_upward_test_data): Test for "inexact" exceptions.
66654 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66655 test input.
66656 (llrint_test_data): Test for "inexact" exceptions.
66657 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66658 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66659 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66660 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66661 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66662 (llrint_downward_test_data): Test for "inexact" exceptions.
66663 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66664 (llrint_upward_test_data): Test for "inexact" exceptions.
66665 (logb_test_data): Likewise.
66666 (logb_downward_test_data): Likewise.
66667 (nextafter_test_data): Likewise.
66668 (nexttoward_test_data): Likewise.
66669 (remainder_test_data): Likewise.
66670 (remquo_test_data): Likewise.
66671 (scalbn_test_data): Likewise.
66672 (scalbln_test_data): Likewise.
66673 (signbit_test_data): Likewise.
66674 (sqrt_test_data): Likewise.
66675 (significand_test_data): Likewise.
66676
66677 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66678
66679 [BZ #15424]
66680 * benchtests/bench-modf.c (struct args): Mark arg0 as
66681 volatile.
66682 * scripts/bench.pl: Mark members of struct args as volatile.
66683
66684 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66685
66686 [BZ # 15497]
66687 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66688 negative infinity on POWER6 or lower.
66689 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66690
66691 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66692
66693 [BZ #15442]
66694 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66695 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66696 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66697 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66698 (_FP_SETQNAN): New macro.
66699 (_FP_SETQNAN_SEMIRAW): Likewise.
66700 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66701 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66702 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66703 (FP_EXTEND): Use _FP_FRAC_SNANP.
66704 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66705 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66706 into account.
66707 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66708 New macro.
66709 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66710 Likewise.
66711
66712 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66713
66714 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66715 with DIVIDE_BY_ZERO_EXCEPTION.
66716 (gamma_test_data): Likewise.
66717 (lgamma_test_data): Likewise.
66718 (log_test_data): Likewise.
66719 (log10_test_data): Likewise.
66720 (log2_test_data): Likewise.
66721 (tgamma_test_data): Likewise.
66722
66723 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66724 (acos_test_tonearest): Likewise.
66725 (acos_test_towardzero): Likewise.
66726 (acos_test_downward): Likewise.
66727 (acos_test_upward): Likewise.
66728 (acosh_test): Likewise.
66729 (asin_test): Likewise.
66730 (asin_test_tonearest): Likewise.
66731 (asin_test_towardzero): Likewise.
66732 (asin_test_downward): Likewise.
66733 (asin_test_upward): Likewise.
66734 (asinh_test): Likewise.
66735 (atan_test): Likewise.
66736 (atanh_test): Likewise.
66737 (atan2_test): Likewise.
66738 (cabs_test): Likewise.
66739 (cacos_test): Likewise.
66740 (cacosh_test): Likewise.
66741 (casin_test): Likewise.
66742 (casinh_test): Likewise.
66743 (catan_test): Likewise.
66744 (catanh_test): Likewise.
66745 (cbrt_test): Likewise.
66746 (ccos_test): Likewise.
66747 (ccosh_test): Likewise.
66748 (cexp_test): Likewise.
66749 (clog_test): Likewise.
66750 (clog10_test): Likewise.
66751 (cos_test): Likewise.
66752 (cos_test_tonearest): Likewise.
66753 (cos_test_towardzero): Likewise.
66754 (cos_test_downward): Likewise.
66755 (cos_test_upward): Likewise.
66756 (cosh_test): Likewise.
66757 (cosh_test_tonearest): Likewise.
66758 (cosh_test_towardzero): Likewise.
66759 (cosh_test_downward): Likewise.
66760 (cosh_test_upward): Likewise.
66761 (cpow_test): Likewise.
66762 (csin_test): Likewise.
66763 (csinh_test): Likewise.
66764 (csqrt_test): Likewise.
66765 (ctan_test): Likewise.
66766 (ctan_test_tonearest): Likewise.
66767 (ctan_test_towardzero): Likewise.
66768 (ctan_test_downward): Likewise.
66769 (ctan_test_upward): Likewise.
66770 (ctanh_test): Likewise.
66771 (ctanh_test_tonearest): Likewise.
66772 (ctanh_test_towardzero): Likewise.
66773 (ctanh_test_downward): Likewise.
66774 (ctanh_test_upward): Likewise.
66775 (erf_test): Likewise.
66776 (erfc_test): Likewise.
66777 (exp_test): Likewise.
66778 (exp_test_tonearest): Likewise.
66779 (exp_test_towardzero): Likewise.
66780 (exp_test_downward): Likewise.
66781 (exp_test_upward): Likewise.
66782 (exp10_test): Likewise.
66783 (exp2_test): Likewise.
66784 (expm1_test): Likewise.
66785 (fmod_test): Likewise.
66786 (gamma_test): Likewise.
66787 (hypot_test): Likewise.
66788 (j0_test): Likewise.
66789 (j1_test): Likewise.
66790 (jn_test): Likewise.
66791 (lgamma_test): Likewise.
66792 (log_test): Likewise.
66793 (log10_test): Likewise.
66794 (log1p_test): Likewise.
66795 (log2_test): Likewise.
66796 (logb_test_downward): Likewise.
66797 (pow_test): Likewise.
66798 (pow_test_tonearest): Likewise.
66799 (pow_test_towardzero): Likewise.
66800 (pow_test_downward): Likewise.
66801 (pow_test_upward): Likewise.
66802 (remainder_test): Likewise.
66803 (remquo_test): Likewise.
66804 (sin_test): Likewise.
66805 (sin_test_tonearest): Likewise.
66806 (sin_test_towardzero): Likewise.
66807 (sin_test_downward): Likewise.
66808 (sin_test_upward): Likewise.
66809 (sincos_test): Likewise.
66810 (sinh_test): Likewise.
66811 (sinh_test_tonearest): Likewise.
66812 (sinh_test_towardzero): Likewise.
66813 (sinh_test_downward): Likewise.
66814 (sinh_test_upward): Likewise.
66815 (sqrt_test): Likewise.
66816 (tan_test): Likewise.
66817 (tan_test_tonearest): Likewise.
66818 (tan_test_towardzero): Likewise.
66819 (tan_test_downward): Likewise.
66820 (tan_test_upward): Likewise.
66821 (tanh_test): Likewise.
66822 (tgamma_test): Likewise.
66823 (y0_test): Likewise.
66824 (y1_test): Likewise.
66825 (yn_test): Likewise.
66826
66827 * math/gen-libm-test.pl (adjust_arg): Remove function.
66828 (special_function): Remove argument $in_func. Only handle
66829 generating output for tables of tests, not inside functions.
66830 (parse_args): Likewise.
66831 (generate_testfile): Remove variable $in_func. Update call to
66832 parse_args.
66833 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66834 (MINUS_ZERO_INIT): Rename macro to minus_zero.
66835 (PLUS_INFTY_INIT): Rename macro to plus_infty.
66836 (MINUS_INFTY_INIT): Rename macro to minus_infty.
66837 (QNAN_VALUE_INIT): Rename macro to qnan_value.
66838 (MAX_VALUE_INIT): Rename macro to max_value.
66839 (MIN_VALUE_INIT): Rename macro to min_value.
66840 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66841 (plus_zero): Remove variable.
66842 (minus_zero): Likewise.
66843 (plus_infty): Likewise.
66844 (minus_infty): Likewise.
66845 (qnan_value): Likewise.
66846 (max_value): Likewise.
66847 (min_value): Likewise.
66848 (min_subnorm_value): Likewise.
66849
66850 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66851
66852 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66853 uint64_t or uint32_t usage.
66854 * crypt/sha256-block.c: Likewise.
66855 * crypt/sha256-crypt.c: Likewise.
66856 * crypt/sha256.c: Likewise.
66857 * crypt/sha512-block.c: Likewise.
66858 * crypt/sha512-crypt.c: Likewise.
66859 * crypt/sha512.c: Likewise.
66860 * debug/backtrace-tst.c: Likewise.
66861 * debug/pcprofiledump.c: Likewise.
66862 * elf/cache.c: Likewise.
66863 * elf/dl-cache.c: Likewise.
66864 * elf/dl-misc.c: Likewise.
66865 * elf/dl-profile.c: Likewise.
66866 * elf/dl-support.c: Likewise.
66867 * elf/ldconfig.c: Likewise.
66868 * elf/sprof.c: Likewise.
66869 * iconv/dummy-repertoire.c: Likewise.
66870 * iconv/iconv_charmap.c: Likewise.
66871 * iconv/skeleton.c: Likewise.
66872 * iconvdata/8bit-generic.c: Likewise.
66873 * iconvdata/cp737.h: Likewise.
66874 * iconvdata/cp775.h: Likewise.
66875 * iconvdata/ibm1008.h: Likewise.
66876 * iconvdata/ibm1025.h: Likewise.
66877 * iconvdata/ibm1046.h: Likewise.
66878 * iconvdata/ibm1097.h: Likewise.
66879 * iconvdata/ibm1112.h: Likewise.
66880 * iconvdata/ibm1122.h: Likewise.
66881 * iconvdata/ibm1123.h: Likewise.
66882 * iconvdata/ibm1124.h: Likewise.
66883 * iconvdata/ibm1129.h: Likewise.
66884 * iconvdata/ibm1130.h: Likewise.
66885 * iconvdata/ibm1132.h: Likewise.
66886 * iconvdata/ibm1133.h: Likewise.
66887 * iconvdata/ibm1137.h: Likewise.
66888 * iconvdata/ibm1140.h: Likewise.
66889 * iconvdata/ibm1141.h: Likewise.
66890 * iconvdata/ibm1142.h: Likewise.
66891 * iconvdata/ibm1143.h: Likewise.
66892 * iconvdata/ibm1144.h: Likewise.
66893 * iconvdata/ibm1145.h: Likewise.
66894 * iconvdata/ibm1146.h: Likewise.
66895 * iconvdata/ibm1147.h: Likewise.
66896 * iconvdata/ibm1148.h: Likewise.
66897 * iconvdata/ibm1149.h: Likewise.
66898 * iconvdata/ibm1153.h: Likewise.
66899 * iconvdata/ibm1154.h: Likewise.
66900 * iconvdata/ibm1155.h: Likewise.
66901 * iconvdata/ibm1156.h: Likewise.
66902 * iconvdata/ibm1157.h: Likewise.
66903 * iconvdata/ibm1158.h: Likewise.
66904 * iconvdata/ibm1160.h: Likewise.
66905 * iconvdata/ibm1161.h: Likewise.
66906 * iconvdata/ibm1162.h: Likewise.
66907 * iconvdata/ibm1163.h: Likewise.
66908 * iconvdata/ibm1164.h: Likewise.
66909 * iconvdata/ibm1166.h: Likewise.
66910 * iconvdata/ibm1167.h: Likewise.
66911 * iconvdata/ibm12712.h: Likewise.
66912 * iconvdata/ibm1390.h: Likewise.
66913 * iconvdata/ibm1399.h: Likewise.
66914 * iconvdata/ibm16804.h: Likewise.
66915 * iconvdata/ibm4517.h: Likewise.
66916 * iconvdata/ibm4899.h: Likewise.
66917 * iconvdata/ibm4909.h: Likewise.
66918 * iconvdata/ibm4971.h: Likewise.
66919 * iconvdata/ibm5347.h: Likewise.
66920 * iconvdata/ibm803.h: Likewise.
66921 * iconvdata/ibm856.h: Likewise.
66922 * iconvdata/ibm901.h: Likewise.
66923 * iconvdata/ibm902.h: Likewise.
66924 * iconvdata/ibm9030.h: Likewise.
66925 * iconvdata/ibm9066.h: Likewise.
66926 * iconvdata/ibm921.h: Likewise.
66927 * iconvdata/ibm922.h: Likewise.
66928 * iconvdata/ibm9448.h: Likewise.
66929 * iconvdata/isiri-3342.h: Likewise.
66930 * iconvdata/jis0201.h: Likewise.
66931 * include/link.h: Likewise.
66932 * include/netdb.h: Likewise.
66933 * inet/check_native.c: Likewise.
66934 * inet/check_pf.c: Likewise.
66935 * inet/getipv4sourcefilter.c: Likewise.
66936 * inet/getnameinfo.c: Likewise.
66937 * inet/getsourcefilter.c: Likewise.
66938 * inet/htonl.c: Likewise.
66939 * inet/setipv4sourcefilter.c: Likewise.
66940 * inet/setsourcefilter.c: Likewise.
66941 * inet/test-inet6_opt.c: Likewise.
66942 * inet/tst-network.c: Likewise.
66943 * locale/C-collate.c: Likewise.
66944 * locale/C-ctype.c: Likewise.
66945 * locale/C-time.c: Likewise.
66946 * locale/C-translit.h: Likewise.
66947 * locale/loadarchive.c: Likewise.
66948 * locale/programs/3level.h: Likewise.
66949 * locale/programs/charmap.c: Likewise.
66950 * locale/programs/charmap.h: Likewise.
66951 * locale/programs/ld-address.c: Likewise.
66952 * locale/programs/ld-collate.c: Likewise.
66953 * locale/programs/ld-ctype.c: Likewise.
66954 * locale/programs/ld-identification.c: Likewise.
66955 * locale/programs/ld-measurement.c: Likewise.
66956 * locale/programs/ld-messages.c: Likewise.
66957 * locale/programs/ld-monetary.c: Likewise.
66958 * locale/programs/ld-name.c: Likewise.
66959 * locale/programs/ld-numeric.c: Likewise.
66960 * locale/programs/ld-paper.c: Likewise.
66961 * locale/programs/ld-telephone.c: Likewise.
66962 * locale/programs/ld-time.c: Likewise.
66963 * locale/programs/linereader.c: Likewise.
66964 * locale/programs/locale.c: Likewise.
66965 * locale/programs/locarchive.c: Likewise.
66966 * locale/programs/locfile.h: Likewise.
66967 * locale/programs/repertoire.c: Likewise.
66968 * locale/programs/simple-hash.c: Likewise.
66969 * locale/programs/simple-hash.h: Likewise.
66970 * malloc/memusage.c: Likewise.
66971 * malloc/memusagestat.c: Likewise.
66972 * nis/nis_defaults.c: Likewise.
66973 * nis/nis_hash.c: Likewise.
66974 * nis/nis_print.c: Likewise.
66975 * nis/nis_xdr.c: Likewise.
66976 * nscd/connections.c: Likewise.
66977 * nscd/hstcache.c: Likewise.
66978 * nscd/nscd_gethst_r.c: Likewise.
66979 * nscd/nscd_getserv_r.c: Likewise.
66980 * nscd/nscd_helper.c: Likewise.
66981 * nscd/servicescache.c: Likewise.
66982 * nss/makedb.c: Likewise.
66983 * nss/nss_db/db-XXX.c: Likewise.
66984 * nss/nss_db/db-initgroups.c: Likewise.
66985 * nss/nss_db/db-netgrp.c: Likewise.
66986 * nss/nss_files/files-network.c: Likewise.
66987 * nss/nss_files/files-parse.c: Likewise.
66988 * posix/bug-regex5.c: Likewise.
66989 * posix/fnmatch_loop.c: Likewise.
66990 * posix/regcomp.c: Likewise.
66991 * posix/regexec.c: Likewise.
66992 * posix/tst-rfc3484-2.c: Likewise.
66993 * posix/tst-rfc3484-3.c: Likewise.
66994 * posix/tst-rfc3484.c: Likewise.
66995 * resolv/nss_dns/dns-canon.c: Likewise.
66996 * resolv/nss_dns/dns-network.c: Likewise.
66997 * resolv/res_init.c: Likewise.
66998 * resolv/res_mkquery.c: Likewise.
66999 * resolv/tst-aton.c: Likewise.
67000 * stdlib/cxa_atexit.c: Likewise.
67001 * stdlib/cxa_finalize.c: Likewise.
67002 * stdlib/gen-fpioconst.c: Likewise.
67003 * stdlib/strtol_l.c: Likewise.
67004 * string/tst-endian.c: Likewise.
67005 * sunrpc/auth_des.c: Likewise.
67006 * sunrpc/clnt_udp.c: Likewise.
67007 * sunrpc/rtime.c: Likewise.
67008 * sunrpc/svcauth_des.c: Likewise.
67009 * sunrpc/xdr.c: Likewise.
67010 * sunrpc/xdr_intXX_t.c: Likewise.
67011 * sunrpc/xdr_rec.c: Likewise.
67012 * sysdeps/generic/ldconfig.h: Likewise.
67013 * sysdeps/generic/ldsodefs.h: Likewise.
67014 * sysdeps/generic/memusage.h: Likewise.
67015 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67016 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67017 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67018 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67019 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67021 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67023 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67024 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67025 * sysdeps/posix/getaddrinfo.c: Likewise.
67026 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67027 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67028 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67029 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67030 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67031 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67032 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67033 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67034 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67035 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67036 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67037 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67038 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67039 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67040 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67041 * sysdeps/x86_64/dl-tls.h: Likewise.
67042 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67043 * time/alt_digit.c: Likewise.
67044 * time/era.c: Likewise.
67045 * wcsmbs/tst-c16c32-1.c: Likewise.
67046
67047 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67048
67049 * math/libm-test.inc (struct test_sincos_data): New type.
67050 (RUN_TEST_LOOP_sincos): New macro.
67051 (sincos_test_data): New variable.
67052 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67053
67054 2013-05-16 Richard Henderson <rth@redhat.com>
67055
67056 * math/atest-exp2.c (LIMB64): New macro.
67057 (CONSTSZ): New macro.
67058 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67059 (hexdig): Move ...
67060 (print_mpn_fp): ... to function scope.
67061 (read_mpn_hex): Remove.
67062 (get_log2): Remove.
67063 (exp2_mpn): Use mp_log2.
67064 (main): Use mp_exp1.
67065
67066 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67067
67068 * math/libm-test.inc: Remove comment about not testing "inexact"
67069 exceptions.
67070 (INEXACT_EXCEPTION): New macro.
67071 (NO_INEXACT_EXCEPTION): Likewise.
67072 (INVALID_EXCEPTION_OK): Update value.
67073 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67074 (OVERFLOW_EXCEPTION_OK): Likewise.
67075 (UNDERFLOW_EXCEPTION_OK): Likewise.
67076 (IGNORE_ZERO_INF_SIGN): Likewise.
67077 (ERRNO_UNCHANGED): Likewise.
67078 (ERRNO_EDOM): Likewise.
67079 (ERRNO_ERANGE): Likewise.
67080 (test_exceptions): Handle testing "inexact" exceptions.
67081 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67082 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67083 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67084 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67085 INEXACT_EXCEPTION.
67086 (rint_towardzero_test_data): Likewise.
67087 (rint_downward_test_data): Likewise.
67088 (rint_upward_test_data): Likewise.
67089
67090 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67091 with OVERFLOW_EXCEPTION.
67092 (exp10_test_data): Likewise.
67093 (exp2_test_data): Likewise.
67094 (expm1_test_data): Likewise.
67095 (lgamma_test_data): Likewise.
67096 (pow_test_data): Likewise.
67097 (tgamma_test_data): Likewise.
67098 (yn_test_data): Remove duplicate test of overflow.
67099
67100 * math/libm-test.inc (struct test_cc_c_data): New type.
67101 (RUN_TEST_LOOP_cc_c): New macro.
67102 (cpow_test_data): New variable.
67103 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67104
67105 * math/libm-test.inc (struct test_f_L_data): New type.
67106 (RUN_TEST_LOOP_f_L): New macro.
67107 (llrint_test_data): New variable.
67108 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67109 (llrint_tonearest_test_data): New variable.
67110 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67111 (llrint_towardzero_test_data): New variable.
67112 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67113 (llrint_downward_test_data): New variable.
67114 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67115 (llrint_upward_test_data): New variable.
67116 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67117 (llround_test_data): New variable.
67118 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67119
67120 2013-05-13 Peter Collingbourne <pcc@google.com>
67121
67122 * math/atest-exp2.c (get_log2): Remove const attribute.
67123
67124 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67125
67126 * math/libm-test.inc (struct test_f_l_data): New type.
67127 (RUN_TEST_LOOP_f_l): New macro.
67128 (lrint_test_data): New variable.
67129 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67130 (lrint_tonearest_test_data): New variable.
67131 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67132 (lrint_towardzero_test_data): New variable.
67133 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67134 (lrint_downward_test_data): New variable.
67135 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67136 (lrint_upward_test_data): New variable.
67137 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67138 (lround_test_data): New variable.
67139 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67140
67141 2013-05-15 Peter Collingbourne <pcc@google.com>
67142
67143 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67144 (EXTRACT_WORDS64) Use where appropriate.
67145 (INSERT_WORDS64) Likewise.
67146
67147 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67148 constraints with x constraints.
67149 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67150
67151 * malloc/obstack.c (_obstack_compat): Add initializer.
67152
67153 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67154
67155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67156 si_trapno and add si_addr_lsb to _sifields.sigfault.
67157 (si_trapno): Remove macro.
67158 (si_addr_lsb): Define new macro.
67159 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67160
67161 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67162
67163 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67164 instead of TEST_f_l.
67165 (llrint_test_tonearest): Likewise.
67166 (llrint_test_towardzero): Likewise.
67167 (llrint_test_downward): Likewise.
67168 (llrint_test_upward): Likewise.
67169 (llround_test): Likewise.
67170
67171 * math/libm-test.inc (struct test_f_i_data): Add comment.
67172 (RUN_TEST_LOOP_f_b): New macro.
67173 (RUN_TEST_LOOP_f_b_tg): Likewise.
67174 (finite_test_data): New variable.
67175 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67176 (isfinite_test_data): New variable.
67177 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67178 (isinf_test_data): New variable.
67179 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67180 (isnan_test_data): New variable.
67181 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67182 (isnormal_test_data): New variable.
67183 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67184 (issignaling_test_data): New variable.
67185 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67186 (signbit_test_data): New variable.
67187 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67188
67189 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67190 with INVALID_EXCEPTION.
67191 (acosh_test_data): Likewise.
67192 (asin_test_data): Likewise.
67193 (atanh_test_data): Likewise.
67194 (fmod_test_data): Likewise.
67195 (log_test_data): Likewise.
67196 (log10_test_data): Likewise.
67197 (log2_test_data): Likewise.
67198 (pow_test_data): Likewise.
67199 (sqrt_test_data): Likewise.
67200 (y0_test_data): Likewise.
67201 (y1_test_data): Likewise.
67202 (yn_test_data): Likewise.
67203
67204 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67205 function contents.
67206
67207 * math/libm-test.inc (struct test_ff_i_data): New type.
67208 (RUN_TEST_LOOP_ff_i_tg): New macro.
67209 (isgreater_test_data): New variable.
67210 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67211 (isgreaterequal_test_data): New variable.
67212 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67213 (isless_test_data): New variable.
67214 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67215 (islessequal_test_data): New variable.
67216 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67217 (islessgreater_test_data): New variable.
67218 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67219 (isunordered_test_data): New variable.
67220 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67221
67222 2013-05-14 David S. Miller <davem@davemloft.net>
67223
67224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67225
67226 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67227
67228 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67229
67230 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67231 extra_test to int.
67232 (struct test_f_i_data): Change type of max_ulp to int.
67233
67234 * math/libm-test.inc (test_ffI_f1_data): New type.
67235 (RUN_TEST_LOOP_ffI_f1): New macro.
67236 (remquo_test_data): New variable.
67237 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67238
67239 * setjmp/tst-setjmp-fp.c: New file.
67240 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67241 (link-libm): New variable.
67242 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67243
67244 * math/libm-test.inc (struct test_f_i_data): New type.
67245 (RUN_TEST_LOOP_f_i): New macro.
67246 (RUN_TEST_LOOP_f_i_tg): Likewise.
67247 (fpclassify_test_data): New variable.
67248 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67249 (ilogb_test_data): New variable.
67250 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67251
67252 * math/libm-test.inc (scalbln_test): Correct function name in END
67253 call.
67254
67255 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67256 (RUN_TEST_LOOP_fI_f1): New macro.
67257 (frexp_test_data): New variable.
67258 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67259
67260 * math/libm-test.inc (struct test_fF_f1_data): New type.
67261 (RUN_TEST_LOOP_fF_f1): New macro.
67262 (modf_test_data): New variable.
67263 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67264
67265 * math/libm-test.inc (struct test_f_f1_data): New type.
67266 (RUN_TEST_LOOP_f_f1): New macro.
67267 (gamma_test_data): New variable.
67268 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67269 (lgamma_test_data): New variable.
67270 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67271
67272 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67273
67274 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67275 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67276 (main): Comment "tls" pseudo-hwcap.
67277
67278 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67279
67280 * math/libm-test.inc (struct test_fl_f_data): New type.
67281 (RUN_TEST_LOOP_fl_f): New variable.
67282 (scalbln_test_data): New variable.
67283 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67284
67285 * math/libm-test.inc (struct test_fi_f_data): New type.
67286 (RUN_TEST_LOOP_fi_f): New macro.
67287 (ldexp_test_data): New variable.
67288 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67289 (scalbn_test_data): New variable.
67290 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67291
67292 * math/libm-test.inc (struct test_c_f_data): New type.
67293 (RUN_TEST_LOOP_c_f): New macro.
67294 (cabs_test_data): New variable.
67295 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67296 (carg_test_data): New variable.
67297 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67298 (cimag_test_data): New variable.
67299 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67300 (creal_test_data): New variable.
67301 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67302
67303 * math/libm-test.inc (struct test_if_f_data): New type.
67304 (RUN_TEST_LOOP_if_f): New macro.
67305 (jn_test_data): New variable.
67306 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67307 (yn_test_data): New variable.
67308 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67309
67310 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67311
67312 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67313
67314 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67315 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67316
67317 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67318
67319 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67320 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67321 (bench-deps): Add bench-timing.h.
67322 * benchtests-bench-skeleton.c: Include bench-timing.h.
67323 (main): Use TIMING_* macros instead of clock_gettime.
67324 * benchtests/bench-timing.h: New file.
67325
67326 [BZ #14582]
67327 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67328 Renamed from _LIB_VERSION.
67329 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67330
67331 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67332
67333 * math/libm-test.inc (struct test_fff_f_data): New type.
67334 (RUN_TEST_LOOP_fff_f): New macro.
67335 (fma_test_data): New variable.
67336 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67337 (fma_towardzero_test_data): New variable.
67338 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67339 (fma_downward_test_data): New variable.
67340 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67341 (fma_upward_test_data): New variable.
67342 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67343
67344 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67345 (struct test_c_c_data): New type.
67346 (RUN_TEST_LOOP_c_c): New macro.
67347 (cacos_test_data): New variable.
67348 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67349 (cacosh_test_data): New variable.
67350 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67351 (casin_test_data): New variable.
67352 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67353 (casinh_test_data): New variable.
67354 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67355 (catan_test_data): New variable.
67356 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67357 (catanh_test_data): New variable.
67358 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67359 (ccos_test_data): New variable.
67360 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67361 (ccosh_test_data): New variable.
67362 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67363 (cexp_test_data): New variable.
67364 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67365 (clog_test_data): New variable.
67366 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67367 (clog10_test_data): New variable.
67368 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67369 (conj_test_data): New variable.
67370 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67371 (cproj_test_data): New variable.
67372 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67373 (csin_test_data): New variable.
67374 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67375 (csinh_test_data): New variable.
67376 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67377 (csqrt_test_data): New variable.
67378 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67379 (ctan_test_data): New variable.
67380 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67381 (ctan_tonearest_test_data): New variable.
67382 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67383 (ctan_towardzero_test_data): New variable.
67384 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67385 (ctan_downward_test_data): New variable.
67386 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67387 (ctan_upward_test_data): New variable.
67388 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67389 (ctanh_test_data): New variable.
67390 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67391 (ctanh_tonearest_test_data): New variable.
67392 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67393 (ctanh_towardzero_test_data): New variable.
67394 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67395 (ctanh_downward_test_data): New variable.
67396 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67397 (ctanh_upward_test_data): New variable.
67398 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67399 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67400 of BUILD_COMPLEX.
67401
67402 * math/libm-test.inc (struct test_ff_f_data): New type.
67403 (struct test_ff_f_data_nexttoward): Likewise.
67404 (RUN_TEST_LOOP_2_f): New macro.
67405 (RUN_TEST_LOOP_ff_f): Likewise.
67406 (atan2_test_data): New variable.
67407 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67408 (copysign_test_data): New variable.
67409 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67410 (fdim_test_data): New variable.
67411 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67412 (fmax_test_data): New variable.
67413 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67414 (fmin_test_data): New variable.
67415 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67416 (fmod_test_data): New variable.
67417 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67418 (hypot_test_data): New variable.
67419 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67420 (nextafter_test_data): New variable.
67421 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67422 (nexttoward_test_data): New variable.
67423 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67424 (pow_test_data): New variable.
67425 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67426 (pow_tonearest_test_data): New variable.
67427 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67428 (pow_towardzero_test_data): New variable.
67429 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67430 (pow_downward_test_data): New variable.
67431 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67432 (pow_upward_test_data): New variable.
67433 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67434 (remainder_test_data): New variable.
67435 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67436 (scalb_test_data): New variable.
67437 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67438 * sysdeps/i386/fpu/libm-test-ulps: Update.
67439
67440 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67441
67442 * math/libm-test.inc (fma_test): Use max_value instead of local
67443 variable fltmax.
67444 (nextafter_test): Likewise.
67445
67446 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67447 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67448 (acos_downward_test_data): New variable.
67449 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67450 (acos_upward_test_data): New variable.
67451 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67452 (acosh_test_data): New variable.
67453 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67454 (asin_test_data): New variable.
67455 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67456 (asin_tonearest_test_data): New variable.
67457 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67458 (asin_towardzero_test_data): New variable.
67459 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67460 (asin_downward_test_data): New variable.
67461 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67462 (asin_upward_test_data): New variable.
67463 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67464 (asinh_test_data): New variable.
67465 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67466 (atan_test_data): New variable.
67467 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67468 (atanh_test_data): New variable.
67469 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67470 (cbrt_test_data): New variable.
67471 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67472 (ceil_test_data): New variable.
67473 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67474 (cos_test_data): New variable.
67475 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67476 (cos_tonearest_test_data): New variable.
67477 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67478 (cos_towardzero_test_data): New variable.
67479 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67480 (cos_downward_test_data): New variable.
67481 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67482 (cos_upward_test_data): New variable.
67483 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67484 (cosh_test_data): New variable.
67485 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67486 (cosh_tonearest_test_data): New variable.
67487 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67488 (cosh_towardzero_test_data): New variable.
67489 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67490 (cosh_downward_test_data): New variable.
67491 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67492 (cosh_upward_test_data): New variable.
67493 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67494 (erf_test_data): New variable.
67495 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67496 (erfc_test_data): New variable.
67497 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67498 (exp_test_data): New variable.
67499 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67500 (exp_tonearest_test_data): New variable.
67501 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67502 (exp_towardzero_test_data): New variable.
67503 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67504 (exp_downward_test_data): New variable.
67505 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67506 (exp_upward_test_data): New variable.
67507 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67508 (exp10_test_data): New variable.
67509 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67510 (exp2_test_data): New variable.
67511 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67512 (expm1_test_data): New variable.
67513 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67514 (fabs_test_data): New variable.
67515 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67516 (floor_test_data): New variable.
67517 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67518 (j0_test_data): New variable.
67519 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67520 (j1_test_data): New variable.
67521 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67522 (log_test_data): New variable.
67523 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67524 (log10_test_data): New variable.
67525 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67526 (log1p_test_data): New variable.
67527 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67528 (log2_test_data): New variable.
67529 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67530 (logb_test_data): New variable.
67531 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67532 (logb_downward_test_data): New variable.
67533 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67534 (nearbyint_test_data): New variable.
67535 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67536 (rint_test_data): New variable.
67537 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67538 (rint_tonearest_test_data): New variable.
67539 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67540 (rint_towardzero_test_data): New variable.
67541 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67542 (rint_downward_test_data): New variable.
67543 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67544 (rint_upward_test_data): New variable.
67545 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67546 (round_test_data): New variable.
67547 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67548 (sin_test_data): New variable.
67549 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67550 (sin_tonearest_test_data): New variable.
67551 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67552 (sin_towardzero_test_data): New variable.
67553 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67554 (sin_downward_test_data): New variable.
67555 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67556 (sin_upward_test_data): New variable.
67557 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67558 (sinh_test_data): New variable.
67559 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67560 (sinh_tonearest_test_data): New variable.
67561 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67562 (sinh_towardzero_test_data): New variable.
67563 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67564 (sinh_downward_test_data): New variable.
67565 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67566 (sinh_upward_test_data): New variable.
67567 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67568 (sqrt_test_data): New variable.
67569 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67570 (tan_test_data): New variable.
67571 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67572 (tan_tonearest_test_data): New variable.
67573 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67574 (tan_towardzero_test_data): New variable.
67575 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67576 (tan_downward_test_data): New variable.
67577 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67578 (tan_upward_test_data): New variable.
67579 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67580 (tanh_test_data): New variable.
67581 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67582 (tgamma_test_data): New variable.
67583 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67584 (trunc_test_data): New variable.
67585 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67586 (y0_test_data): New variable.
67587 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67588 (y1_test_data): New variable.
67589 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67590 (significand_test_data): New variable.
67591 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67592
67593 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67594
67595 [BZ #12387]
67596 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67597
67598 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67599
67600 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67601
67602 2013-05-10 Andreas Jaeger <aj@suse.de>
67603
67604 [BZ #15448]
67605 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67606 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67607
67608 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67609
67610 * math/gen-libm-test.pl (adjust_arg): New function.
67611 (special_functions): Handle generating output in both functions
67612 and arrays.
67613 (parse_args): Likewise.
67614 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67615 $in_func argument to parse_args.
67616 * math/libm-test.inc (struct test_f_f_data): New type.
67617 (IF_ROUND_INIT_): New macro.
67618 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67619 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67620 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67621 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67622 (ROUND_RESTORE_): Likewise.
67623 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67624 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67625 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67626 (ROUND_RESTORE_FE_UPWARD): Likewise.
67627 (RUN_TEST_LOOP_f_f): New macro.
67628 (acos_test_data): New variable.
67629 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67630 (acos_tonearest_test_data): New variable.
67631 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67632
67633 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67634
67635 * benchtests/bench-skeleton.c (startup): Fix coding style.
67636
67637 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67638
67639 [BZ #6809]
67640 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67641 negative infinity argument.
67642 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67643 negative infinity argument.
67644 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67645 negative infinity argument.
67646 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67647 domain errors.
67648
67649 2013-05-10 Florian Weimer <fweimer@redhat.com>
67650
67651 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67652 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67653 * iconv/iconv_prog.c (main): Likewise.
67654 * locale/programs/charmap-dir.c (charmap_readdir)
67655 (fopen_uncompressed): Likewise.
67656 * locale/programs/locfile.c (siblings_uncached)
67657 (write_locale_data): Use lstat64 instead of lstat.
67658 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67659 stat.
67660
67661 2013-05-10 Andreas Jaeger <aj@suse.de>
67662
67663 [BZ #15395]
67664 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67665 localization.
67666 Include <locale.h>.
67667
67668 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67669
67670 * elf/dl-close.c (_dl_close_worker): Add comments.
67671
67672 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67673
67674 [BZ #15359]
67675 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67676 high part of pi/2.
67677 (__ieee754_rem_pio2l): Update comments.
67678
67679 [BZ #15429]
67680 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67681 high part of pi/2.
67682 (__ieee754_rem_pio2l): Update comments.
67683
67684 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67685 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67686
67687 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67688 M_PI_4l.
67689
67690 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67691 (M_PI_34_LOG10El): Likewise.
67692 (M_PI2_LOG10El): Likewise.
67693 (M_PI4_LOG10El): Likewise.
67694 (M_PI_LOG10El): Likewise.
67695
67696 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67697
67698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67699
67700 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67701
67702 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67703 (MINUS_ZERO_INIT): Likewise.
67704 (PLUS_INFTY_INIT): Likewise.
67705 (MINUS_INFTY_INIT): Likewise.
67706 (QNAN_VALUE_INIT): Likewise.
67707 (MAX_VALUE_INIT): Likewise.
67708 (MIN_VALUE_INIT): Likewise.
67709 (MIN_SUBNORM_VALUE_INIT): Likewise.
67710 (plus_zero): Initialize with PLUS_ZERO_INIT.
67711 (minus_zero): Initialize with MINUS_ZERO_INIT.
67712 (plus_infty): Initialize with PLUS_INFTY_INIT.
67713 (minus_infty): Initialize with MINUS_INFTY_INIT.
67714 (qnan_value): Initialize with QNAN_VALUE_INIT.
67715 (max_value): Initialize with MAX_VALUE_INIT.
67716 (min_value): Initialize with MIN_VALUE_INIT.
67717 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67718
67719 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67720 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67721 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67722 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67723
67724 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67725 (RUN_TEST_2_f): Likewise.
67726 (RUN_TEST_ff_f): Likewise.
67727 (RUN_TEST_fi_f): Likewise.
67728 (RUN_TEST_fl_f): Likewise.
67729 (RUN_TEST_fff_f): Likewise.
67730 (RUN_TEST_c_f): Likewise.
67731 (RUN_TEST_f_f1): Likewise.
67732 (RUN_TEST_fF_f1): Likewise.
67733 (RUN_TEST_fI_f1): Likewise.
67734 (RUN_TEST_ffI_f1): Likewise.
67735 (RUN_TEST_c_c): Likewise.
67736 (RUN_TEST_cc_c): Likewise.
67737 (RUN_TEST_f_i): Likewise.
67738 (RUN_TEST_f_i_tg): Likewise.
67739 (RUN_TEST_ff_i_tg): Likewise.
67740 (RUN_TEST_f_b): Likewise.
67741 (RUN_TEST_f_b_tg): Likewise.
67742 (RUN_TEST_f_l): Likewise.
67743 (RUN_TEST_f_L): Likewise.
67744 (RUN_TEST_sincos): Likewise.
67745 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67746 whether to show exceptions. Do not include ");\n" in return
67747 value.
67748 (special_functions): Output call to RUN_TEST_sincos instead of
67749 check_float calls. Update calls to new_test.
67750 (parse_args): Output call to single RUN_TEST_* macro instead of
67751 check_* calls and other assignments. Update calls to new_test.
67752
67753 [BZ #2546]
67754 [BZ #2560]
67755 [BZ #5159]
67756 [BZ #15426]
67757 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67758 input to result for tgamma overflow.
67759 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67760 (gamma_coeff): New variable.
67761 (NCOEFF): New macro.
67762 (gamma_positive): New function.
67763 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67764 underflow here. Use gamma_positive instead of exp (lgamma) for
67765 other arguments.
67766 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67767 (gamma_coeff): New variable.
67768 (NCOEFF): New macro.
67769 (gammaf_positive): New function.
67770 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67771 underflow here. Use gamma_positive instead of exp (lgamma) for
67772 other arguments.
67773 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67774 (gamma_coeff): New variable.
67775 (NCOEFF): New macro.
67776 (gammal_positive): New function.
67777 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67778 underflow here. Use gamma_positive instead of exp (lgamma) for
67779 other arguments.
67780 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67781 (gamma_coeff): New variable.
67782 (NCOEFF): New macro.
67783 (gammal_positive): New function.
67784 (__ieee754_gammal_r): Handle positive infinity, overflow and
67785 underflow here. Handle NaN the same as positive infinity. Remove
67786 check x < 0xffffffff for negative integers. Use gamma_positive
67787 instead of exp (lgamma) for other arguments.
67788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67789 (gamma_coeff): New variable.
67790 (NCOEFF): New macro.
67791 (gammal_positive): New function.
67792 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67793 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67794 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67795 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67796 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67797 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67798 * sysdeps/generic/math_private.h (__gamma_productf): New
67799 prototype.
67800 (__gamma_product): Likewise.
67801 (__gamma_productl): Likewise.
67802 * math/Makefile (libm-calls): Add gamma_product.
67803 * math/libm-test.inc (tgamma_test): Add more tests.
67804 * sysdeps/i386/fpu/libm-test-ulps: Update.
67805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67806
67807 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
67808
67809 * benchtests/bench-skeleton.c (main): Preheat CPU.
67810
67811 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67812
67813 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67814
67815 2013-05-07 Roland McGrath <roland@hack.frob.com>
67816
67817 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67818 and _dl_skip_args_internal.
67819
67820 2013-05-07 Carlos O'Donell <carlos@redhat.com>
67821
67822 * manual/message.texi (Message Translation): Talk about users.
67823 Message to key mapping impacts design.
67824
67825 2013-05-06 Roland McGrath <roland@hack.frob.com>
67826
67827 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67828
67829 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67830
67831 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67832 * sysdeps/wordsize-64/glob64.c: ... here.
67833
67834 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67835 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67836 New macros.
67837
67838 * debug/getlogin_r_chk.c: Moved to ...
67839 * login/getlogin_r_chk.c: ... here.
67840 * debug/Makefile (routines): Move getlogin_r_chk to ...
67841 * login/Makefile (routines): ... here.
67842 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67843 * login/Versions (libc: GLIBC_2.4): ... here.
67844
67845 * io/poll.c (__poll): Renamed from poll.
67846 Add libc_hidden_def.
67847 (poll): Define as weak alias.
67848
67849 * debug/ptsname_r_chk.c: Moved to ...
67850 * login/ptsname_r_chk.c: ... here.
67851 * debug/Makefile (routines): Move ptsname_r_chk to ...
67852 * login/Makefile (routines): ... here.
67853 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67854 * login/Versions (libc: GLIBC_2.4): ... here.
67855
67856 * posix/getlogin.c: Moved to ...
67857 * login/getlogin.c: ... here.
67858 * posix/getlogin_r.c: Moved to ...
67859 * login/getlogin_r.c: ... here.
67860 * posix/getlogin_r.c: Moved to ...
67861 * login/getlogin_r.c: ... here.
67862 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67863 * login/Makefile (routines): ... here.
67864 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67865 * login/Versions (libc: GLIBC_2.0): ... here.
67866
67867 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67868 (setrlimit): Define as weak alias.
67869
67870 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67871 Call __ names for open, ftruncate, and close.
67872 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67873 (truncate): Define as weak alias.
67874
67875 2013-05-06 Joseph Myers <joseph@codesourcery.com>
67876
67877 * math/gen-libm-test.pl (parse_args): Initialize x before each
67878 test of frexp, modf and remquo.
67879
67880 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67881 test signgam value.
67882
67883 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67884
67885 [BZ #15418]
67886 [BZ #15419]
67887 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67888 internal tests.
67889 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67890
67891 2013-05-06 Roland McGrath <roland@hack.frob.com>
67892
67893 * elf/dl-writev.h: New file.
67894 * elf/dl-misc.c: Include it.
67895 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67896 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67897
67898 2013-05-04 Joseph Myers <joseph@codesourcery.com>
67899
67900 * math/libm-test.inc (noXFails): Remove variable.
67901 (noXPasses): Likewise.
67902 (BUILD_COMPLEX_INT): Remove macro.
67903 (print_screen): Remove xfail argument.
67904 (print_screen_max_error): Likewise.
67905 (update_stats): Likewise.
67906 (print_max_error): Likewise. Update calls to other affected
67907 functions.
67908 (print_complex_max_error): Likewise.
67909 (test_single_exception): Update calls to print_screen.
67910 (test_single_errno): Likewise.
67911 (check_float_internal): Remove xfail argument. Update calls to
67912 other affected functions.
67913 (check_float): Likewise.
67914 (check_complex): Likewise.
67915 (check_int): Likewise.
67916 (check_long): Likewise.
67917 (check_bool): Likewise.
67918 (check_longlong): Likewise.
67919 (main): Don't print noXFails and noXPasses.
67920 * math/gen-libm-test.pl (top level): Don't mention expected
67921 failure handling in comment.
67922 (new_test): Don't handle expected failures.
67923 (parse_args): Don't mention expected failure handling in comment.
67924 (generate_testfile): Don't handle expected failures.
67925 (parse_ulps): Likewise.
67926 (print_ulps_file): Likewise.
67927 (get_failure): Remove function.
67928 (output_test): Don't handle expected failures.
67929 * make/README.libm-test: Don't mention expected failure handling.
67930
67931 * math/libm-test.inc (plus_zero): Make const. Add initializer.
67932 (minus_zero): Likewise.
67933 (plus_infty): Likewise.
67934 (minus_infty): Likewise.
67935 (qnan_value): Likewise.
67936 (max_value): Likewise.
67937 (min_value): Likewise.
67938 (min_subnorm_value): Likewise.
67939 (initialize): Do not initialize those variables dynamically.
67940
67941 2013-05-03 Roland McGrath <roland@hack.frob.com>
67942
67943 * io/open.c (__open_2): Moved to ...
67944 * io/open_2.c: ... this new file.
67945 * io/open64.c (__open64_2): Moved to ...
67946 * io/open64_2.c: ... this new file.
67947 * io/openat.c (__openat_2): Moved to ...
67948 * io/openat_2.c: ... this new file.
67949 * io/openat64.c (__openat64_2): Moved to ...
67950 * io/openat64_2.c: ... this new file.
67951 * io/Makefile (routines): Add them.
67952 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67953 * sysdeps/unix/sysv/linux/open_2.c: File removed.
67954 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67955 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67956 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67957 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67958 (__openat64): Add hidden_ver.
67959 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67960 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67961
67962 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67963 Separately conditionalize setting of GLRO(dl_sysinfo) so
67964 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67965 as well, but the actual setting is only under [NEED_DL_SYSINFO].
67966
67967 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67968
67969 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67970 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67971 definition.
67972 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67973 * sysdeps/unix/sysv/linux/powerpc/init-first.c
67974 (_libc_vdso_platform_setup): Add __vdso_time initialization.
67975 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67976 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67977
67978 2013-05-03 Joseph Myers <joseph@codesourcery.com>
67979
67980 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67981 test signgam value.
67982
67983 * math/libm-test.inc (hypot_test): Do not use
67984 IGNORE_ZERO_INF_SIGN.
67985
67986 2013-05-03 Andreas Jaeger <aj@suse.de>
67987
67988 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67989 Linux 3.9.
67990 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67991 (PF_MAX): Adjust for VSOCK change.
67992
67993 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67994
67995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67996
67997 2013-05-02 Carlos O'Donell <carlos@redhat.com>
67998
67999 [BZ #15264]
68000 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68001 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68002 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68003
68004 2013-05-02 David S. Miller <davem@davemloft.net>
68005
68006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68007
68008 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
68009
68010 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68011
68012 2013-05-01 Roland McGrath <roland@hack.frob.com>
68013
68014 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68015
68016 2013-05-01 Richard Smith <richard@metafoo.co.uk>
68017
68018 [BZ #14952]
68019 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68020 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68021 Use __attribute__ ((__gnu_inline__)).
68022 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68023 Don't use __attribute__ ((__gnu_inline__)).
68024
68025 2013-05-01 Joseph Myers <joseph@codesourcery.com>
68026
68027 [BZ #15423]
68028 * math/s_catan.c (__catan): Handle small real or imaginary part of
68029 input specially to avoid spurious underflow.
68030 * math/s_catanf.c (__catanf): Likewise.
68031 * math/s_catanh.c (__catanh): Likewise.
68032 * math/s_catanhf.c (__catanhf): Likewise.
68033 * math/s_catanhl.c (__catanhl): Likewise.
68034 * math/s_catanl.c (__catanl): Likewise.
68035 * math/libm-test.inc (catan_test): Add more tests.
68036 (catanh_test): Likewise.
68037 * sysdeps/i386/fpu/libm-test-ulps: Update.
68038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68039
68040 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68041
68042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68043
68044 2013-04-30 Joseph Myers <joseph@codesourcery.com>
68045
68046 [BZ #15416]
68047 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68048 accurately for denominator in atan2.
68049 * math/s_catanf.c (__catanf): Likewise.
68050 * math/s_catanh.c (__catanh): Likewise.
68051 * math/s_catanhf.c (__catanhf): Likewise.
68052 * math/s_catanhl.c (__catanhl): Likewise.
68053 * math/s_catanl.c (__catanl): Likewise.
68054 * math/libm-test.inc (catan_test): Add more tests.
68055 (catanh_test): Likewise.
68056 * sysdeps/i386/fpu/libm-test-ulps: Update.
68057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68058
68059 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68060
68061 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68062
68063 * benchtests/Makefile (bench): Remove slow benchmarks.
68064 * benchtests/atan-inputs: Add slow benchmark inputs.
68065 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68066 (BENCH_FUNC): Accept variant offset.
68067 (VARIANT): Define.
68068 * benchtests/bench-skeleton.c (main): Run benchmark for each
68069 variant.
68070 * benchtests/cos-inputs: Add slow benchmark inputs.
68071 * benchtests/exp-inputs: Likewise.
68072 * benchtests/pow-inputs: Likewise.
68073 * benchtests/sin-inputs: Likewise.
68074 * benchtests/slowatan-inputs: Remove.
68075 * benchtests/slowatan.c: Remove.
68076 * benchtests/slowcos-inputs: Remove.
68077 * benchtests/slowcos.c: Remove.
68078 * benchtests/slowexp-inputs: Remove.
68079 * benchtests/slowexp.c: Remove.
68080 * benchtests/slowpow-inputs: Remove.
68081 * benchtests/slowpow.c: Remove.
68082 * benchtests/slowsin-inputs: Remove.
68083 * benchtests/slowsin.c: Remove.
68084 * benchtests/slowtan-inputs: Remove.
68085 * benchtests/slowtan.c: Remove.
68086 * benchtests/tan-inputs: Add slow benchmark inputs.
68087 * scripts/bench.pl: Parse comments and directives.
68088
68089 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68090 in CPPFLAGS.
68091 ($(objpfx)bench-%.c): Remove *-ITER.
68092 * benchtests/bench-modf.c: Remove definition of ITER.
68093 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68094 (main): Loop for DURATION seconds instead of fixed number of
68095 iterations.
68096 * scripts/bench.pl: Don't expect iterations in parameters.
68097
68098 2013-04-29 Roland McGrath <roland@hack.frob.com>
68099
68100 * io/fchdir.c (__fchdir): Renamed from fchdir.
68101 (fchdir): Define as weak alias.
68102
68103 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68104
68105 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68106 (ERRNO_EDOM): Likewise.
68107 (ERRNO_ERANGE): Likewise.
68108 (noErrnoTests): New variable.
68109 (init_max_error): Set errno to 0.
68110 (test_single_errno): New function.
68111 (test_errno): Likewise.
68112 (check_float_internal): Call test_errno. Set errno to 0.
68113 (check_complex): Refer to errno tests in comment.
68114 (check_int): Call test_errno. Set errno to 0.
68115 (check_long): Likewise.
68116 (check_bool): Likewise.
68117 (check_longlong): Likewise.
68118 (cos_test): Use ERRNO_* flags for errno tests instead of
68119 check_int.
68120 (expm1_test): Likewise.
68121 (fmod_test): Likewise.
68122 (ilogb_test): Likewise.
68123 (lgamma_test): Likewise.
68124 (pow_test): Likewise.
68125 (remainder_test): Likewise.
68126 (sin_test): Likewise.
68127 (tan_test): Likewise.
68128 (yn_test): Likewise.
68129 (initialize): Set errno to 0.
68130 (main): Print number of errno tests.
68131 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68132
68133 2013-04-29 Andreas Jaeger <aj@suse.de>
68134
68135 [BZ #15084]
68136 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68137 and RES_USEVC.
68138
68139 [BZ #15085]
68140 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68141 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68142 unimplemented.
68143
68144 [BZ #15380]
68145 * stdlib/random.c (__initstate): Return NULL if
68146 __initstate fails.
68147
68148 [BZ #15086]
68149 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68150 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68151 RES_SNGLKUPREOP.
68152
68153 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68154
68155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68156
68157 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68158
68159 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68160 of individual tests.
68161 (casin_test): Likewise.
68162 (casinh_test): Likewise.
68163
68164 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68165
68166 [BZ #15409]
68167 * math/s_catan.c (__catan): Handle arguments with large real or
68168 imaginary part separately without squaring.
68169 * math/s_catanf.c (__catanf): Likewise.
68170 * math/s_catanh.c (__catanh): Likewise.
68171 * math/s_catanhf.c (__catanhf): Likewise.
68172 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68173 and redefine.
68174 (__catanhl): Handle arguments with large real or imaginary part
68175 separately without squaring.
68176 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68177 and redefine.
68178 (__catanl): Handle arguments with large real or imaginary part
68179 separately without squaring.
68180 * math/libm-test.inc (catan_test): Add more tests.
68181 (catanh_test): Likewise.
68182 * sysdeps/i386/fpu/libm-test-ulps: Update.
68183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68184
68185 2013-04-27 Andreas Jaeger <aj@suse.de>
68186
68187 [BZ #15007]
68188 * stdlib/stdlib.h: Update guards for qecvt.
68189 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68190 <stdlib.h>.
68191
68192 2013-04-27 Allan McRae <allan@archlinux.org>
68193
68194 * sysdeps/i386/fpu/libm-test-ulps: Update.
68195
68196 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68197
68198 [BZ #15406]
68199 * math/s_catan.c: Include <float.h>.
68200 (__catan): Ensure underflow exception occurs for underflowed
68201 result.
68202 * math/s_catanf.c: Include <float.h>.
68203 (__catanf): Ensure underflow exception occurs for underflowed
68204 result.
68205 * math/s_catanh.c: Include <float.h>.
68206 (__catanh): Ensure underflow exception occurs for underflowed
68207 result.
68208 * math/s_catanhf.c: Include <float.h>.
68209 (__catanhf): Ensure underflow exception occurs for underflowed
68210 result.
68211 * math/s_catanhl.c: Include <float.h>.
68212 (__catanhl): Ensure underflow exception occurs for underflowed
68213 result.
68214 * math/s_catanl.c: Include <float.h>.
68215 (__catanl): Ensure underflow exception occurs for underflowed
68216 result.
68217 * math/libm-test.inc (catan_test): Add more tests.
68218 (catanh_test): Likewise.
68219
68220 [BZ #15405]
68221 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68222 underflowed result.
68223 * math/s_ccoshf.c (__ccoshf): Likewise.
68224 * math/s_ccoshl.c (__ccoshl): Likewise.
68225 * math/s_csin.c (__csin): Likewise.
68226 * math/s_csinf.c (__csinf): Likewise.
68227 * math/s_csinh.c (__csinh): Likewise.
68228 * math/s_csinhf.c (__csinhf): Likewise.
68229 * math/s_csinhl.c (__csinhl): Likewise.
68230 * math/s_csinl.c (__csinl): Likewise.
68231 * math/libm-test.inc (ccos_test): Add more tests.
68232 (ccosh_test): Likewise.
68233 (csin_test): Likewise.
68234 (csinh_test): Likewise.
68235
68236 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68237
68238 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68239 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68240 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68241 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68242 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68243 powerpc/power5+/fpu folders.
68244 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68245
68246
68247 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68248
68249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68250
68251 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68252
68253 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68254 additions to variable.
68255 [$(config-machine) = x86_64] (modules-names): Likewise.
68256 ($(objpfx)tst-audit3): Remove dependency.
68257 ($(objpfx)tst-audit3.out): Likewise.
68258 ($(objpfx)tst-audit4): Likewise.
68259 ($(objpfx)tst-audit4.out): Likewise.
68260 ($(objpfx)tst-audit5): Likewise.
68261 ($(objpfx)tst-audit5.out): Likewise.
68262 ($(objpfx)tst-audit6): Likewise.
68263 ($(objpfx)tst-audit6.out): Likewise.
68264 ($(objpfx)tst-audit7): Likewise.
68265 ($(objpfx)tst-audit7.out): Likewise.
68266 (tst-audit3-ENV): Remove variable.
68267 (tst-audit4-ENV): Likewise.
68268 (tst-audit5-ENV): Likewise.
68269 (tst-audit6-ENV): Likewise.
68270 (tst-audit7-ENV): Likewise.
68271 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68272 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68273 addition to variable.
68274 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68275 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68276 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68277 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68278 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68279 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68280 tst-audit3, tst-audit4 and tst-audit5.
68281 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68282 tst-audit6 and tst-audit7.
68283 [$(subdir) = elf] (modules-names): Add audit modules for those
68284 tests.
68285 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68286 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68287 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68288 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68289 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68290 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68291 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68292 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68293 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68294 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68295 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68296 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68297 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68298 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68299 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68300 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68301 Likewise.
68302 [$(subdir) = elf && $(config-cflags-avx) = yes]
68303 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68304 [$(subdir) = elf && $(config-cflags-avx) = yes]
68305 (CFLAGS-tst-auditmod4a.c): Likewise.
68306 [$(subdir) = elf && $(config-cflags-avx) = yes]
68307 (CFLAGS-tst-auditmod4b.c): Likewise.
68308 [$(subdir) = elf && $(config-cflags-avx) = yes]
68309 (CFLAGS-tst-auditmod6b.c): Likewise.
68310 [$(subdir) = elf && $(config-cflags-avx) = yes]
68311 (CFLAGS-tst-auditmod6c.c): Likewise.
68312 [$(subdir) = elf && $(config-cflags-avx) = yes]
68313 (CFLAGS-tst-auditmod7b.c): Likewise.
68314 * elf/tst-audit3.c: Move to ...
68315 * sysdeps/x86_64/tst-audit3.c: ... here.
68316 * elf/tst-audit4.c: Move to ...
68317 * sysdeps/x86_64/tst-audit4.c: ... here.
68318 * elf/tst-audit5.c: Move to ...
68319 * sysdeps/x86_64/tst-audit5.c: ... here.
68320 * elf/tst-audit6.c: Move to ...
68321 * sysdeps/x86_64/tst-audit6.c: ... here.
68322 * elf/tst-audit7.c: Move to ...
68323 * sysdeps/x86_64/tst-audit7.c: ... here.
68324 * elf/tst-auditmod3a.c: Move to ...
68325 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68326 * elf/tst-auditmod3b.c: Move to ...
68327 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68328 * elf/tst-auditmod4a.c: Move to ...
68329 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68330 * elf/tst-auditmod4b.c: Move to ...
68331 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68332 * elf/tst-auditmod5a.c: Move to ...
68333 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68334 * elf/tst-auditmod5b.c: Move to ...
68335 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68336 * elf/tst-auditmod6a.c: Move to ...
68337 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68338 * elf/tst-auditmod6b.c: Move to ...
68339 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68340 * elf/tst-auditmod6c.c: Move to ...
68341 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68342 * elf/tst-auditmod7a.c: Move to ...
68343 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68344 * elf/tst-auditmod7b.c: Move to ...
68345 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68346
68347 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68348
68349 [BZ #15366]
68350 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68351 define unconditionally.
68352 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68353 define unconditionally.
68354 (INT8_C, INT16_C, etc.): Likewise.
68355
68356 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68357
68358 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68359 __ehdr_start with hidden visibility.
68360
68361 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68362
68363 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68364
68365 * math/libm-test.inc (cos_test): Use accurate hex constants.
68366 (sincost_test): Likewise.
68367
68368 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68369
68370 * math/libm-test.inc (catan_test): Add more tests.
68371 (catanh_test): Likewise.
68372
68373 * math/s_catanf.c (__catanf): Use suffixed floating-point
68374 constants.
68375 * math/s_catanhf.c (__catanhf): Likewise.
68376 * math/s_catanhl.c (__catanhl): Likewise.
68377 * math/s_catanl.c (__catanl): Likewise.
68378
68379 [BZ #15394]
68380 * math/s_catan.c (__catan): Calculate imaginary part of result
68381 with log1p not log unless computing log of number close to 0.
68382 * math/s_catanf.c (__catanf): Likewise.
68383 * math/s_catanl.c (__catanl): Likewise.
68384 * math/s_catanh.c (__catanh): Calculate real part of result with
68385 log1p not log unless computing log of number close to 0.
68386 * math/s_catanhf.c (__catanhf): Likewise.
68387 * math/s_catanhl.c (__catanhl): Likewise.
68388 * math/libm-test.inc (catan_test): Add more tests.
68389 (catanh_test): Likewise.
68390 * sysdeps/i386/fpu/libm-test-ulps: Update.
68391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68392
68393 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68394
68395 * benchtests/Makefile: Mention files in which fast and slow
68396 paths of math functions are implemented.
68397
68398 2013-04-23 Roland McGrath <roland@hack.frob.com>
68399
68400 * sysdeps/posix/timespec_get.c: New file.
68401
68402 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68403
68404 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68405 POWER.
68406 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68407 for POWER.
68408 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68409 powerpc/power5/fpu folders.
68410 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68411 * benchtests/Makefile: Add modf testcase.
68412 * benchtests/bench-modf.c: New file: Benchmark test for mo
68413
68414 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68415
68416 [BZ #14888]
68417 * time/Makefile (tests): Add tst-strptime-whitespace.
68418 * time/strptime_l.c (get_number): Use ISSPACE.
68419 (__strptime_internal): Likewise.
68420 * time/tst-strptime-whitespace.c: New test case.
68421
68422 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68423
68424 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68425 member.
68426 (_nss_files_init): Set it here.
68427
68428 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68429
68430 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68431 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68432 unsigned.
68433
68434 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68435
68436 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68437
68438 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68439
68440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68441 size just once.
68442
68443 2013-04-21 David S. Miller <davem@davemloft.net>
68444
68445 * po/ru.po: Update Russion translation from translation project.
68446
68447 2013-04-17 Adam Conrad <adconrad@0c3.net>
68448
68449 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68450 and setfsgid.
68451
68452 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68453
68454 * configure.in: Remove i386 configure warning. Remove i386 case.
68455 * configure: Regenerate.
68456 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68457 Add example to error message.
68458 * sysdeps/i386/configure: Regenerate.
68459
68460 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68461
68462 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68463 slowtan.
68464 * benchtests/cos-inputs: New file.
68465 * benchtests/slowcos-inputs: New file.
68466 * benchtests/slowcos.c: New file.
68467 * benchtests/slowtan-inputs: New file.
68468 * benchtests/slowtan.c: New file.
68469 * benchtests/tan-inputs: New file.
68470
68471 2013-04-16 Roland McGrath <roland@hack.frob.com>
68472
68473 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68474 considered kosher.
68475
68476 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68477
68478 * benchtests/Makefile: Include cppflags-iterator.mk to add
68479 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68480
68481 * Makefile.in (bench-clean): New target.
68482 * benchtests/Makefile (bench-clean): Likewise.
68483
68484 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68485
68486 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68487
68488 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68489
68490 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68491
68492 2013-04-15 Andreas Schwab <schwab@suse.de>
68493
68494 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68496 * nscd/pwdcache.c (cache_addpw): Likewise.
68497 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68498 more than recsize.
68499
68500 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68501
68502 * benchtests/Makefile (bench): Write all output to
68503 bench-out.tmp together.
68504
68505 2013-04-15 Andreas Schwab <schwab@suse.de>
68506
68507 * nscd/nscd.c (main): Don't fork again after closing files.
68508
68509 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68510
68511 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68512
68513 * benchtests/Rules (bench-deps): Collect dependencies into a
68514 single variable. Add Makefile to dependencies.
68515 ($(objpfx)bench-%.c): Depend on bench-deps.
68516
68517 2013-04-12 Roland McGrath <roland@hack.frob.com>
68518 Xavier Roche <roche+kml2@exalead.com>
68519
68520 [BZ #15361]
68521 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68522 just that it's a file descriptor.
68523 * manual/llio.texi (Synchronizing AIO Operations): Update description
68524 for EBADF error from aio_fsync.
68525
68526 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68527
68528 * Rules (bench): Move target definition...
68529 * benchtests/Makefile: ... here.
68530
68531 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68532
68533 * math/libm-test.inc (cos_test): Fix PI/2 test.
68534 (sincos_test): Likewise.
68535 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68536 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68537
68538 2013-04-11 Andreas Schwab <schwab@suse.de>
68539
68540 [BZ #13988]
68541 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68542 accept exponent character only when digits were seen.
68543 * stdio-common/Makefile (tests): Add bug26.
68544 * stdio-common/bug26.c: New file.
68545
68546 [BZ #14293]
68547 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68548 non-freeable.
68549
68550 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68551
68552 * Makeconfig (rtld-prefix): Define built linker prefix.
68553 * Rules (run-bench): Use it.
68554 * math/Makefile (run-regen-ulps): Likewise.
68555
68556 * Rules (bench): Remove eval.
68557
68558 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68559 Roland McGrath <roland@hack.frob.com>
68560 Ondrej Bilka <neleai@seznam.cz>
68561
68562 [BZ #15346]
68563 * time/getdate.c: Include ctype.h and alloca.h.
68564 (__getdate_r): Trim leading and trailing spaces of input.
68565 * time/tst-getdate.c (tests): Add tests with leading and
68566 trailing spaces.
68567
68568 2013-04-08 Roland McGrath <roland@hack.frob.com>
68569
68570 [BZ #14280]
68571 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68572 when computing value.
68573
68574 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68575
68576 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68577 Use testrun.sh to run libm tests.
68578
68579 [BZ #15309]
68580 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68581
68582 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68583
68584 [BZ #15264]
68585 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68586
68587 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68588
68589 * Makefile.in (regen-ulps): New target.
68590 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68591 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68592 [ifneq (no,$(PERL)] (regen-ulps): New target.
68593 [ifeq (no,$(PERL)] (regen-ulps): New target.
68594 * math/libm-test.inc (ulps_file_name): Define.
68595 (output_dir): New variable.
68596 (options): Add "output-dir" option.
68597 (parse_opt): Handle 'o' case.
68598 (main): If output_dir is non-NULL use it as a prefix
68599 otherwise use "".
68600 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68601
68602 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68603
68604 [BZ #10060, #10062]
68605 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68606 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68607 fail configure if __sync_val_compare_and_swap is not inlined.
68608 * sysdeps/i386/configure: Regenerate.
68609 * configure.in: Build for i686 when configured for i386.
68610 * configure: Regenerate.
68611 * README: Remove i386 reference.
68612
68613 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68614
68615 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68616 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68617
68618 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68619
68620 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68621 (lmsnanval): New variables.
68622 (F): Add conversion tests.
68623 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68624 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68625
68626 * stdio-common/tstdiomisc.c (F): Properly collect individual
68627 tests' results.
68628
68629 [BZ #14686, #15336]
68630 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68631 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68632 Instead, use input NaN values or generate a qNaN by arithmetic
68633 operation. Also fix bugs to comply with the standard.
68634 * math/libm-test.inc (remainder_test): Add more tests.
68635
68636 [BZ #15335, #15342]
68637 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68638 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68639 input NaN values or generate a qNaN by arithmetic operation.
68640
68641 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68642 unreachable code.
68643
68644 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68645 definitions.
68646
68647 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68648
68649 [BZ #14478]
68650 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68651 underflowed result.
68652 * math/s_cexpf.c (__cexpf): Likewise.
68653 * math/s_cexpl.c (__cexpl): Likewise.
68654 * math/libm-test.inc (cexp_test): Add more tests.
68655
68656 2013-04-03 Andreas Schwab <schwab@suse.de>
68657
68658 [BZ #15330]
68659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68660 order arrays from heap if bigger than alloca cutoff.
68661
68662 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68663
68664 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68665 (SNAN_TESTS_double): Refer to GCC PR56831.
68666 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68667 GCC PR56828.
68668
68669 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68670
68671 * Rules (bench): Move bench.out after the run is complete.
68672
68673 * Rules (bench): Echo currently running benchmark.
68674
68675 * benchtests/Makefile (bench): Add atan and slowatan.
68676 * benchtests/atan-inputs: New file.
68677 * benchtests/slowatan-inputs: New file.
68678 * benchtests/slowatan.c: New file.
68679
68680 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68681 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68682 its value.
68683
68684 [BZ #15305]
68685 * sysdeps/unix/sysv/linux/kernel-features.h
68686 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68687 __ASSUME_XFS_RESTRICTED_CHOWN.
68688 * sysdeps/unix/sysv/linux/pathconf.c
68689 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68690 Save and restore errno.
68691
68692 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68693
68694 [BZ #15327]
68695 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68696 arguments using __kernel_casinh.
68697 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68698 arguments using __kernel_casinhf.
68699 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68700 arguments using __kernel_casinhl.
68701 * math/libm-test.inc (cacosh_test): Add more tests.
68702 * sysdeps/i386/fpu/libm-test-ulps: Update.
68703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68704
68705 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68706
68707 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68709
68710 * bench/Makefile (bench): Add sin and slowsin.
68711 * benchtests/sin-inputs: New file.
68712 * benchtests/slowsin-inputs: New file.
68713 * benchtests/slowsin.c: New file.
68714
68715 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68716 (bench): Add slowexp and slowpow.
68717 (exp-ITER): Increase iterations.
68718 (pow-ITER): Likewise.
68719 * benchtests/exp-inputs: Change input.
68720 * benchtests/pow-inputs: Likewise.
68721 * benchtests/slowexp-inputs: New file.
68722 * benchtests/slowexp.c: New file.
68723 * benchtests/slowpow-inputs: New file.
68724 * benchtests/slowpow.c: New file.
68725
68726 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68727
68728 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68729 instructions.
68730 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68731 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68732 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68733 * benchtests/Makefile: Add rint benchtest.
68734 * benchtests/rint-inputs: Input for rint benchtest.
68735
68736 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68737
68738 * Versions.def (libm): Add GLIBC_2.18.
68739 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68740 hidden libm prototypes.
68741 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68742 * math/Makefile (libm-calls): Add s_issignaling.
68743 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68744 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68745 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68746 declaration.
68747 * math/math.h [__USE_GNU] (issignaling): New macro.
68748 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68749 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68750 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68751 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68752 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68753 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68754 * manual/arith.texi (issignaling): New section.
68755 * manual/libm-err-tab.pl (@all_functions): Update comment.
68756 * math/gen-libm-test.pl (parse_args): Apply special handling for
68757 issignaling.
68758 * math/libm-test.inc (print_float, issignaling_test): New
68759 functions.
68760 (check_float_internal): Add issignaling checks.
68761 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68762 default definition.
68763 * sysdeps/powerpc/math-tests.h: New file.
68764 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68765 tests.
68766 * math/test-snan.c (TEST_FUNC): Likewise.
68767
68768 2013-03-30 David S. Miller <davem@davemloft.net>
68769
68770 * po/de.po: Update from translation team.
68771
68772 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68773
68774 [BZ #10357]
68775 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68776 imaginary part less than 1.0 and real part less than 0.5
68777 specially.
68778 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68779 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68780 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68781 (cacos_test): Add more tests.
68782 (casin_test): Likewise.
68783 (casinh_test): Likewise.
68784 * sysdeps/i386/fpu/libm-test-ulps: Update.
68785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68786
68787 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68788
68789 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68790 ONE with its value.
68791
68792 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68793 (__pow_mp): Replace ONE and MONE with their values.
68794 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68796 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68797 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68798 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68800
68801 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68802
68803 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68804 (__pow_mp): Replace ZERO and MZERO with their values.
68805 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68806 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68807 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68809 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68810 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68811 (__sqr): Likewise.
68812
68813 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68814
68815 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68816
68817 2013-03-28 Roland McGrath <roland@hack.frob.com>
68818
68819 * include/stdlib.h [!SHARED] (__call_tls_dtors):
68820 Declare with __attribute__ ((weak)).
68821 * stdlib/exit.c (__libc_atexit) [!SHARED]:
68822 Call __call_tls_dtors only if it's not NULL.
68823
68824 2013-03-28 Roland McGrath <roland@hack.frob.com>
68825
68826 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68827 didn't do it already, then set _dl_phdr and _dl_phnum based on the
68828 magic __ehdr_start linker symbol if it's defined.
68829 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68830 them up here if it was already done.
68831
68832 * elf/dl-support.c (_dl_phdr): Make pointer to const.
68833 (_dl_aux_init): Use const in cast when setting it.
68834 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68835 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68836 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68837
68838 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68839 Declare them here.
68840 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68841 * csu/libc-tls.c: Nor here.
68842 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68843
68844 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68845 (__libc_message): Never call vsyslog.
68846
68847 2013-03-28 Alan Modra <amodra@gmail.com>
68848
68849 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68850 Define as empty.
68851 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68852 Likewise.
68853
68854 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68855
68856 [BZ #15214]
68857 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68858 underflow.
68859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68860
68861 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68862
68863 [BZ #15304]
68864 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68865 Don't add gid passed as argument.
68866
68867 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68868
68869 2013-03-27 Joseph Myers <joseph@codesourcery.com>
68870
68871 [BZ #15307]
68872 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68873 imaginary part between 1.0 and 1.5 and real part less than 0.5
68874 specially.
68875 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68876 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68877 * math/libm-test.inc (cacos_test): Add more tests.
68878 (casin_test): Likewise.
68879 (casinh_test): Likewise.
68880 * sysdeps/i386/fpu/libm-test-ulps: Update.
68881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68882
68883 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68884
68885 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68886 constants.
68887 (norm): Likewise.
68888 (denorm): Likewise.
68889 (__dbl_mp): Likewise.
68890 (add_magnitudes): Likewise.
68891 (sub_magnitudes): Likewise.
68892 (__add): Likewise.
68893 (__sub): Likewise.
68894 (__mul): Likewise.
68895 (__sqr): Likewise.
68896 (__inv): Likewise.
68897 (__dvd): Likewise.
68898
68899 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68900 commented code.
68901 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68902 (__dubcos): Likewise.
68903 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68904 (__ieee754_acos): Likewise.
68905 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68906 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68907 (__exp1): Likewise.
68908 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68910 (log1): Likewise.
68911 (my_log2): Likewise.
68912 (checkint): Likewise.
68913 * sysdeps/ieee754/dbl-64/e_remainder.c
68914 (__ieee754_remainder): Likewise.
68915 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68917 (bsloww): Likewise.
68918 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68919
68920 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68921 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68922 MANTISSA_STORE_T to store computations on mantissa. Use
68923 macros for rounding and division.
68924 (denorm): Likewise.
68925 (__dbl_mp): Likewise.
68926 (add_magnitudes): Likewise.
68927 (sub_magnitudes): Likewise.
68928 (__mul): Likewise.
68929 (__sqr): Likewise.
68930 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68931 powers of two in terms of TWOPOW macro.
68932 (mp_no): Make type of mantissa as MANTISSA_T.
68933 [!RADIXI]: Define RADIXI.
68934 [!TWO52]: Define TWO52.
68935 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68936
68937 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68938
68939 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68940 llroundl symbol when building for PPC32.
68941
68942 2013-03-24 Mark H Weaver <mhw@netris.org>
68943
68944 * manual/arith.texi (Normalization Functions): Fix prototypes for
68945 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68946
68947 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68948
68949 [BZ #13889]
68950 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68951 high value to check if expl overflow.
68952 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68953 to check for underflow and overflow.
68954 * math/libm-test.inc: Add exp test.
68955
68956 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
68957
68958 [BZ #11120]
68959 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68960 with NOT_IN_libc.
68961
68962 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68963
68964 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68965 symbol.
68966
68967 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
68968
68969 * math/gen-libm-test.pl (parse_args, special_functions): Properly
68970 wrap blocks consisting of several statements.
68971
68972 * sysdeps/generic/math-tests.h: New file.
68973 * sysdeps/i386/fpu/math-tests.h: Likewise.
68974 * math/test-snan.c: Include it.
68975 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68976
68977 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68978
68979 [BZ #15285]
68980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68981 (__ieee754_j0l): Do not improve calculations using cos of twice
68982 input for inputs above LDBL_MAX / 2.0L.
68983 (__ieee754_y0l): Likewise.
68984 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68985 (__ieee754_j1l): Do not improve calculations using cos of twice
68986 input for inputs above LDBL_MAX / 2.0L.
68987 (__ieee754_y1l): Likewise.
68988 * math/libm-test.inc (j0_test): Add another test.
68989 (j1_test): Likewise.
68990 (y0_test): Likewise.
68991 (y1_test): Likewise.
68992 * sysdeps/i386/fpu/libm-test-ulps: Update.
68993
68994 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68995
68996 * Rules ($(objpfx)bench-%.c): Include code from a C source
68997 file.
68998
68999 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69000
69001 [BZ #15287]
69002 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69003 imaginary part 1.0 and real part less than 0.5 specially.
69004 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69005 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69006 * math/libm-test.inc (cacos_test): Add more tests.
69007 (casin_test): Likewise.
69008 (casinh_test): Likewise.
69009 * sysdeps/i386/fpu/libm-test-ulps: Update.
69010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69011
69012 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69013
69014 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69015 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69016
69017 2013-03-20 Joseph Myers <joseph@codesourcery.com>
69018
69019 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69020 * config.make.in (config-cflags-sse4): Remove variable.
69021 (config-cflags-avx): Likewise.
69022 (config-cflags-sse2avx): Likewise.
69023 (config-cflags-novzeroupper): Likewise.
69024 (config-asflags-i686): Likewise.
69025 (have-mfma4): Likewise.
69026 (have-as-vis3): Likewise.
69027 (MIG): Likewise.
69028 * configure.in (MIG): Do not AC_SUBST.
69029 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69030 (libc_cv_cc_sse4): Do not AC_SUBST.
69031 (libc_cv_cc_avx): Likewise.
69032 (libc_cv_cc_sse2avx): Likewise.
69033 (libc_cv_cc_novzeroupper): Likewise.
69034 (libc_cv_cc_fma4): Likewise.
69035 (libc_cv_as_i686): Likewise.
69036 (libc_cv_sparc_as_vis3): Likewise.
69037 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69038 LIBC_CONFIG_VAR.
69039 (config-asflags-i686): Likewise.
69040 (config-cflags-avx): Likewise.
69041 (config-cflags-sse2avx): Likewise.
69042 (have-mfma4): Likewise.
69043 (config-cflags-novzeroupper): Likewise.
69044 * sysdeps/mach/configure.in (MIG): Likewise.
69045 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69046 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69047 LIBC_CONFIG_VAR.
69048 (config-cflags-avx): Likewise.
69049 (config-cflags-sse2avx): Likewise.
69050 (have-mfma4): Likewise.
69051 (config-cflags-novzeroupper): Likewise.
69052 * configure: Regenerated.
69053 * sysdeps/i386/configure: Likewise.
69054 * sysdeps/mach/configure: Likewise.
69055 * sysdeps/sparc/configure: Likewise.
69056 * sysdeps/x86_64/configure: Likewise.
69057
69058 2013-03-20 Roland McGrath <roland@hack.frob.com>
69059
69060 [BZ #14812]
69061 * locale/programs/localedef.c (options): Put N_ translation marker
69062 on argument names, not just descriptions.
69063
69064 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69065
69066 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69067
69068 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
69069
69070 [BZ #14176]
69071 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69072
69073 2013-03-19 Roland McGrath <roland@hack.frob.com>
69074
69075 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69076 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69077 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69078 [!BEFORE_ABORT] (before_abort): New function.
69079 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69080 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69081 (writev_for_fatal): New function.
69082 (WRITEV_FOR_FATAL): New macro; call that.
69083 (backtrace_and_maps): New function.
69084 (BEFORE_ABORT): New macro; call that.
69085 (struct str_list): Type removed.
69086 (__libc_message, __libc_fatal): Functions removed.
69087 Include <sysdeps/posix/libc_fatal.c> instead.
69088
69089 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69090
69091 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69092 constants.
69093 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69094 double constants.
69095
69096 2013-03-19 Andreas Schwab <schwab@suse.de>
69097
69098 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69099 * sysdeps/gnu/configure: Regenerate.
69100
69101 * configure.in: Substitute libc_cv_rtlddir.
69102 * configure: Regenerate.
69103 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69104 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69105 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69106 * elf/Makefile (install-others, CFLAGS-interp.c)
69107 (ldso_install, common-ldd-rewrite): Likewise.
69108 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69109 $(inst_slibdir)/$(rtld-installed-name).
69110 * scripts/rellns-sh: Add -p option.
69111 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69112 for source.
69113
69114 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69115
69116 * manual/nptl.texi: Renamed to ...
69117 * manual/threads.texi: ... this.
69118 * manual/Makefile (chapters): Update.
69119
69120 2013-03-18 Roland McGrath <roland@hack.frob.com>
69121
69122 [BZ #14812]
69123 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69124 on argument names, not just descriptions.
69125 * malloc/memusagestat.c (options): Likewise.
69126 * nss/getent.c (options): Likewise.
69127
69128 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69129
69130 [BZ #14812]
69131 * iconv/iconv_prog.c (options): Put N_ translation marker
69132 on argument names, not just descriptions.
69133 * iconv/iconvconfig.c (options): Likewise.
69134
69135 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69136
69137 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69138 implementation which is faster on all x86_64 architectures.
69139 Tested on AMD, Intel Nehalem, SNB, IVB.
69140 * sysdeps/x86_64/strnlen.S: Likewise.
69141
69142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69143 Remove all multiarch strlen and strnlen versions.
69144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69145 Remove strlen and strnlen related parts.
69146
69147 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69148 Inline strlen part.
69149 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69150
69151 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69152 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69153 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69154 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69155 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69156 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69157
69158 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69159
69160 * manual/memory.texi (Malloc Tunable Parameters):
69161 Sort parameters alphabetically. Add comments for missing entries.
69162
69163 2013-03-17 David S. Miller <davem@davemloft.net>
69164
69165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69166
69167 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69168
69169 [BZ #15283]
69170 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69171 for arguments at most half maximum finite value.
69172 * math/libm-test.inc (j0_test): Add more tests.
69173 (j1_test): Likewise.
69174 (y0_test): Likewise.
69175 (y1_test): Likewise.
69176 * sysdeps/i386/fpu/libm-test-ulps: Update.
69177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69178
69179 [BZ #14155]
69180 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69181 1 / x and functions P and Q for arguments above 0x1p256L.
69182 (__ieee754_y0l): Likewise.
69183 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69184 (__ieee754_y1l): Likewise.
69185 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69186 (j1_test): Likewise.
69187 (y0_test): Likewise.
69188 (y1_test): Likewise.
69189
69190 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69191
69192 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69193 variable.
69194
69195 2013-03-15 Roland McGrath <roland@hack.frob.com>
69196
69197 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69198 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69199 zero since it's initialized to EXEC_PAGESIZE.
69200
69201 * sysdeps/unix/sysv/linux/ldsodefs.h
69202 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69203 * sysdeps/generic/ldsodefs.h: ... here.
69204
69205 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69206
69207 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69208
69209 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69210 math/test-snan.c.
69211 * math/test-snan.c: Renamed from
69212 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69213 * math/Makefile (tests): Add test-snan.
69214 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69215 test-powerpc-snan.
69216
69217 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69218 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69219 functions.
69220 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69221 __builtin_nan family of functions.
69222 * math/libm-test.inc (initialize): Initialize qnan_value with
69223 __builtin_nan family of functions.
69224 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69225 Remove variables.
69226 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69227 Remove functions.
69228 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69229 storage class. Initialize qNaN_var and sNaN_var with
69230 __builtin_nan and __builtin_nans families of functions,
69231 respectively.
69232
69233 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69234 (sqrt_test): Remove duplicate test with qNaN input.
69235 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69236 (round_test, signbit_test, significand_test): Note missing +/-Inf
69237 as well as qNaN tests.
69238
69239 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69240 qNaN_var. Fix a few strings, too.
69241 * math/libm-test.inc (nan_value): Rename to qnan_value.
69242 * math/gen-libm-test.pl (%beautify): Adjust to that.
69243 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69244 * math/test-misc.c (main): Likewise.
69245 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69246 to __qnan_bytes, and __qnan_union, respectively.
69247 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69248 Likewise.
69249 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69250 and lqnanval, respectively.
69251 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69252 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69253 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69254 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69255
69256 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69257 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69258 doubles.
69259
69260 * math/test-misc.c (main): Fix copy'n'pastos.
69261 * misc/tst-efgcvt.c (special): Likewise.
69262
69263 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69264 Remove declarations.
69265
69266 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69267
69268 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69269 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69270 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69271 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69272
69273 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69274
69275 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69276 macro to return vdso values correctly in IFUNC implementations.
69277 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69278 Optimization by using IFUNC.
69279
69280 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69281 Richard Henderson <rth@redhat.com>
69282 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69283
69284 * Makefile.in (bench): New target.
69285 * NEWS: Mention the benchmark framework.
69286 * Rules (bench): Likewise.
69287 (binaries-bench): Generate binaries for functions to
69288 benchmark.
69289 * benchtests/Makefile: New makefile for benchmark tests.
69290 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69291 programs.
69292 * benchtests/exp-inputs: New input file for EXP function.
69293 * benchtests/pow-inputs: New input file for POW function.
69294 * scripts/bench.pl: New script to generate source files for
69295 benchmark programs.
69296
69297 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69298
69299 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69300 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69301 computations on mantissa. Use macros for rounding and
69302 division.
69303 (denorm): Likewise.
69304 (__dbl_mp): Likewise.
69305 (add_magnitudes): Likewise.
69306 (sub_magnitudes): Likewise.
69307 (__mul): Likewise.
69308 (__sqr): Likewise.
69309 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69310 powers of two in terms of TWOPOW macro.
69311 (mp_no): Make type of mantissa as MANTISSA_T.
69312 [!RADIXI]: Define RADIXI.
69313 [!TWO52]: Define TWO52.
69314 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69315
69316 * manual/nptl.texi (cindex): Modify threads to pthreads.
69317
69318 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69319
69320 * sysdeps/x86_64/preconfigure: Regenerated.
69321
69322 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69323
69324 [BZ #14155]
69325 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69326 0x1p28 and above.
69327 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69328 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69329 0x1p28 and above.
69330 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69331 * math/libm-test.inc (j0_test): Do not allow one spurious
69332 underflow exception.
69333 (y1_test): Likewise.
69334
69335 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69336
69337 * manual/Makefile (chapters): Add nptl.
69338 * manual/debug.texi (Debugging Support): Add link to Threads
69339 chapter.
69340 * manual/nptl.texi: New file.
69341
69342 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69343
69344 2013-03-14 Petr Baudis <pasky@ucw.cz>
69345
69346 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69347 for non-NULL pointer before the memory validity test. Pointed
69348 out by Holger Brunck <holger.brunck@keymile.com>.
69349
69350 2013-03-13 Andreas Schwab <schwab@suse.de>
69351
69352 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69353 instead of .os.
69354
69355 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69356
69357 * timezone/zic.c: Update from tzcode 2013b.
69358
69359 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69360
69361 * manual/install.texi (Configuring and compiling):
69362 Mention i686 and i586.
69363 * INSTALL: Regenerate.
69364
69365 2013-03-12 Roland McGrath <roland@hack.frob.com>
69366
69367 * sysdeps/init_array/elf-init.c: New file.
69368 * csu/elf-init.c
69369 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69370 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69371
69372 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69373 __gmon_start__ as global, but as static with a .preinit_array pointer.
69374 * sysdeps/init_array/gmon-start.c: New file. Use that.
69375 * sysdeps/init_array/crti.S: New file, empty except for comments.
69376 * sysdeps/init_array/crtn.S: Likewise.
69377
69378 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
69379
69380 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69381 definining bcopy.
69382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69383 Remove Prefer_SSE_for_memop.
69384 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69385 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69386 HAS_PREFER_SSE_FOR_MEMOP.
69387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69388 memset-x86-64.
69389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69390 Remove bzero, memset ifunc support.
69391 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69392 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69393 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69394 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69395
69396 2013-03-11 Andreas Schwab <schwab@suse.de>
69397
69398 [BZ #15234]
69399 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69400 by SHLIB_COMPAT.
69401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69402 (GLIBC_2.16): Remove pthread_atfork.
69403
69404 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69405
69406 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69407 (ptestcases.h): Likewise.
69408
69409 2013-03-08 Roland McGrath <roland@hack.frob.com>
69410
69411 * Makeconfig ($(common-objpfx)config.status): Depend on
69412 sysdeps/*/preconfigure{,.in} too.
69413
69414 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69415
69416 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69417 (__free_hook): Use void * instead of __malloc_ptr_t.
69418 (__malloc_hook): Likewise.
69419 (__realloc_hook): Likewise.
69420 (__memalign_hook): Likewise.
69421 (__after_morecore_hook): Likewise.
69422 * malloc/arena.c (save_malloc_hook): Likewise.
69423 (save_free_hook): Likewise.
69424 * malloc/hooks.c (malloc_hook_ini): Likewise.
69425 (realloc_hook_ini): Likewise.
69426 (memalign_hook_ini): Likewise.
69427 * malloc/malloc.c (malloc_hook_ini): Likewise.
69428 (realloc_hook_ini): Likewise.
69429 (memalign_hook_ini): Likewise.
69430 (__free_hook): Likewise.
69431 (__malloc_hook): Likewise.
69432 (__realloc_hook): Likewise.
69433 (__memalign_hook): Likewise.
69434 (__libc_malloc): Likewise.
69435 (__libc_free): Likewise.
69436 (__libc_realloc): Likewise.
69437 (__libc_memalign): Likewise.
69438 (__libc_valloc): Likewise.
69439 (__libc_pvalloc): Likewise.
69440 (__libc_calloc): Likewise.
69441 (__posix_memalign): Likewise.
69442 * malloc/morecore.c (__sbrk): Likewise.
69443 (__default_morecore): Likewise.
69444
69445 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69446
69447 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69448 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69449 __malloc_ptrdiff_t.
69450
69451 * malloc/malloc.h (__malloc_size_t): Remove macro.
69452 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69453 __malloc_size_t.
69454 (old_memalign_hook): Likewise.
69455 (old_realloc_hook): Likewise.
69456 (struct hdr): Likewise.
69457 (flood): Likewise.
69458 (mallochook): Likewise.
69459 (memalignhook): Likewise.
69460 (reallochook): Likewise.
69461 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69462 (tr_old_realloc_hook): Likewise.
69463 (tr_old_memalign_hook): Likewise.
69464 (tr_mallochook): Likewise.
69465 (tr_reallochook): Likewise.
69466 (tr_memalignhook): Likewise.
69467
69468 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69469
69470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69471 default_ldbl_pack and using as default implementation.
69472 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69473 implementation.
69474 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69475 redundant definition.
69476 (ldbl_insert_mantissa): Likewise.
69477 (ldbl_canonicalize): Likewise.
69478 (ldbl_nearbyint): Likewise.
69479 (ldbl_pack): Rename to ldbl_pack_ppc.
69480 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69481 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69482 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69483
69484 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69485
69486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69487 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69488 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69489 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69491 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69492 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69493 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69494
69495 2013-03-07 Andreas Jaeger <aj@suse.de>
69496
69497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69498 bits/mman-linux.h.
69499
69500 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69501
69502 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69503 Include mpa.h and declare __MPEXP.
69504 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69505 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69506 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69507 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69508 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69509 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69510 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69511
69512 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69513 (__slowpow): Use long double EXPL and LOGL functions to
69514 compute POW.
69515 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69516 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69517 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69518 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69519 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69520 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69521
69522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69523 intermediate variable to calculate exponent.
69524 (__sqr): Likewise.
69525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69526 Likewise.
69527 (__sqr): Likewise.
69528
69529 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69530 [!NO__SQR]: Define __sqr.
69531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69532 and NO__SQR. Remove all code except __mul and __sqr. Include
69533 sysdeps/ieee754/dbl-64/mpa.c.
69534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69535
69536 [BZ #12723]
69537 * posix/Makefile (tests): Add tst-pathconf.
69538 * posix/tst-pathconf.c: New test case.
69539 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69540 _PC_PIPE_BUF.
69541 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69542
69543 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69544
69545 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69546
69547 2013-03-06 Andreas Jaeger <aj@suse.de>
69548
69549 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69550 definition via __MAP_ANONYMOUS.
69551
69552 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69553 it's not part of Linux headers.
69554
69555 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69556 (MAP_HUGE_MASK): Define.
69557
69558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69559 Define.
69560 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69562 Define.
69563 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69564 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69565 Define.
69566 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69568 Define.
69569 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69570
69571 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69572 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69573 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69574 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69575 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69576 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69577
69578 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69579 Handle f2fs.
69580
69581 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69582 Handle f2fs and efivarfs.
69583
69584 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69585 f2fs.
69586
69587 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69588 (EFIVARFS_MAGIC): Add.
69589 (F2FS_LINK_MAX): Add.
69590
69591 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69592
69593 * stdio-common/vfprintf.c: Replace __builtin_expect with
69594 __glibc_unlikely.
69595
69596 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69597
69598 [BZ #13550]
69599 * sysdeps/generic/bp-sym.h: Remove file.
69600 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69601 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69602 <bp-sym.h> and <bp-asm.h>.
69603 (__longjmp): Don't use BP_SYM.
69604 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69605 and <bp-asm.h>.
69606 (memcpy): Don't use BP_SYM.
69607 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69608 <bp-sym.h> and <bp-asm.h>.
69609 (memcpy): Don't use BP_SYM.
69610 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69611 <bp-asm.h>.
69612 (memcpy): Don't use BP_SYM.
69613 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69614 <bp-asm.h>.
69615 (memset): Don't use BP_SYM.
69616 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69617 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69618 (__bzero): Don't use BP_SYM.
69619 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69620 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69621 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69622 <bp-sym.h> and <bp-asm.h>.
69623 (memcmp): Don't use BP_SYM. Remove comment about bounded
69624 pointers.
69625 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69626 <bp-sym.h> and <bp-asm.h>.
69627 (memcpy): Don't use BP_SYM.
69628 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69629 <bp-sym.h> and <bp-asm.h>.
69630 (memset): Don't use BP_SYM.
69631 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69632 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69633 (__bzero): Don't use BP_SYM.
69634 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69635 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69636 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69637 <bp-sym.h> and <bp-asm.h>.
69638 (strncmp): Don't use BP_SYM. Remove comment about bounded
69639 pointers.
69640 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69641 <bp-sym.h> and <bp-asm.h>.
69642 (memcpy): Don't use BP_SYM.
69643 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69644 <bp-sym.h> and <bp-asm.h>.
69645 (memset): Don't use BP_SYM.
69646 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69647 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69648 (__bzero): Don't use BP_SYM.
69649 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69650 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69651 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69652 <bp-sym.h> and <bp-asm.h>.
69653 (__memchr): Don't use BP_SYM.
69654 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69655 <bp-sym.h> and <bp-asm.h>.
69656 (memcmp): Don't use BP_SYM. Remove comment about bounded
69657 pointers.
69658 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69659 <bp-sym.h> and <bp-asm.h>.
69660 (memcpy): Don't use BP_SYM.
69661 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69662 <bp-sym.h> and <bp-asm.h>.
69663 (__mempcpy): Don't use BP_SYM.
69664 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69665 <bp-sym.h> and <bp-asm.h>.
69666 (__memrchr): Don't use BP_SYM.
69667 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69668 <bp-sym.h> and <bp-asm.h>.
69669 (memset): Don't use BP_SYM.
69670 (__bzero): Likewise.
69671 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69672 <bp-sym.h> and <bp-asm.h>.
69673 (__rawmemchr): Don't use BP_SYM.
69674 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69675 <bp-sym.h> and <bp-asm.h>.
69676 (__STRCMP): Don't use BP_SYM.
69677 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69678 <bp-sym.h> and <bp-asm.h>.
69679 (strchr): Don't use BP_SYM.
69680 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69681 <bp-sym.h> and <bp-asm.h>.
69682 (__strchrnul): Don't use BP_SYM.
69683 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69684 <bp-sym.h> and <bp-asm.h>.
69685 (strlen): Don't use BP_SYM.
69686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69687 <bp-sym.h> and <bp-asm.h>.
69688 (strncmp): Don't use BP_SYM. Remove comment about bounded
69689 pointers.
69690 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69691 <bp-sym.h> and <bp-asm.h>.
69692 (__strnlen): Don't use BP_SYM.
69693 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69694 <bp-sym.h> and <bp-asm.h>.
69695 (__GI__setjmp): Don't use BP_SYM.
69696 (_setjmp): Likewise.
69697 (__sigsetjmp): Likewise.
69698 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69699 (L(start_addresses)): Don't use BP_SYM.
69700 (_start): Likewise.
69701 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69702 <bp-asm.h>.
69703 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69704 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69705 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69706 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69707 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69708 <bp-asm.h>.
69709 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69710 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69711 about bounded pointers.
69712 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69713 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69714 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69715 <bp-asm.h>.
69716 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69717 about bounded pointers. Remove GKM FIXME comments.
69718 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69719 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69720 <bp-asm.h>.
69721 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69722 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69723 Remove GKM FIXME comments.
69724 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69725 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69726 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69727 <bp-asm.h>.
69728 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69729 about bounded pointers. Remove GKM FIXME comment.
69730 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69731 and <bp-asm.h>.
69732 (strncmp): Don't use BP_SYM. Remove comment about bounded
69733 pointers.
69734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69735 <bp-sym.h> and <bp-asm.h>.
69736 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69738 <bp-sym.h> and <bp-asm.h>.
69739 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69740 comment.
69741
69742 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69743
69744 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69745 call free(NULL).
69746
69747 2013-03-05 David S. Miller <davem@davemloft.net>
69748
69749 * po/es.po: Update from translation team.
69750
69751 2013-03-05 Andreas Jaeger <aj@suse.de>
69752
69753 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69754 <bits/mman-linux.h>.
69755 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69756 is fine.
69757 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69758 <bits/mman-linux.h> to end of file.
69759 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69760 is fine.
69761 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69762 <bits/mman-linux.h> to end of file.
69763 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69764 is fine.
69765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69766 <bits/mman-linux.h> to end of file.
69767
69768 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69769 (MCL_CURRENT, MCL_FUTURE): Define here.
69770
69771 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69772
69773 [BZ #15232]
69774 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69775 attribute_hidden.
69776 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69777
69778 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69779
69780 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69781 fourth parameter needed for rt_sigprocmask syscall.
69782 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69783 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69784 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69785 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69786 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69787 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69788
69789 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69790
69791 [BZ #13550]
69792 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69793 comment about bounded pointers.
69794 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69795 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69796
69797 2013-03-04 Andreas Jaeger <aj@suse.de>
69798
69799 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69800 common definitions.
69801
69802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69803 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69804 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69805 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69806 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69807 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69808
69809 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69810
69811 [BZ #15055]
69812 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69813 __ieee754_sqrl instead of __sqrl.
69814
69815 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69816
69817 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69818 * sysdeps/powerpc/fpu_control.h: ... here.
69819 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69820 * sysdeps/powerpc/bits/fenvinline.h: ... here.
69821 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69822 * sysdeps/powerpc/bits/mathinline.h: ... here.
69823
69824 2013-03-01 Roland McGrath <roland@hack.frob.com>
69825
69826 * elf/dl-hwcaps.c (_dl_important_hwcaps):
69827 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69828 to just [NEED_DL_SYSINFO_DSO].
69829 * elf/dl-support.c: Likewise.
69830 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69831 * elf/rtld.c (dl_main): Likewise.
69832 * elf/setup-vdso.h (setup_vdso): Likewise.
69833 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69834 * sysdeps/unix/sysv/linux/dl-sysdep.c
69835 (_dl_discover_osversion): Likewise.
69836
69837 2013-03-01 Carlos O'Donell <carlos@redhat.com>
69838
69839 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69840 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69841
69842 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
69843
69844 * NEWS: Mention libm performance improvements and non-x86 PI
69845 futex support.
69846
69847 * csu/libc-start.c (__pthread_initialize_minimal): Change
69848 function arguments.
69849 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69850
69851 2013-02-28 Joseph Myers <joseph@codesourcery.com>
69852
69853 [BZ #13550]
69854 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69855 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69856 <bp-sym.h> and <bp-asm.h>.
69857 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69858 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69859 and <bp-asm.h>.
69860 (memcpy): Don't use BP_SYM.
69861 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69862 <bp-asm.h>.
69863 (__mpn_add_n): Don't use BP_SYM.
69864 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69865 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69866 and <bp-asm.h>.
69867 (__mpn_addmul_1): Don't use BP_SYM.
69868 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69869 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69870 <bp-sym.h>.
69871 (_setjmp): Don't use BP_SYM.
69872 (__novmx_setjmp): Likewise.
69873 (__GI__setjmp): Likewise.
69874 (__vmx_setjmp): Likewise.
69875 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69876 <bp-sym.h>.
69877 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69878 (__bzero): Don't use BP_SYM.
69879 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69880 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69881 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69882 <bp-sym.h> and <bp-asm.h>.
69883 (memcpy): Don't use BP_SYM.
69884 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69885 <bp-sym.h> and <bp-asm.h>.
69886 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69887 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69888 <bp-sym.h> and <bp-asm.h>.
69889 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69890 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69891 <bp-asm.h>.
69892 (__mpn_lshift): Don't use BP_SYM.
69893 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69894 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69895 <bp-asm.h>.
69896 (memset): Don't use BP_SYM.
69897 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69898 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69899 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69900 <bp-asm.h>.
69901 (__mpn_mul_1): Don't use BP_SYM.
69902 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69904 <bp-sym.h> and <bp-asm.h>.
69905 (memcmp): Don't use BP_SYM.
69906 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69907 <bp-sym.h> and <bp-asm.h>.
69908 (memcpy): Don't use BP_SYM.
69909 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69910 <bp-sym.h> and <bp-asm.h>.
69911 (memset): Don't use BP_SYM.
69912 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69913 <bp-sym.h> and <bp-asm.h>.
69914 (strncmp): Don't use BP_SYM.
69915 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69916 <bp-sym.h> and <bp-asm.h>.
69917 (memcpy): Don't use BP_SYM.
69918 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69919 <bp-sym.h> and <bp-asm.h>.
69920 (memset): Don't use BP_SYM.
69921 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69922 <bp-sym.h> and <bp-asm.h>.
69923 (__memchr): Don't use BP_SYM.
69924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69925 <bp-sym.h> and <bp-asm.h>.
69926 (memcmp): Don't use BP_SYM.
69927 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69928 <bp-sym.h> and <bp-asm.h>.
69929 (memcpy): Don't use BP_SYM.
69930 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69931 <bp-sym.h> and <bp-asm.h>.
69932 (__mempcpy): Don't use BP_SYM.
69933 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69934 <bp-sym.h> and <bp-asm.h>.
69935 (__memrchr): Don't use BP_SYM.
69936 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69937 <bp-sym.h> and <bp-asm.h>.
69938 (memset): Don't use BP_SYM.
69939 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69940 <bp-sym.h> and <bp-asm.h>.
69941 (__rawmemchr): Don't use BP_SYM.
69942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69943 <bp-sym.h> and <bp-asm.h>.
69944 (__STRCMP): Don't use BP_SYM.
69945 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69946 <bp-sym.h> and <bp-asm.h>.
69947 (strchr): Don't use BP_SYM.
69948 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69949 <bp-sym.h> and <bp-asm.h>.
69950 (__strchrnul): Don't use BP_SYM.
69951 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69952 <bp-sym.h> and <bp-asm.h>.
69953 (strlen): Don't use BP_SYM.
69954 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69955 <bp-sym.h> and <bp-asm.h>.
69956 (strncmp): Don't use BP_SYM.
69957 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69958 <bp-sym.h> and <bp-asm.h>.
69959 (__strnlen): Don't use BP_SYM.
69960 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69961 <bp-asm.h>.
69962 (__mpn_rshift): Don't use BP_SYM.
69963 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69964 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69965 <bp-sym.h> and <bp-asm.h>.
69966 (__sigsetjmp): Don't use BP_SYM.
69967 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69968 (L(start_addresses)): Don't use BP_SYM.
69969 (_start): Likewise.
69970 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69971 <bp-asm.h>.
69972 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69973 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69974 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69975 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69976 <bp-asm.h>.
69977 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69978 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69979 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69980 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69981 <bp-asm.h>.
69982 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69983 comments.
69984 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69985 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69986 <bp-asm.h>.
69987 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
69988 FIXME comments.
69989 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69990 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69991 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69992 <bp-asm.h>.
69993 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69994 comment.
69995 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69996 and <bp-asm.h>.
69997 (strncmp): Don't use BP_SYM,
69998 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69999 <bp-asm.h>.
70000 (__mpn_sub_n): Don't use BP_SYM.
70001 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70002 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70003 and <bp-asm.h>.
70004 (__mpn_submul_1): Don't use BP_SYM.
70005 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70007 <bp-sym.h> and <bp-asm.h>.
70008 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70010 <bp-sym.h> and <bp-asm.h>.
70011 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70012 comment.
70013
70014 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70015
70016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70017 Use ZK to minimize writes to Z.
70018 (sub_magnitudes): Simplify code a bit.
70019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70020 Use ZK to minimize writes to Z.
70021 (sub_magnitudes): Simplify code a bit.
70022
70023 2013-02-27 Roland McGrath <roland@hack.frob.com>
70024
70025 * csu/gmon-start.c: Add special exception to license text.
70026
70027 2013-02-27 Richard Henderson <rth@redhat.com>
70028
70029 * scripts/config.guess: Update from config.git.
70030 * scripts/config.sub: Likewise.
70031
70032 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70033
70034 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70035
70036 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70037
70038 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70039
70040 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70041
70042 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70043
70044 2013-02-26 Roland McGrath <roland@hack.frob.com>
70045
70046 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70047 [$(build-shared = yes].
70048
70049 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70050
70051 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70052 (__mul): Reduce iterations for calculating mantissa.
70053
70054 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70055 MPTWO.
70056 (__mpranred): Likewise.
70057
70058 [BZ #15160]
70059 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70060 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70061
70062 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
70063
70064 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70065 Define __attribute__.
70066
70067 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70068
70069 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70070 unused.
70071 * posix/regex_internal.h (__attribute): Remove.
70072 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70073 (re_string_context_at): Likewise.
70074 (bitset_not): Use __attribute__ and mark function as possibly
70075 unused.
70076 (bitset_merge): Likewise.
70077 (bitset_mask): Likewise.
70078 (re_string_char_size_at): Likewise.
70079 (re_string_wchar_at): Likewise.
70080 (re_string_elem_size_at): Likewise.
70081
70082 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70083
70084 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70085 code.
70086 (cc32): Likewise.
70087
70088 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70089 (__acr): Likewise.
70090 (__cpy): Likewise.
70091 (norm): Likewise.
70092 (denorm): Likewise.
70093 (__dbl_mp): Likewise.
70094 (add_magnitudes): Likewise.
70095 (sub_magnitudes): Likewise.
70096 (__mul): Likewise.
70097 (__inv): Likewise.
70098
70099 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70100 style.
70101
70102 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70103 style.
70104
70105 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70106 code.
70107
70108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70109 up changes with default code.
70110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70111 Likewise.
70112
70113 2013-02-24 Allan McRae <allan@archlinux.org>
70114
70115 * manual/socket.texi (The Internet Namespace): Order menu items
70116 to match that in the file.
70117
70118 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70119 node listing of the info page menu.
70120
70121 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70122
70123 [BZ #13550]
70124 * sysdeps/i386/bp-asm.h: Remove file.
70125 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70126 (PARMS): Do not use macros from bp-asm.h.
70127 (S1): Likewise.
70128 (S2): Likewise.
70129 (SIZE): Likewise.
70130 (__mpn_add_n): Do not use BP_SYM
70131 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70132 "bp-asm.h".
70133 (PARMS): Do not use macros from bp-asm.h.
70134 (S1): Likewise.
70135 (SIZE): Likewise.
70136 (__mpn_addmul_1): Do not use BP_SYM
70137 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70138 "bp-asm.h".
70139 (PARMS): Do not use macros from bp-asm.h.
70140 (SIGMSK): Likewise.
70141 (_setjmp): Likewise. Do not use BP_SYM.
70142 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70143 "bp-asm.h".
70144 (PARMS): Do not use macros from bp-asm.h.
70145 (SIGMSK): Likewise.
70146 (setjmp): Likewise. Do not use BP_SYM.
70147 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70148 "bp-asm.h".
70149 (PARMS): Do not use macros from bp-asm.h.
70150 (__frexp): Do not use BP_SYM.
70151 (frexp): Likewise.
70152 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70153 "bp-asm.h".
70154 (PARMS): Do not use macros from bp-asm.h.
70155 (__frexpf): Do not use BP_SYM.
70156 (frexpf): Likewise.
70157 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70158 "bp-asm.h".
70159 (PARMS): Do not use macros from bp-asm.h.
70160 (__frexpl): Do not use BP_SYM.
70161 (frexpl): Likewise.
70162 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70163 "bp-asm.h".
70164 (PARMS): Do not use macros from bp-asm.h.
70165 (__remquo): Do not use BP_SYM.
70166 (remquo): Likewise.
70167 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70168 "bp-asm.h".
70169 (PARMS): Do not use macros from bp-asm.h.
70170 (__remquof): Do not use BP_SYM.
70171 (remquof): Likewise.
70172 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70173 "bp-asm.h".
70174 (PARMS): Do not use macros from bp-asm.h.
70175 (__remquol): Do not use BP_SYM.
70176 (remquol): Likewise.
70177 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70178 "bp-asm.h".
70179 (PARMS): Do not use macros from bp-asm.h.
70180 (DEST): Likewise.
70181 (SRC): Likewise.
70182 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70183 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70184 "bp-asm.h".
70185 (PARMS): Do not use macros from bp-asm.h.
70186 (strlen): Do not use BP_SYM.
70187 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70188 "bp-asm.h".
70189 (PARMS): Do not use macros from bp-asm.h.
70190 (S1): Likewise.
70191 (S2): Likewise.
70192 (SIZE): Likewise.
70193 (__mpn_add_n): Do not use BP_SYM.
70194 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70195 "bp-asm.h".
70196 (PARMS): Do not use macros from bp-asm.h.
70197 (S1): Likewise.
70198 (SIZE): Likewise.
70199 (__mpn_addmul_1): Do not use BP_SYM.
70200 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70201 weak_alias.
70202 (bzero): Likewise.
70203 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70204 "bp-asm.h".
70205 (PARMS): Do not use macros from bp-asm.h.
70206 (S): Likewise.
70207 (SIZE): Likewise.
70208 (__mpn_lshift): Do not use BP_SYM.
70209 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70210 "bp-asm.h".
70211 (PARMS): Do not use macros from bp-asm.h.
70212 (DEST): Likewise.
70213 (SRC): Likewise.
70214 (LEN): Likewise.
70215 (memcpy): Likewise. Do not use BP_SYM.
70216 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70217 libc_hidden_def and weak_alias.
70218 (mempcpy): Do not use BP_SYM in weak_alias.
70219 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70220 "bp-asm.h".
70221 (PARMS): Do not use macros from bp-asm.h.
70222 (DEST): Likewise.
70223 (LEN): Likewise.
70224 [!BZERO_P] (CHR): Likewise.
70225 (memset): Likewise. Do not use BP_SYM.
70226 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70227 "bp-asm.h".
70228 (PARMS): Do not use macros from bp-asm.h.
70229 (S1): Likewise.
70230 (SIZE): Likewise.
70231 (__mpn_mul_1): Do not use BP_SYM.
70232 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70233 "bp-asm.h".
70234 (PARMS): Do not use macros from bp-asm.h.
70235 (S): Likewise.
70236 (SIZE): Likewise.
70237 (__mpn_rshift): Do not use BP_SYM.
70238 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70239 "bp-asm.h".
70240 (PARMS): Do not use macros from bp-asm.h.
70241 (STR): Likewise.
70242 (CHR): Likewise.
70243 (strchr): Likewise. Do not use BP_SYM.
70244 (index): Do not use BP_SYM in weak_alias.
70245 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70246 "bp-asm.h".
70247 (PARMS): Do not use macros from bp-asm.h.
70248 (DEST): Likewise.
70249 (SRC): Likewise.
70250 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70251 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70252 "bp-asm.h".
70253 (PARMS): Do not use macros from bp-asm.h.
70254 (strlen): Do not use BP_SYM.
70255 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70256 "bp-asm.h".
70257 (PARMS): Do not use macros from bp-asm.h.
70258 (S1): Likewise.
70259 (S2): Likewise.
70260 (SIZE): Likewise.
70261 (__mpn_sub_n): Do not use BP_SYM.
70262 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70263 "bp-asm.h".
70264 (PARMS): Do not use macros from bp-asm.h.
70265 (S1): Likewise.
70266 (SIZE): Likewise.
70267 (__mpn_submul_1): Do not use BP_SYM.
70268 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70269 "bp-asm.h".
70270 (PARMS): Do not use macros from bp-asm.h.
70271 (S1): Likewise.
70272 (S2): Likewise.
70273 (SIZE): Likewise.
70274 (__mpn_add_n): Do not use BP_SYM.
70275 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70276 weak_alias.
70277 (bzero): Likewise.
70278 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70279 "bp-asm.h".
70280 (PARMS): Do not use macros from bp-asm.h.
70281 (BLK2): Likewise.
70282 (LEN): Likewise.
70283 (memcmp): Do not use BP_SYM.
70284 (bcmp): Do not use BP_SYM in weak_alias.
70285 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70286 "bp-asm.h".
70287 (PARMS): Do not use macros from bp-asm.h.
70288 (DEST): Likewise.
70289 (SRC): Likewise.
70290 (LEN): Likewise.
70291 (memcpy): Likewise. Do not use BP_SYM.
70292 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70293 "bp-asm.h".
70294 (PARMS): Do not use macros from bp-asm.h.
70295 (DEST): Likewise.
70296 (SRC): Likewise.
70297 (LEN): Likewise.
70298 (memmove): Likewise. Do not use BP_SYM.
70299 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70300 "bp-asm.h".
70301 (PARMS): Do not use macros from bp-asm.h.
70302 (DEST): Likewise.
70303 (SRC): Likewise.
70304 (LEN): Likewise.
70305 (__mempcpy): Likewise. Do not use BP_SYM.
70306 (mempcpy): Do not use BP_SYM in weak_alias.
70307 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70308 "bp-asm.h".
70309 (PARMS): Do not use macros from bp-asm.h.
70310 (DEST): Likewise.
70311 (LEN): Likewise.
70312 [!BZERO_P] (CHR): Likewise.
70313 (memset): Likewise. Do not use BP_SYM.
70314 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70315 "bp-asm.h".
70316 (PARMS): Do not use macros from bp-asm.h.
70317 (STR2): Likewise.
70318 (strcmp): Do not use BP_SYM.
70319 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70320 "bp-asm.h".
70321 (PARMS): Do not use macros from bp-asm.h.
70322 (STR): Likewise.
70323 (DELIM): Likewise.
70324 [USE_AS_STRTOK_R] (SAVE): Likewise.
70325 (FUNCTION): Likewise. Do not use BP_SYM.
70326 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70327 aliases.
70328 (strtok_r): Likewise.
70329 (__GI___strtok_r): Likewise.
70330 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70331 (PARMS): Do not use macros from bp-asm.h.
70332 (S): Likewise.
70333 (SIZE): Likewise.
70334 (__mpn_lshift): Do not use BP_SYM.
70335 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70336 (PARMS): Do not use macros from bp-asm.h.
70337 (STR): Likewise.
70338 (CHR): Likewise.
70339 (__memchr): Do not use BP_SYM.
70340 (memchr): Do not use BP_SYM in weak_alias.
70341 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70342 (PARMS): Do not use macros from bp-asm.h.
70343 (BLK2): Likewise.
70344 (LEN): Likewise.
70345 (memcmp): Do not use BP_SYM.
70346 (bcmp): Do not use BP_SYM in weak_alias.
70347 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70348 (PARMS): Do not use macros from bp-asm.h.
70349 (S1): Likewise.
70350 (SIZE): Likewise.
70351 (__mpn_mul_1): Do not use BP_SYM.
70352 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70353 "bp-asm.h".
70354 (PARMS): Do not use macros from bp-asm.h.
70355 (STR): Likewise.
70356 (CHR): Likewise.
70357 (__rawmemchr): Do not use BP_SYM.
70358 (rawmemchr): Do not use BP_SYM in weak_alias.
70359 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70360 (PARMS): Do not use macros from bp-asm.h.
70361 (S): Likewise.
70362 (SIZE): Likewise.
70363 (__mpn_rshift): Do not use BP_SYM.
70364 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70365 (PARMS): Do not use macros from bp-asm.h.
70366 (SIGMSK): Likewise.
70367 (__sigsetjmp): Likewise. Do not use BP_SYM.
70368 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70369 (_start): Do not use BP_SYM.
70370 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70371 (PARMS): Do not use macros from bp-asm.h.
70372 (DEST): Likewise.
70373 (SRC): Likewise.
70374 (__stpcpy): Likewise. Do not use BP_SYM.
70375 (stpcpy): Do not use BP_SYM in weak_alias.
70376 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70377 "bp-asm.h".
70378 (PARMS): Do not use macros from bp-asm.h.
70379 (DEST): Likewise.
70380 (SRC): Likewise.
70381 (LEN): Likewise.
70382 (__stpncpy): Likewise. Do not use BP_SYM.
70383 (stpncpy): Do not use BP_SYM in weak_alias.
70384 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70385 (PARMS): Do not use macros from bp-asm.h.
70386 (STR): Likewise.
70387 (CHR): Likewise.
70388 (strchr): Likewise. Do not use BP_SYM.
70389 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70390 "bp-asm.h".
70391 (PARMS): Do not use macros from bp-asm.h.
70392 (STR): Likewise.
70393 (CHR): Likewise.
70394 (__strchrnul): Likewise. Do not use BP_SYM.
70395 (strchrnul): Do not use BP_SYM in weak_alias.
70396 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70397 "bp-asm.h".
70398 (PARMS): Do not use macros from bp-asm.h.
70399 (STOP): Likewise.
70400 (strcspn): Do not use BP_SYM.
70401 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70402 "bp-asm.h".
70403 (PARMS): Do not use macros from bp-asm.h.
70404 (STR): Likewise.
70405 (STOP): Likewise.
70406 (strpbrk): Likewise. Do not use BP_SYM.
70407 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70408 "bp-asm.h".
70409 (PARMS): Do not use macros from bp-asm.h.
70410 (STR): Likewise.
70411 (CHR): Likewise.
70412 (strrchr): Likewise. Do not use BP_SYM.
70413 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70414 (PARMS): Do not use macros from bp-asm.h.
70415 (SKIP): Likewise.
70416 (strspn): Do not use BP_SYM.
70417 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70418 (PARMS): Do not use macros from bp-asm.h.
70419 (STR): Likewise.
70420 (DELIM): Likewise.
70421 (SAVE): Likewise.
70422 (FUNCTION): Likewise. Do not use BP_SYM.
70423 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70424 aliases.
70425 (strtok_r): Likewise.
70426 (__GI___strtok_r): Likewise.
70427 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70428 (PARMS): Do not use macros from bp-asm.h.
70429 (S1): Likewise.
70430 (S2): Likewise.
70431 (SIZE): Likewise.
70432 (__mpn_sub_n): Do not use BP_SYM.
70433 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70434 "bp-asm.h".
70435 (PARMS): Do not use macros from bp-asm.h.
70436 (S1): Likewise.
70437 (SIZE): Likewise.
70438 (__mpn_submul_1): Do not use BP_SYM.
70439 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70440 <bp-sym.h>.
70441 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70442 and <bp-asm.h>.
70443 (PARMS): Do not use macros from bp-asm.h.
70444 (FLAGS): Likewise.
70445 (PTID): Likewise.
70446 (TLS): Likewise.
70447 (CTID): Likewise.
70448 (__clone): Do not use BP_SYM.
70449 (clone): Do not use BP_SYM in weak_alias.
70450 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70451 and <bp-asm.h>.
70452 (PARMS): Do not use macros from bp-asm.h.
70453 (LEN): Likewise.
70454 (__mmap64): Do not use BP_SYM.
70455 (mmap64): Do not use BP_SYM in weak_alias.
70456 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70457 <bp-sym.h> and <bp-asm.h>.
70458 (PARMS): Do not use macros from bp-asm.h.
70459 (__posix_fadvise64_l64): Do not use BP_SYM.
70460 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70461 (PARMS): Do not use macros from bp-asm.h.
70462 (NSOPS): Likewise.
70463 (semtimedop): Do not use BP_SYM.
70464 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70465 and <bp-asm.h>.
70466
70467 2013-02-21 Allan McRae <allan@archlinux.org>
70468
70469 * manual/message.texi (Charset conversion in gettext):
70470 Move @end statement to beginning of line.
70471
70472 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70473
70474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70475 static.
70476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70477 Likewise.
70478
70479 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70480 (denorm): Likewise.
70481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70483
70484 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70485
70486 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70487 tail-call to the resolved function if pltexit isn't needed.
70488
70489 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70490
70491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70492 or Y being zero as being unlikely.
70493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70494 Likewise.
70495
70496 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70497
70498 * manual/nss.texi (System Databases and Name Service Switch):
70499 Remove frobnicate @pxref.
70500
70501 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70502
70503 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70504 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70505
70506 2013-02-20 Petr Machata <pmachata@redhat.com>
70507
70508 * elf/elf.h (R_ARM_TARGET1): New macro.
70509 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70510 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70511 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70512 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70513 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70514 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70515 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70516 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70517 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70518 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70519 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70520 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70521 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70522 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70523 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70524 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70525 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70526 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70527 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70528 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70529 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70530 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70531 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70532 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70533 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70534 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70535 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70536 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70537 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70538 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70539 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70540 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70541 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70542 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70543 (R_ARM_THM_GOT_BREL12): Likewise.
70544 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70545 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70546 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70547 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70548 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70549 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70550 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70551 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70552 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70553
70554 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70555
70556 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70557 __attribute_used__ to __attribute__ ((unused)).
70558
70559 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70560
70561 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70562 powerpc mpa.c.
70563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70564 comment formatting.
70565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70566
70567 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70568
70569 [BZ #13550]
70570 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70571 Remove macro.
70572 (ENTER): Remove both macro definitions.
70573 (LEAVE): Likewise.
70574 (CHECK_BOUNDS_LOW): Likewise.
70575 (CHECK_BOUNDS_HIGH): Likewise.
70576 (CHECK_BOUNDS_BOTH): Likewise.
70577 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70578 (RETURN_BOUNDED_POINTER): Likewise.
70579 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70580 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70581 (POP_ERRNO_LOCATION_RETURN): Likewise.
70582 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70583 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70584 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70585 macros.
70586 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70587 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70588 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70589 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70590 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70591 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70592 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70593 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70594 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70595 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70596 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70597 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70598 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70599 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70600 removed macros.
70601 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70602 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70603 macros.
70604 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70605 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70606 * sysdeps/i386/i586/memset.S (memset): Likewise.
70607 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70608 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70609 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70610 macros.
70611 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70612 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70613 Change uses of L(2) to L(out).
70614 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70615 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70616 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70617 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70618 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70619 removed macros.
70620 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70621 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70622 macros.
70623 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70624 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70625 (RETURN): Do not use macro LEAVE.
70626 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70627 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70628 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70629 * sysdeps/i386/i686/memset.S (memset): Likewise.
70630 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70631 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70632 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70633 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70634 Likewise.
70635 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70636 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70637 L(1_2) and L(1_3) into L(1).
70638 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70639 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70640 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70641 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70642 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70643 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70644 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70645 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70646 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70647 macros.
70648 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70649 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70650 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70651 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70652 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70653 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70654 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70655 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70656 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70657 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70658 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70659 * sysdeps/i386/strspn.S (strspn): Likewise.
70660 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70661 conditional code.
70662 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70663 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70664 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70665 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70666 L(1_3) into L(1_1).
70667 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70668 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70669 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70670 macros.
70671 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70672
70673 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70674
70675 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70676 macro.
70677
70678 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70679
70680 * math/atest-exp.c (exp_mpn): Remove ROUND.
70681 * math/atest-exp2.c (exp_mpn): Likewise.
70682 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70683
70684 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70685 * stdlib/tst-tls-atexit-lib.c: Likewise.
70686 * stdlib/tst-tls-atexit.c: Likewise.
70687
70688 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70689
70690 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70691 and __attribute_alloc_size__.
70692
70693 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70694
70695 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70696 __attribute_alloc_size__.
70697 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70698 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70699
70700 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70701
70702 * include/programs/xmalloc.h: New file.
70703 * catgets/gencat.c: Include it.
70704 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70705 * elf/pldd.c: Likewise.
70706 * iconv/iconv_charmap.c: Likewise.
70707 * iconv/iconvconfig.c: Likewise.
70708 * iconv/strtab.c: Likewise.
70709 * locale/programs/locale.c: Likewise.
70710 * locale/programs/localedef.h: Likewise.
70711 * locale/programs/simple-hash.c: Likewise.
70712 * nscd/nscd.h: Likewise.
70713 * nss/makedb.c: Likewise.
70714 * sysdeps/generic/ldconfig.h: Likewise.
70715
70716 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70717
70718 * Versions.def: Add GLIBC_2.18.
70719 * include/link.h (struct link_map): New member l_tls_dtor_count.
70720 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70721 (__call_tls_dtors): Likewise.
70722 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70723 __cxa_thread_atexit_impl.
70724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70725 Likewise.
70726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70727 Likewise.
70728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70729 Likewise.
70730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70731 Likewise.
70732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70734 Likewise.
70735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70736 Likewise.
70737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70739 Likewise.
70740 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70741 (tests): Add test case tst-tls-atexit.
70742 (modules-names): Add shared library for tst-tls-atexit.
70743 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70744 (GLIBC_PRIVATE): Add __call_tls_dtors.
70745 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70746 for libstdc++.
70747 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70748 * stdlib/tst-tls-atexit.c: New test case.
70749 * stdlib/tst-tls-atexit-lib.c: New test case.
70750
70751 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70752
70753 * elf/Versions (ld): Add _dl_find_dso_for_object.
70754 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70755 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70756 (dl_open_worker): Use _dl_find_dso_for_object.
70757 * elf/dl-sym.c (do_sym): Likewise.
70758 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70759
70760 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70761
70762 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70763 Syntactic changes only.
70764 (_dl_runtime_profile): Do a tail-call to the resolved function.
70765
70766 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70767
70768 [BZ #13550]
70769 * sysdeps/x86_64/bp-asm.h: Remove file.
70770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70771 <bp-sym.h> and <bp-asm.h>.
70772 (__clone): Do not use BP_SYM.
70773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70774 <bp-sym.h> and <bp-asm.h>.
70775 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70776 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70777 "bp-asm.h".
70778 (_setjmp): Do not use BP_SYM.
70779 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70780 "bp-asm.h".
70781 (setjmp): Do not use BP_SYM.
70782 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70783 libc_hidden_def.
70784 (mempcpy): Do not use BP_SYM in weak_alias.
70785 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70786 "bp-asm.h".
70787 (strchr): Do not use BP_SYM.
70788 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70789 "bp-asm.h".
70790 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70791 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70792 (_start): Do not use BP_SYM.
70793 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70794 "bp-asm.h".
70795 (strcat): Do not use BP_SYM.
70796 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70797 "bp-asm.h".
70798 (STRCMP): Do not use BP_SYM.
70799 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70800 "bp-asm.h".
70801 (STRCPY): Do not use BP_SYM.
70802 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70803 "bp-asm.h".
70804 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70805 "bp-asm.h".
70806 (FUNCTION): Do not use BP_SYM.
70807 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70808 weak_alias.
70809 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70810
70811 2013-02-17 Andreas Jaeger <aj@suse.de>
70812
70813 * time/Versions: Sort entries.
70814 * string/Versions: Likewise.
70815 * resolv/Versions: Likewise.
70816 * posix/Versions: Likewise.
70817 * iconv/Versions: Likewise.
70818 * elf/Versions: Likewise.
70819 * wcsmbs/Versions: Likewise.
70820
70821 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70822
70823 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70824 loop termination condition.
70825
70826 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70827 variable to calculate EZ.
70828 (__sqr): Likewise.
70829
70830 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70831 the lower precision input.
70832
70833 2013-02-15 Joseph Myers <joseph@codesourcery.com>
70834
70835 [BZ #13550]
70836 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70837 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70838 (run-via-rtld-prefix): Do not handle %-bp tests.
70839 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70840 (all-object-suffixes): Remove .ob.
70841 (bppfx): Remove variable.
70842 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70843 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70844 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70845 [$(build-bounded) = yes] (libtype.ob): Likewise.
70846 * Makerules (elide-routines.ob): Remove variable.
70847 (do-tests-clean): Do not handle *-bp.out.
70848 (common-mostlyclean): Do not handle *-bp and *-bp.out.
70849 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70850 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70851 (tests): Do not include $(tests-bp.out).
70852 (xtests): Do not include $(xtests-bp.out).
70853 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70854 [$(build-bounded) = yes] ($(addprefix
70855 $(objpfx),$(binaries-bounded))): Remove rule.
70856 ($(objpfx)%-bp.out): Remove rule.
70857 * config.make.in (build-bounded): Remove variable.
70858 * crypt/Makefile [$(build-bounded) = yes]
70859 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70860 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70861 append to variable.
70862 [$(build-bounded) = yes] (install-lib): Likewise.
70863 [$(build-bounded) = yes] (generated): Likewise.
70864 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70865 Remove rule.
70866 * intl/Makefile [$(build-bounded) = yes]
70867 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70868 * math/Makefile [$(build-bounded) = yes]
70869 ($(tests:%=$(objpfx)%-bp): Likewise.
70870 * misc/Makefile [$(build-bounded) = yes]
70871 ($(objpfx)tst-tsearch-bp): Likewise.
70872 * nptl/Makeconfig (bounded-thread-library): Remove variable.
70873 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70874 Remove dependency.
70875 * string/Makefile (o-objects.ob): Remove variable.
70876 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70877 (CFLAGS-.ob): Remove variable.
70878 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70879 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70880 both definitions of variable.
70881 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70882 (ASFLAGS-.ob): Remove variable.
70883
70884 2013-02-14 Joseph Myers <joseph@codesourcery.com>
70885
70886 [BZ #13550]
70887 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70888 Remove __BOUNDED_POINTERS__ from condition.
70889 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70890 * string/bits/string2.h [!__NO_STRING_INLINES &&
70891 !__BOUNDED_POINTERS__]: Likewise.
70892 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70893 Likewise.
70894 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70895 Remove conditional code.
70896 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70897 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70898 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70899 condition.
70900
70901 [BZ #13550]
70902 * csu/libc-start.c: Do not include <bp-sym.h>.
70903 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70904 * elf/dl-open.c: Do not include <bp-sym.h>.
70905 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70906 * math/fegetenv.c: Do not include <bp-sym.h>.
70907 (fegetenv): Do not use BP_SYM in versioned symbols.
70908 * nptl/sysdeps/pthread/bits/libc-lockP.h
70909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70910 <bp-sym.h>.
70911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70912 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70914 (__pthread_mutex_destroy): Likewise.
70915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70916 (__pthread_mutex_lock): Likewise.
70917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70918 (__pthread_mutex_trylock): Likewise.
70919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70920 (__pthread_mutex_unlock): Likewise.
70921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70922 (__pthread_mutexattr_init): Likewise.
70923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70924 (__pthread_mutexattr_destroy): Likewise.
70925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70926 (__pthread_mutexattr_settype): Likewise.
70927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70928 (__pthread_rwlock_init): Likewise.
70929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70930 (__pthread_rwlock_destroy): Likewise.
70931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70932 (__pthread_rwlock_rdlock): Likewise.
70933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70934 (__pthread_rwlock_tryrdlock): Likewise.
70935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70936 (__pthread_rwlock_wrlock): Likewise.
70937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70938 (__pthread_rwlock_trywrlock): Likewise.
70939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70940 (__pthread_rwlock_unlock): Likewise.
70941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70942 (__pthread_key_create): Likewise.
70943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70944 (__pthread_setspecific): Likewise.
70945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70946 (__pthread_getspecific): Likewise.
70947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70948 Likewise.
70949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70950 (_pthread_cleanup_push_defer): Likewise.
70951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70952 (_pthread_cleanup_pop_restore): Likewise.
70953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70954 (pthread_setcancelstate): Likewise.
70955 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70956 <bp-sym.h>.
70957 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70958 (memchr): Do not use BP_SYM in weak_alias.
70959 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70960 (fegetenv): Do not use BP_SYM in versioned symbols.
70961 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70962 (fesetenv): Do not use BP_SYM in versioned symbols.
70963 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70964 (feupdateenv): Do not use BP_SYM in versioned symbols.
70965 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70966 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70967 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70968 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70969 (open64): Do not use BP_SYM in weak_alias.
70970 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70971 (fegetenv): Do not use BP_SYM in versioned symbols.
70972 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70973 (fesetenv): Do not use BP_SYM in versioned symbols.
70974 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70975 (feupdateenv): Do not use BP_SYM in versioned symbols.
70976 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70977 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70978 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70979 (feraiseexcept): Do not use BP_SYM in versioned symbols.
70980 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70981 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70982 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70983 <bp-sym.h>.
70984 (__libc_start_main): Do not use BP_SYM.
70985
70986 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
70987
70988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70989 redundant return line.
70990 (norm): Likewise.
70991 (denorm): Likewise.
70992 (dbl_mp): Likewise.
70993 (sub_magnitudes): Likewise.
70994 (__add): Likewise.
70995 (__sub): Likewise.
70996 (__mul): Likewise.
70997 (__inv): Likewise.
70998 (__dvd): Likewise.
70999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71000 (norm): Likewise.
71001 (denorm): Likewise.
71002 (dbl_mp): Likewise.
71003 (sub_magnitudes): Likewise.
71004 (__add): Likewise.
71005 (__sub): Likewise.
71006 (__mul): Likewise.
71007 (__inv): Likewise.
71008 (__dvd): Likewise.
71009
71010 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71011 instead of __mul.
71012 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71013 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71014 (cc32): Likewise.
71015
71016 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71017 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71019 of __mul for squares.
71020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71021 function
71022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71023 Likewise.
71024 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71025 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71026
71027 2013-02-13 Joseph Myers <joseph@codesourcery.com>
71028
71029 [BZ #13550]
71030 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71031 code.
71032 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71033 prototype or function definition. Rename ubp_* variables and
71034 parameters. Remove argv definitions conditional on
71035 [__BOUNDED_POINTERS__].
71036 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71037 * elf/dl-runtime.c (_dl_fixup): Likewise.
71038 * include/set-hooks.h (RUN_HOOK): Likewise.
71039 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71040 definition.
71041 * string/strcpy.c (strcpy): Do not use __unbounded.
71042 * sysdeps/generic/frame.h (struct layout): Likewise.
71043 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71044 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71045 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71046 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71047 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71048 (__backtrace): Likewise.
71049 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71050 use __ptrvalue.
71051 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71052 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71053 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71054 Likewise.
71055 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71056 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71057 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71058 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71059 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71060 Do not use __unbounded.
71061 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71062 Rename __unboundedrlimits parameter to rlimits in prototype.
71063 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71064 Do not use __unbounded.
71065 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71066 not use __ptrvalue.
71067 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71068 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71069 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71070 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71071 __ptrvalue or __unbounded.
71072 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71073 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71074 use __unbounded.
71075 (__new_msgctl): Do not use __ptrvalue.
71076 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71077 __unbounded.
71078 (__libc_msgrcv): Do not use __ptrvalue.
71079 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71080 startup_info): Do not use __unbounded.
71081 (__libc_start_main): Likewise. Rename ubp_* variables and
71082 parameters. Remove argv definitions conditional on
71083 [__BOUNDED_POINTERS__].
71084 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71085 __ptrvalue.
71086 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71087 use __unbounded.
71088 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71089 or __ptrvalue.
71090 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71091 use __unbounded.
71092 (__new_shmctl): Do not use __ptrvalue.
71093 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71094 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71095 Likewise.
71096 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71097 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71098 (__libc_sigaction): Likewise.
71099 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71100 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71101 Likewise.
71102 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71103
71104 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
71105
71106 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71107
71108 * string/mempcpy.c: Implement by calling memcpy.
71109
71110 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71111
71112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71113
71114 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71115 evaluation.
71116
71117 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71118 values in the mantissa.
71119
71120 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71121 minimize writes to Z.
71122 (sub_magnitudes): Simplify code a bit.
71123
71124 2013-02-12 Roland McGrath <roland@hack.frob.com>
71125
71126 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71127 from the message. The linker prefixes all warnings with that already.
71128
71129 2013-02-12 Andreas Schwab <schwab@suse.de>
71130
71131 [BZ #15078]
71132 * posix/regexec.c (extend_buffers): Add parameter min_len.
71133 (check_matching): Pass minimum needed length.
71134 (clean_state_log_if_needed): Likewise.
71135 (get_subexp): Likewise.
71136 * posix/Makefile (tests): Add bug-regex34.
71137 (bug-regex34-ENV): Define.
71138 * posix/bug-regex34.c: New file.
71139
71140 [BZ #11561]
71141 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71142 elements compare against the byte sequence of it, not its name.
71143 * posix/Makefile (tests): Add bug-regex35.
71144 (bug-regex35-ENV): Define.
71145 * posix/bug-regex35.c: New file.
71146
71147 2013-02-11 Tom de Vries <tom@codesourcery.com>
71148
71149 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71150 comment.
71151 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71152 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71153 (CHECK_EOL): Add undef.
71154
71155 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
71156
71157 * bits/stdlib-bsearch.h: New file.
71158 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71159 * stdlib/stdlib.h: Likewise.
71160
71161 2013-02-11 Roland McGrath <roland@hack.frob.com>
71162
71163 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71164 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71165 declaration.
71166 * manual/search.texi (Array Search Function): Add missing const in
71167 lfind prototype.
71168 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71169 declaration to use rlim_t.
71170 (Basic Scheduling Functions): Remove erroneous const from
71171 sched_getparam prototype. Remove erroneous * from
71172 sched_get_priority_max and sched_get_priority_min prototypes.
71173 (Resource Usage): Fix summary @comment on vtimes to refer to
71174 sys/vtimes.h rather than vtimes.h.
71175 Add missing *s in vtimes prototype.
71176 (Limits on Resources): Fix ulimit prototype to return long int.
71177 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71178 prototypes to use long int rather than double.
71179 (BSD Random): Fix initstate and setstate to use char *, not void *.
71180 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71181 prototype to make second argument 'struct aiocb64 *const[]'.
71182 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71183 (Status of AIO Operations): Remove erroneous const in aio_return and
71184 aio_return64 prototypes.
71185 (Synchronizing I/O): Fix sync prototype to return void.
71186 * manual/startup.texi (Suboptions): Remove an erroneous const in
71187 getsubopt prototype.
71188 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71189 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71190 use size_t rather than int.
71191 (Scanning All Users): Likewise for getpwent_r.
71192 (Setting Groups): Add missing const to setgroups prototype.
71193 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71194 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71195 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71196 'const void *' rather than 'const char *'.
71197 (Host Address Functions): Likewise for inet_ntop.
71198 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71199 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71200 ssize_t for return value.
71201 (Sending Data): Likewise for send, sendto, sendmsg.
71202 (Socket Option Functions): Add a missing const in setsockopt prototype.
71203 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71204 use wchar_t for the argument.
71205 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71206 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71207 take no arguments.
71208 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71209 double/float/long double for second argument.
71210 Fix return types of significand, significandf, significandl.
71211 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71212 argument in fchmod prototype.
71213 (File Owner): Use uid_t and gid_t in fchown prototype.
71214 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71215 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71216 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71217 use 'const struct dirent **' as argument types to CMP function pointer
71218 argument.
71219 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71220 (File Times): Fix summary magic @comment for struct utimbuf and utime
71221 to refer to utime.h, not time.h.
71222 * manual/string.texi (Argz Functions): Add missing const in
71223 argz_extract and argz_next prototypes.
71224 (Finding Tokens in a String): Likewise for basename.
71225 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71226 (Copying and Concatenation): Fix typo in wmemmove prototype.
71227 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71228 (Signal Stack): Remove erroneous const in sigstack prototype.
71229 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71230 prototype.
71231 (Simple Calendar Time): Likewise for stime.
71232 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71233 prototype.
71234 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71235 say sys/sysctl.h instead.
71236 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71237 and vsyslog prototypes.
71238
71239 2013-02-11 Tom de Vries <tom@codesourcery.com>
71240
71241 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71242 Remove.
71243
71244 2013-02-11 Roland McGrath <roland@hack.frob.com>
71245
71246 * misc/sys/mman.h: Fix typo in mremap comment.
71247
71248 2013-02-08 Roland McGrath <roland@hack.frob.com>
71249
71250 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71251 the '\0' terminator.
71252
71253 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71254
71255 [BZ #13550]
71256 * debug/segfault.c: Don't include <bp-checks.h>.
71257 * sysdeps/generic/bp-checks.h: Remove file.
71258 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71259 (__GETDENTS): Don't use CHECK_N.
71260 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71261 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71262 (__getgroups): Don't use CHECK_N.
71263 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71264 (setgroups): Don't use CHECK_N.
71265 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71266 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71267 (__libc_msgrcv): Don't use CHECK_N.
71268 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71269 (__libc_msgsnd): Don't use CHECK_N.
71270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71271 <bp-checks.h>.
71272 (__libc_pread): Don't use CHECK_N.
71273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71274 include <bp-checks.h>.
71275 (__libc_pread64): Don't use CHECK_N.
71276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71277 include <bp-checks.h>.
71278 (__libc_pwrite): Don't use CHECK_N.
71279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71280 include <bp-checks.h>.
71281 (__libc_pwrite64): Don't use CHECK_N.
71282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71283 <bp-checks.h>.
71284 (__libc_pread): Don't use CHECK_N.
71285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71286 include <bp-checks.h>.
71287 (__libc_pread64): Don't use CHECK_N.
71288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71289 include <bp-checks.h>.
71290 (__libc_pwrite): Don't use CHECK_N.
71291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71292 include <bp-checks.h>.
71293 (__libc_pwrite64): Don't use CHECK_N.
71294 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71295 (do_pread): Don't use CHECK_N.
71296 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71297 (do_pread64): Don't use CHECK_N.
71298 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71299 (do_pwrite): Don't use CHECK_N.
71300 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71301 (do_pwrite64): Don't use CHECK_N.
71302 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71303 (__libc_readv): Don't use CHECK_N.
71304 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71305 (semop): Don't use CHECK_N.
71306 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71307 <bp-checks.h>.
71308 (semtimedop): Don't use CHECK_N.
71309 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71310 (__libc_pread): Don't use CHECK_N.
71311 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71312 <bp-checks.h>.
71313 (__libc_pread64): Don't use CHECK_N.
71314 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71315 <bp-checks.h>.
71316 (__libc_pwrite): Don't use CHECK_N.
71317 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71318 <bp-checks.h>.
71319 (__libc_pwrite64): Don't use CHECK_N.
71320 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71321 <bp-checks.h>.
71322 (__libc_msgrcv): Don't use CHECK_N.
71323 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71324 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71325 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71326 (__libc_writev): Don't use CHECK_N.
71327
71328 2013-02-08 Roland McGrath <roland@hack.frob.com>
71329
71330 * string/strcpy.c: Removed unused variable.
71331
71332 * Makeconfig (+sysdep-includes): Define with := rather than =.
71333 Use an existing include/ subdir of each sysdeps dir before it.
71334
71335 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71336
71337 * nscd/connection.c (register_traced_file): Comment function.
71338 [HAVE_INOTIFY] (union __inev): Define.
71339 [HAVE_INOTIFY] (inotify_check_files): New function.
71340 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71341 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71342 clear_db_cache.
71343 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71344
71345 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71346
71347 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71348 loaded if not already and that a failure is permanent.
71349
71350 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71351
71352 [BZ #15006]
71353 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71354 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71355
71356 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71357
71358 [BZ #13550]
71359 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71360 (CHECK_1_NULL_OK): Likewise.
71361 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71362 (__fxstat): Do not use CHECK_1.
71363 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71364 <bp-checks.h>.
71365 (___fxstat64): Do not use CHECK_1.
71366 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71367 <bp-checks.h>.
71368 (__fxstatat): Do not use CHECK_1.
71369 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71370 <bp-checks.h>.
71371 (__fxstatat64): Do not use CHECK_1.
71372 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71373 <bp-checks.h>.
71374 (__fxstat): Do not use CHECK_1.
71375 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71376 <bp-checks.h>.
71377 (__fxstatat): Do not use CHECK_1.
71378 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71379 <bp-checks.h>.
71380 (__getresgid): Do not use CHECK_1.
71381 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71382 <bp-checks.h>.
71383 (__getresuid): Do not use CHECK_1.
71384 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71385 <bp-checks.h>.
71386 (__lxstat): Do not use CHECK_1.
71387 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71388 <bp-checks.h>.
71389 (__old_msgctl): Do not use CHECK_1.
71390 (__new_msgctl): Likewise.
71391 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71392 <bp-checks.h>.
71393 (__new_setrlimit): Do not use CHECK_1.
71394 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71395 <bp-checks.h>.
71396 (__old_shmctl): Do not use CHECK_1.
71397 (__new_shmctl): Likewise.
71398 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71399 <bp-checks.h>.
71400 (__xstat): Do not use CHECK_1.
71401 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71402 (__lxstat): Do not use CHECK_1.
71403 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71404 <bp-checks.h>.
71405 (___lxstat64): Do not use CHECK_1.
71406 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71407 (__old_msgctl): Do not use CHECK_1.
71408 (__new_msgctl): Likewise.
71409 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71410 <bp-checks.h>.
71411 (__gettimeofday): Do not use CHECK_1.
71412 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71413 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71414 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71415 <bp-checks.h>.
71416 (__gettimeofday): Do not use CHECK_1.
71417 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71418 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71419 (__new_shmctl): Do not use CHECK_1.
71420 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71421 <bp-checks.h>.
71422 (do_sigtimedwait): Do not use CHECK_1.
71423 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71424 <bp-checks.h>.
71425 (do_sigwaitinfo): Do not use CHECK_1.
71426 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71427 <bp-checks.h>.
71428 (msgctl): Do not use CHECK_1.
71429 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71430 <bp-checks.h>.
71431 (shmctl): Do not use CHECK_1.
71432 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71433 (ustat): Do not use CHECK_1.
71434 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71435 <bp-checks.h>.
71436 (__fxstat): Do not use CHECK_1.
71437 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71438 <bp-checks.h>.
71439 (__fxstatat): Do not use CHECK_1.
71440 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71441 <bp-checks.h>.
71442 (__lxstat): Do not use CHECK_1.
71443 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71444 <bp-checks.h>.
71445 (__xstat): Do not use CHECK_1.
71446 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71447 (__xstat): Do not use CHECK_1.
71448 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71449 (___xstat64): Do not use CHECK_1.
71450
71451 [BZ #13550]
71452 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71453 definitions.
71454 (CHECK_BOUNDS_HIGH): Likewise.
71455 * string/strcpy.c: Do not include <bp-checks.h>.
71456 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71457
71458 2013-02-07 Roland McGrath <roland@hack.frob.com>
71459
71460 * nscd/nscd-client.h (__nscd_drop_map_ref):
71461 Add __attribute__ ((unused)).
71462 * nis/nss-nisplus.h (niserr2nss): Likewise.
71463
71464 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71465 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71466
71467 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71468 Remove inline keyword.
71469 * include/rounding-mode.h (round_away): Likewise.
71470 * libio/wfileops.c (adjust_wide_data): Likewise.
71471 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71472 (__m128i_strloadu_tolower): Likewise.
71473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71474 (__m128i_strloadu_tolower): Likewise.
71475 * time/mktime.c (ydhms_diff): Likewise.
71476 * locale/elem-hash.h (elem_hash): Likewise.
71477 * locale/setlocale.c (setdata): Likewise.
71478 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71479 (re_string_wchar_at): Likewise.
71480 (bitset_not, bitset_merge, bitset_mask): Likewise.
71481 [!(__GNUC__ > 3)] (inline): Remove macro.
71482 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71483 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71484 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71485 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71486 * string/memcmp.c (memcmp_bytes): Likewise.
71487 * locale/programs/locarchive.c (compute_hashval): Likewise.
71488 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71489 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71490 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71491 * nss/getent.c (print_rpc, print_protocols): Likewise.
71492 (print_passwd, print_group, print_aliases): Likewise.
71493 * nis/nss-nisplus.h (niserr2nss): Likewise.
71494 * nscd/connections.c (restart_p): Likewise.
71495 Change return type to bool.
71496
71497 2013-02-05 Roland McGrath <roland@hack.frob.com>
71498
71499 * Makeconfig (all-Depend-files): Add existing
71500 $(sorted-subdirs:=/Depend) files.
71501 (all-subdirs): Remove nss.
71502 * sysdeps/unix/inet/Subdirs: Add it here instead.
71503 * hesiod/Depend: New file.
71504
71505 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71506 instead of calling alloca.
71507
71508 * io/lseek.c (__lseek): Rename to __libc_lseek.
71509 Define __lseek as an alias.
71510
71511 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71512
71513 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71514
71515 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71516 else clause and remove check for non-standard endianness.
71517
71518 2013-02-04 David S. Miller <davem@davemloft.net>
71519
71520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71521
71522 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71523
71524 [BZ #13550]
71525 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71526 (__ubp_memchr): Remove prototype.
71527 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71528 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71529 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71530 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71531 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71532 Remove alias.
71533 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71534 (__ubp_memchr): Likewise.
71535 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71536 (__ubp_memchr): Likewise.
71537 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71538 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71539 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71540 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71541 CHECK_STRING.
71542 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71543 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71544 (__getcwd): Do not use CHECK_STRING.
71545 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71546 <bp-checks.h>.
71547 (__real_chown): Do not use CHECK_STRING.
71548 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71549 <bp-checks.h>.
71550 (fchownat): Do not use CHECK_STRING.
71551 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71552 CHECK_STRING.
71553 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71554 <bp-checks.h>.
71555 (__lchown): Do not use CHECK_STRING.
71556 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71557 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71558 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71559 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71561 include <bp-checks.h>.
71562 (truncate64): Do not use CHECK_STRING.
71563 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71564 <bp-checks.h>.
71565 (__real_chown): Do not use CHECK_STRING.
71566 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71567 <bp-checks.h>.
71568 (__lchown): Do not use CHECK_STRING.
71569 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71570 <bp-checks.h>.
71571 (__chown): Do not use CHECK_STRING.
71572 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71573 <bp-checks.h>.
71574 (truncate64): Do not use CHECK_STRING.
71575 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71576 Likewise.
71577 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71578 (__xmknod): Do not use CHECK_STRING.
71579 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71580 <bp-checks.h>.
71581 (__xmknodat): Do not use CHECK_STRING.
71582 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71583 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71584
71585 2013-02-04 Andreas Schwab <schwab@suse.de>
71586
71587 [BZ #14142]
71588 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71589 * include/netdb.h: Likewise for h_errno.
71590 * elf/tst-stackguard1.c: Include <tls.h>.
71591
71592 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71593
71594 * elf/link.h (struct link_map): Extend the l_addr comment.
71595 * include/link.h (struct link_map): Likewise.
71596
71597 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71598
71599 [BZ #13550]
71600 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71601 (BOUNDED_1): Remove macro.
71602 * debug/backtrace.c: Don't include <bp-checks.h>.
71603 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71604 (__backtrace): Likewise.
71605 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71606 <bp-checks.h>.
71607 (__backtrace): Don't use BOUNDED_1.
71608 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71609 <bp-checks.h>.
71610 (__backtrace): Don't use BOUNDED_1.
71611 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71612 (__backtrace): Don't use BOUNDED_1.
71613 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71614 (shmat): Don't use BOUNDED_N.
71615
71616 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71617
71618 [BZ #13550]
71619 * sysdeps/generic/bp-start.h: Remove file.
71620 * csu/libc-start.c: Don't include <bp-start.h>.
71621 (LIBC_START_MAIN): Set up __environ directly instead of using
71622 INIT_ARGV_and_ENVIRON.
71623 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71624 <bp-start.h>.
71625
71626 [BZ #13550]
71627 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71628 definitions.
71629 (CHECK_FCNTL): Likewise.
71630 (CHECK_N_PAGES): Likewise.
71631
71632 [BZ #13550]
71633 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71634 definitions.
71635 (CHECK_SIGSET_NULL_OK): Likewise.
71636 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71637 <bp-checks.h>.
71638 (sigpending): Don't use CHECK_SIGSET.
71639 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71640 <bp-checks.h>.
71641 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71642 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71643 <bp-checks.h>.
71644 (do_sigsuspend): Don't use CHECK_SIGSET.
71645 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71646 use CHECK_SIGSET.
71647 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71648 (do_sigwait): Don't use CHECK_SIGSET.
71649 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71650 use CHECK_SIGSET.
71651 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71652 include <bp-checks.h>.
71653 (sigpending): Don't use CHECK_SIGSET.
71654 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71655 include <bp-checks.h>.
71656 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71657 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71658 <bp-checks.h>.
71659 (sigpending): Don't use CHECK_SIGSET.
71660 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71661 <bp-checks.h>.
71662 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71663
71664 [BZ #13550]
71665 * sysdeps/generic/bp-semctl.h: Remove file.
71666 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71667 <bp-checks.h> and <bp-semctl.h>.
71668 (__old_semctl): Don't use CHECK_SEMCTL.
71669 (__new_semctl): Likewise.
71670 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71671 and <bp-semctl.h>.
71672 (__old_semctl): Don't use CHECK_SEMCTL.
71673 (__new_semctl): Likewise.
71674 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71675 <bp-checks.h> and <bp-semctl.h>.
71676 (__old_semctl): Don't use CHECK_SEMCTL.
71677 (__new_semctl): Likewise.
71678 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71679 <bp-checks.h> and <bp-semctl.h>.
71680 (semctl): Don't use CHECK_SEMCTL.
71681
71682 [BZ #13550]
71683 * Makerules (elide-bp-thunks): Remove variable.
71684 (elide-routines.oS): Don't use $(elide-bp-thunks).
71685 (elide-routines.os): Likewise.
71686 (elide-routines.o): Likewise.
71687 (elide-routines.op): Likewise.
71688 (elide-routines.og): Likewise.
71689 (objects): Don't use $(bp-thunks).
71690 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71691 include.
71692 (common-generated): Do not add s-proto-bp.d.
71693 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71694 (int): Likewise.
71695 (typ): Likewise.
71696 Do not generate makefile rules for bounded-pointer thunks.
71697 * sysdeps/generic/bp-thunks.h: Remove file.
71698 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71699 * sysdeps/unix/s-proto-bp.S: Likewise.
71700
71701 [BZ #15062]
71702 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71703 parts of result separately when argument is not close to line from
71704 -i to i and one part of argument is small.
71705 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71706 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71707 * math/libm-test.inc (cacos_test): Add more tests.
71708 (casin_test): Likewise.
71709 (casinh_test): Likewise.
71710 * sysdeps/i386/fpu/libm-test-ulps: Update.
71711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71712
71713 2013-01-31 David S. Miller <davem@davemloft.net>
71714
71715 * po/de.po: Update from translation team.
71716
71717 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71718
71719 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71720
71721 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71722
71723 * configure.in (_AC_PROG_CC_C89): New definition.
71724 * configure: Regenerate.
71725
71726 * configure.in (AC_PROG_CPP): New definition.
71727 * configure: Regenerate.
71728
71729 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71730
71731 * debug/tst-backtrace.h: New file.
71732 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71733 (ret): Remove variable.
71734 (x): Likewise.
71735 (FAIL): Remove macro.
71736 (NO_INLINE): Likewise.
71737 (fn1): Use match function instead of strstr.
71738 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71739 (ret): Remove variable.
71740 (x): Likewise.
71741 (FAIL): Remove macro.
71742 (NO_INLINE): Likewise.
71743 (fn): Use match function instead of strstr.
71744 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71745 (ret): Remove variable.
71746 (x): Likewise.
71747 (FAIL): Remove macro.
71748 (NO_INLINE): Likewise.
71749 (handle_signal): Use match function instead of strstr.
71750 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71751 (ret): Remove variable.
71752 (x): Likewise.
71753 (FAIL): Remove macro.
71754 (NO_INLINE): Likewise.
71755 (handle_signal): Use match function instead of strstr.
71756
71757 2013-01-23 Roland McGrath <roland@hack.frob.com>
71758
71759 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71760
71761 2013-01-23 David S. Miller <davem@davemloft.net>
71762
71763 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71764 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71765 argument of CAS if possible.
71766 * sysdeps/sparc/sparc64/bits/atomic.h
71767 (__arch_compare_and_exchange_val_32_acq): Likewise.
71768 (__arch_compare_and_exchange_val_64_acq): Likewise.
71769
71770 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71771
71772 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71773 * sysdeps/posix/ulimit.c: ... this.
71774 Include <limits.h>.
71775 * sysdeps/unix/bsd/ulimit.c: Remove file.
71776
71777 2013-01-23 Adam Conrad <adconrad@0c3.net>
71778
71779 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71780 (LDFLAGS-tst-array5): Likewise.
71781
71782 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71783
71784 [BZ #15036]
71785 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71786 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71787 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71788 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71789
71790 2013-01-21 David S. Miller <davem@davemloft.net>
71791
71792 * sysdeps/sparc/backtrace.c: New file.
71793 * sysdeps/sparc/sparc32/backtrace.h: New file.
71794 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71795 * sysdeps/sparc/sparc64/backtrace.h: New file.
71796 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71797 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71798 -funwind-tables.
71799
71800 2013-01-21 Andreas Schwab <schwab@suse.de>
71801
71802 [BZ #15020]
71803 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71804 closed its stdout.
71805
71806 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71807
71808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71809 "mpa2.h".
71810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71811
71812 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71813 Mark Mitchell <mark@codesourcery.com>
71814 Tom de Vries <tom@codesourcery.com>
71815 Paul Pluzhnikov <ppluzhnikov@google.com>
71816
71817 * debug/tst-backtrace2.c: New file.
71818 * debug/tst-backtrace3.c: Likewise.
71819 * debug/tst-backtrace4.c: Likewise.
71820 * debug/tst-backtrace5.c: Likewise.
71821 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71822 (CFLAGS-tst-backtrace3.c): Likewise.
71823 (CFLAGS-tst-backtrace4.c): Likewise.
71824 (CFLAGS-tst-backtrace5.c): Likewise.
71825 (LDFLAGS-tst-backtrace2): Likewise.
71826 (LDFLAGS-tst-backtrace3): Likewise.
71827 (LDFLAGS-tst-backtrace4): Likewise.
71828 (LDFLAGS-tst-backtrace5): Likewise.
71829 (tests): Add new tests tst-backtrace2, tst-backtrace3,
71830 tst-backtrace4 and tst-backtrace5.
71831
71832 2013-01-18 Anton Blanchard <anton@samba.org>
71833 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71834
71835 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71836 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71837 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71838 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71840 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71841 "+r" and remove output regs list as redundant. Add explicit inline
71842 asm to specify register of return val to work around compiler codegen
71843 bug. Remove (int) cast on return value. Add return type parameter to
71844 use in macro so that this macro does not truncate return value for
71845 64-bit values.
71846 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71847 pass to INTERNAL_VSYSCALL_NCS.
71848 (INLINE_VSYSCALL): Add 'long int' as return type to
71849 INTERNAL_VSYSCALL_NCS macro invocation.
71850 (INTERNAL_VSYSCALL): Add 'long int' as return type to
71851 INTERNAL_VSYSCALL_NCS macro invocation.
71852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71853
71854 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71855
71856 [BZ #14496]
71857 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71858 Fix application of SIMD FP exception mask.
71859
71860 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71861 mp_no from a power of two.
71862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71863 __mpexp_twomm1. Use __pow_mp.
71864
71865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71866 multiplication.
71867
71868 2013-01-17 David S. Miller <davem@davemloft.net>
71869
71870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71871
71872 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71873
71874 [BZ #15023]
71875 * include/complex.h: Condition contents on [!_COMPLEX_H].
71876 (__kernel_casinhf): New prototype.
71877 (__kernel_casinh): Likewise.
71878 (__kernel_casinhl): Likewise.
71879 * math/Makefile (libm_calls): Add k_casinh.
71880 * math/k_casinh.c: New file.
71881 * math/k_casinhf.c: Likewise.
71882 * math/k_casinhl.c: Likewise.
71883 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71884 finite nonzero arguments.
71885 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71886 finite nonzero arguments.
71887 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71888 finite nonzero arguments.
71889 * math/s_casinh.c: Do not include <float.h>.
71890 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71891 * math/s_casinhf.c: Do not include <float.h>.
71892 (__casinhf): Move code for finite nonzero arguments to
71893 k_casinhf.c.
71894 * math/s_casinhl.c: Do not include <float.h>.
71895 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71896 redefine.
71897 (__casinhl): Move code for finite nonzero arguments to
71898 k_casinhl.c.
71899 * math/libm-test.inc (cacos_test): Add more tests.
71900 * sysdeps/i386/fpu/libm-test-ulps: Update.
71901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71902
71903 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
71904
71905 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71906 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71907 [!HAVE_MREMAP]: Remove [defined linux] case.
71908 * malloc/arena.c: Do not include <malloc-sysdep.h>.
71909
71910 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
71911
71912 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71913
71914 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
71915
71916 * elf/elf.h (R_386_SIZE32): New relocation.
71917 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71918 R_386_SIZE32.
71919 (elf_machine_rela): Likewise.
71920 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71921 R_X86_64_SIZE64 and R_X86_64_SIZE32.
71922
71923 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71924
71925 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71926 (FP_FAST_FMA): Do not define.
71927 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71928 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71929 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71930 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71931 !_SOFT_FLOAT]: Likewise.
71932 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71933 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71934 value.
71935 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71936 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71937 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71938 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71939 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71940 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71941 file.
71942
71943 2013-01-16 Andreas Schwab <schwab@suse.de>
71944
71945 [BZ #14327]
71946 * include/stdlib.h (__mktemp): Add declaration.
71947 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71948 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71949
71950 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71951
71952 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71953 definitions.
71954 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71955 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71956 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71957 definitions here.
71958 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71959 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71960 definitions.
71961 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71962 and ONE.
71963 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71964 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71966 definitions.
71967 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71968 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71969 definitions.
71970 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71971
71972 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71973
71974 2013-01-15 David S. Miller <davem@davemloft.net>
71975
71976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71977 trunc{,f} to libm-sysdep_routes.
71978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71980 file.
71981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71983 file.
71984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71985 file.
71986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71988 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71989 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71990 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71991 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71992 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71993 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71994
71995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71996 nearbyint{,f} to libm-sysdep_routes.
71997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71999 New file.
72000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72001 file.
72002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72003 New file.
72004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72005 file.
72006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72008 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72009 file.
72010 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72011 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72012 file.
72013 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72014 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72015 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72016
72017 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72018 libc_feholdexcept and libc_fesetenv.
72019
72020 2013-01-15 Mike Frysinger <vapier@gentoo.org>
72021
72022 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72023
72024 2013-01-14 David S. Miller <davem@davemloft.net>
72025
72026 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72027 (SPARC_ASM_VIS2_IFUNC): Likewise.
72028 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72030 use of 'siam' instruction.
72031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72032 Likewise.
72033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72034 Likewise.
72035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72036 Likewise.
72037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72042 file.
72043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72044 file.
72045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72046 file.
72047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72048 file.
72049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72054 new VIS2 routines.
72055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72058 Likewise.
72059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72064 routines to libm-sysdep_routines.
72065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72066
72067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72068 fdim/fdimf to libm-sysdep_routines.
72069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72070 file.
72071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72073 file.
72074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72077 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72078 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72079 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72080 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72081
72082 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72083
72084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72085 to optimize copies.
72086
72087 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72090
72091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72092 local variable MPTWO.
72093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72094 Likewise.
72095
72096 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72097
72098 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72099 GLOB_NOESCAPE.
72100
72101 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72102
72103 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72104
72105 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72106
72107 * manual/pattern.texi (glob_t): Document gl_flags.
72108 (glob64_t): Likewise.
72109
72110 2013-01-11 David S. Miller <davem@davemloft.net>
72111
72112 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72113 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72114 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72115 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72116 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72117 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72118 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72119 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72120 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72121 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72122 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72123 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72124 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72125
72126 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72127 sparc V9 rather than using V8 code.
72128 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72129 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72130
72131 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72132 Move to...
72133 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72134 Here.
72135
72136 2013-01-11 Roland McGrath <roland@hack.frob.com>
72137
72138 [BZ #14941]
72139 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72140 not in the main loop.
72141 * configure: Regenerated.
72142
72143 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72144
72145 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72146 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72147 to just #else.
72148 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72149 [!__GLIBC_HAVE_LONG_LONG] case.
72150 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72151 condition to just #else.
72152 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72153 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72154 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72155 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72156 unconditional.
72157 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72158 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72159 #elif condition to just #else.
72160 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72161 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72162 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72163 #elif condition to just #else.
72164
72165 2013-01-11 Steve Ellcey <sellcey@mips.com>
72166
72167 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72168 (EF_MIPS_ARCH_64): Fix value.
72169 (EF_MIPS_ARCH_32R2): New.
72170 (EF_MIPS_ARCH_64R2): New.
72171
72172 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72173
72174 * Makeconfig (+link-pie-before-libc): New.
72175 (+link-pie-after-libc): Likewise.
72176 (+link-pie-tests): Likewise.
72177 (+link-pie): Rewritten.
72178 (link-before-libc): Remove $(config-LDFLAGS).
72179 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72180 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72181 (config-LDFLAGS): Renamed to ...
72182 (rtld-LDFLAGS): This.
72183 (rtld-tests-LDFLAGS): New macro.
72184 (link-libc-rpath-link): Likewise.
72185 (link-libc-tests-rpath-link): Likewise.
72186 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72187 (link-libc): Prepand $(link-libc-rpath-link).
72188 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72189 (test-program-prefix): New macro.
72190 (test-via-rtld-prefix): Likewise.
72191 (test-program-cmd): Likewise.
72192 (host-test-program-cmd): Likewise.
72193 * Makefile ($(common-objpfx)testrun.sh): Replace
72194 $(run-program-prefix) with $(test-program-prefix).
72195 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72196 $(rtld-LDFLAGS).
72197 ($(common-objpfx)shlib.lds): Likewise.
72198 (build-module-helper): Likewise.
72199 ($(common-objpfx)format.lds): Likewise.
72200 * Rules (binaries-pie-tests): New.
72201 (binaries-pie-notests): Likewise.
72202 (binaries-pie): Rewritten.
72203 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72204 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72205 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72206 (make-test-out): Replace $(host-built-program-cmd) with
72207 $(host-test-program-cmd).
72208 * config.make.in (build-hardcoded-path-in-tests): New variable.
72209 * configure.in (--enable-hardcoded-path-in-tests): New configure
72210 option.
72211 (hardcoded_path_in_tests): New AC_SUBST.
72212 * configure: Regenerated.
72213 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72214 $(built-program-cmd) with $(test-program-cmd).
72215 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72216 (test_program_cmd): This.
72217 * elf/Makefile ($(objpfx)order.out): Run test with
72218 $(test-program-prefix).
72219 ($(objpfx)order2.out): Likewise.
72220 ($(objpfx)tst-initorder.out): Likewise.
72221 ($(objpfx)tst-initorder2.out): Likewise.
72222 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72223 $(test-program-cmd).
72224 ($(objpfx)tst-array1-static.out): Likewise.
72225 ($(objpfx)tst-array2.out): Likewise.
72226 ($(objpfx)tst-array3.out): Likewise.
72227 ($(objpfx)tst-array4.out): Likewise.
72228 ($(objpfx)tst-array5.out): Likewise.
72229 ($(objpfx)tst-array5-static.out): Likewise.
72230 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72231 $(test-program-cmd).
72232 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72233 $(run-program-prefix) with $(test-program-prefix).
72234 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72235 (test_program_prefix): This.
72236 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72237 $(run-program-prefix) with $(test-program-prefix).
72238 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72239 (test_program_prefix): This.
72240 * iconvdata/tst-tables.sh: Likewise.
72241 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72242 $(run-program-prefix) with $(test-program-prefix).
72243 ($(objpfx)tst-translit.out): Likewise.
72244 ($(objpfx)tst-gettext2.out): Likewise.
72245 ($(objpfx)tst-gettext4.out): Likewise.
72246 ($(objpfx)tst-gettext6.out): Likewise.
72247 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72248 (test_program_prefix): This.
72249 * intl/tst-gettext2.sh: Likewise.
72250 * intl/tst-gettext4.sh Likewise.
72251 * intl/tst-gettext6.sh: Likewise.
72252 * intl/tst-translit.sh: Likewise.
72253 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72254 with $(test-program-cmd).
72255 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72256 $(run-program-prefix) with $(test-program-prefix).
72257 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72258 (test_program_prefix): This.
72259 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72260 $(run-program-prefix) with $(test-program-prefix).
72261 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72262 (test_program_prefix): This.
72263 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72264 * posix/Makefile ($(objpfx)globtest.out): Replace
72265 $(run-via-rtld-prefix) and $(test-wrapper) with
72266 $(test-program-prefix) and $(test-via-rtld-prefix).
72267 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72268 $(test-program-prefix).
72269 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72270 $(host-test-program-cmd).
72271 (tst-spawn-ARGS): Likewise.
72272 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72273 $(test-program-prefix).
72274 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72275 (test_via_rtld_prefix): This.
72276 (test_wrapper): Renamed to ...
72277 (test_program_prefix): This.
72278 (run_program_prefix): Replaced by test_program_prefix.
72279 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72280 (test_program_prefix): This.
72281 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72282 with $(host-test-program-cmd).
72283 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72284 $(run-program-prefix) with $(test-program-prefix).
72285 ($(objpfx)tst-printf.out): Likewise.
72286 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72287 $(test-program-cmd).
72288 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72289 (test_program_prefix): This.
72290 * stdio-common/tst-unbputc.sh: Likewise.
72291 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72292 $(run-program-prefix) with $(test-program-prefix).
72293 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72294 (test_program_prefix): This.
72295 * string/Makefile ($(objpfx)tst-svc.out): Replace
72296 $(built-program-cmd) with $(test-program-cmd).
72297
72298 2013-01-11 Andreas Jaeger <aj@suse.de>
72299
72300 [BZ #15003]
72301 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72302 value. Sync with Linux 3.7.
72303
72304 2013-01-10 David S. Miller <davem@davemloft.net>
72305
72306 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72307 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72308 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72309
72310 2013-01-10 Roland McGrath <roland@hack.frob.com>
72311
72312 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72313 never set.
72314 * configure: Regenerated.
72315
72316 2013-01-10 David S. Miller <davem@davemloft.net>
72317
72318 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72319 sparc V9 rather than using V8 code.
72320 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72321 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72322
72323 2013-01-10 Roland McGrath <roland@hack.frob.com>
72324
72325 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72326 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72327 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72328 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72329 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72330 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72331 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72332 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72333 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72334 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72335 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72336 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72337 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72338 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72339 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72340 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72341 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72342 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72343 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72344 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72345 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72346 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72347 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72348 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72349 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72350 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72351 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72352
72353 2013-01-10 David S. Miller <davem@davemloft.net>
72354
72355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72356
72357 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72358
72359 * posix/Makefile (tests-static): New variable.
72360 (tests): Add $(tests-static).
72361 (tst-exec-static-ARGS): New variable.
72362 (tst-spawn-static-ARGS): Likewise.
72363 * posix/tst-exec-static.c: New file.
72364 * posix/tst-spawn-static.c: Likewise.
72365 * posix/tst-exec.c: Support run directly.
72366 * posix/tst-spawn.c: Likewise.
72367
72368 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72369
72370 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72371 long.
72372 * math/bits/mathcalls.h (llrint): Likewise.
72373 (llround): Likewise.
72374 * stdlib/stdlib.h (struct drand48_data): Likewise.
72375 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72376 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72377 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72378 Likewise.
72379 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72380 Likewise.
72381 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72382 (elf_greg_t): Likewise.
72383 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72384 (__jmp_buf): Likewise.
72385 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72386 definitions.
72387 (llrint): Likewise, for all definitions.
72388 (llrintl): Likewise.
72389
72390 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72391 Remove [__GNUC__] condition.
72392 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72393 condition to just [__USE_ISOC99].
72394 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72395
72396 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72397
72398 [BZ #14200]
72399 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72400 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72401 defined.
72402 (_POSIX_V6_ILP32_OFF32): Likewise.
72403 (_XBS5_ILP32_OFF32): Likewise.
72404 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72405 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72406
72407 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72408
72409 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72410
72411 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72412 doubles __mpexp_twomm1. Adjust usage.
72413 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72414 Remove.
72415
72416 2013-01-10 Andreas Schwab <schwab@suse.de>
72417
72418 [BZ #14964]
72419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72420 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72421
72422 2013-01-09 David S. Miller <davem@davemloft.net>
72423
72424 [BZ #15003]
72425 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72426 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72427 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72428 (TCP_FASTOPEN): Define.
72429 (tcp_repair_opt): New structure.
72430 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72431 enum values.
72432 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72433 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72434 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72435 (tcp_cookie_transactions): New structure.
72436
72437 2013-01-09 Anton Blanchard <anton@samba.org>
72438
72439 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72440 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72441 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72442 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72443
72444 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72445
72446 * include/features.h (__USE_ANSI): Remove.
72447
72448 2013-01-09 Roland McGrath <roland@hack.frob.com>
72449
72450 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72451
72452 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72453
72454 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72455
72456 * sysdeps/s390/fpu/libm-test-ulps: Update.
72457
72458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72459
72460 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72461 (__acr): Likewise.
72462 (__cpy): Likewise.
72463 (norm): Likewise.
72464 (denorm): Likewise.
72465 (__mp_dbl): Likewise.
72466 (__dbl_mp): Likewise.
72467 (add_magnitudes): Likewise.
72468 (sub_magnitudes): Likewise.
72469 (__add): Likewise.
72470 (__sub): Likewise.
72471 (__mul): Likewise.
72472 (__inv): Likewise.
72473 (__dvd): Likewise.
72474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72475 (__acr): Likewise.
72476 (__cpy): Likewise.
72477 (norm): Likewise.
72478 (denorm): Likewise.
72479 (__mp_dbl): Likewise.
72480 (__dbl_mp): Likewise.
72481 (add_magnitudes): Likewise.
72482 (sub_magnitudes): Likewise.
72483 (__add): Likewise.
72484 (__sub): Likewise.
72485 (__mul): Likewise.
72486 (__inv): Likewise.
72487 (__dvd): Likewise.
72488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72489 (__acr): Likewise.
72490 (__cpy): Likewise.
72491 (norm): Likewise.
72492 (denorm): Likewise.
72493 (__mp_dbl): Likewise.
72494 (__dbl_mp): Likewise.
72495 (add_magnitudes): Likewise.
72496 (sub_magnitudes): Likewise.
72497 (__add): Likewise.
72498 (__sub): Likewise.
72499 (__mul): Likewise.
72500 (__inv): Likewise.
72501 (__dvd): Likewise.
72502
72503 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72504
72505 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72506 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72507 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72508 2 && __USE_EXTERN_INLINES]: Likewise.
72509
72510 2013-01-08 Andreas Jaeger <aj@suse.de>
72511
72512 [BZ #14985]
72513 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72514 Remove.
72515 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72516 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72517
72518 2013-01-07 Anton Blanchard <anton@samba.org>
72519
72520 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72521 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72522 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72523 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72524 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72525 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72526 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72527 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72529 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72530 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72531 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72532 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72533 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72535 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72536 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72538 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72539 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72540 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72541 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72543 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72544 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72545 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72546 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72547 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72548 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72549 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72550 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72552 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72553 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72554 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72555 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72556 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72557 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72558 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72560 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72562 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72563
72564 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72565
72566 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72567 (__MALLOC_PMT): Likewise.
72568 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72569 [__GNUC__], only on [_LIBC].
72570 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72571 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72572 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72573 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72574 forward declaration.
72575 (realloc_hook_ini): Likewise.
72576 (memalign_hook_ini): Likewise.
72577 (__libc_memalign): Do not use __MALLOC_PMT in variable
72578 declaration.
72579 (__libc_valloc): Likewise.
72580 (__libc_pvalloc): Likewise.
72581 (__libc_calloc): Likewise.
72582 (__posix_memalign): Likewise.
72583
72584 [BZ #14996]
72585 * math/s_casinh.c: Include <float.h>.
72586 (__casinh): Do not do computation with squaring and square root
72587 for large arguments.
72588 * math/s_casinhf.c: Include <float.h>.
72589 (__casinhf): Do not do computation with squaring and square root
72590 for large arguments.
72591 * math/s_casinhl.c: Include <float.h>.
72592 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72593 (__casinhl): Do not do computation with squaring and square root
72594 for large arguments.
72595 * math/libm-test.inc (casin_test): Add more tests.
72596 (casinh_test): Likewise.
72597 * sysdeps/i386/fpu/libm-test-ulps: Update.
72598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72599
72600 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72601
72602 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72603 (__x86_64_raw_data_cache_size): Likewise.
72604 (__x86_64_data_cache_size_half): Likewise.
72605 (__x86_64_raw_data_cache_size_half): Likewise.
72606 (__x86_64_shared_cache_size): Likewise.
72607 (__x86_64_raw_shared_cache_size): Likewise.
72608 (__x86_64_shared_cache_size_half): Likewise.
72609 (__x86_64_raw_shared_cache_size_half): Likewise.
72610 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72611 to ...
72612 (__x86_data_cache_size): This.
72613 (__x86_64_raw_data_cache_size): Renamed to ...
72614 (__x86_raw_data_cache_size): This.
72615 (__x86_64_data_cache_size_half): Renamed to ...
72616 (__x86_data_cache_size_half): This.
72617 (__x86_64_raw_data_cache_size_half): Renamed to ...
72618 (__x86_raw_data_cache_size_half): This.
72619 (__x86_64_shared_cache_size): Renamed to ...
72620 (__x86_shared_cache_size): This.
72621 (__x86_64_raw_shared_cache_size): Renamed to ...
72622 (__x86_raw_shared_cache_size): This.
72623 (__x86_64_shared_cache_size_half): Renamed to ...
72624 (__x86_shared_cache_size_half): This.
72625 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72626 (__x86_raw_shared_cache_size_half): This.
72627 * sysdeps/x86_64/memcpy.S: Updated.
72628 * sysdeps/x86_64/memset.S: Likewise.
72629 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72630 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72631 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72632
72633 2013-01-04 David S. Miller <davem@davemloft.net>
72634
72635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72636
72637 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72638
72639 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72640 1 to avoid redefinition warning.
72641 (__USE_GNU): Don't define.
72642 (init_signaling_nan): Protoize.
72643
72644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72645
72646 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72647
72648 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72650 (__cpymn): Likewise.
72651 (norm): Remove commented code.
72652 (denorm): Likewise.
72653 (__mp_dbl): Likewise.
72654 (__inv): Likewise.
72655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72656 (__cpymn): Likewise.
72657 (norm): Remove commented code.
72658 (denorm): Likewise.
72659 (__mp_dbl): Likewise.
72660 (__inv): Likewise.
72661
72662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72663 mp_no value for 1.0 and 2.0.
72664 (norm): Use RADIXI instead of radixi.d.
72665 (denorm): Likewise.
72666 (__mul): Use 0.0 instead of zero.d.
72667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72668 mp_no value for 1.0 and 2.0.
72669 (norm): Use RADIXI instead of radixi.d.
72670 (denorm): Likewise.
72671 (__mul): Use 0.0 instead of zero.d.
72672
72673 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72674
72675 [BZ #14994]
72676 * math/s_casinh.c (__casinh): Reduce finite argument to first
72677 quadrant then set signs of results at the end.
72678 * math/s_casinhf.c (__casinhf): Likewise.
72679 * math/s_casinhl.c (__casinhl): Likewise.
72680 * math/libm-test.inc (casin_test): Add more tests.
72681 (casinh_test): Likewise.
72682 * sysdeps/i386/fpu/libm-test-ulps: Update.
72683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72684
72685 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72686
72687 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72688
72689 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72690
72691 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72692 declarations.
72693 (denorm): Likewise.
72694 (__mp_dbl): Likewise.
72695 (__inv): Likewise.
72696
72697 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72698 and adjust the header comment.
72699
72700 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72701 variable name from declaration.
72702
72703 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72704
72705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72706 Initialize COMMON_CPUID_INDEX_7 element.
72707 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72708 (CPUID_RTM): Likewise.
72709 (HAS_RTM): Likewise.
72710 (COMMON_CPUID_INDEX_7): New enum.
72711
72712 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72713
72714 [BZ #14981]
72715 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72716 size is zero, record memory as freed.
72717
72718 2013-01-03 Andreas Jaeger <aj@suse.de>
72719
72720 * po/ia.po: Add new Interlingua translation.
72721
72722 2012-01-03 Allan McRae <allan@archlinux.org>
72723
72724 * locale/programs/localedef.c: Fix description of '--posix' flag.
72725
72726 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72727
72728 * NEWS: Update dates in second copyright notice.
72729 * README: Update copyright dates in example.
72730 * manual/libc.texinfo: Update copyright dates.
72731 * scripts/test-installation.pl: Update copyright date in --version
72732 output.
72733
72734 * hurd/ctty-input.c: Fix copyright notice formatting.
72735 * hurd/ctty-output.c: Likewise.
72736 * hurd/dtable.c: Likewise.
72737 * hurd/hurd-raise.c: Likewise.
72738 * hurd/hurdprio.c: Likewise.
72739 * hurd/msgportdemux.c: Likewise.
72740 * misc/sys/file.h: Likewise.
72741 * misc/sys/ioctl.h: Likewise.
72742 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72743 * sysdeps/mach/hurd/chdir.c: Likewise.
72744 * sysdeps/mach/hurd/fchdir.c: Likewise.
72745 * sysdeps/mach/hurd/rename.c: Likewise.
72746 * sysdeps/mach/hurd/rmdir.c: Likewise.
72747 * sysdeps/mach/hurd/seekdir.c: Likewise.
72748 * sysdeps/mach/hurd/setsid.c: Likewise.
72749 * sysdeps/posix/wait3.c: Likewise.
72750
72751 * All files with FSF copyright notices: Update copyright dates
72752 using scripts/update-copyrights.
72753 * intl/plural.c: Regenerated.
72754 * locale/programs/charmap-kw.h: Likewise.
72755 * locale/programs/locfile-kw.h: Likewise.
72756
72757 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72758
72759 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72760 four values.
72761
72762 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72763 calculation loop and add branch prediction.
72764
72765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72766 check access beyond bounds of m1np.
72767
72768 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72769 MPTWO.
72770 (__inv): Remove local variable MPTWO to use the global
72771 constant.
72772 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72773 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72774 variable MPTWO.
72775 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72776 MP3HALFS static const.
72777
72778 2013-01-01 David S. Miller <davem@davemloft.net>
72779
72780 * po/ca.po: Update from translation team.
72781
72782 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72783
72784 * scripts/update-copyrights: New file.
72785 * Makeconfig: Reformat copyright notice.
72786 * ctype/ctype.h: Likewise.
72787 * debug/swprintf_chk.c: Likewise.
72788 * elf/dl-cache.c: Likewise.
72789 * elf/dl-debug.c: Likewise.
72790 * elf/dl-object.c: Likewise.
72791 * grp/initgroups.c: Likewise.
72792 * hurd/Makefile: Likewise.
72793 * hurd/hurd/signal.h: Likewise.
72794 * hurd/hurdfault.c: Likewise.
72795 * hurd/hurdioctl.c: Likewise.
72796 * hurd/hurdlookup.c: Likewise.
72797 * hurd/intr-msg.c: Likewise.
72798 * iconv/gconv_open.c: Likewise.
72799 * libio/swprintf.c: Likewise.
72800 * locale/lc-ctype.c: Likewise.
72801 * locale/nl_langinfo.c: Likewise.
72802 * mach/Machrules: Likewise.
72803 * mach/Makefile: Likewise.
72804 * malloc/obstack.h: Likewise.
72805 * manual/Makefile: Likewise.
72806 * manual/tsort.awk: Likewise.
72807 * misc/bits/stab.def: Likewise.
72808 * nis/nis_print_group_entry.c: Likewise.
72809 * nis/nis_table.c: Likewise.
72810 * nis/nss_compat/compat-pwd.c: Likewise.
72811 * nis/nss_compat/compat-spwd.c: Likewise.
72812 * po/Makefile: Likewise.
72813 * posix/fnmatch.c: Likewise.
72814 * posix/regex.h: Likewise.
72815 * resolv/Makefile: Likewise.
72816 * resolv/nss_dns/dns-network.c: Likewise.
72817 * resolv/res_hconf.c: Likewise.
72818 * scripts/gen-sorted.awk: Likewise.
72819 * soft-fp/soft-fp.h: Likewise.
72820 * stdio-common/printf.h: Likewise.
72821 * stdlib/monetary.h: Likewise.
72822 * stdlib/random.c: Likewise.
72823 * stdlib/random_r.c: Likewise.
72824 * sysdeps/generic/Makefile: Likewise.
72825 * sysdeps/gnu/Makefile: Likewise.
72826 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72828 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72830 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72833 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72834 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72836 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72837 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72838 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72839 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72840 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72841 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72842 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72843 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72844 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72846 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72847 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72848 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72849 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72850 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72851 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72852 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72853 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72854 * sysdeps/mach/hurd/errnos.awk: Likewise.
72855 * sysdeps/mach/hurd/fork.c: Likewise.
72856 * sysdeps/mach/hurd/getcwd.c: Likewise.
72857 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72858 * sysdeps/mach/hurd/mmap.c: Likewise.
72859 * sysdeps/mach/hurd/utimes.c: Likewise.
72860 * sysdeps/mach/hurd/xmknod.c: Likewise.
72861 * sysdeps/posix/profil.c: Likewise.
72862 * sysdeps/posix/readdir_r.c: Likewise.
72863 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72864 * sysdeps/powerpc/bits/setjmp.h: Likewise.
72865 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72866 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72868 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72869 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72870 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72872 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72873 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72874 * sysdeps/pthread/lio_listio.c: Likewise.
72875 * sysdeps/sparc/dl-procinfo.h: Likewise.
72876 * sysdeps/unix/i386/sysdep.S: Likewise.
72877 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72878 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72879 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72880 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72882 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72883 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72884 * sysdeps/unix/sysv/linux/speed.c: Likewise.
72885 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72886 * sysdeps/wordsize-32/divdi3.c: Likewise.
72887 * time/sys/time.h: Likewise.
72888 * wcsmbs/Makefile: Likewise.
72889
72890 2013-01-01 David S. Miller <davem@davemloft.net>
72891
72892 * po/fr.po: Update from translation team.
72893
72894 * catgets/gencat.c: Update copyright year.
72895 * csu/version.c: Likewise.
72896 * debug/catchsegv.sh: Likewise.
72897 * debug/pcprofiledump.c: Likewise.
72898 * debug/xtrace.sh: Likewise.
72899 * elf/ldconfig.c: Likewise.
72900 * elf/ldd.bash.in: Likewise.
72901 * elf/pldd.c: Likewise.
72902 * elf/sotruss.ksh: Likewise.
72903 * elf/sprof.c: Likewise.
72904 * iconv/iconv_prog.c: Likewise.
72905 * iconv/iconvconfig.c: Likewise.
72906 * locale/programs/locale.c: Likewise.
72907 * locale/programs/localedef.c: Likewise.
72908 * login/programs/pt_chown.c: Likewise.
72909 * malloc/memusage.sh: Likewise.
72910 * malloc/memusagestat.c: Likewise.
72911 * malloc/mtrace.pl: Likewise.
72912 * nscd/nscd.c: Likewise.
72913 * nss/getent.c: Likewise.
72914 * nss/makedb.c: Likewise.
72915 * posix/getconf.c: Likewise.
72916
72917 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
72918
72919 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72920 numbers.
72921
72922 2012-12-30 Mike Frysinger <vapier@gentoo.org>
72923
72924 * math/bits/mathcalls.h (modf): Use __nonnull.
72925
72926 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
72927
72928 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72929 (split): Use macro CN instead of the bare value.
72930 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72931 could be used.
72932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72933 instead of the bare value.
72934 (power1): Likewise.
72935
72936 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72937
72938 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72939 __ATAN_TWOM.
72940 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72941
72942 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72943 their values.
72944 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72945 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72946 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72947 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72948
72949 2012-12-28 Andreas Jaeger <aj@suse.de>
72950
72951 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
72952 values are from Linux 3.7.
72953
72954 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72955 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
72956
72957 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72958
72959 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72960 TRUE case.
72961
72962 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72963 (norm): Likewise.
72964 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72965 variables with preprocessor constants.
72966 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72967 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72968 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72969
72970 2012-12-27 Bruno Haible <bruno@clisp.org>
72971
72972 [BZ #14317]
72973 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72974 only if needed.
72975
72976 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
72977
72978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72979 and use variable directly.
72980 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72981
72982 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72983 MPONE.
72984 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72985 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72986 variable MPONE.
72987 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72989 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72990 include directive. Remove local variable MPONE.
72991 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72992 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72993 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72994
72995 2012-12-25 David S. Miller <davem@davemloft.net>
72996
72997 * version.h (RELEASE): Set to "development".
72998 (VERSION): Set to "2.17.90".
72999 * NEWS: Add 2.18 section.
73000
73001 2012-12-21 David S. Miller <davem@davemloft.net>
73002
73003 * po/hr.po: Update from translation team.
73004
73005 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73006
73007 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73008
73009 2012-12-19 Steve Ellcey <sellcey@mips.com>
73010
73011 * NEWS: Mention new memcpy for MIPS.
73012
73013 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73014
73015 * manual/contrib.texi (Contributors): Spelling correction.
73016
73017 2012-12-15 David S. Miller <davem@davemloft.net>
73018
73019 * po/ru.po: Update from translation team.
73020
73021 2012-12-13 David S. Miller <davem@davemloft.net>
73022
73023 * NEWS: Mention IFUNC testsuite enhancements.
73024
73025 * po/pl.po: Update from translation team.
73026 * po/bg.po: Likewise.
73027
73028 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73029 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
73030
73031 2012-12-11 David S. Miller <davem@davemloft.net>
73032
73033 * po/sv.po: Update from translation team.
73034
73035 * po/vi.po: Update from translation team.
73036
73037 * po/cs.po: Update from translation team.
73038
73039 * po/de.po: Update from translation team.
73040 * po/eo.po: Likewise.
73041 * po/nl.po: Likewise.
73042
73043 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73044
73045 [BZ #14246]
73046 * manual/argp.texi (Argp Helper Functions): Move node to follow
73047 Argp Parsing State.
73048
73049 [BZ #14872]
73050 * manual/conf.texi (Limits on File System Capacity): Mention if
73051 terminating null is included in the max size.
73052
73053 2012-12-10 Andreas Jaeger <aj@suse.de>
73054
73055 * po/cs.po: Update from translation team.
73056
73057 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73058
73059 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73060 void pointer and cast to uintptr_t.
73061 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73062 path.
73063 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73064 * sysdeps/s390/s390-64/memset.S: Likewise.
73065
73066 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73067
73068 [BZ #14833]
73069 * menual/message.texi (Message Translation): Fix typos.
73070 (Helper programs for gettext): Likewise.
73071
73072 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73073
73074 [BZ #14898]
73075 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73076 Change to -1.
73077
73078 2012-12-07 David S. Miller <davem@davemloft.net>
73079
73080 * po/libc.pot: Update.
73081
73082 2012-12-07 Richard Henderson <rth@redhat.com>
73083
73084 [BZ #10114]
73085 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73086 normal/normal case to before the switch.
73087 (_FP_DIV): Likewise.
73088
73089 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73090 Mike Frysinger <vapier@gentoo.org>
73091
73092 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73093 check for __NR_fadvise64_64.
73094
73095 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73096
73097 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73098 0, not just to plain "0" as a statement.
73099 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73100 with cw.
73101
73102 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73103
73104 * NEWS: Use sourceware.org in Bugzilla URL.
73105
73106 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73107
73108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73109 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73110
73111 * stdio-common/tst-put-error.c (do_test): Add newline to the
73112 padded test to ensure flush.
73113
73114 2012-12-05 Jeff Law <law@redhat.com>
73115
73116 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73117
73118 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73119
73120 * README: Don't refer to ports add-on as distributed separately.
73121 Mention AArch64 in list of systems supported in the ports add-on.
73122
73123 * LICENSES: Add more non-FSF copyright and license notices.
73124
73125 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73126 ((unused)).
73127
73128 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73129
73130 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73131 10000 as width of padded output.
73132
73133 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73134
73135 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73136
73137 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73138 variable LX with __attribute__ ((unused)).
73139 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73140 Likewise.
73141 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73144 with __attribute__ ((unused)).
73145
73146 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73147
73148 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73149
73150 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73151
73152 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73153 (CFLAGS-nldbl-acos.c): New variable.
73154 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73155 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73156 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73157 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73158 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73159 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73160 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73161 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73162 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73163 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73164 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73165 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73166 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73167 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73168 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73169 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73170 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73171 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73172 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73173 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73174 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73175 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73176 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73177 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73178 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73179 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73180 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73181 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73182 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73183 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73184 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73185 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73186 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73187 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73188 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73189 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73190 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73191 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73192 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73193 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73194 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73195 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73196 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73197 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73198 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73199 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73200 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73201 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73202 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73203 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73204 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73205 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73206 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73207 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73208 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73209 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73210 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73211 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73212 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73213 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73214 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73215 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73216 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73217 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73218 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73219 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73220 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73221 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73222 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73223 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73224 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73225 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73226 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73227 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73228 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73229 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73230 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73231 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73232 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73233 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73234 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73235 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73236 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73237 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73238 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73239 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73240 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73241 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73242 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73243 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73244 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73245 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73246 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73247 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73248 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73249 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73250 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73251
73252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73253 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73254
73255 [BZ #14914]
73256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73257 whole low double instead of just low 47 bits when splitting values
73258 into two parts.
73259
73260 2012-12-03 Allan McRae <allan@archlinux.org>
73261
73262 * manual/stdio.texi (Predefined Printf Handlers): Remove
73263 @hsep and @vsep usage.
73264
73265 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73266
73267 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73268 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73269
73270 2012-12-03 Jeff Law <law@redhat.com>
73271
73272 * time/sys/time.h (settimeofday): Do not mark TV argument
73273 as __nonnull.
73274
73275 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73276
73277 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73278 when currently writing and seek to current position when not.
73279 * libio/Makefile (tests): Remove bug-fclose1.
73280 * libio/bug-fclose1.c: Delete.
73281
73282 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73283
73284 * manual/arith.texi (feenableexcept): Fix typo.
73285 (fedisableexcept): Likewise.
73286
73287 2012-11-30 Roland McGrath <roland@hack.frob.com>
73288
73289 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73290 second, differently-typed declaration, rather than a cast.
73291
73292 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73293
73294 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73295 * include/rpc/svc.h: ... here.
73296
73297 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73298
73299 [BZ #13013]
73300 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73301 depending n and resplen2 to catch cases where answer
73302 equals answerp2.
73303
73304 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73305
73306 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73307 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73308
73309 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73310
73311 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73312
73313 2012-11-29 Roland McGrath <roland@hack.frob.com>
73314
73315 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73316
73317 2012-11-28 Jeff Law <law@redhat.com>
73318
73319 [BZ #13761]
73320 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73321 dataset_temporary. Track alloca usage into alloca_used.
73322 If dataset is large allocate and release it via malloc/free.
73323
73324 2012-06-04 Florian Weimer <fweimer@redhat.com>
73325
73326 [BZ #14197]
73327 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73328
73329 2012-11-28 David S. Miller <davem@davemloft.net>
73330
73331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73332
73333 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73334
73335 [BZ #14803]
73336 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73337 of pi/2 rounded to nearest to 64 bits.
73338 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73339 nearest to 64 bits.
73340 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73341 bits.
73342
73343 2012-11-28 Jeff Law <law@redhat.com>
73344 Martin Osvald <mosvald@redhat.com>
73345
73346 [BZ #14889]
73347 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73348 * sunrpc/svc.c: Include time.h.
73349 (__svc_accept_failed): New function.
73350 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73351 any reason other than EINTR, call __svc_accept_failed.
73352 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73353 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73354
73355 2012-11-28 Andreas Schwab <schwab@suse.de>
73356
73357 * scripts/abilist.awk: Also handle indirect functions in .opd
73358 section.
73359
73360 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73361
73362 [BZ #13881]
73363 * sysdeps/x86/fpu/powl_helper.c: New file.
73364 * sysdeps/x86/fpu/Makefile: Likewise.
73365 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73366 (p3): New object.
73367 (__ieee754_powl): Use __powl_helper for finite arguments except
73368 integer exponents below 8.
73369 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73370 (p3): New object.
73371 (__ieee754_powl): Use __powl_helper for finite arguments except
73372 integer exponents below 8.
73373 * math/libm-test.inc (pow_test): Add more tests and enable some
73374 previously disabled tests.
73375 * sysdeps/i386/fpu/libm-test-ulps: Update.
73376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73377
73378 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73379 Carlos O'Donell <carlos_odonell@mentor.com>
73380
73381 * nss/makedb.c (is_prime): Assert that input is odd and greater
73382 than 4. Note that fact in a comment too.
73383 (next_prime): Add 4 to input.
73384
73385 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73386
73387 [BZ #11741]
73388 * libio/Makefile (tests): Add test case tst-fwrite-error.
73389 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73390 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73391 * libio/tst-fwrite-error.c: New test case.
73392
73393 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73394
73395 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73396 before casting to void *.
73397 * include/libc-internal.h (__pointer_type): New macro.
73398 (__integer_if_pointer_type_sub): Likewise.
73399 (__integer_if_pointer_type): Likewise.
73400 (cast_to_integer): Likewise.
73401 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73402 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73403 before casting to atomic64_t.
73404 (atomic_exchange_acq): Likewise.
73405 (__arch_exchange_and_add_body): Likewise.
73406 (__arch_add_body): Likewise.
73407 (atomic_add_negative): Likewise.
73408 (atomic_add_zero): Likewise.
73409
73410 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73411
73412 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73413 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73414 (add_fdes): Likewise.
73415 (linear_search_fdes): Likewise.
73416 (binary_search_unencoded_fdes): Likewise.
73417
73418 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73419
73420 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73421
73422 2012-11-24 Adam Conrad <adconrad@0c3.net>
73423
73424 * configure.in: Autodetect C++ header directories.
73425 * configure: Regenerated.
73426
73427 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73428
73429 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73430
73431 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73432
73433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73434
73435 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73436
73437 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73438 LDBL_MANT_DIG == 106]: Disable some tests.
73439 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73440 Likewise.
73441 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73442 Likewise.
73443
73444 [BZ #14871]
73445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73446 input for small inputs. Return +/- pi/2 for large inputs.
73447 * math/libm-test.inc (atan_test): Add more tests.
73448
73449 * sysdeps/generic/unwind-dw2-fde-glibc.c
73450 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73451 __attribute__ ((unused)).
73452
73453 [BZ #14645]
73454 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73455 x * y if x and y are nonzero and z is zero.
73456
73457 [BZ #14811]
73458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73459 nonzero exponents with absolute value below 0x1p-117 to +/-
73460 0x1p-117.
73461
73462 [BZ #14869]
73463 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73464 up arguments below 2**-450, not just those below 2**-500.
73465 * math/libm-test.inc (hypot_test): Add another test.
73466
73467 [BZ #14868]
73468 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73469 Return a+b for ratio over 2**120, not 2**60.
73470 * math/libm-test.inc (hypot_test): Add another test.
73471
73472 * math/libm-test.inc (clog_test): Use
73473 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73474 (clog10_test): Likewise.
73475
73476 [BZ #6778]
73477 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73478
73479 2012-11-22 Andreas Schwab <schwab@suse.de>
73480
73481 * sysdeps/i386/fpu/libm-test-ulps: Update.
73482
73483 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73484
73485 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73486 printf output with newline.
73487
73488 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73489
73490 [BZ #14865]
73491 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73492 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73493 -z nodlopen, -z initfirst and -z execstack support.
73494 * configure: Regenerated.
73495
73496 * elf/elf.h (DF_1_NODIRECT): New macro.
73497 (DF_1_IGNMULDEF): Likewise.
73498 (DF_1_NOKSYMS): Likewise.
73499 (DF_1_NOHDR): Likewise.
73500 (DF_1_EDITED): Likewise.
73501 (DF_1_NORELOC): Likewise.
73502 (DF_1_SYMINTPOSE): Likewise.
73503 (DF_1_GLOBAUDIT): Likewise.
73504 (DF_1_SINGLETON): Likewise.
73505 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73506 DT_1_SUPPORTED_MASK bits.
73507 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73508
73509 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73510
73511 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73512
73513 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73514
73515 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73516 macro.
73517
73518 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73519 (sendmmsg): Move declarations...
73520 * socket/sys/socket.h: ... here.
73521 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73522 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73523 include it from...
73524 * socket/recvmmsg.c: ... this new file.
73525 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73526 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73527 definition of __sendmmsg hidden.
73528 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73529 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73530 Move ENOSYS stub into and include it from...
73531 * socket/sendmmsg.c: ... this new file.
73532 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73533 (sysdep_routines): Move recvmmsg and sendmmsg...
73534 * socket/Makefile (routines): ... here.
73535 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73536 (GLIBC_PRIVATE): Add __sendmmsg.
73537 * include/sys/socket.h (__sendmmsg): Add declarations.
73538 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73539 sendmmsg.
73540
73541 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73542
73543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73544 variable I1 with __attribute__ ((unused)).
73545 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73546
73547 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73548
73549 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73550 DUMMY variables with __attribute__ ((unused)).
73551
73552 * bits/byteswap.h: Include <bits/types.h>.
73553 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73554
73555 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73556
73557 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73558 string_t. Do not manually set errno.
73559 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73560 length with __strnlen. Make sure to both set errno and return it on
73561 failure.
73562
73563 2012-11-19 David S. Miller <davem@davemloft.net>
73564
73565 With help from Joseph Myers.
73566 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73567 very large arguments properly.
73568 * math/libm-test.inc (atan_test): New tests.
73569 (atan2_test): New tests.
73570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73572
73573 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73574
73575 [BZ #14856]
73576 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73577 Define to 3.
73578
73579 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73580 [POSIX] (EADDRNOTAVAIL): Likewise.
73581 [POSIX] (EAFNOSUPPORT): Likewise.
73582 [POSIX] (EALREADY): Likewise.
73583 [POSIX] (ECONNABORTED): Likewise.
73584 [POSIX] (ECONNREFUSED): Likewise.
73585 [POSIX] (ECONNRESET): Likewise.
73586 [POSIX] (EDESTADDRREQ): Likewise.
73587 [POSIX] (EDQUOT): Likewise.
73588 [POSIX] (EHOSTUNREACH): Likewise.
73589 [POSIX] (EIDRM): Likewise.
73590 [POSIX] (EISCONN): Likewise.
73591 [POSIX] (ELOOP): Likewise.
73592 [POSIX] (EMULTIHOP): Likewise.
73593 [POSIX] (ENETDOWN): Likewise.
73594 [POSIX] (ENETUNREACH): Likewise.
73595 [POSIX] (ENOBUFS): Likewise.
73596 [POSIX] (ENODATA): Likewise.
73597 [POSIX] (ENOLINK): Likewise.
73598 [POSIX] (ENOMSG): Likewise.
73599 [POSIX] (ENOPROTOOPT): Likewise.
73600 [POSIX] (ENOSR): Likewise.
73601 [POSIX] (ENOSTR): Likewise.
73602 [POSIX] (ENOTCONN): Likewise.
73603 [POSIX] (ENOTSOCK): Likewise.
73604 [POSIX] (EOPNOTSUPP): Likewise.
73605 [POSIX] (EOVERFLOW): Likewise.
73606 [POSIX] (EPROTO): Likewise.
73607 [POSIX] (EPROTONOSUPPORT): Likewise.
73608 [POSIX] (EPROTOTYPE): Likewise.
73609 [POSIX] (ESTALE): Likewise.
73610 [POSIX] (ETIME): Likewise.
73611 [POSIX] (ETXTBSY): Likewise.
73612 [POSIX] (EWOULDBLOCK): Likewise.
73613 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73614 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73615 [POSIX] (SEEK_CUR): Likewise.
73616 [POSIX] (SEEK_END): Likewise.
73617 [POSIX || UNIX98] (mode_t): Do not require.
73618 [POSIX] (off_t): Likewise.
73619 [POSIX] (pid_t): Likewise.
73620 [POSIX] (sys/stat.h): Do not allow header.
73621 [POSIX] (unistd.h): Likewise.
73622 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73623 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73624 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73625 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73626 require.
73627 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73628 sigevent): Specify elements.
73629 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73630 entry.
73631 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73632 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73633
73634 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73635 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73636 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73637 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73638 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73639 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73640 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73641 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73642 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73643 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73644 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73645 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73646 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73648 Likewise.
73649 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73650 Likewise.
73651 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73652 Likewise.
73653 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73654 Likewise.
73655 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73656 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73657 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73658 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73659 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73660 Specify lower bound on value.
73661 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73662 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73663 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73664 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73665 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73666 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73667 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73668 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73669 value.
73670 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73671 as optional.
73672 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73673 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73674 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73675 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73676 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73677 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73678 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73679 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73680 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73681 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73682 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73683 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73684 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73685 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73686 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73687 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73688 entry.
73689 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73690 optional.
73691 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73692 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73693 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73694 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73695 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73696 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73697 Likewise.
73698 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73699 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73700 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73701 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73702 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73703 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73704 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73705 as optional.
73706 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73707 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73708 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73709 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73710 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73711 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73712 specify as optional.
73713 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73714 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73715 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73716 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73717 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73718 [XPG3] (NL_LANGMAX): Likewise.
73719 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73720 [POSIX || XPG3] (NL_NMAX): Likewise.
73721 [POSIX || XPG3] (NL_SETMAX): Likewise.
73722 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73723 [XPG3] (NZERO): Likewise.
73724 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73725 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73726 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73727 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73728 (REG_ERANGE): Expect.
73729 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73730 optional-constant.
73731 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73732 Use (void) in prototype.
73733 [POSIX] (*_t): Allow.
73734 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73735 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73736 (WRDE_BADVAL): Expect.
73737
73738 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73739 expect.
73740 [XPG3 || XPG4] (O_RSYNC): Likewise.
73741 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73742 Likewise.
73743 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73744 [XPG3 || XPG4] (sigqueue): Likewise.
73745 [XPG3 || XPG4] (sigtimedwait): Likewise.
73746 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73747 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73748 [XPG3 || XPG4] (vsnprintf): Likewise.
73749 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73750 Likewise.
73751 [XPG3 || XPG4] (blksize_t): Likewise.
73752 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73753 Likewise.
73754 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73755 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73756 [XPG3 || XPG4] (struct itimerspec): Likewise.
73757 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73758 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73759 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73760 [XPG3 || XPG4] (clockid_t): Likewise.
73761 [XPG3 || XPG4] (timer_t): Likewise.
73762 [XPG3 || XPG4] (clock_getres): Likewise.
73763 [XPG3 || XPG4] (clock_gettime): Likewise.
73764 [XPG3 || XPG4] (clock_settime): Likewise.
73765 [XPG3 || XPG4] (nanosleep): Likewise.
73766 [XPG3 || XPG4] (timer_create): Likewise.
73767 [XPG3 || XPG4] (timer_delete): Likewise.
73768 [XPG3 || XPG4] (timer_gettime): Likewise.
73769 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73770 [XPG3 || XPG4] (timer_settime): Likewise.
73771 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73772 [XPG3 || XPG4] (getlogin_r): Likewise.
73773 [XPG3 || XPG4] (pread): Likewise.
73774 [XPG3 || XPG4] (pthread_atfork): Likewise.
73775 [XPG3 || XPG4] (pwrite): Likewise.
73776
73777 [BZ #14835]
73778 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73779 <bits/siginfo.h>.
73780
73781 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73782
73783 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73784 finalizing MALLSTREAM.
73785
73786 * sysdeps/mach/hurd/syncfs.c: New file.
73787
73788 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73789
73790 [BZ #14719]
73791 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73792 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73793 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73794 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73795 (_nss_dns_gethostbyname4_r): Likewise.
73796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73797 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73798
73799 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73800
73801 [BZ #13763]
73802 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73803
73804 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73805
73806 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73807 * elf/cache.c (print_entry): Print ",AArch64" for
73808 FLAG_AARCH64_LIB64
73809
73810 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73811 * elf/cache.c (print_entry): Print ",hard-float" for
73812 FLAG_ARM_LIBHF.
73813
73814 2012-11-18 David S. Miller <davem@davemloft.net>
73815
73816 With help from Joseph Myers.
73817 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73818 cutoff to 2**-13.
73819 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73820 cutoff to 2**-25.
73821 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73822 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73823 small.
73824 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73825 * math/libm-test.inc (y0_test): New tests.
73826 (y1_test): New tests.
73827 * sysdeps/i386/fpu/libm-test-ulps: Update.
73828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73830
73831 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
73832
73833 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73834 64-bit targets.
73835 * configure: Regenerated.
73836
73837 2012-11-17 David S. Miller <davem@davemloft.net>
73838
73839 [BZ #14811]
73840 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73841 nonzero exponents with absolute value below 0x1p-128 to +/-
73842 0x1p-128.
73843
73844 2012-11-17 Joseph Myers <joseph@codesourcery.com>
73845
73846 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73847
73848 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73849
73850 * posix/getconf-speclist.c: New file.
73851 * posix/posix-envs.def: Likewise.
73852 * posix/confstr.c (START_ENV_GROUP): New macro.
73853 (END_ENV_GROUP): Likewise.
73854 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73855 (KNOWN_PRESENT_ENV_STRING): Likewise.
73856 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73857 (UNKNOWN_ENVIRONMENT): Likewise.
73858 (confstr): Include posix-envs.def instead of handling
73859 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73860 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73861 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73862 (END_ENV_GROUP): Likewise.
73863 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73864 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73865 (UNKNOWN_ENVIRONMENT): Likewise.
73866 (__sysconf): Include posix-envs.def instead of handling associated
73867 cases directly here.
73868 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73869 preprocessing getconf-speclist.c rather than running getconf or
73870 generating empty file.
73871
73872 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
73873
73874 * scripts/check-local-headers.sh: Ignore 'mach' headers.
73875
73876 2012-11-16 Andrej Lajovic <natrij@gmail.com>
73877
73878 [BZ #14672]
73879 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73880
73881 2012-11-16 David S. Miller <davem@davemloft.net>
73882
73883 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73884 smaller than LDBL_EPSILON/2.0L, just return xm1.
73885
73886 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
73887
73888 * elf/tst-array1.c (init): Set constructor priority to 1000.
73889 (fini): Set destructor priority to 1000.
73890 * elf/tst-array2dep.c: Likewise.
73891
73892 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73893
73894 [BZ #11741]
73895 * libio/fileops.c (_IO_new_file_write): Correctly return error.
73896 (_IO_new_file_xsputn): Also return EOF if none of the input
73897 data was written when overflow failed.
73898 * libio/iopadn.c (_IO_padn): Likewise.
73899 * libio/iowpadn.c (_IO_wpadn): Likewise.
73900 * stdio-common/tst-put-error.c: Add copyright notice.
73901 (do_test): Add case for printing padded string.
73902 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73903 _IO_padn returned error.
73904 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73905 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73906 return EOF.
73907
73908 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73909
73910 * libio/libioP.h: Add comment note that the references to C++
73911 bits are now obsolete.
73912
73913 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73914
73915 * math/libm-test.inc (check_complex): Use asprintf.
73916
73917 2012-11-14 Joseph Myers <joseph@codesourcery.com>
73918
73919 * debug/pcprofiledump.c (print_version): Update copyright year.
73920 * malloc/memusagestat.c (print_version): Likewise.
73921
73922 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
73923
73924 [BZ #14831]
73925 * elf/Makefile (tests): Add tst-audit8.
73926 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73927 ($(objpfx)tst-audit8.out): New target.
73928 (tst-audit8-ENV): New variable.
73929 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73930 audit if l_reloc_result is NULL.
73931 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73932 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73933 * elf/tst-audit8.c: New file.
73934
73935 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73936
73937 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73938 * misc/Makefile (CFLAGS-select.c): Define.
73939 * posix/Makefile (CFLAGS-pause.c): Define.
73940
73941 2012-11-13 David S. Miller <davem@davemloft.net>
73942
73943 * crypt/Makefile: Move test targets after toplevel Rules
73944 inclusion. Grab any necessary sysdep routines when linking.
73945 * crypt/md5.c (md5_process_block): Remove define, we will always
73946 name it __md5_process_block.
73947 (md5_finish_ctx): Update md5_process_block call.
73948 (md5_stream): Likewise.
73949 (md5_process_bytes): Likewise.
73950 (md5_process_block): Rename to __md5_process_block and move to ...
73951 * crypt/md5-block.c: ... here.
73952 * crypt/sha256.c (sha256_process_block): Move to ...
73953 * crypt/sha256-block.c: ... here.
73954 * crypt/sha512.c (sha512_process_block): Move to ...
73955 * crypt/sha512-block.c: ... here.
73956 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73957 path.
73958 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73959 * sysdeps/sparc/sparc64/multiarch/Makefile
73960 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73961 crypt subdir.
73962 (localedef-aux): Add md5 crypto assembler when in locale subdir.
73963 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73964 multiarch changes.
73965 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73966 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73967 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73968 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73969 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73970 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73971 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73972 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73973 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73974 file.
73975 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73976 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73977 file.
73978 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73979
73980 2012-11-13 Joseph Myers <joseph@codesourcery.com>
73981
73982 * timezone/tzselect.ksh: Update from tzcode git revision
73983 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73984 * timezone/zdump.c: Likewise.
73985 * timezone/zic.c: Likewise.
73986 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73987 in TZVERSION setting, not $(PKGVERSION).
73988 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
73989 REPORT_BUGS_TO settings.
73990
73991 [BZ #14838]
73992 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73993 macro.
73994
73995 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73996
73997 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73998 detection to immediately after _FP_ROUND().
73999 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74000 bits are 0.
74001
74002 2012-11-11 David S. Miller <davem@davemloft.net>
74003
74004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74005 inttypes.h
74006 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74007 __close rather than their public counterparts.
74008
74009 2012-11-10 Joseph Myers <joseph@codesourcery.com>
74010
74011 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74012 file.
74013 [UNIX98] (sem_timedwait): Do not expect.
74014 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74015 [XPG4 || UNIX98] (sockatmark): Do not expect.
74016 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74017 (clock_getcpuclockid): Do not expect.
74018 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74019 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74020 Do not expect.
74021 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74022 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74023 [UNIX98] (vwscanf): Likewise.
74024 [UNIX98] (vswscanf): Likewise.
74025
74026 2012-11-09 Joseph Myers <joseph@codesourcery.com>
74027
74028 * timezone/version.h: Remove file.
74029 * timezone/README: Do not refer to version.h.
74030 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74031 $(objpfx)version.h.
74032 ($(objpfx)zdump.o): Likewise.
74033 ($(objpfx)version.h): New target.
74034
74035 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74036 2012i.
74037 * timezone/README: Don't mention modification to tzselect.ksh.
74038 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74039 work on unmodified tzselect.ksh. Substitute version numbers in
74040 tzselect.ksh.
74041
74042 * Makefile (format-me): Remove.
74043 (INSTALL): Adjust indentation. Use commands directly instead of
74044 using $(format-me).
74045
74046 * aclocal.m4 (ACX_PKGVERSION): New macro.
74047 (ACX_BUGURL): Likewise.
74048 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74049 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74050 (REPORT_BUGS_TO): Likewise.
74051 * configure: Regenerated.
74052 * config.h.in (PKGVERSION): New macro.
74053 (REPORT_BUGS_TO): Likewise.
74054 * config.make.in (PKGVERSION): New variable.
74055 (PKGVERSION_TEXI): Likewise.
74056 (REPORT_BUGS_TO): Likewise.
74057 (REPORT_BUGS_TEXI): Likewise.
74058 * Makefile (format-me): Use -I$(common-objpfx)manual.
74059 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74060 ($(common-objpfx)manual/%): New target.
74061 (manual/%): Remove target.
74062 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74063 (print_version): Use PKGVERSION.
74064 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74065 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74066 and REPORT_BUGS_TO.
74067 ($(objpfx)xtrace): Likewise.
74068 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74069 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74070 (print_version): Use PKGVERSION.
74071 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74072 (do_version): Use PKGVERSION.
74073 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74074 REPORT_BUGS_TO.
74075 (common-ldd-rewrite): Likewise.
74076 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74077 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74078 (print_version): Use PKGVERSION.
74079 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74080 * elf/pldd.c (argp_program_bug_address): Remove variable.
74081 (more_help): New function.
74082 (argp): Use more_help.
74083 (print_version): Use PKGVERSION.
74084 * elf/sln.c (main): Use PKGVERSION.
74085 (usage): Use REPORT_BUGS_TO.
74086 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74087 (top level): Use PKGVERSION.
74088 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74089 (print_version): Use PKGVERSION.
74090 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74091 (print_version): Use PKGVERSION.
74092 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74093 (print_version): Use PKGVERSION.
74094 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74095 (print_version): Use PKGVERSION.
74096 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74097 (print_version): Use PKGVERSION.
74098 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74099 (print_version): Use PKGVERSION.
74100 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74101 and BUGURL.
74102 ($(objpfx)memusage): Likewise.
74103 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74104 (do_version): Use PKGVERSION.
74105 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74106 (print_version): Use PKGVERSION.
74107 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74108 ($PKGVERSION): New variable.
74109 ($REPORT_BUGS_TO): Likewise.
74110 (usage): Use $REPORT_BUGS_TO.
74111 (top level): Use $PKGVERSION.
74112 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74113 ($(objpfx)pkgvers.texi): New rule.
74114 ($(objpfx)stamp-pkgvers): Likewise.
74115 * manual/install.texi: Include pkgvers.texi.
74116 (--with-pkgversion): Document new configure option.
74117 (--with-bugurl): Likewise.
74118 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74119 than necessarily for this particular distribution. Use
74120 REPORT_BUGS_TO for where to report bugs.
74121 * INSTALL: Regenerated.
74122 * manual/libc.texinfo: Include pkgvers.texi.
74123 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74124 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74125 (print_version): Use PKGVERSION.
74126 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74127 (print_version): Use PKGVERSION.
74128 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74129 (print_version): Use PKGVERSION.
74130 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74131 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74132 macro.
74133 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74134 (print_version): Use PKGVERSION.
74135 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74136 (print_version): Use PKGVERSION.
74137 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74138 and PKGVERSION.
74139
74140 * timezone/checktab.awk: Update from tzcode 2012i.
74141 * timezone/ialloc.c: Likewise.
74142 * timezone/private.h: Likewise.
74143 * timezone/scheck.c: Likewise.
74144 * timezone/tzfile.h: Likewise.
74145 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74146 (TZVERSION): Hardcode tzcode version number.
74147 * timezone/zdump.c: Update from tzcode 2012i.
74148 * timezone/zic.c: Likewise.
74149 * timezone/version.h: New file.
74150 * timezone/README: Describe version.h. Update upstream location.
74151
74152 [BZ #14824]
74153 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74154 (mktemp): Enable declaration.
74155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74159 Likewise.
74160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74161 Likewise.
74162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74163 Likewise.
74164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74165 Likewise.
74166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74167 Likewise.
74168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74169 Likewise.
74170
74171 [BZ #14821]
74172 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74173 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74174 for copies of such integer values.
74175 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74176 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74177
74178 2012-11-09 Andreas Jaeger <aj@suse.de>
74179
74180 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74181 definitions and declarations that are provided by
74182 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74183
74184 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74185
74186 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74187 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74188 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74189 definition.
74190
74191 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74192
74193 * elf/elf.h: Update comment before AArch64 relocations.
74194
74195 2012-11-07 David S. Miller <davem@davemloft.net>
74196
74197 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74198 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74199 (__start_context): Declare.
74200 (__makecontext_ret): Delete.
74201 (__makecontext): Hook up __start_context instead of
74202 __makecontext_ret.
74203 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74204 (sysdep_routines): Add __start_context when in stdlib.
74205
74206 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74207
74208 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74209 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74210 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74211 hardcoded "nm".
74212 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74213 (READELF): New variable. Use it instead of hardcoded "readelf".
74214
74215 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74216
74217 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74218 * sysdeps/x86/Makefile: Here.
74219 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74220 * sysdeps/x86/tst-xmmymm.sh: This.
74221
74222 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74223
74224 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74225 expectations.
74226 [UNIX98] (pthread_barrier_t): Do not expect.
74227 [UNIX98] (pthread_barrierattr_t): Likewise.
74228 [UNIX98] (pthread_spinlock_t): Likewise.
74229 [UNIX98] (pthread_barrier_destroy): Likewise.
74230 [UNIX98] (pthread_barrier_init): Likewise.
74231 [UNIX98] (pthread_barrier_wait): Likewise.
74232 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74233 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74234 [UNIX98] (pthread_barrierattr_init): Likewise.
74235 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74236 [UNIX98] (pthread_getcpuclockid): Likewise.
74237 [UNIX98] (pthread_mutex_timedlock): Likewise.
74238 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74239 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74240 [UNIX98] (pthread_sigmask): Likewise.
74241 [UNIX98] (pthread_spin_destroy): Likewise.
74242 [UNIX98] (pthread_spin_init): Likewise.
74243 [UNIX98] (pthread_spin_lock): Likewise.
74244 [UNIX98] (pthread_spin_trylock): Likewise.
74245 [UNIX98] (pthread_spin_unlock): Likewise.
74246 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74247 Do not expect.
74248 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74249 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74250 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74251 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74252 [XPG3 || XPG4] (pthread_key_t): Likewise.
74253 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74254 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74255 [XPG3 || XPG4] (pthread_once_t): Likewise.
74256 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74257 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74258 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74259 [XPG3 || XPG4] (pthread_t): Likewise.
74260
74261 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74262 not expect.
74263 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74264
74265 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74266 Change function return type to int.
74267
74268 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74269 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74270 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74271 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74272 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74273 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74274 [!POSIX] (posix_madvise): Likewise.
74275 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74276 && !UNIX98].
74277 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74278 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74279 (mode_t): Likewise.
74280 (posix_mem_offset): Likewise.
74281 (posix_typed_mem_get_info): Likewise.
74282 (posix_typed_mem_open): Likewise.
74283
74284 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74285 Change condition to [XOPEN2K8].
74286
74287 * conform/conformtest.pl: Preprocess allow-header data with -x c
74288 instead of from stdin.
74289 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74290 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74291 [C99-based standards] (cerfc): Likewise.
74292 [C99-based standards] (cexp2): Likewise.
74293 [C99-based standards] (cexpm1): Likewise.
74294 [C99-based standards] (clog10): Likewise.
74295 [C99-based standards] (clog1p): Likewise.
74296 [C99-based standards] (clog2): Likewise.
74297 [C99-based standards] (clgamma): Likewise.
74298 [C99-based standards] (ctgamma): Likewise.
74299 [C99-based standards] (cerff): Likewise.
74300 [C99-based standards] (cerfcf): Likewise.
74301 [C99-based standards] (cexp2f): Likewise.
74302 [C99-based standards] (cexpm1f): Likewise.
74303 [C99-based standards] (clog10f): Likewise.
74304 [C99-based standards] (clog1pf): Likewise.
74305 [C99-based standards] (clog2f): Likewise.
74306 [C99-based standards] (clgammaf): Likewise.
74307 [C99-based standards] (ctgammaf): Likewise.
74308 [C99-based standards] (cerfl): Likewise.
74309 [C99-based standards] (cerfcl): Likewise.
74310 [C99-based standards] (cexp2l): Likewise.
74311 [C99-based standards] (cexpm1l): Likewise.
74312 [C99-based standards] (clog10l): Likewise.
74313 [C99-based standards] (clog1pl): Likewise.
74314 [C99-based standards] (clog2l): Likewise.
74315 [C99-based standards] (clgammal): Likewise.
74316 [C99-based standards] (ctgammal): Likewise.
74317 * conform/data/inttypes.h-data [C99-based standards]: Include
74318 stdint.h-data. Remove all expectations for stdint.h contents.
74319 [C99-based standards] (PRI*): Do not allow.
74320 [C99-based standards] (SCN*): Likewise.
74321 [C99-based standards] (*_t): Likewise.
74322 [C99-based-standards] (PRId8): Expect macro.
74323 [C99-based-standards] (PRIi8): Likewise.
74324 [C99-based-standards] (PRIo8): Likewise.
74325 [C99-based-standards] (PRIu8): Likewise.
74326 [C99-based-standards] (PRIx8): Likewise.
74327 [C99-based-standards] (PRIX8): Likewise.
74328 [C99-based-standards] (SCNd8): Likewise.
74329 [C99-based-standards] (SCNi8): Likewise.
74330 [C99-based-standards] (SCNo8): Likewise.
74331 [C99-based-standards] (SCNu8): Likewise.
74332 [C99-based-standards] (SCNx8): Likewise.
74333 [C99-based-standards] (PRIdLEAST8): Likewise.
74334 [C99-based-standards] (PRIiLEAST8): Likewise.
74335 [C99-based-standards] (PRIoLEAST8): Likewise.
74336 [C99-based-standards] (PRIuLEAST8): Likewise.
74337 [C99-based-standards] (PRIxLEAST8): Likewise.
74338 [C99-based-standards] (PRIXLEAST8): Likewise.
74339 [C99-based-standards] (SCNdLEAST8): Likewise.
74340 [C99-based-standards] (SCNiLEAST8): Likewise.
74341 [C99-based-standards] (SCNoLEAST8): Likewise.
74342 [C99-based-standards] (SCNuLEAST8): Likewise.
74343 [C99-based-standards] (SCNxLEAST8): Likewise.
74344 [C99-based-standards] (PRIdFAST8): Likewise.
74345 [C99-based-standards] (PRIiFAST8): Likewise.
74346 [C99-based-standards] (PRIoFAST8): Likewise.
74347 [C99-based-standards] (PRIuFAST8): Likewise.
74348 [C99-based-standards] (PRIxFAST8): Likewise.
74349 [C99-based-standards] (PRIXFAST8): Likewise.
74350 [C99-based-standards] (SCNdFAST8): Likewise.
74351 [C99-based-standards] (SCNiFAST8): Likewise.
74352 [C99-based-standards] (SCNoFAST8): Likewise.
74353 [C99-based-standards] (SCNuFAST8): Likewise.
74354 [C99-based-standards] (SCNxFAST8): Likewise.
74355 [C99-based-standards] (PRId16): Likewise.
74356 [C99-based-standards] (PRIi16): Likewise.
74357 [C99-based-standards] (PRIo16): Likewise.
74358 [C99-based-standards] (PRIu16): Likewise.
74359 [C99-based-standards] (PRIx16): Likewise.
74360 [C99-based-standards] (PRIX16): Likewise.
74361 [C99-based-standards] (SCNd16): Likewise.
74362 [C99-based-standards] (SCNi16): Likewise.
74363 [C99-based-standards] (SCNo16): Likewise.
74364 [C99-based-standards] (SCNu16): Likewise.
74365 [C99-based-standards] (SCNx16): Likewise.
74366 [C99-based-standards] (PRIdLEAST16): Likewise.
74367 [C99-based-standards] (PRIiLEAST16): Likewise.
74368 [C99-based-standards] (PRIoLEAST16): Likewise.
74369 [C99-based-standards] (PRIuLEAST16): Likewise.
74370 [C99-based-standards] (PRIxLEAST16): Likewise.
74371 [C99-based-standards] (PRIXLEAST16): Likewise.
74372 [C99-based-standards] (SCNdLEAST16): Likewise.
74373 [C99-based-standards] (SCNiLEAST16): Likewise.
74374 [C99-based-standards] (SCNoLEAST16): Likewise.
74375 [C99-based-standards] (SCNuLEAST16): Likewise.
74376 [C99-based-standards] (SCNxLEAST16): Likewise.
74377 [C99-based-standards] (PRIdFAST16): Likewise.
74378 [C99-based-standards] (PRIiFAST16): Likewise.
74379 [C99-based-standards] (PRIoFAST16): Likewise.
74380 [C99-based-standards] (PRIuFAST16): Likewise.
74381 [C99-based-standards] (PRIxFAST16): Likewise.
74382 [C99-based-standards] (PRIXFAST16): Likewise.
74383 [C99-based-standards] (SCNdFAST16): Likewise.
74384 [C99-based-standards] (SCNiFAST16): Likewise.
74385 [C99-based-standards] (SCNoFAST16): Likewise.
74386 [C99-based-standards] (SCNuFAST16): Likewise.
74387 [C99-based-standards] (SCNxFAST16): Likewise.
74388 [C99-based-standards] (PRId32): Likewise.
74389 [C99-based-standards] (PRIi32): Likewise.
74390 [C99-based-standards] (PRIo32): Likewise.
74391 [C99-based-standards] (PRIu32): Likewise.
74392 [C99-based-standards] (PRIx32): Likewise.
74393 [C99-based-standards] (PRIX32): Likewise.
74394 [C99-based-standards] (SCNd32): Likewise.
74395 [C99-based-standards] (SCNi32): Likewise.
74396 [C99-based-standards] (SCNo32): Likewise.
74397 [C99-based-standards] (SCNu32): Likewise.
74398 [C99-based-standards] (SCNx32): Likewise.
74399 [C99-based-standards] (PRIdLEAST32): Likewise.
74400 [C99-based-standards] (PRIiLEAST32): Likewise.
74401 [C99-based-standards] (PRIoLEAST32): Likewise.
74402 [C99-based-standards] (PRIuLEAST32): Likewise.
74403 [C99-based-standards] (PRIxLEAST32): Likewise.
74404 [C99-based-standards] (PRIXLEAST32): Likewise.
74405 [C99-based-standards] (SCNdLEAST32): Likewise.
74406 [C99-based-standards] (SCNiLEAST32): Likewise.
74407 [C99-based-standards] (SCNoLEAST32): Likewise.
74408 [C99-based-standards] (SCNuLEAST32): Likewise.
74409 [C99-based-standards] (SCNxLEAST32): Likewise.
74410 [C99-based-standards] (PRIdFAST32): Likewise.
74411 [C99-based-standards] (PRIiFAST32): Likewise.
74412 [C99-based-standards] (PRIoFAST32): Likewise.
74413 [C99-based-standards] (PRIuFAST32): Likewise.
74414 [C99-based-standards] (PRIxFAST32): Likewise.
74415 [C99-based-standards] (PRIXFAST32): Likewise.
74416 [C99-based-standards] (SCNdFAST32): Likewise.
74417 [C99-based-standards] (SCNiFAST32): Likewise.
74418 [C99-based-standards] (SCNoFAST32): Likewise.
74419 [C99-based-standards] (SCNuFAST32): Likewise.
74420 [C99-based-standards] (SCNxFAST32): Likewise.
74421 [C99-based-standards] (PRId64): Likewise.
74422 [C99-based-standards] (PRIi64): Likewise.
74423 [C99-based-standards] (PRIo64): Likewise.
74424 [C99-based-standards] (PRIu64): Likewise.
74425 [C99-based-standards] (PRIx64): Likewise.
74426 [C99-based-standards] (PRIX64): Likewise.
74427 [C99-based-standards] (SCNd64): Likewise.
74428 [C99-based-standards] (SCNi64): Likewise.
74429 [C99-based-standards] (SCNo64): Likewise.
74430 [C99-based-standards] (SCNu64): Likewise.
74431 [C99-based-standards] (SCNx64): Likewise.
74432 [C99-based-standards] (PRIdLEAST64): Likewise.
74433 [C99-based-standards] (PRIiLEAST64): Likewise.
74434 [C99-based-standards] (PRIoLEAST64): Likewise.
74435 [C99-based-standards] (PRIuLEAST64): Likewise.
74436 [C99-based-standards] (PRIxLEAST64): Likewise.
74437 [C99-based-standards] (PRIXLEAST64): Likewise.
74438 [C99-based-standards] (SCNdLEAST64): Likewise.
74439 [C99-based-standards] (SCNiLEAST64): Likewise.
74440 [C99-based-standards] (SCNoLEAST64): Likewise.
74441 [C99-based-standards] (SCNuLEAST64): Likewise.
74442 [C99-based-standards] (SCNxLEAST64): Likewise.
74443 [C99-based-standards] (PRIdFAST64): Likewise.
74444 [C99-based-standards] (PRIiFAST64): Likewise.
74445 [C99-based-standards] (PRIoFAST64): Likewise.
74446 [C99-based-standards] (PRIuFAST64): Likewise.
74447 [C99-based-standards] (PRIxFAST64): Likewise.
74448 [C99-based-standards] (PRIXFAST64): Likewise.
74449 [C99-based-standards] (SCNdFAST64): Likewise.
74450 [C99-based-standards] (SCNiFAST64): Likewise.
74451 [C99-based-standards] (SCNoFAST64): Likewise.
74452 [C99-based-standards] (SCNuFAST64): Likewise.
74453 [C99-based-standards] (SCNxFAST64): Likewise.
74454 [C99-based-standards] (PRIdMAX): Likewise.
74455 [C99-based-standards] (PRIiMAX): Likewise.
74456 [C99-based-standards] (PRIoMAX): Likewise.
74457 [C99-based-standards] (PRIuMAX): Likewise.
74458 [C99-based-standards] (PRIxMAX): Likewise.
74459 [C99-based-standards] (PRIXMAX): Likewise.
74460 [C99-based-standards] (SCNdMAX): Likewise.
74461 [C99-based-standards] (SCNiMAX): Likewise.
74462 [C99-based-standards] (SCNoMAX): Likewise.
74463 [C99-based-standards] (SCNuMAX): Likewise.
74464 [C99-based-standards] (SCNxMAX): Likewise.
74465 [C99-based-standards] (PRIdPTR): Likewise.
74466 [C99-based-standards] (PRIiPTR): Likewise.
74467 [C99-based-standards] (PRIoPTR): Likewise.
74468 [C99-based-standards] (PRIuPTR): Likewise.
74469 [C99-based-standards] (PRIxPTR): Likewise.
74470 [C99-based-standards] (PRIXPTR): Likewise.
74471 [C99-based-standards] (SCNdPTR): Likewise.
74472 [C99-based-standards] (SCNiPTR): Likewise.
74473 [C99-based-standards] (SCNoPTR): Likewise.
74474 [C99-based-standards] (SCNuPTR): Likewise.
74475 [C99-based-standards] (SCNxPTR): Likewise.
74476 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74477 allow.
74478 * conform/data/stdint.h-data: Update comments to clarify
74479 requirements.
74480 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74481 type.
74482 [C99-based standards] (INT8_MAX): Likewise.
74483 [C99-based standards] (INT16_MIN): Likewise.
74484 [C99-based standards] (INT16_MAX): Likewise.
74485 [C99-based standards] (INT32_MIN): Likewise.
74486 [C99-based standards] (INT32_MAX): Likewise.
74487 [C99-based standards] (INT64_MIN): Likewise.
74488 [C99-based standards] (INT64_MAX): Likewise.
74489 [C99-based standards] (UINT8_MAX): Likewise.
74490 [C99-based standards] (UINT16_MAX): Likewise.
74491 [C99-based standards] (UINT32_MAX): Likewise.
74492 [C99-based standards] (UINT64_MAX): Likewise.
74493 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74494 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74495 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74496 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74497 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74498 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74499 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74500 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74501 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74502 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74503 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74504 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74505 [C99-based standards] (INT_FAST8_MIN): Likewise.
74506 [C99-based standards] (INT_FAST8_MAX): Likewise.
74507 [C99-based standards] (INT_FAST16_MIN): Likewise.
74508 [C99-based standards] (INT_FAST16_MAX): Likewise.
74509 [C99-based standards] (INT_FAST32_MIN): Likewise.
74510 [C99-based standards] (INT_FAST32_MAX): Likewise.
74511 [C99-based standards] (INT_FAST64_MIN): Likewise.
74512 [C99-based standards] (INT_FAST64_MAX): Likewise.
74513 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74514 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74515 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74516 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74517 [C99-based standards] (INTPTR_MIN): Likewise.
74518 [C99-based standards] (INTPTR_MAX): Likewise.
74519 [C99-based standards] (UINTPTR_MAX): Likewise.
74520 [C99-based standards] (INTMAX_MIN): Likewise.
74521 [C99-based standards] (INTMAX_MAX): Likewise.
74522 [C99-based standards] (UINTMAX_MAX): Likewise.
74523 [C99-based standards] (PTRDIFF_MIN): Likewise.
74524 [C99-based standards] (PTRDIFF_MAX): Likewise.
74525 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74526 [C99-based standards] (SIZE_MAX): Likewise.
74527 [C99-based standards] (WCHAR_MAX): Likewise.
74528 [C99-based standards] (WINT_MAX): Likewise.
74529 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74530 constraint on value.
74531 [C99-based standards] (WCHAR_MIN): Likewise.
74532 [C99-based standards] (WINT_MIN): Likewise.
74533 [C99-based standards] (*_t): Allow.
74534 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74535 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74536 Include math.h-data and complex.h-data. Remove all expectations
74537 of math.h and complex.h contents.
74538 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74539 at end of line.
74540 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74541 (struct tm): Expect tag.
74542 [C99-based-standards] (wcstof): Expect function.
74543 [C99-based-standards] (wcstold): Likewise.
74544 [C99-based-standards] (wcstoll): Likewise.
74545 [C99-based-standards] (wcstoull): Likewise.
74546 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74547 macro-int-constant. Specify type.
74548 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74549 constraint on value.
74550 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74551 Specify type.
74552 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74553 Specify value.
74554 [ISO C standards]: Do not allow headers.
74555 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74556 wcs[abcdefghijklmnopqrstuvwxyz]*.
74557 [ISO C standards] (*_t): Do not allow.
74558 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74559 Expect function.
74560 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74561 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74562 Specify type.
74563 [ISO C standards]: Do not allow headers.
74564 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74565 is[abcdefghijklmnopqrstuvwxyz]*.
74566 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74567 to[abcdefghijklmnopqrstuvwxyz]*.
74568 [ISO C standards] (*_t): Do not allow.
74569 * conform/data/stdalign.h-data: New file.
74570 * conform/data/stdbool.h-data: Likewise.
74571 * conform/data/stdnoreturn.h-data: Likewise.
74572
74573 2012-11-07 Roland McGrath <roland@hack.frob.com>
74574
74575 [BZ #14815]
74576 * manual/filesys.texi (Directory Entries): Typo fix.
74577 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74578
74579 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74580
74581 * elf/elf.h (EM_AARCH64): New macro.
74582 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74583 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74584 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74585 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74586 (R_AARCH64_TLSDESC): Likewise.
74587 (NT_ARM_TLS): Likewise.
74588 (NT_ARM_HW_BREAK): Likewise.
74589 (NT_ARM_HW_WATCH): Likewise.
74590
74591 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74592
74593 [BZ #14811]
74594 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74595 (__ieee754_powl): Saturate nonzero exponents with absolute value
74596 below 0x1p-79 to +/- 0x1p-79.
74597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74598 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74599 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74600 nonzero exponents with absolute value below 0x1p-32 to +/-
74601 0x1p-32.
74602 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74603 (__ieee754_powl): Saturate nonzero exponents with absolute value
74604 below 0x1p-79 to +/- 0x1p-79.
74605 * math/libm-test.inc (pow_test): Add more tests.
74606
74607 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74608
74609 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74610 _dl_s390_cap_flags with kernel. Increase string length.
74611 (_dl_s390_platforms): Add z196 and zEC12.
74612
74613 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74614
74615 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74616 Change XOPEN21K to XOPEN2K.
74617
74618 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74619
74620 * string/memmove.c: Use memcpy when possible.
74621
74622 2012-11-06 Andreas Jaeger <aj@suse.de>
74623
74624 * po/eo.po: Update from translation team.
74625
74626 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74627
74628 [BZ #14793]
74629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74630 exponent and small x and y exponents, scale x or y up. Increase
74631 by 2 the exponent used in scaling up.
74632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74634 * math/libm-test.inc (fma_test): Add more tests.
74635 (fma_test_towardzero): Likewise.
74636 (fma_test_downward): Likewise.
74637 (fma_test_upward): Likewise.
74638
74639 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74640
74641 [BZ #14805]
74642 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74643 fenv_t *.
74644
74645 [BZ #14801]
74646 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74647 namespace for names of struct fields.
74648 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74649 fenv_t fields.
74650 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74651 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74652
74653 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74654
74655 [BZ #3665]
74656 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74657
74658 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74659
74660 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74661 PTR_DEMANGLE.
74662
74663 [BZ #5246]
74664 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74665 PTR_DEMANGLE.
74666
74667 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74668
74669 [BZ #14797]
74670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74671 definitely overflow as x * y not x * y + z.
74672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74673 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74674 * math/libm-test.inc (fma_test): Add more tests.
74675 (fma_test_towardzero): Likewise.
74676 (fma_test_downward): Likewise.
74677 (fma_test_upward): Likewise.
74678
74679 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74680
74681 [BZ #157]
74682
74683 * include/stub-tag.h: Remove file.
74684 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74685 '#include' of it.
74686 * manual/maint.texi (Porting): Don't reference it.
74687 * Makerules ($(objpfx)stubs): Likewise.
74688 * dirent/closedir.c: Don't include <stub-tag.h>.
74689 * dirent/dirfd.c: Likewise.
74690 * dirent/fdopendir.c: Likewise.
74691 * dirent/getdents.c: Likewise.
74692 * dirent/getdents64.c: Likewise.
74693 * dirent/opendir.c: Likewise.
74694 * dirent/readdir.c: Likewise.
74695 * dirent/readdir64.c: Likewise.
74696 * dirent/readdir64_r.c: Likewise.
74697 * dirent/readdir_r.c: Likewise.
74698 * dirent/rewinddir.c: Likewise.
74699 * dirent/seekdir.c: Likewise.
74700 * dirent/telldir.c: Likewise.
74701 * gmon/profil.c: Likewise.
74702 * grp/setgroups.c: Likewise.
74703 * inet/if_index.c: Likewise.
74704 * io/access.c: Likewise.
74705 * io/chdir.c: Likewise.
74706 * io/chmod.c: Likewise.
74707 * io/chown.c: Likewise.
74708 * io/close.c: Likewise.
74709 * io/dup.c: Likewise.
74710 * io/dup2.c: Likewise.
74711 * io/dup3.c: Likewise.
74712 * io/euidaccess.c: Likewise.
74713 * io/faccessat.c: Likewise.
74714 * io/fchdir.c: Likewise.
74715 * io/fchmod.c: Likewise.
74716 * io/fchmodat.c: Likewise.
74717 * io/fchown.c: Likewise.
74718 * io/fchownat.c: Likewise.
74719 * io/fcntl.c: Likewise.
74720 * io/flock.c: Likewise.
74721 * io/fstatfs.c: Likewise.
74722 * io/fstatfs64.c: Likewise.
74723 * io/fstatvfs.c: Likewise.
74724 * io/fstatvfs64.c: Likewise.
74725 * io/futimens.c: Likewise.
74726 * io/fxstat.c: Likewise.
74727 * io/fxstat64.c: Likewise.
74728 * io/fxstatat.c: Likewise.
74729 * io/fxstatat64.c: Likewise.
74730 * io/getcwd.c: Likewise.
74731 * io/isatty.c: Likewise.
74732 * io/lchmod.c: Likewise.
74733 * io/lchown.c: Likewise.
74734 * io/link.c: Likewise.
74735 * io/linkat.c: Likewise.
74736 * io/lseek.c: Likewise.
74737 * io/lseek64.c: Likewise.
74738 * io/lxstat64.c: Likewise.
74739 * io/mkdir.c: Likewise.
74740 * io/mkdirat.c: Likewise.
74741 * io/mkfifo.c: Likewise.
74742 * io/mkfifoat.c: Likewise.
74743 * io/open.c: Likewise.
74744 * io/open64.c: Likewise.
74745 * io/openat.c: Likewise.
74746 * io/openat64.c: Likewise.
74747 * io/pipe.c: Likewise.
74748 * io/pipe2.c: Likewise.
74749 * io/poll.c: Likewise.
74750 * io/posix_fadvise.c: Likewise.
74751 * io/posix_fadvise64.c: Likewise.
74752 * io/posix_fallocate.c: Likewise.
74753 * io/posix_fallocate64.c: Likewise.
74754 * io/read.c: Likewise.
74755 * io/readlink.c: Likewise.
74756 * io/readlinkat.c: Likewise.
74757 * io/rmdir.c: Likewise.
74758 * io/sendfile.c: Likewise.
74759 * io/sendfile64.c: Likewise.
74760 * io/statfs.c: Likewise.
74761 * io/statfs64.c: Likewise.
74762 * io/statvfs.c: Likewise.
74763 * io/statvfs64.c: Likewise.
74764 * io/symlink.c: Likewise.
74765 * io/symlinkat.c: Likewise.
74766 * io/ttyname.c: Likewise.
74767 * io/ttyname_r.c: Likewise.
74768 * io/umask.c: Likewise.
74769 * io/unlink.c: Likewise.
74770 * io/unlinkat.c: Likewise.
74771 * io/utime.c: Likewise.
74772 * io/utimensat.c: Likewise.
74773 * io/write.c: Likewise.
74774 * io/xmknod.c: Likewise.
74775 * io/xmknodat.c: Likewise.
74776 * io/xstat.c: Likewise.
74777 * io/xstat64.c: Likewise.
74778 * login/getpt.c: Likewise.
74779 * login/grantpt.c: Likewise.
74780 * login/unlockpt.c: Likewise.
74781 * math/e_acoshl.c: Likewise.
74782 * math/e_acosl.c: Likewise.
74783 * math/e_asinl.c: Likewise.
74784 * math/e_atan2l.c: Likewise.
74785 * math/e_atanhl.c: Likewise.
74786 * math/e_coshl.c: Likewise.
74787 * math/e_expl.c: Likewise.
74788 * math/e_fmodl.c: Likewise.
74789 * math/e_gammal_r.c: Likewise.
74790 * math/e_hypotl.c: Likewise.
74791 * math/e_j0l.c: Likewise.
74792 * math/e_j1l.c: Likewise.
74793 * math/e_jnl.c: Likewise.
74794 * math/e_lgammal_r.c: Likewise.
74795 * math/e_log10l.c: Likewise.
74796 * math/e_log2l.c: Likewise.
74797 * math/e_logl.c: Likewise.
74798 * math/e_powl.c: Likewise.
74799 * math/e_rem_pio2l.c: Likewise.
74800 * math/e_sinhl.c: Likewise.
74801 * math/e_sqrtl.c: Likewise.
74802 * math/fclrexcpt.c: Likewise.
74803 * math/fedisblxcpt.c: Likewise.
74804 * math/feenablxcpt.c: Likewise.
74805 * math/fegetenv.c: Likewise.
74806 * math/fegetexcept.c: Likewise.
74807 * math/fegetround.c: Likewise.
74808 * math/feholdexcpt.c: Likewise.
74809 * math/fesetenv.c: Likewise.
74810 * math/fesetround.c: Likewise.
74811 * math/feupdateenv.c: Likewise.
74812 * math/fgetexcptflg.c: Likewise.
74813 * math/fraiseexcpt.c: Likewise.
74814 * math/fsetexcptflg.c: Likewise.
74815 * math/ftestexcept.c: Likewise.
74816 * math/k_cosl.c: Likewise.
74817 * math/k_rem_pio2l.c: Likewise.
74818 * math/k_sinl.c: Likewise.
74819 * math/k_tanl.c: Likewise.
74820 * math/s_asinhl.c: Likewise.
74821 * math/s_atanl.c: Likewise.
74822 * math/s_cbrtl.c: Likewise.
74823 * math/s_erfl.c: Likewise.
74824 * math/s_expm1l.c: Likewise.
74825 * math/s_log1pl.c: Likewise.
74826 * math/s_tanhl.c: Likewise.
74827 * misc/acct.c: Likewise.
74828 * misc/brk.c: Likewise.
74829 * misc/chflags.c: Likewise.
74830 * misc/chroot.c: Likewise.
74831 * misc/fchflags.c: Likewise.
74832 * misc/fgetxattr.c: Likewise.
74833 * misc/flistxattr.c: Likewise.
74834 * misc/fremovexattr.c: Likewise.
74835 * misc/fsetxattr.c: Likewise.
74836 * misc/fsync.c: Likewise.
74837 * misc/ftruncate.c: Likewise.
74838 * misc/futimes.c: Likewise.
74839 * misc/futimesat.c: Likewise.
74840 * misc/getdomain.c: Likewise.
74841 * misc/getdtsz.c: Likewise.
74842 * misc/gethostid.c: Likewise.
74843 * misc/gethostname.c: Likewise.
74844 * misc/getloadavg.c: Likewise.
74845 * misc/getpagesize.c: Likewise.
74846 * misc/getsysstats.c: Likewise.
74847 * misc/getxattr.c: Likewise.
74848 * misc/gtty.c: Likewise.
74849 * misc/ioctl.c: Likewise.
74850 * misc/lgetxattr.c: Likewise.
74851 * misc/listxattr.c: Likewise.
74852 * misc/llistxattr.c: Likewise.
74853 * misc/lremovexattr.c: Likewise.
74854 * misc/lsetxattr.c: Likewise.
74855 * misc/lutimes.c: Likewise.
74856 * misc/madvise.c: Likewise.
74857 * misc/mincore.c: Likewise.
74858 * misc/mlock.c: Likewise.
74859 * misc/mlockall.c: Likewise.
74860 * misc/mmap.c: Likewise.
74861 * misc/mprotect.c: Likewise.
74862 * misc/msync.c: Likewise.
74863 * misc/munlock.c: Likewise.
74864 * misc/munlockall.c: Likewise.
74865 * misc/munmap.c: Likewise.
74866 * misc/preadv.c: Likewise.
74867 * misc/preadv64.c: Likewise.
74868 * misc/ptrace.c: Likewise.
74869 * misc/pwritev.c: Likewise.
74870 * misc/pwritev64.c: Likewise.
74871 * misc/readv.c: Likewise.
74872 * misc/reboot.c: Likewise.
74873 * misc/remap_file_pages.c: Likewise.
74874 * misc/removexattr.c: Likewise.
74875 * misc/revoke.c: Likewise.
74876 * misc/select.c: Likewise.
74877 * misc/setdomain.c: Likewise.
74878 * misc/setegid.c: Likewise.
74879 * misc/seteuid.c: Likewise.
74880 * misc/sethostid.c: Likewise.
74881 * misc/sethostname.c: Likewise.
74882 * misc/setregid.c: Likewise.
74883 * misc/setreuid.c: Likewise.
74884 * misc/setxattr.c: Likewise.
74885 * misc/sstk.c: Likewise.
74886 * misc/stty.c: Likewise.
74887 * misc/swapoff.c: Likewise.
74888 * misc/swapon.c: Likewise.
74889 * misc/sync.c: Likewise.
74890 * misc/syncfs.c: Likewise.
74891 * misc/syscall.c: Likewise.
74892 * misc/truncate.c: Likewise.
74893 * misc/ualarm.c: Likewise.
74894 * misc/usleep.c: Likewise.
74895 * misc/ustat.c: Likewise.
74896 * misc/utimes.c: Likewise.
74897 * misc/vhangup.c: Likewise.
74898 * misc/writev.c: Likewise.
74899 * posix/_exit.c: Likewise.
74900 * posix/alarm.c: Likewise.
74901 * posix/execve.c: Likewise.
74902 * posix/fexecve.c: Likewise.
74903 * posix/fork.c: Likewise.
74904 * posix/fpathconf.c: Likewise.
74905 * posix/getaddrinfo.c: Likewise.
74906 * posix/getegid.c: Likewise.
74907 * posix/geteuid.c: Likewise.
74908 * posix/getgid.c: Likewise.
74909 * posix/getgroups.c: Likewise.
74910 * posix/getlogin.c: Likewise.
74911 * posix/getlogin_r.c: Likewise.
74912 * posix/getpgid.c: Likewise.
74913 * posix/getpid.c: Likewise.
74914 * posix/getppid.c: Likewise.
74915 * posix/getresgid.c: Likewise.
74916 * posix/getresuid.c: Likewise.
74917 * posix/getsid.c: Likewise.
74918 * posix/getuid.c: Likewise.
74919 * posix/glob64.c: Likewise.
74920 * posix/nanosleep.c: Likewise.
74921 * posix/pathconf.c: Likewise.
74922 * posix/pause.c: Likewise.
74923 * posix/posix_madvise.c: Likewise.
74924 * posix/pread.c: Likewise.
74925 * posix/pread64.c: Likewise.
74926 * posix/pwrite.c: Likewise.
74927 * posix/pwrite64.c: Likewise.
74928 * posix/sched_getaffinity.c: Likewise.
74929 * posix/sched_getp.c: Likewise.
74930 * posix/sched_gets.c: Likewise.
74931 * posix/sched_primax.c: Likewise.
74932 * posix/sched_primin.c: Likewise.
74933 * posix/sched_rr_gi.c: Likewise.
74934 * posix/sched_setaffinity.c: Likewise.
74935 * posix/sched_setp.c: Likewise.
74936 * posix/sched_sets.c: Likewise.
74937 * posix/sched_yield.c: Likewise.
74938 * posix/setgid.c: Likewise.
74939 * posix/setlogin.c: Likewise.
74940 * posix/setpgid.c: Likewise.
74941 * posix/setresgid.c: Likewise.
74942 * posix/setresuid.c: Likewise.
74943 * posix/setsid.c: Likewise.
74944 * posix/setuid.c: Likewise.
74945 * posix/sleep.c: Likewise.
74946 * posix/spawni.c: Likewise.
74947 * posix/sysconf.c: Likewise.
74948 * posix/times.c: Likewise.
74949 * posix/wait.c: Likewise.
74950 * posix/wait3.c: Likewise.
74951 * posix/wait4.c: Likewise.
74952 * posix/waitpid.c: Likewise.
74953 * resolv/gai_sigqueue.c: Likewise.
74954 * resource/getpriority.c: Likewise.
74955 * resource/getrlimit.c: Likewise.
74956 * resource/getrusage.c: Likewise.
74957 * resource/nice.c: Likewise.
74958 * resource/setpriority.c: Likewise.
74959 * resource/setrlimit.c: Likewise.
74960 * resource/ulimit.c: Likewise.
74961 * rt/aio_cancel.c: Likewise.
74962 * rt/aio_fsync.c: Likewise.
74963 * rt/aio_read.c: Likewise.
74964 * rt/aio_sigqueue.c: Likewise.
74965 * rt/aio_suspend.c: Likewise.
74966 * rt/aio_write.c: Likewise.
74967 * rt/clock_getres.c: Likewise.
74968 * rt/clock_gettime.c: Likewise.
74969 * rt/clock_nanosleep.c: Likewise.
74970 * rt/clock_settime.c: Likewise.
74971 * rt/lio_listio.c: Likewise.
74972 * rt/mq_close.c: Likewise.
74973 * rt/mq_getattr.c: Likewise.
74974 * rt/mq_notify.c: Likewise.
74975 * rt/mq_open.c: Likewise.
74976 * rt/mq_receive.c: Likewise.
74977 * rt/mq_send.c: Likewise.
74978 * rt/mq_setattr.c: Likewise.
74979 * rt/mq_timedreceive.c: Likewise.
74980 * rt/mq_timedsend.c: Likewise.
74981 * rt/mq_unlink.c: Likewise.
74982 * rt/shm_open.c: Likewise.
74983 * rt/shm_unlink.c: Likewise.
74984 * rt/timer_create.c: Likewise.
74985 * rt/timer_delete.c: Likewise.
74986 * rt/timer_getoverr.c: Likewise.
74987 * rt/timer_gettime.c: Likewise.
74988 * rt/timer_settime.c: Likewise.
74989 * setjmp/__longjmp.c: Likewise.
74990 * setjmp/setjmp.c: Likewise.
74991 * signal/kill.c: Likewise.
74992 * signal/killpg.c: Likewise.
74993 * signal/raise.c: Likewise.
74994 * signal/sigaction.c: Likewise.
74995 * signal/sigaltstack.c: Likewise.
74996 * signal/sigblock.c: Likewise.
74997 * signal/sigignore.c: Likewise.
74998 * signal/sigintr.c: Likewise.
74999 * signal/signal.c: Likewise.
75000 * signal/sigpause.c: Likewise.
75001 * signal/sigpending.c: Likewise.
75002 * signal/sigqueue.c: Likewise.
75003 * signal/sigreturn.c: Likewise.
75004 * signal/sigset.c: Likewise.
75005 * signal/sigsetmask.c: Likewise.
75006 * signal/sigstack.c: Likewise.
75007 * signal/sigsuspend.c: Likewise.
75008 * signal/sigtimedwait.c: Likewise.
75009 * signal/sigvec.c: Likewise.
75010 * signal/sigwait.c: Likewise.
75011 * signal/sigwaitinfo.c: Likewise.
75012 * signal/sysv_signal.c: Likewise.
75013 * socket/accept.c: Likewise.
75014 * socket/accept4.c: Likewise.
75015 * socket/bind.c: Likewise.
75016 * socket/connect.c: Likewise.
75017 * socket/getpeername.c: Likewise.
75018 * socket/getsockname.c: Likewise.
75019 * socket/getsockopt.c: Likewise.
75020 * socket/isfdtype.c: Likewise.
75021 * socket/listen.c: Likewise.
75022 * socket/recv.c: Likewise.
75023 * socket/recvfrom.c: Likewise.
75024 * socket/recvmsg.c: Likewise.
75025 * socket/send.c: Likewise.
75026 * socket/sendmsg.c: Likewise.
75027 * socket/sendto.c: Likewise.
75028 * socket/setsockopt.c: Likewise.
75029 * socket/shutdown.c: Likewise.
75030 * socket/sockatmark.c: Likewise.
75031 * socket/socket.c: Likewise.
75032 * socket/socketpair.c: Likewise.
75033 * stdio-common/ctermid.c: Likewise.
75034 * stdio-common/cuserid.c: Likewise.
75035 * stdio-common/remove.c: Likewise.
75036 * stdio-common/rename.c: Likewise.
75037 * stdio-common/renameat.c: Likewise.
75038 * stdio-common/tempname.c: Likewise.
75039 * stdlib/getcontext.c: Likewise.
75040 * stdlib/makecontext.c: Likewise.
75041 * stdlib/setcontext.c: Likewise.
75042 * stdlib/swapcontext.c: Likewise.
75043 * stdlib/system.c: Likewise.
75044 * streams/fattach.c: Likewise.
75045 * streams/fdetach.c: Likewise.
75046 * streams/getmsg.c: Likewise.
75047 * streams/getpmsg.c: Likewise.
75048 * streams/putmsg.c: Likewise.
75049 * streams/putpmsg.c: Likewise.
75050 * sysdeps/unix/bsd/getpt.c: Likewise.
75051 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75052 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75055 Likewise.
75056 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75057 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75058 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75059 * sysvipc/msgctl.c: Likewise.
75060 * sysvipc/msgget.c: Likewise.
75061 * sysvipc/msgrcv.c: Likewise.
75062 * sysvipc/msgsnd.c: Likewise.
75063 * sysvipc/semctl.c: Likewise.
75064 * sysvipc/semget.c: Likewise.
75065 * sysvipc/semop.c: Likewise.
75066 * sysvipc/semtimedop.c: Likewise.
75067 * sysvipc/shmat.c: Likewise.
75068 * sysvipc/shmctl.c: Likewise.
75069 * sysvipc/shmdt.c: Likewise.
75070 * sysvipc/shmget.c: Likewise.
75071 * termios/tcdrain.c: Likewise.
75072 * termios/tcflow.c: Likewise.
75073 * termios/tcflush.c: Likewise.
75074 * termios/tcgetattr.c: Likewise.
75075 * termios/tcgetpgrp.c: Likewise.
75076 * termios/tcsendbrk.c: Likewise.
75077 * termios/tcsetattr.c: Likewise.
75078 * termios/tcsetpgrp.c: Likewise.
75079 * time/adjtime.c: Likewise.
75080 * time/clock.c: Likewise.
75081 * time/getitimer.c: Likewise.
75082 * time/gettimeofday.c: Likewise.
75083 * time/setitimer.c: Likewise.
75084 * time/settimeofday.c: Likewise.
75085 * time/stime.c: Likewise.
75086 * time/time.c: Likewise.
75087
75088 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75089
75090 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75091 /usr/old/bin.
75092
75093 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75094 instead of spaces.
75095 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75096
75097 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75098
75099 [BZ #14796]
75100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75101 FE_TONEAREST before applying Dekker multiplication and Knuth
75102 addition. Clear inexact exceptions and check for exact zero
75103 results afterwards.
75104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75105 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75106 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75107 * math/libm-test.inc (fma_test): Add more tests.
75108 (fma_test_towardzero): Likewise.
75109 (fma_test_downward): Likewise.
75110 (fma_test_upward): Likewise.
75111 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75112 function.
75113 (libc_fesetround): New macro.
75114 (libc_fesetroundf): Likewise.
75115 (libc_fesetroundl): Likewise.
75116 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75117 function.
75118 (libc_fesetround_387): Likewise.
75119 (libc_fesetroundf): New macro.
75120 (libc_fesetround): Likewise.
75121 (libc_fesetroundl): Likewise.
75122 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75123 function.
75124 (libc_fesetroundf): New macro.
75125 (libc_fesetround): Likewise.
75126 (libc_fesetroundl): Likewise.
75127 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75128 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75129 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75130 libm_hidden_ver.
75131 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75132 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75133 libm_hidden_def.
75134 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75135 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75136 libm_hidden_ver.
75137 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75138 libm_hidden_def.
75139
75140 [BZ #3439]
75141 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75142 integer constant usable in #if and use that to give value to enum
75143 constant.
75144 (FE_DIVBYZERO): Likewise.
75145 (FE_UNDERFLOW): Likewise.
75146 (FE_OVERFLOW): Likewise.
75147 (FE_INVALID): Likewise.
75148 (FE_INVALID_SNAN): Likewise.
75149 (FE_INVALID_ISI): Likewise.
75150 (FE_INVALID_IDI): Likewise.
75151 (FE_INVALID_ZDZ): Likewise.
75152 (FE_INVALID_IMZ): Likewise.
75153 (FE_INVALID_COMPARE): Likewise.
75154 (FE_INVALID_SOFTWARE): Likewise.
75155 (FE_INVALID_SQRT): Likewise.
75156 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75157 (FE_TONEAREST): Likewise.
75158 (FE_TOWARDZERO): Likewise.
75159 (FE_UPWARD): Likewise.
75160 (FE_DOWNWARD): Likewise.
75161 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75162 (FE_DIVBYZERO): Likewise.
75163 (FE_OVERFLOW): Likewise.
75164 (FE_UNDERFLOW): Likewise.
75165 (FE_INEXACT): Likewise.
75166 (FE_TONEAREST): Likewise.
75167 (FE_DOWNWARD): Likewise.
75168 (FE_UPWARD): Likewise.
75169 (FE_TOWARDZERO): Likewise.
75170 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75171 (FE_UNDERFLOW): Likewise.
75172 (FE_OVERFLOW): Likewise.
75173 (FE_DIVBYZERO): Likewise.
75174 (FE_INVALID): Likewise.
75175 (FE_TONEAREST): Likewise.
75176 (FE_TOWARDZERO): Likewise.
75177 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75178 (FE_OVERFLOW): Likewise.
75179 (FE_UNDERFLOW): Likewise.
75180 (FE_DIVBYZERO): Likewise.
75181 (FE_INEXACT): Likewise.
75182 (FE_TONEAREST): Likewise.
75183 (FE_TOWARDZERO): Likewise.
75184 (FE_UPWARD): Likewise.
75185 (FE_DOWNWARD): Likewise.
75186 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75187 (FE_DIVBYZERO): Likewise.
75188 (FE_OVERFLOW): Likewise.
75189 (FE_UNDERFLOW): Likewise.
75190 (FE_INEXACT): Likewise.
75191 (FE_TONEAREST): Likewise.
75192 (FE_DOWNWARD): Likewise.
75193 (FE_UPWARD): Likewise.
75194 (FE_TOWARDZERO): Likewise.
75195
75196 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75197
75198 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75199
75200 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75201
75202 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75203 commands. Quote $PWD.
75204 (blacklist_exports): Don't use remove_newlines. Replace "declare
75205 -x" by "export".
75206 (remove_newlines): Remove.
75207
75208 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75209
75210 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75211 * stdlib/stdlib.h (atof): Moved to ...
75212 * include/bits/stdlib-float.h: Here. New file.
75213 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75214 * stdlib/bits/stdlib-float.h: New file.
75215 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75216 -mno-sse -mno-mmx.
75217 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75218 <xmmintrin.h>.
75219
75220 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75221
75222 * conform/conformtest.pl (@headers): Add fenv.h.
75223 * conform/data/fenv.h-data: New file.
75224 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75225 include of <math/fenv.h>.
75226
75227 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75228 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75229 && !UNIX98]. Enables tests for XOPEN2K8.
75230 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75231 POSIX2008]: Likewise.
75232
75233 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75234 (struct rusage): Do not expect type or its members.
75235
75236 [BZ #3439]
75237 * math/math.h (FP_NAN): Define macro to integer constant usable in
75238 #if and use that to give value to enum constant.
75239 (FP_INFINITE): Likewise.
75240 (FP_ZERO): Likewise.
75241 (FP_SUBNORMAL): Likewise.
75242 (FP_NORMAL): Likewise.
75243
75244 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75245
75246 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75247 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75248 arguments.
75249
75250 2012-11-02 Roland McGrath <roland@hack.frob.com>
75251
75252 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75253 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75254 autoconf-time if not.
75255 * configure.in: Remove AC_PREREQ.
75256
75257 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75258
75259 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75260 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75261 of the internal implementation.
75262
75263 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75264
75265 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75266 except include of <misc/sys/syslog.h>.
75267
75268 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75269
75270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75271 function returns with a NULL context exit with zero.
75272
75273 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75274
75275 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75276
75277 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75278
75279 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75280 (run_program_cmd): This.
75281 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75282 (tst_langinfo): New variable. Use it.
75283
75284 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75285
75286 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75287 floating point opcodes.
75288
75289 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75290
75291 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75292 variable.
75293
75294 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75295
75296 * sysdeps/mach/hurd/powerpc: Remove directory.
75297 * sysdeps/mach/powerpc: Likewise.
75298
75299 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75300
75301 * scripts/check-local-headers.sh: Ignore c++ headers.
75302
75303 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75304
75305 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75306 __libc_cleanup_region_start argument.
75307
75308 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75309
75310 [BZ #14784]
75311 [BZ #14785]
75312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75313 x * y using scaling, not as x * y + z.
75314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75316 * math/libm-test.inc (fma_test): Add more tests.
75317 (fma_test_towardzero): Likewise.
75318 (fma_test_downward): Likewise.
75319 (fma_test_upward): Likewise.
75320
75321 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75322
75323 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75324
75325 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75326
75327 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75328 New variable.
75329
75330 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75331
75332 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75333
75334 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75335
75336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75337 Fix sort order.
75338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75339 Likewise.
75340
75341 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75342
75343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75344 Fix the order of the list for glibc 2.17.
75345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75346 Likewise.
75347
75348 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75349
75350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75351
75352 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75353
75354 [BZ #14610]
75355 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75356 for low part of x being zero before using __atanl (y).
75357 * math/libm-test.inc (atan2_test): Add another test.
75358
75359 * manual/install.texi (Configuring and compiling): Document
75360 general use of test-wrapper and test-wrapper-env.
75361 * INSTALL: Regenerated.
75362
75363 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75364 (__fma): Do not extract and scale down low bits on after-rounding
75365 systems when result rounded to normal precision would have normal
75366 exponent.
75367 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75368 (__fmal): Do not extract and scale down low bits on after-rounding
75369 systems when result rounded to normal precision would have normal
75370 exponent.
75371 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75372 (__fmal): Do not extract and scale down low bits on after-rounding
75373 systems when result rounded to normal precision would have normal
75374 exponent.
75375 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75376 macro.
75377 (fma_test): Add more tests.
75378 (fma_test_towardzero): Likewise.
75379 (fma_test_downward): Likewise.
75380 (fma_test_upward): Likewise.
75381
75382 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75383
75384 * sysdeps/i386/tininess.h: Renamed to ...
75385 * sysdeps/x86/tininess.h: This.
75386 * sysdeps/x86_64/tininess.h: Removed.
75387
75388 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75389
75390 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75391 input. Use $(build-program-cmd).
75392 ($(objpfx)tst-array1-static.out): Likewise.
75393 ($(objpfx)tst-array2.out): Likewise.
75394 ($(objpfx)tst-array3.out): Likewise.
75395 ($(objpfx)tst-array4.out): Likewise.
75396 ($(objpfx)tst-array5.out): Likewise.
75397 ($(objpfx)tst-array5-static.out): Likewise.
75398
75399 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75400
75401 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75402 if defined.
75403
75404 * nss/nsswitch.h (nss_interface_function): Provide new
75405 macro for use with NSS functions.
75406 * grp/initgroups.c: Use new macro.
75407 * nss/getXXbyYY.c: Likewise.
75408 * nss/getXXbyYY_r.c: Likewise.
75409 * nss/getXXent.c: Likewise.
75410 * nss/getXXent_r.c: Likewise.
75411 * sysdeps/posix/getaddrinfo.c: Likewise.
75412
75413 2012-10-30 Andreas Jaeger <aj@suse.de>
75414
75415 * po/ru.po: Update Russion translation from translation project.
75416
75417 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75418
75419 [BZ #14152]
75420 [BZ #14783]
75421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75422 result and shift together with sticky bit instead of replicating
75423 round-to-nearest rounding.
75424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75426 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75427 missing underflow exceptions.
75428 (fma_test_towardzero): Add more tests.
75429 (fma_test_downward): Likewise.
75430 (fma_test_upward): Likewise.
75431
75432 [BZ #14047]
75433 * sysdeps/generic/tininess.h: New file.
75434 * sysdeps/i386/tininess.h: Likewise.
75435 * sysdeps/sh/tininess.h: Likewise.
75436 * sysdeps/x86_64/tininess.h: Likewise.
75437 * stdlib/tst-strtod-underflow.c: Likewise.
75438 * stdlib/tst-tininess.c: Likewise.
75439 * stdlib/strtod_l.c: Include <tininess.h>.
75440 (round_and_return): Do not set errno for exact underflow cases.
75441 Force an underflow exception when setting errno for underflow.
75442 Determine underflow based on rounding to normal precision if
75443 TININESS_AFTER_ROUNDING.
75444 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75445 ERANGE for exact underflow cases.
75446 * stdlib/Makefile (tests): Add tst-tininess and
75447 tst-strtod-underflow.
75448 ($(objpfx)tst-tininess): Use $(link-libm).
75449 ($(objpfx)tst-strtod-underflow): Likewise.
75450
75451 2012-10-30 Andreas Jaeger <aj@suse.de>
75452
75453 [BZ #14767]
75454 * elf/Makefile (tests): Remove conditional for have-initfini-array
75455 since this is now always required and the variable does not exist
75456 anymore.
75457 (tests-static): Likewise.
75458 (modules-names): Likewise.
75459
75460 * po/eo.po: Add Esperanto translation from translation project.
75461
75462 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75463 merged with constructor/destructor.
75464 (init_array): Likewise.
75465 * elf/tst-array2dep.c (fini_array): Likewise.
75466 (init_array): Likewise.
75467
75468 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75469
75470 * manual/message.texi: Delete @cartouche tags.
75471
75472 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75473
75474 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75475 EOPNOTSUPP.
75476 * sysdeps/mach/hurd/fsync.c: Likewise.
75477
75478 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75479 [_POSIX_REALTIME_SIGNALS]: Change condition to
75480 [_POSIX_REALTIME_SIGNALS > 0].
75481
75482 2012-10-27 Andreas Jaeger <aj@suse.de>
75483
75484 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75485 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75487 [__WORDSIZE != 64]: Likewise.
75488
75489 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75490
75491 * iconvdata/tst-table.sh: Remove ${SHELL}.
75492 * iconvdata/tst-tables.sh: Likewise.
75493
75494 2012-10-25 David S. Miller <davem@davemloft.net>
75495
75496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75497 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75498 of strtoull.
75499
75500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75501 ifunc-impl-list.c
75502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75503 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75504 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75505 file.
75506
75507 2012-10-25 Roland McGrath <roland@hack.frob.com>
75508
75509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75510 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75511 __getdirentries.
75512
75513 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75514 Jim Blandy <jimb@codesourcery.com>
75515
75516 * scripts/cross-test-ssh.sh: New file.
75517 * manual/install.texi (Configuring and compiling): Document use of
75518 cross-test-ssh.sh.
75519 * INSTALL: Regenerated.
75520
75521 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75522
75523 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75524 EOPNOTSUPP.
75525
75526 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75527
75528 * Makeconfig (run-program-prefix): Fix comment.
75529
75530 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75531 Jim Blandy <jimb@codesourcery.com>
75532
75533 * Makeconfig (test-wrapper): New variable,
75534 (test-wrapper-env): Likewise.
75535 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75536 (run-built-tests): Define to yes.
75537 (run-program-prefix): Use $(test-wrapper).
75538 (built-program-cmd): Likewise.
75539 * Rules (make-test-out): Use $(test-wrapper-env) and
75540 $(host-built-program-cmd).
75541 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75542 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75543 tst-pathopt.sh.
75544 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75545 $(test-wrapper-env) to tst-rtld-load-self.sh.
75546 ($(objpfx)order2.out): Use $(test-wrapper).
75547 ($(objpfx)tst-initorder.out): Likewise.
75548 ($(objpfx)tst-initorder2.out): Likewise.
75549 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75550 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75551 (test_wrapper_env): New variable. Use it to run ld.so.
75552 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75553 Use it to run ld.so.
75554 (test_wrapper_env): Likewise.
75555 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75556 $(test-wrapper) to run-iconv-test.sh.
75557 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75558 (ICONV): Use $test_wrapper.
75559 * posix/Makefile ($(objpfx)globtest.out): Pass
75560 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75561 globtest.sh, not $(run-program-prefix).
75562 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75563 (test_wrapper): Likewise.
75564 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75565 set together with run_via_rtld_prefix.
75566 (run_program_prefix): Define in terms of test_wrapper and
75567 run_via_rtld_prefix.
75568
75569 2012-10-24 Roland McGrath <roland@hack.frob.com>
75570
75571 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75572 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75573 Targets removed.
75574
75575 [BZ #14743]
75576 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75577 Declare __clock_getres, __clock_gettime, __clock_settime,
75578 __clock_nanosleep, and __clock_getcpuclockid.
75579 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75580 Remove librt_hidden_def (clock_gettime).
75581 * sysdeps/unix/clock_gettime.c: Likewise.
75582 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75583 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75584 * rt/clock_getres.c: Define __clock_getres as an alias.
75585 * sysdeps/posix/clock_getres.c: Likewise.
75586 * rt/clock_settime.c: Define __clock_settime as an alias.
75587 * sysdeps/unix/clock_settime.c: Likewise.
75588 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75589 * sysdeps/unix/clock_nanosleep.c: Likewise.
75590 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75591 * rt/clock-compat.c: New file.
75592 * rt/Makefile (librt-routines): Add clock-compat and move
75593 $(clock-routines) to ...
75594 (routines): ... here, new variable.
75595 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75596 Don't add get_clockfreq here.
75597 * rt/Versions (libc: GLIBC_2.17): New version set.
75598 Add clock_* symbols here.
75599 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75600 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75601 (GLIBC_2.17): Add clock_* symbols.
75602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75606 Likewise.
75607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75608 Likewise.
75609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75613 * NEWS: Mention the move.
75614
75615 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75616 Use __open, __read, __close rather than their public counterparts.
75617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75618 (__get_clockfreq_via_cpuinfo): Likewise.
75619 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75620 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75621
75622 * config.h.in (HAVE_IFUNC): New #undef.
75623 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75624 was successful.
75625 * configure: Regenerated.
75626
75627 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75628
75629 * configure.in: Move READELF check to start of file.
75630 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75631 libc_cv_asm_gnu_indirect_function in the process.
75632 * configure: Regenerated.
75633
75634 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75635
75636 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75637 send the output to /dev/null.
75638 (libc_cv_cc_with_libunwind): Likewise.
75639 (libc_cv_as_noexecstack): Likewise.
75640 * configure: Regenerate.
75641
75642 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75643
75644 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75645
75646 * posix/globtest.sh (TMPDIR): Do not set.
75647 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75648 (testout): Likewise.
75649
75650 2012-10-24 Andreas Jaeger <aj@suse.de>
75651
75652 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75653 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75654 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75655 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75656 posix_fadvise64, posix_fallocate64.
75657
75658 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75659 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75660 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75661 Likewise.
75662 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75663 Likewise.
75664 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75665
75666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75667 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75668 <bits/fcntl-linux.h>.
75669 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75670
75671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75672 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75673 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75674 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75675 [__WORDSIZE != 64]: Likewise.
75676
75677 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75678
75679 * Makeconfig (run-built-tests): New variable.
75680 * Rules [$(cross-compiling) = yes]: Change condition to
75681 [$(run-built-tests) = no].
75682 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75683 to [$(run-built-tests) = yes].
75684 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75685 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75686 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75687 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75688 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75689 * io/Makefile [$(cross-compiling) = no]: Likewise.
75690 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75691 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75692 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75693 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75694 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75695 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75696 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75697 * string/Makefile [$(cross-compiling) = no]: Likewise.
75698
75699 * posix/Makefile ($(objpfx)globtest.out): Pass
75700 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75701 $(rtld-installed-name).
75702 * posix/globtest.sh (elf_objpfx): Remove variable.
75703 (rtld_installed_name): Likewise.
75704 (library_path): Likewise.
75705 (run_program_prefix): New variable. Use for running globtest
75706 binary.
75707
75708 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75709 Joseph Myers <joseph@codesourcery.com>
75710
75711 * Makeconfig (host-built-program-cmd): New variable.
75712 * elf/Makefile (tst-stackguard1-ARGS): Use
75713 $(host-built-program-cmd).
75714 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75715 (tst-spawn-ARGS): Likewise.
75716 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75717
75718 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75719 Jim Blandy <jimb@codesourcery.com>
75720
75721 * Makeconfig (run-via-rtld-prefix): New variable.
75722 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75723 (built-program-cmd): Likewise.
75724
75725 2012-10-22 Andreas Jaeger <aj@suse.de>
75726
75727 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75728 __O_RSYNC if it exists, otherwise to O_SYNC.
75729
75730 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75731 Joseph Myers <joseph@codesourcery.com>
75732
75733 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75734 /dev/null.
75735 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75736 from /dev/null
75737 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75738 /dev/null.
75739
75740 2012-10-22 Andreas Jaeger <aj@suse.de>
75741
75742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75743 Define always.
75744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75745
75746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75747 bits/fcntl-linux.h.
75748
75749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75750 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75751
75752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75753 to __O_LARGEFILE.
75754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75755 to __O_LARGEFILE.
75756
75757 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75758 Joseph Myers <joseph@codesourcery.com>
75759
75760 * config.make.in (NM): New variable.
75761
75762 2012-10-21 Andreas Jaeger <aj@suse.de>
75763
75764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75765 definitions and declarations that are provided by
75766 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75767
75768 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75769
75770 [BZ #14683]
75771 * elf/Makefile (tests-static): Add tst-leaks1-static.
75772 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75773 ($(objpfx)tst-leaks1-static): New rule.
75774 ($(objpfx)tst-leaks1-static-mem): Likewise.
75775 (tst-leaks1-static-ENV): New macro.
75776 * elf/dl-open.c (dl_open_worker): Check the main application
75777 only if SHARED is defined.
75778 * elf/tst-leaks1-static.c: New file.
75779
75780 2012-10-20 Andreas Jaeger <aj@suse.de>
75781
75782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75783 generic values for Linux.
75784 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75785 and declarations that are provided by <bits/fcntl-linux.h> and
75786 include <bits/fcntl-linux.h>.
75787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75789
75790 2012-10-20 Roland McGrath <roland@hack.frob.com>
75791
75792 * io/fcntl.h: Move include of <bits/types.h> to the top and
75793 include it unconditionally.
75794
75795 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75796
75797 * wcsmbs/Makefile (tests-ifunc): New variable.
75798 (tests): Add $(tests-ifunc).
75799 * wcsmbs/test-wcschr-ifunc.c: New file.
75800 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75801 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75802 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75803 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75804 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75805
75806 * string/Makefile (tests-ifunc): New variable.
75807 (tests): Add $(tests-ifunc).
75808 * string/test-memccpy.c (TEST_NAME): New macro.
75809 * string/test-memchr.c (TEST_NAME): Likewise.
75810 * string/test-memcmp.c (TEST_NAME): Likewise.
75811 * string/test-memcpy.c (TEST_NAME): Likewise.
75812 * string/test-memmem.c (TEST_NAME): Likewise.
75813 * string/test-memmove.c (TEST_NAME): Likewise.
75814 * string/test-memset.c (TEST_NAME): Likewise.
75815 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75816 * string/test-stpcpy.c (TEST_NAME): Likewise.
75817 * string/test-stpncpy.c (TEST_NAME): Likewise.
75818 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75819 * string/test-strcasestr.c (TEST_NAME): Likewise.
75820 * string/test-strcat.c (TEST_NAME): Likewise.
75821 * string/test-strchr.c (TEST_NAME): Likewise.
75822 * string/test-strcmp.c(TEST_NAME): Likewise.
75823 * string/test-strcpy.c (TEST_NAME): Likewise.
75824 * string/test-strcspn.c (TEST_NAME): Likewise.
75825 * string/test-strlen.c (TEST_NAME): Likewise.
75826 * string/test-strncasecmp.c (TEST_NAME): Likewise.
75827 * string/test-strncmp.c (TEST_NAME): Likewise.
75828 * string/test-strncpy.c (TEST_NAME): Likewise.
75829 * string/test-strnlen.c (TEST_NAME): Likewise.
75830 * string/test-strpbrk.c (TEST_NAME): Likewise.
75831 * string/test-strrchr.c (TEST_NAME): Likewise.
75832 * string/test-strspn.c (TEST_NAME): Likewise.
75833 * string/test-strstr.c (TEST_NAME): Likewise.
75834 * string/test-bcopy-ifunc.c: New file.
75835 * string/test-bzero-ifunc.c: Likewise.
75836 * string/test-memccpy-ifunc.c: Likewise.
75837 * string/test-memchr-ifunc.c: Likewise.
75838 * string/test-memcmp-ifunc.c: Likewise.
75839 * string/test-memcpy-ifunc.c: Likewise.
75840 * string/test-memmem-ifunc.c: Likewise.
75841 * string/test-memmove-ifunc.c: Likewise.
75842 * string/test-mempcpy-ifunc.c: Likewise.
75843 * string/test-memset-ifunc.c: Likewise.
75844 * string/test-rawmemchr-ifunc.c: Likewise.
75845 * string/test-stpcpy-ifunc.c: Likewise.
75846 * string/test-stpncpy-ifunc.c: Likewise.
75847 * string/test-strcasecmp-ifunc.c: Likewise.
75848 * string/test-strcasestr-ifunc.c: Likewise.
75849 * string/test-strcat-ifunc.c: Likewise.
75850 * string/test-strchr-ifunc.c: Likewise.
75851 * string/test-strchrnul-ifunc.c: Likewise.
75852 * string/test-strcmp-ifunc.c: Likewise.
75853 * string/test-strcpy-ifunc.c: Likewise.
75854 * string/test-strcspn-ifunc.c: Likewise.
75855 * string/test-strlen-ifunc.c: Likewise.
75856 * string/test-strncasecmp-ifunc.c: Likewise.
75857 * string/test-strncat-ifunc.c: Likewise.
75858 * string/test-strncmp-ifunc.c: Likewise.
75859 * string/test-strncpy-ifunc.c: Likewise.
75860 * string/test-strnlen-ifunc.c: Likewise.
75861 * string/test-strpbrk-ifunc.c: Likewise.
75862 * string/test-strrchr-ifunc.c: Likewise.
75863 * string/test-strspn-ifunc.c: Likewise.
75864 * string/test-strstr-ifunc.c: Likewise.
75865
75866 * debug/Makefile (tests-ifunc): New variable.
75867 (tests): Add $(tests-ifunc).
75868 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75869 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75870 * debug/test-stpcpy_chk-ifunc.c: New file.
75871 * debug/test-strcpy_chk-ifunc.c: Likewise.
75872
75873 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
75874
75875 [BZ #13601]
75876 * elf/dl-load.c (open_verify): Retry read if the entire ELF
75877 header is not read in.
75878
75879 2012-10-19 Joseph Myers <joseph@codesourcery.com>
75880
75881 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
75882 script to $(SHELL) as $<. Pass $(common-objpfx) to script
75883 directly. Pass built executable to script as
75884 $(built-program-cmd).
75885 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
75886 $testprogram without using LD_LIBRARY_PATH and $ldso.
75887
75888 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75889 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75890 $(rtld-installed-name).
75891 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75892 (rtld_installed_name): Likewise.
75893 (library_path): Likewise.
75894 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
75895 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75896 $(run-program-prefix) to tst-tables.sh.
75897 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
75898 it to run tst-table-from and tst-table-to.
75899 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75900 Pass it to tst-table.sh.
75901 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75902 $(run-program-prefix) to tst-gettext.sh.
75903 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75904 tst-translit.sh.
75905 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75906 tst-gettext2.sh.
75907 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
75908 to run tst-gettext.
75909 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
75910 to run tst-gettext2.
75911 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
75912 to run tst-translit.
75913 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75914 $(run-program-prefix) to tst-mtrace.sh.
75915 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
75916 to run tst-mtrace.
75917 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75918 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75919 $(rtld-installed-name).
75920 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75921 (rtld_installed_name): Likewise.
75922 (run_program_prefix): New variable. Use it to run wordexp-test.
75923
75924 * Makeconfig (ARCH): Remove all definitions.
75925 (machine): Likewise.
75926 [ARCH]: Remove conditional code.
75927 [!objdir]: Give error.
75928 [!objdir] (objpfx): Remove.
75929 [!objdir] (common-objpfx): Likewise.
75930 [!objdir] (common-objdir): Likewise.
75931 * configure.in (config_makefile): Remove. Hardcode Makefile in
75932 AC_CONFIG_FILES call.
75933 * configure: Regenerated.
75934
75935 [BZ #13888]
75936 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75937 or TMPDIR.
75938 (testout): Likewise.
75939
75940 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75941 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75942 $(rtld-installed-name).
75943 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75944 (rtld_installed_name): Likewise.
75945 (runit): Remove function.
75946 (run_getconf): New variable, Use it for running getconf binary.
75947
75948 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
75949
75950 [BZ #14716]
75951 * string/test-memmem.c (check_result): New function.
75952 (do_one_test): Use it.
75953 (check1): New function.
75954 (test_main): Use it.
75955
75956 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
75957
75958 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75959
75960 2012-10-18 Joseph Myers <joseph@codesourcery.com>
75961
75962 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75963 (_G_LSEEK64): Likewise.
75964 (_G_MMAP64): Likewise.
75965 (_G_FSTAT64): Likewise.
75966 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75967 (_G_LSEEK64): Likewise.
75968 (_G_MMAP64): Likewise.
75969 (_G_FSTAT64): Likewise.
75970 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75971 unconditional. Call __mmap64 directly.
75972 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75973 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
75974 __lseek64 directly.
75975 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75976 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
75977 __mmap64 directly.
75978 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75979 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
75980 __lseek64 directly.
75981 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75982 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
75983 __lseek64 directly.
75984 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75985 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
75986 __lseek64 directly.
75987 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75988 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
75989 __fxstat64 directly.
75990 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75991 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75992 unconditional.
75993 (freopen64) [!_G_OPEN64]: Remove conditional code.
75994 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75995 unconditional.
75996 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75997 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75998 unconditional.
75999 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76000 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76001 unconditional.
76002 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76003 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76004 unconditional.
76005 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76006 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76007 unconditional.
76008 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76009 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76010 unconditional.
76011 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76012 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76013 unconditional.
76014 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76015
76016 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76017
76018 [BZ #12140]
76019 * manual/memory.texi (Malloc Tunable Parameters): Add note
76020 about free list pointers overwriting some perturb bytes.
76021 Wording suggested by Roland McGrath.
76022
76023 2012-10-17 Joseph Myers <joseph@codesourcery.com>
76024
76025 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76026 (lgamma_test): Likewise.
76027 (tgamma_test): Likewise.
76028
76029 2012-10-16 Florian Weimer <fweimer@redhat.com>
76030
76031 [BZ #14700]
76032 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76033 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76034
76035 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76036
76037 * NEWS: Mention BZ #14716.
76038 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76039 when removing AVAILABLE1_USES_J macro.
76040
76041 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76042
76043 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76044 (__bswap_64): __uint64_t for unsigned 64-bit int.
76045
76046 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76047
76048 * include/string.h (memmem): Declare libc hidden alias.
76049 * string/memmem.c (memmem): Define libc hidden alias.
76050 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76051 __read, __close instead of open, read, close.
76052
76053 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76054
76055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76056 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76057 global and hidden.
76058 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76059 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76060 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76061 Likewise.
76062 (__rawmemchr_sse2): Likewise.
76063 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76064 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76065 (__strchr_sse2): Likewise.
76066 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76067 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76068 (__strcasecmp_sse2): Likewise.
76069 (__strncasecmp_sse2): Likewise.
76070 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76071 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76072 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76073 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76074 (__strrchr_sse2): Likewise.
76075 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76076 ifunc-impl-list.c.
76077 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76078 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76079 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76080 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76081 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76082 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76083 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76084 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76085 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76086 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76087 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76088 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76089 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76090 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76091 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76092 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76093 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76094 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76095 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76096 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76097 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76098 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76099 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76100 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76101 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76102 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76103 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76104 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76105 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76106 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76107
76108 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76109 global and hidden.
76110 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76111 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76112 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76113 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76114 Likewise.
76115 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76116 Likewise.
76117 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76118 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76119 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76120 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76121 ifunc-impl-list.c.
76122 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76123 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76124 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76125 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76126 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76127 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76128 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76129 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76130 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76131 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76132 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76133 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76134 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76135 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76136 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76137 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76138 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76139 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76140 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76141 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76142 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76143 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76144 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76145 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76146 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76147 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76148 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76149 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76150 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76151 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76152 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76153 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76154 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76155 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76157 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76158 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76159 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76160 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76161 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76162 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76163
76164 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76165 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76166 * include/ifunc-impl-list.h: New file.
76167 * misc/ifunc-impl-list.c: Likewise.
76168 * misc/Makefile (routines): Add ifunc-impl-list.
76169 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76170 * string/test-string.h: Include <ifunc-impl-list.h>.
76171 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76172 TEST_NAME]: New variables.
76173 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76174 are defined.
76175 (test_init): Call __libc_ifunc_impl_list to initialize
76176 func_list if TEST_IFUNC and TEST_NAME are defined.
76177
76178 * string/Makefile (strop-tests): Add bcopy and bzero.
76179 * string/test-bcopy.c: New file.
76180 * string/test-bzero.c: Likewise.
76181 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76182 defined.
76183 * string/test-memset.c: Support bzero test if TEST_BZERO is
76184 defined.
76185 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76186 __libc_memmove.
76187 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76188 __libc_memset.
76189 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76190 of memset.
76191
76192 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76193
76194 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76195 * configure: Regenerated.
76196
76197 * Makeconfig (+link-static-before-libc): Don't include
76198 $(link-static-libc).
76199
76200 * libio/libio.h (_IO_pos_t): Remove.
76201
76202 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76203
76204 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76205 McGrath.
76206
76207 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76208
76209 * crypt/crypt-entry.c: Include fips-private.h.
76210 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76211 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76212 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76213 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76214
76215 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76216
76217 * crypt/crypt-private.h: Include stdbool.h.
76218 (_ufc_setup_salt_r): Return bool.
76219 * crypt/crypt-entry.c: Include errno.h.
76220 (__crypt_r): Return NULL with EINVAL for bad salt.
76221 * crypt/crypt_util.c (bad_for_salt): New.
76222 (_ufc_setup_salt_r): Check that salt is long enough and within
76223 the specified alphabet.
76224 * crypt/badsalttest.c: New file.
76225 * crypt/Makefile (tests): Add it.
76226 ($(objpfx)badsalttest): New.
76227
76228 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76229
76230 * NEWS: Add entry for BZ #14602.
76231
76232 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76233
76234 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76235 type-generic.
76236 * math/libm-test.inc: Update comment listing what functions and
76237 macros are tested.
76238 (isgreater_test): New function.
76239 (isgreaterequal_test): Likewise.
76240 (isless_test): Likewise.
76241 (islessequal_test): Likewise.
76242 (islessgreater_test): Likewise.
76243 (isunordered_test): Likewise.
76244 (main): Call the new functions.
76245
76246 2012-10-09 Roland McGrath <roland@hack.frob.com>
76247
76248 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76249 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76250 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76251 * sysdeps/i386/configure: Regenerated.
76252 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76253 * sysdeps/mach/configure: Regenerated.
76254 * sysdeps/mach/hurd/configure: Regenerated.
76255 * sysdeps/powerpc/configure: Regenerated.
76256 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76257 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76258 * sysdeps/s390/s390-32/configure: Regenerated.
76259 * sysdeps/s390/s390-64/configure: Regenerated.
76260 * sysdeps/sh/configure: Regenerated.
76261 * sysdeps/sparc/configure: Regenerated.
76262 * sysdeps/unix/sysv/linux/configure: Regenerated.
76263 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76264 * sysdeps/x86_64/configure: Regenerated.
76265
76266 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76267 defined. Don't check if MAP is NULL.
76268
76269 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76270
76271 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76272 (_G_stat64): Likewise.
76273 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76274 (_G_stat64): Likewise.
76275 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76276 instead of struct _G_stat64.
76277 * libio/fileops.c (mmap_remap_check): Likewise.
76278 (decide_maybe_mmap): Likewise.
76279 (_IO_new_file_seekoff): Likewise.
76280 (_IO_file_stat): Likewise.
76281 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76282 _G_off64_t.
76283 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76284 instead of struct _G_stat64.
76285 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76286
76287 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76288
76289 [BZ #14602]
76290 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76291 Replace with ...
76292 (CHECK_EOL): New macro.
76293 (two_way_short_needle): Check beginning of haystack for EOL. Use
76294 CHECK_EOL.
76295 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76296 Replace with CHECK_EOL.
76297 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76298 Replace with CHECK_EOL.
76299
76300 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76301
76302 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76303 type-generic.
76304 * math/libm-test.inc: Update comment listing what functions and
76305 macros are tested.
76306 (finite_test): New function.
76307 (isinf_test): Likewise.
76308 (isnan_test): Likewise.
76309 (fpclassify_test): Test subnormal input.
76310 (isfinite_test): Likewise.
76311 (isnormal_test): Likewise.
76312 (main): Call the new functions.
76313
76314 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76315
76316 [BZ #14660]
76317 * Makerules (%.dynsym): Force C locale when running
76318 $(OBJDUMP) --dynamic-syms.
76319
76320 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76321
76322 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76323 <stdint.h>.
76324
76325 2012-10-06 David S. Miller <davem@davemloft.net>
76326
76327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76328 upper 32-bits of the length value in %o2 since we use branch-on-register
76329 tests which consider the entire 64-bit register.
76330
76331 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76332
76333 * string/test-strstr.c (check2): Add a test for page boundary.
76334
76335 2012-10-05 David S. Miller <davem@davemloft.net>
76336
76337 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76338 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76339 file.
76340 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76341 sysdep_routines.
76342 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76343 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76344 and bzero when HWCAP_SPARC_CRYPTO is present.
76345
76346 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76347
76348 [BZ #14602]
76349 * string/test-strstr.c (check2): New function.
76350 (test_main): Call check2.
76351
76352 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76353 and bug-strchr1.
76354 * string/bug-strcasestr1.c (do_test): Moved to ...
76355 * string/test-strcasestr.c (check1): Here. New function.
76356 (do_one_test): Break out result checking code into ...
76357 (check_result): This. New function.
76358 (do_one_test): Call check_result.
76359 (test_main): Call check1.
76360 * string/bug-strchr1.c (do_test): Moved to ...
76361 * string/test-strchr.c (check1): Here. New function.
76362 (do_one_test): Break out result checking code into ...
76363 (check_result): This. New function.
76364 (do_one_test): Call check_result.
76365 (test_main): Call check1.
76366 * string/bug-strstr1.c (main): Moved to ...
76367 * string/test-strstr.c (check1): Here. New function.
76368 (do_one_test): Break out result checking code into ...
76369 (check_result): This. New function.
76370 (do_one_test): Call check_result.
76371 (test_main): Call check1.
76372 * string/bug-strcasestr1.c: Removed.
76373 * string/bug-strchr1.c: Likewise.
76374 * string/bug-strstr1.c: Likewise.
76375
76376 * elf/Makefile (dl-routines): Add hwcaps.
76377 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76378 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76379 (_dl_important_hwcaps): Moved to ...
76380 * elf/dl-hwcaps.c: Here. New file.
76381 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76382
76383 [BZ #14557]
76384 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76385 if IS_IN_rtld isn't defined.
76386
76387 * elf/dl-support.c (_dl_sysinfo_map): New.
76388 Include "get-dynamic-info.h" and "setup-vdso.h".
76389 (_dl_non_dynamic_init): Call setup_vdso.
76390 * elf/dynamic-link.h: Don't include <assert.h>.
76391 (elf_get_dynamic_info): Moved to ...
76392 * elf/get-dynamic-info.h: Here. New file.
76393 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76394 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76395 * elf/setup-vdso.h: Here. New file.
76396 * elf/rtld.c: Include "setup-vdso.h".
76397 (dl_main): Call setup_vdso.
76398
76399 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76400
76401 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76402 creal in comment listing functions tested. List finite, isinf,
76403 isnan, isless, islessequal, isgreater, isgreaterequal,
76404 islessgreater, isunordered, lgamma_r and pow10 as functions and
76405 macros not tested. Mention which functions not tested are aliases
76406 for other functions. Fix typo. Note that signs of NaNs are not
76407 tested.
76408
76409 * scripts/config.guess: Update from config.git.
76410 * scripts/config.sub: Likewise.
76411
76412 2012-10-04 Roland McGrath <roland@hack.frob.com>
76413
76414 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76415 * misc/madvise.c (madvise): Renamed to __madvise.
76416 Make madvise a weak alias.
76417 * include/sys/mman.h: Declare __madvise.
76418 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76419 * sysdeps/unix/syscalls.list
76420 (madvise): Make __madvise the strong name, and madvise a weak alias.
76421 * sysdeps/unix/sysv/linux/syscalls.list
76422 (madvise, mmap): Remove redundant entries.
76423 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76424 * malloc/malloc.c (mtrim): Likewise.
76425 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76426
76427 2012-10-03 Roland McGrath <roland@hack.frob.com>
76428
76429 * sysdeps/mach/hurd/dl-cache.c: File removed.
76430 * config.h.in (USE_LDCONFIG): New #undef.
76431 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76432 * configure: Regenerated.
76433 * elf/Makefile (dl-routines): Add dl-cache only under
76434 [$(use-ldconfig) = yes].
76435 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76436 cache on [USE_LDCONFIG].
76437 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76438 [USE_LDCONFIG].
76439 * elf/rtld.c (dl_main): Likewise.
76440
76441 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76442
76443 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76444 _SC_LEVEL4_CACHE_LINESIZE.
76445
76446 2012-10-03 Roland McGrath <roland@hack.frob.com>
76447
76448 * sysdeps/unix/bsd/confstr.h: File removed.
76449
76450 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76451
76452 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76453 sys/sdt-config.h.
76454
76455 2012-10-02 Roland McGrath <roland@hack.frob.com>
76456
76457 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76458 Make 'mapoff' field ElfW(Off) rather than off_t.
76459
76460 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76461
76462 * nscd/Makefile: Remove nscd-cflags and all its users.
76463 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76464 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76465
76466 [BZ #10631]
76467 * malloc.c (malloc_printerr): Clarify error message.
76468
76469 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76470
76471 [BZ #14648]
76472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76473 Set bit_FMA_Usable if FMA is supported.
76474 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76475 macro.
76476 (bit_FMA4_Usable): Updated.
76477 (index_FMA_Usable): New macro.
76478 (CPUID_FMA): Likewise.
76479 (HAS_FMA): Defined with bit_FMA_Usable.
76480
76481 2012-10-01 Roland McGrath <roland@hack.frob.com>
76482
76483 * bits/types.h (__swblk_t): Type removed.
76484 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76485 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76487 (__SWBLK_T_TYPE): Likewise.
76488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76489 (__SWBLK_T_TYPE): Likewise.
76490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76491 (__SWBLK_T_TYPE): Likewise.
76492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76493 (__SWBLK_T_TYPE): Likewise.
76494
76495 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76496 Honza Horak <hhorak@redhat.com>
76497
76498 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76499 (xdr_mapname): Use YPMAXMAP as maxsize.
76500 (xdr_peername): Use YPMAXPEER as maxsize.
76501 (xdr_keydat): Use YPAXRECORD as maxsize.
76502 (xdr_valdat): Use YPMAXRECORD as maxsize.
76503
76504 2012-10-01 Roland McGrath <roland@hack.frob.com>
76505
76506 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76507
76508 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76509 * csu/init-first.c: ... here.
76510 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76511 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76512 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76513 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76514 * sysdeps/i386/init-first.c: File removed.
76515 * sysdeps/sh/init-first.c: File removed.
76516
76517 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76518
76519 [BZ #14645]
76520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76521 if x * y might underflow to zero and z is zero.
76522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76524 * math/libm-test.inc (min_subnorm_value): New variable.
76525 (fma_test): Add more tests.
76526 (fma_test_towardzero): Likewise.
76527 (fma_test_downward): Likewise.
76528 (fma_test_upward): Likewise.
76529 (initialize): Set min_subnorm_value.
76530
76531 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76532
76533 [BZ #14638]
76534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76535 0 + 0.
76536 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76537 mode for addition resulting in exact zero.
76538 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76540 exact 0 + 0.
76541 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76542 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76543 * math/libm-test.inc (fma_test): Add more tests.
76544 (fma_test_towardzero): New function.
76545 (fma_test_downward): Likewise.
76546 (fma_test_upward): Likewise.
76547 (main): Call the new functions.
76548
76549 2012-09-28 David S. Miller <davem@davemloft.net>
76550
76551 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76552
76553 2012-09-28 Roland McGrath <roland@hack.frob.com>
76554
76555 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76556 instead of SIGALRM.
76557
76558 * sysdeps/gnu/_G_config.h: Moved to ...
76559 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76560 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76561 * sysdeps/generic/_G_config.h: ... here.
76562
76563 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76564
76565 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76566
76567 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76568 Conditionalize target on [libnss_test1.so-version].
76569
76570 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76571
76572 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76573 (elfobjdir): Move out of conditionals.
76574
76575 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76576 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76577 (__nss_lookup_function): Conditionalize label remove_from_tree on
76578 [!DO_STATIC_NSS || SHARED], matching its only use.
76579
76580 2012-09-28 David S. Miller <davem@davemloft.net>
76581
76582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76584 file.
76585 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76586 sysdep_routines.
76587 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76589 when HWCAP_SPARC_CRYPTO is present.
76590
76591 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76592
76593 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76594
76595 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76596
76597 [BZ #6530]
76598 * stdio-common/vfprintf.c (process_string_arg): Revert
76599 2000-07-22 change.
76600
76601 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76602
76603 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76604 for testcase.
76605 * stdio-common/tst-sprintf.c: Include <locale.h>
76606 (main): Test sprintf's handling of incomplete multibyte
76607 characters.
76608
76609 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76610
76611 * elf/dl-runtime.c (VERSYMIDX): Removed.
76612 * elf/dl-version.c (VERSYMIDX): Likewise.
76613 * elf/do-rel.h (VERSYMIDX): Likewise.
76614 (VALIDX): Likewise.
76615 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76616 * elf/rtld.c (VALIDX): Likewise.
76617 (ADDRIDX): Likewise.
76618 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76619 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76620 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76621 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76622 (VALIDX): Likewise.
76623 (ADDRIDX): Likewise.
76624
76625 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76626
76627 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76628
76629 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76630
76631 [BZ #11438]
76632 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76633 to global scope.
76634 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76635 addresses are in the same scope as 192.0.2/24.
76636 * posix/gai.conf: Document new scope table defaults.
76637
76638 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76639
76640 [BZ #5298]
76641 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76642 for ftell. Compute offsets from write pointers instead.
76643 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76644
76645 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76646
76647 [BZ #14543]
76648 * libio/Makefile (tests): New test case tst-fseek.
76649 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76650 combination works in wide mode.
76651 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76652 state when the external buffer state changes.
76653
76654 2012-09-27 David S. Miller <davem@davemloft.net>
76655
76656 [BZ #14376]
76657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76658 pass reloc->r_addend in as the 'high' argument to
76659 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76660
76661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76662
76663 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76664
76665 * rt/tst-aio2.c: Include <pthread.h>.
76666 * rt/tst-aio3.c: Likewise.
76667
76668 2012-09-27 Steve Ellcey <sellcey@mips.com>
76669
76670 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76671
76672 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76673
76674 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76675 contents on [SHARED].
76676
76677 2012-09-26 Marek Polacek <polacek@redhat.com>
76678
76679 [BZ #14530]
76680 [BZ #13741]
76681 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76682 for C++ and GCC <4.3 as well as for non GCC compilers.
76683
76684 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76685
76686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76687
76688 2012-09-25 Roland McGrath <roland@hack.frob.com>
76689
76690 * Makefile.in (all, install): Declare with .PHONY.
76691 Reported by Michael Hope <michael.hope@linaro.org>.
76692
76693 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76694
76695 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76696 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76697 system header.
76698 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76699 Likewise.
76700 (sydep_routines): Add the new and the internal functions.
76701 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76702 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76704 (GLIBC_2.17): Add the new function.
76705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76706 (GLIBC_2.17): Likewise.
76707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76708 (GLIBC_2.17): Likewise.
76709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76710 (GLIBC_2.17): Likewise.
76711 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76712
76713 2012-09-25 Alan Modra <amodra@gmail.com>
76714
76715 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76716 Add release barrier before setting once_control to say
76717 initialisation is done. Add hints on lwarx. Use macro in
76718 place of isync.
76719 (clear_once_control): Add release barrier.
76720
76721 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76722
76723 [BZ #13629]
76724 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76725 specially.
76726 * math/s_clog10.c (__clog10): Likewise.
76727 * math/s_clog10f.c (__clog10f): Likewise.
76728 * math/s_clog10l.c (__clog10l): Likewise.
76729 * math/s_clogf.c (__clogf): Likewise.
76730 * math/s_clogl.c (__clogl): Likewise.
76731 * math/Makefile (libm-calls): Add x2y2m1.
76732 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76733 (__x2y2m1): Likewise.
76734 (__x2y2m1l): Likewise.
76735 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76736 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76737 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76738 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76739 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76740 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76741 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76742 * sysdeps/i386/fpu/libm-test-ulps: Update.
76743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76744
76745 [BZ #14621]
76746 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76747 int as type of variable DEPTH.
76748 (glob): Use size_t instead of int as type of variables NEWCOUNT
76749 and OLD_PATHC.
76750
76751 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76752
76753 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76754 Add s_sincosf-sse2.
76755 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76756 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76757 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76758 macros for using routine as __sincosf_ia32.
76759 Use macro for function declaration and weak_alias.
76760 * sysdeps/i386/fpu/libm-test-ulps: Update.
76761
76762 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76764
76765 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76766 subnormal argument.
76767 * math/s_cexpf.c (__cexpf): Likewise.
76768 * math/s_csinf.c (__csinf): Likewise.
76769 * math/s_csinhf.c (__csinhf): Likewise.
76770 * math/s_ctanf.c (__ctanf): Likewise.
76771 * math/s_ctanhf.c (__ctanhf): Likewise.
76772 * math/s_ccosh.c (__ccoshf): Likewise.
76773 * math/s_cexp.c (__cexpl): Likewise.
76774 * math/s_csin.c (__csin): Likewise.
76775 * math/s_csinh.c (__csinh): Likewise.
76776 * math/s_ctan.c (__ctan): Likewise.
76777 * math/s_ctanh.c (ctanh): Likewise.
76778 * math/s_ccoshl.c (__ccoshl): Likewise.
76779 * math/s_cexpl.c (__cexpl): Likewise.
76780 * math/s_csinl.c (__csinl): Likewise.
76781 * math/s_csinhl.c (__csinhl): Likewise.
76782 * math/s_ctanl.c (__ctanl): Likewise.
76783 * math/s_ctanhl.c (__ctanhl): Likewise.
76784
76785 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76786
76787 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76788 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76789 (_IO_off_t): Define to __off_t, not _G_off_t.
76790 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76791 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76792 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76793 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76794 type of __dummy and __dummy2 fields.
76795 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76796 (_G_ssize_t): Likewise.
76797 (_G_off_t): Likewise.
76798 (_G_pid_t): Likewise.
76799 (_G_uid_t): Likewise.
76800 (_G_wchar_t): Likewise.
76801 (_G_wint_t): Likewise.
76802 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76803 (_G_ssize_t): Likewise.
76804 (_G_off_t): Likewise.
76805 (_G_pid_t): Likewise.
76806 (_G_uid_t): Likewise.
76807 (_G_wchar_t): Likewise.
76808 (_G_wint_t): Likewise.
76809 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76810 (_G_ssize_t): Likewise.
76811 (_G_off_t): Likewise.
76812 (_G_pid_t): Likewise.
76813 (_G_uid_t): Likewise.
76814 (_G_wchar_t): Likewise.
76815 (_G_wint_t): Likewise.
76816
76817 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76818
76819 * malloc/arena.c: Include malloc-sysdep.h.
76820 (shrink_heap): Use check_may_shrink_heap to decide if madvise
76821 is sufficient to shrink the heap or an unmap is needed.
76822 * sysdeps/generic/malloc-sysdep.h: New file. Define
76823 new function check_may_shrink_heap.
76824 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
76825 new function check_may_shrink_heap.
76826
76827 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76828
76829 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76830 comments.
76831
76832 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
76833
76834 * catgets/test-gencat.sh: Add "set -e".
76835 * elf/tst-pathopt.sh: Likewise.
76836 * grp/tst_fgetgrent.sh: Likewise.
76837 * iconvdata/run-iconv-test.sh: Likewise.
76838 * intl/tst-gettext.sh: Likewise.
76839 * intl/tst-gettext2.sh: Likewise.
76840 * intl/tst-gettext4.sh: Likewise.
76841 * intl/tst-gettext6.sh: Likewise.
76842 * intl/tst-translit.sh: Likewise.
76843 * io/ftwtest-sh: Likewise.
76844 * libio/test-freopen.sh: Likewise.
76845 * malloc/tst-mtrace.sh: Likewise.
76846 * posix/globtest.sh: Likewise.
76847 * posix/tst-getconf.sh: Likewise.
76848 * posix/wordexp-tst.sh: Likewise.
76849 * stdio-common/tst-printf.sh: Likewise.
76850 * stdio-common/tst-unbputc.sh: Likewise.
76851 * stdlib/tst-fmtmsg.sh: Likewise.
76852 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76853 * catgets/Makefile: Do not specify -e option when running
76854 testsuite shell scripts.
76855 * elf/Makefile: Likewise.
76856 * grp/Makefile: Likewise.
76857 * iconvdata/Makefile: Likewise.
76858 * intl/Makefile: Likewise.
76859 * io/Makefile: Likewise.
76860 * libio/Makefile: Likewise.
76861 * malloc/Makefile: Likewise.
76862 * posix/Makefile: Likewise.
76863 * stdio-common/Makefile: Likewise.
76864 * stdlib/Makefile: Likewise.
76865 * sysdeps/x86_64/Makefile: Likewise.
76866
76867 * io/ftwtest-sh: Add copyright header.
76868 * posix/globtest.sh: Likewise.
76869 * posix/tst-getconf.sh: Likewise.
76870 * posix/wordexp-tst.sh: Likewise.
76871 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76872
76873 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
76874
76875 [BZ #13679]
76876 * Makeconfig (+link): Defined as $(+link-static) if
76877 $(build-shared) isn't yes.
76878 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76879 isn't yes.
76880 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76881
76882 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76883
76884 [BZ #14562]
76885 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76886 new chunk size with MALLOC_ALIGN_MASK.
76887
76888 2012-09-24 Joseph Myers <joseph@codesourcery.com>
76889
76890 [BZ #5044]
76891 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76892 <rounding-mode.h>.
76893 (__printf_fphex): Determine rounding using get_rounding_mode and
76894 round_away.
76895 * stdio-common/tst-printf-round.c (struct hex_test): New
76896 structure.
76897 (hex_tests): New variable.
76898 (test_hex_in_one_mode): New function.
76899 (do_test): Also run tests for hex float output.
76900
76901 2012-09-21 Joseph Myers <joseph@codesourcery.com>
76902
76903 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76904 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76905 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76906 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76907 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76908 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76909 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76910 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76911
76912 2012-09-20 Joseph Myers <joseph@codesourcery.com>
76913
76914 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76915 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76916 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76917 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76918
76919 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
76920
76921 [BZ #14579]
76922 * elf/rtld.c (dl_main): Limit the check for self loading to normal
76923 mode only.
76924 * elf/tst-rtld-load-self.sh: New test.
76925 * elf/Makefile: Run it.
76926
76927 2012-09-18 Joseph Myers <joseph@codesourcery.com>
76928
76929 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76930 (tst-writev-ENV): Remove.
76931 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76932
76933 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
76934
76935 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76936
76937 2012-09-17 Joseph Myers <joseph@codesourcery.com>
76938
76939 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76940 unconditional.
76941 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76942 Likewise.
76943 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76944 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76945 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76946 Likewise.
76947
76948 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
76949
76950 [BZ #14587]
76951 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76952 * config.make.in (have-cpp-asm-debuginfo): Removed.
76953 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76954 * configure: Regenerated.
76955
76956 2012-09-14 Joseph Myers <joseph@codesourcery.com>
76957
76958 [BZ #5044]
76959 * stdio-common/printf_fp.c: Include <stdbool.h> and
76960 <rounding-mode.h>.
76961 (___printf_fp): Determine rounding using get_rounding_mode and
76962 round_away.
76963 * stdio-common/tst-printf-round.c: New file.
76964 * stdio-common/Makefile (tests): Add tst-printf-round.
76965 (link-libm): New variable.
76966 ($(objpfx)tst-printf-round): Depend in $(link-libm).
76967
76968 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
76969
76970 [BZ #14576]
76971 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76972 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76973 Likewise.
76974 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76975 Likewise.
76976
76977 2012-09-13 Joseph Myers <joseph@codesourcery.com>
76978
76979 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76980 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76981 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76982 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76983
76984 2012-09-12 Joseph Myers <joseph@codesourcery.com>
76985
76986 [BZ #14518]
76987 * include/rounding-mode.h: New file.
76988 * sysdeps/generic/get-rounding-mode.h: Likewise.
76989 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76990 * stdlib/strtod_l.c: Include <rounding-mode.h>.
76991 (MAX_VALUE): New macro.
76992 (MIN_VALUE): Likewise.
76993 (overflow_value): New function.
76994 (underflow_value): Likewise.
76995 (round_and_return): Use overflow_value and underflow_value to
76996 determine return values in overflow and underflow cases. Use
76997 round_away to determine rounding depending on rounding mode.
76998 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76999 determine return values in overflow and underflow cases.
77000 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77001 (struct test_results): New structure.
77002 (struct test): Use struct test_results to store expected results
77003 for all rounding modes.
77004 (TEST): Include expected results for all rounding modes.
77005 (test_in_one_mode): New function.
77006 (do_test): Use test_in_one_mode to compute and check results.
77007 Check results for all rounding modes.
77008 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77009 $(link-libm).
77010
77011 2012-12-09 Allan McRae <allan@archlinux.org>
77012
77013 * sysdeps/i386/fpu/libm-test-ulps: Update
77014
77015 2012-09-11 Joseph Myers <joseph@codesourcery.com>
77016
77017 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77018 (_G_int32_t): Likewise.
77019 (_G_uint16_t): Likewise.
77020 (_G_uint32_t): Likewise.
77021 (_G_HAVE_BOOL): Likewise.
77022 (_G_HAVE_ATEXIT): Likewise.
77023 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77024 (_G_HAVE_IO_FILE_OPEN): Likewise.
77025 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77026 (_G_int32_t): Likewise.
77027 (_G_uint16_t): Likewise.
77028 (_G_uint32_t): Likewise.
77029 (_G_HAVE_BOOL): Likewise.
77030 (_G_HAVE_ATEXIT): Likewise.
77031 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77032 (_G_HAVE_IO_FILE_OPEN): Likewise.
77033 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77034 (_G_int32_t): Likewise.
77035 (_G_uint16_t): Likewise.
77036 (_G_uint32_t): Likewise.
77037 (_G_HAVE_BOOL): Likewise.
77038 (_G_HAVE_ATEXIT): Likewise.
77039 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77040 (_G_HAVE_IO_FILE_OPEN): Likewise.
77041
77042 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77043
77044 * csu/libc-tls.c: Update copyright years.
77045
77046 2012-09-10 Joseph Myers <joseph@codesourcery.com>
77047
77048 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77049 [!_G_USING_THUNKS]: Remove conditional code.
77050 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77051 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77052
77053 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77054 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77055 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77056 (_G_VTABLE_LABEL_PREFIX): Likewise.
77057 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77058 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77059 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77060 (_G_VTABLE_LABEL_PREFIX): Likewise.
77061 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77062 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77063 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77064 (_G_VTABLE_LABEL_PREFIX): Likewise.
77065 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77066
77067 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77068
77069 * libio/Makefile: Include ../Makeconfig before tests.
77070 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77071 only if $(build-shared) is yes.
77072
77073 * iconv/gconv_db.c: Update copyright years.
77074
77075 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77076
77077 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77078 unwind info if defined PIC. Fix special cases description.
77079 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77080
77081 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77082 DP_HI_MASK entry.
77083 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77084
77085 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77086
77087 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77088
77089 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77090 is NULL.
77091
77092 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77093 (LDLIBS-tst-chk4): This.
77094 (LDFLAGS-tst-chk5): Renamed to ...
77095 (LDLIBS-tst-chk5): This.
77096 (LDFLAGS-tst-chk6): Renamed to ...
77097 (LDLIBS-tst-chk6): This.
77098 (LDFLAGS-tst-lfschk4): Renamed to ...
77099 (LDLIBS-tst-lfschk4): This.
77100 (LDFLAGS-tst-lfschk5): Renamed to ...
77101 (LDLIBS-tst-lfschk5): This.
77102 (LDFLAGS-tst-lfschk6): Renamed to ...
77103 (LDLIBS-tst-lfschk6): This.
77104
77105 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77106 on $(common-objpfx)soversions.mk.
77107
77108 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77109
77110 [BZ #10014]
77111 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77112 example host name.
77113
77114 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77115
77116 * malloc/arena.c (arena_get_retry): New function that gets
77117 another arena for the caller to try its request on.
77118 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77119 current arena cannot fulfill the request.
77120 (__libc_memalign): Likewise.
77121 (__libc_memalign): Likewise.
77122 (__libc_pvalloc): Likewise.
77123 (__libc_calloc): Likewise.
77124
77125 2012-09-05 John Tobey <john.tobey@gmail.com>
77126
77127 [BZ #13542]
77128 * manual/arith.texi (Operations on Complex): Fix description
77129 of carg branch cut.
77130
77131 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77132
77133 [BZ #10014]
77134 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77135 host name.
77136
77137 [BZ #10038]
77138 * manual/memory.texi (Memory): Make order of menu items match
77139 order of sections.
77140
77141 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77142
77143 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77144 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77145 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77146
77147 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77148
77149 * csu/libc-tls.c (static_dtv): Renamed to ...
77150 (_dl_static_dtv): This. Make it global.
77151 (_dl_initial_dtv): Removed.
77152 (__libc_setup_tls): Updated.
77153 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77154 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77155 DL_INITIAL_DTV.
77156
77157 2012-09-06 Petr Machata <pmachata@redhat.com>
77158
77159 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77160 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77161 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77162 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77163
77164 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77165
77166 [BZ #14545]
77167 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77168 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77169 freeing dtv[-1].
77170
77171 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77172
77173 [BZ #14544]
77174 * Makeconfig (link-static-before-libc): Replace $(+prector)
77175 with $(+prectorT).
77176 (link-static-after-libc): Replace $(+postctor) with
77177 $(+postctorT).
77178 (link-bounded): Replace $(+prector)/$(+postctor) with
77179 $(+prectorT)/$(+postctorT).
77180 (+prectorT): New macro.
77181 (+postctorT): Likewise.
77182
77183 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77184
77185 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77186 (round_str): Handle values above the maximum for IBM long double
77187 as inexact.
77188 * stdlib/tst-strtod-round.c (tests): Regenerated.
77189
77190 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77191
77192 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77193 assembler flag.
77194 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77195 zarch_nohighgprs around the zarch optimized routines.
77196 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77197 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77198 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77199 for zarch.
77200
77201 2012-09-05 David S. Miller <davem@davemloft.net>
77202
77203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77204
77205 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77206 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77207 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77208 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77209 entries.
77210
77211 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77212
77213 * malloc/arena.c: Fold copyright years.
77214 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77215
77216 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77217
77218 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77219
77220 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77221
77222 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77223
77224 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77225
77226 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77227 change internal state upon failure.
77228
77229 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77230
77231 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77232 * malloc/memusage.c (mmap): Likewise.
77233 (mmap64, mremap): Likewise. Adjust name in comment.
77234
77235 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77236
77237 * libio/fileops.c: Fix typos in comments.
77238 * libio/oldfileops.c: Likewise.
77239 * libio/wfileops.c: Likewise.
77240
77241 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77242
77243 [BZ #1349]
77244 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77245 (tst-malloc-usable-ENV): Set environment for test case.
77246 * malloc/hooks.c (malloc_check_get_size): New function to get
77247 requested size.
77248 * malloc/malloc.c (musable): Use malloc_check_get_size.
77249 * malloc/tst-malloc-usable.c: New test case.
77250
77251 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77252
77253 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77254
77255 2012-09-05 Allan McRae <allan@archlinux.org>
77256
77257 [BZ #13966]
77258 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77259 determine header location.
77260 * configure: Regenerated.
77261
77262 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77263
77264 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77265 float format.
77266 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77267 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77268 format.
77269 (test): Regenerate.
77270
77271 2012-09-04 David S. Miller <davem@davemloft.net>
77272
77273 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77274 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77276
77277 2012-09-04 Florian Weimer <fweimer@redhat.com>
77278
77279 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77280 failures.
77281
77282 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77283
77284 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77285
77286 [BZ #9914]
77287 * libio/iogetdelim.c: Include <limits.h>.
77288 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77289 + len + 1 would overflow.
77290
77291 2012-09-03 Andreas Jaeger <aj@suse.de>
77292
77293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77294 * sysdeps/i386/fpu/libm-test-ulps: Update.
77295
77296 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77297
77298 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77299 Add s_sinf-sse2, s_conf-sse2.
77300
77301 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77302 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77303 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77304 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77305
77306 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77307 for using routine as __sinf_ia32.
77308 Use macro for function declaration and weak_alias.
77309 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77310 for using routine as __cosf_ia32.
77311 Use macro for function declaration and weak_alias.
77312
77313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77314 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77315
77316 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77317 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77319
77320 * math/libm-test.inc (cos_test): Add more test cases.
77321 (sin_test): Likewise.
77322 (sincos_test): Likewise.
77323
77324 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77325
77326 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77327 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77328 hidden.
77329 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77330
77331 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77332
77333 [BZ #14538]
77334 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77335 first element of the GOT.
77336 (elf_machine_load_address): Return the difference between
77337 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77338
77339 2012-09-01 Allan McRae <allan@archlinux.org>
77340
77341 [BZ #13412]
77342 * configure.in (AWK): Require gawk version 3.0 or later.
77343 * configure: Regenerated.
77344
77345 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77346
77347 * sysdeps/unix/sysv/linux/kernel-features.h
77348 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77350 [__NR_clock_getres]: Make code unconditional.
77351 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77352 (clock_getcpuclockid): Remove code left unreachable by removal of
77353 conditionals.
77354 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77355 code unconditional.
77356 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77358 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77359 Make code unconditional.
77360 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77361 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77362 * sysdeps/unix/sysv/linux/clock_settime.c
77363 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77364 conditional code.
77365 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77366 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77367
77368 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77369
77370 [BZ #14476]
77371 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77372 scripts/test-installation.pl.
77373
77374 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77375 and $ld_so_version if it is set.
77376
77377 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77378
77379 [BZ #14516]
77380 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77381 failure if reading from procfs failed.
77382 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77383
77384 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77385
77386 * sysdeps/unix/sysv/linux/kernel-features.h
77387 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77388 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77389 Remove conditional code.
77390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77391 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77392 Remove conditional code.
77393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77394 * sysdeps/unix/sysv/linux/i386/fxstat.c
77395 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77397 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77398 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77400 * sysdeps/unix/sysv/linux/i386/lxstat.c
77401 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77403 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77404 Remove conditional code.
77405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77406 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77407 Remove conditional code.
77408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77409 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77410 <kernel-features.h>.
77411 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77412 Remove.
77413 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77414 Remove conditional code.
77415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77416 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77417 Remove conditional.
77418
77419 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77420
77421 [BZ #5400]
77422 * NEWS: Add fixed bug number.
77423
77424 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77425
77426 [BZ #14519]
77427 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77428 underflowing exponent in case of negative sign.
77429 * stdlib/tst-strtod-round-data: Add more tests.
77430 * stdlib/tst-strtod-round.c (tests): Regenerated.
77431
77432 [BZ #3479]
77433 * stdlib/strtod_l.c (NDIG): Remove.
77434 (HEXNDIG): Likewise.
77435 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77436 smallest representable value.
77437 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77438 lie within an exact representation of 1/2 ulp of the result.
77439 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77440 unconditionally.
77441 (TENS_P9_IDX): Define unconditionally.
77442 (TENS_P9_SIZE): Likewise.
77443 (TENS_P10_IDX): Likewise.
77444 (TENS_P10_SIZE): Likewise.
77445 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77446 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77447 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77448 entries for 10^2^13 and 10^2^14.
77449 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77450 (TENS_P13_IDX): Define.
77451 (TENS_P13_SIZE): Likewise.
77452 (TENS_P14_IDX): Likewise.
77453 (TENS_P14_SIZE): Likewise.
77454 (_fpioconst_pow10): Change array size to
77455 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77456 unconditional.
77457 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77458 1024]: Add entries for 10^2^13 and 10^2^14.
77459 [LAST_POW10 > _LAST_POW10]: Remove #error.
77460 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77461 (_fpioconst_pow10): Change array size to
77462 FPIOCONST_POW10_ARRAY_SIZE.
77463 * stdlib/gen-fpioconst.c: New file.
77464 * stdlib/gen-tst-strtod-round.c: Likewise.
77465 * stdlib/tst-strtod-round-data: Likewise.
77466 * stdlib/tst-strtod-round.c: Likewise.
77467 * stdlib/Makefile (tests): Add tst-strtod-round.
77468
77469 [BZ #14459]
77470 * stdlib/strtod_l.c: Include <stdint.h>.
77471 (NDEBUG): Do not define.
77472 (round_and_return): Change EXPONENT parameter to type intmax_t.
77473 Rearrange calculations to avoid internal overflow possibilities.
77474 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77475 Rearrange calculations to avoid internal overflow possibilities.
77476 Assert that number fits inside MPNSIZE limbs.
77477 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77478 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77479 calculations and add assertions to avoid internal overflow
77480 possibilities. Add casts to avoid signed/unsigned operations.
77481 * stdlib/tst-strtod-overflow.c: New file.
77482 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77483
77484 2012-08-25 Marek Polacek <polacek@redhat.com>
77485
77486 * time/time.h: Fix some typos in comments.
77487
77488 2012-08-23 Roland McGrath <roland@hack.frob.com>
77489
77490 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77491 * posix/tst-rfc3484-2.c: Likewise.
77492 * posix/tst-rfc3484-3.c: Likewise.
77493
77494 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77495
77496 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77497 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77498
77499 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77500
77501 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77502 #include of fxstatat64.c.
77503
77504 2012-08-22 Roland McGrath <roland@hack.frob.com>
77505
77506 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77507 * shadow/getspent_r.c: Likewise.
77508 * shadow/getspnam.c: Likewise.
77509 * shadow/getspnam_r.c: Likewise.
77510 * gshadow/getsgent.c: Likewise.
77511 * gshadow/getsgent_r.c: Likewise.
77512 * gshadow/getsgnam.c: Likewise.
77513 * gshadow/getsgnam_r.c: Likewise.
77514 * inet/getnetbyad.c: Likewise.
77515 * inet/getnetbyad_r.c: Likewise.
77516 * inet/getnetbynm.c: Likewise.
77517 * inet/getnetbynm_r.c: Likewise.
77518 * inet/getnetent.c: Likewise.
77519 * inet/getnetent_r.c: Likewise.
77520 * inet/getproto.c: Likewise.
77521 * inet/getproto_r.c: Likewise.
77522 * inet/getprtent.c: Likewise.
77523 * inet/getprtent_r.c: Likewise.
77524 * inet/getprtname.c: Likewise.
77525 * inet/getprtname_r.c: Likewise.
77526 * inet/getrpcbyname.c: Likewise.
77527 * inet/getrpcbyname_r.c: Likewise.
77528 * inet/getrpcbynumber.c: Likewise.
77529 * inet/getrpcbynumber_r.c: Likewise.
77530 * inet/getrpcent.c: Likewise.
77531 * inet/getrpcent_r.c: Likewise.
77532 * inet/getaliasent.c: Likewise.
77533 * inet/getaliasent_r.c: Likewise.
77534 * inet/getaliasname.c: Likewise.
77535 * inet/getaliasname_r.c: Likewise.
77536 * nscd/getgrgid_r.c: Likewise.
77537 * nscd/getgrnam_r.c: Likewise.
77538 * nscd/gethstbyad_r.c: Likewise.
77539 * nscd/gethstbynm3_r.c: Likewise.
77540 * nscd/getpwnam_r.c: Likewise.
77541 * nscd/getpwuid_r.c: Likewise.
77542 * nscd/getsrvbynm_r.c: Likewise.
77543 * nscd/getsrvbypt_r.c: Likewise.
77544 * nscd/gai.c: Likewise.
77545
77546 * configure.in (build_nscd): New substituted variable, set
77547 by --disable-build-nscd and defaults to $use_nscd.
77548 * configure: Regenerated.
77549 * config.make.in (build-nscd): New substituted variable.
77550 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77551 Change conditional to require [$(build-nscd) = yes] as well.
77552 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77553
77554 [BZ #13696]
77555 * configure.in (use_nscd): New substituted variable, set by
77556 --disable-nscd. If enabled, define USE_NSCD.
77557 * configure: Regenerated.
77558 * config.h.in: Add USE_NSCD.
77559 * config.make.in (use-nscd): New substituted variable.
77560 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77561 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77562 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77563 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77564 (CFLAGS-getgrnam_r.c): Likewise.
77565 (CFLAGS-initgroups.c): Likewise.
77566 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77567 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77568 Variables removed.
77569 * inet/getnetgrent_r.c
77570 (nscd_setnetgrent): New function, broken out of ...
77571 (setnetgrent): ... here. Call it.
77572 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77573 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77574 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77575 * nscd/Makefile (routines, aux): Move definitions after include of
77576 Makeconfig. Conditionalize on [$(use-nscd) != no].
77577 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77578 Conditionalize on [USE_NSCD].
77579 (is_nscd, nscd_init_cb): Likewise.
77580 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77581 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77582 * nss/nss_db/db-init.c: Likewise.
77583 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77584 [USE_NSCD].
77585 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77586 (make_request): Use it.
77587 (cache_valid_p): New function.
77588 (__check_pf): Use it.
77589 * NEWS: Add item for --disable-nscd.
77590
77591 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77592
77593 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77594 to support sed >= 4.2.1-20-ga9bf076.
77595 * configure: Regenerated.
77596
77597 2012-08-22 Roland McGrath <roland@hack.frob.com>
77598
77599 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77600 Conditionalize whole body on [IREL].
77601
77602 2012-08-22 Jeff Law <law@redhat.com>
77603
77604 [BZ #14505]
77605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77606 if the family is PF_UNSPEC.
77607
77608 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77609
77610 * Makerules (lib-version): Rename from V.
77611 (install-lib-nosubdir): Change V to lib-version.
77612
77613 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77614
77615 [BZ #14252]
77616 * powerpc32/power6/wcschr.c: New file.
77617 * powerpc32/power6/wcscpy.c: New file.
77618 * powerpc32/power6/wcsrchr.c: New file.
77619 * powerpc64/power6/wcschr.c: New file.
77620 * powerpc64/power6/wcscpy.c: New file.
77621 * powerpc64/power6/wcsrchr.c: New file.
77622
77623 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77624
77625 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77626 (two_way_short_needle): Use it.
77627 * string/strstr.c (AVAILABLE1_USES_J): Define.
77628 * string/strcasestr.c: Likewise.
77629
77630 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77631 array references.
77632 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77633
77634 [BZ #11607]
77635 * NEWS: Add an entry.
77636 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77637 define their defaults.
77638 (two_way_short_needle): Detect end-of-string on-the-fly.
77639 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77640 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77641 * string/bug-strcasestr1.c: New test.
77642 * string/Makefile: Run it.
77643
77644 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77645
77646 [BZ #11607]
77647 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77648 the first character.
77649
77650 2012-08-21 Roland McGrath <roland@hack.frob.com>
77651
77652 * csu/elf-init.c (__libc_csu_irel): Function removed.
77653 * csu/libc-start.c (apply_irel): New function.
77654 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77655
77656 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77657
77658 * sysdeps/unix/sysv/linux/kernel-features.h
77659 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77660 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77661 <kernel-features.h>.
77662 [__NR_fadvise64_64]: Make code unconditional.
77663 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77664 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77665 !__NR_fadvise64_64)]: Likewise.
77666 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77667 !__NR_fadvise64_64))]: Likewise.
77668 [__NR_fadvise64]: Make code unconditional.
77669 [!__NR_fadvise64]: Remove conditional code.
77670 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77671 <kernel-features.h>.
77672 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77673 unconditional.
77674 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77675 conditional code.
77676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77677 not include <kernel-features.h>.
77678 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77679 unconditional.
77680 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77681 conditional code.
77682 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77683 include <kernel-features.h>.
77684 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77685 unconditional.
77686 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77687 conditional code.
77688
77689 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77690
77691 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77692 slight instruction rearrangements per scrollpipe analysis.
77693 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77694
77695 2012-08-20 Roland McGrath <roland@hack.frob.com>
77696
77697 * manual/syslog.texi (syslog; vsyslog, closelog):
77698 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77699 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77700
77701 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77702 DSOCAPS to match condition on defining it.
77703
77704 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77705
77706 * sysdeps/unix/sysv/linux/kernel-features.h
77707 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77709 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77710 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77712 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77713 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77715 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77716 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77717
77718 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77719 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77720
77721 * sysdeps/unix/sysv/linux/kernel-features.h
77722 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77723 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77724 unconditional.
77725 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77726 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77727 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77728 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77729 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77730 Make code unconditional.
77731 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77732 (__mmap64) [!__NR_mmap2]: Likewise.
77733 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77734 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77735 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77736 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77737 [__NR_mmap2]: Make code unconditional.
77738 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77739 (__mmap64) [!__NR_mmap2]: Likewise.
77740
77741 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77742
77743 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77744
77745 2012-08-18 Andreas Jaeger <aj@suse.de>
77746
77747 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77748
77749 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77750
77751 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77752 * include/unistd.h (__have_sock_cloexec): Likewise.
77753 (__have_pipe2): Likewise.
77754 (__have_dup3): Likewise.
77755
77756 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77757
77758 [BZ #9685]
77759 * include/unistd.h (__have_pipe2): Change define into an extern int.
77760 (__have_dup3): Likewise.
77761 * socket/have_sock_cloexec.c: Include fcntl.h.
77762 (__have_pipe2): New variable.
77763 (__have_dup3): Likewise.
77764
77765 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77766
77767 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77768
77769 2012-08-17 Marek Polacek <polacek@redhat.com>
77770
77771 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77772 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77773
77774 2012-08-17 Roland McGrath <roland@hack.frob.com>
77775
77776 * configure.in: Add AC_SUBST for sysheaders.
77777 * configure: Regenerated.
77778 * config.make.in (sysheaders): New substituted variable.
77779
77780 * sysdeps/unix/mkfifo.c: Moved ...
77781 * sysdeps/posix/mkfifo.c: ... here.
77782 * sysdeps/unix/mkfifoat.c: Moved ...
77783 * sysdeps/posix/mkfifoat.c: ... here.
77784
77785 * sysdeps/unix/utime.c: Moved ...
77786 * sysdeps/posix/utime.c: ... here.
77787
77788 * sysdeps/unix/time.c: Moved ...
77789 * sysdeps/posix/time.c: ... here.
77790 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77791 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77792
77793 * sysdeps/unix/nice.c: Moved ...
77794 * sysdeps/posix/nice.c: ... here.
77795
77796 * sysdeps/unix/alarm.c: Moved ...
77797 * sysdeps/posix/alarm.c: ... here.
77798
77799 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77800
77801 2012-08-17 Jeff Law <law@redhat.com>
77802
77803 * intl/Makefile (codeset_mo): New variable.
77804 ($(codeset_mo)): New target.
77805 (tst-codeset.out): Depend on that. Remove explicit rule.
77806 (tst-gettext3.out, tst-gettext5.out): Likewise.
77807 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77808 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77809 * intl/tst-codeset.sh: Remove.
77810 * intl/tst-gettext3.sh: Likewise.
77811 * intl/tst-gettext5.sh: Likewise.
77812
77813 2012-08-17 Roland McGrath <roland@hack.frob.com>
77814
77815 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77816 * sysdeps/unix/syscalls.list: ... here.
77817
77818 * sysdeps/posix/getaddrinfo.c
77819 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77820 (gaiconf_init, gaiconf_reload): Use them.
77821 [!_STATBUF_ST_NSEC]
77822 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77823 Define using time_t rather than struct timespec.
77824
77825 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77826 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77827 Macros removed.
77828 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77829 [!NO_THREADS].
77830 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77831 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77832 Likewise.
77833
77834 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77835 __libc_cleanup_push argument.
77836
77837 * bits/param.h: New file.
77838 * misc/sys/param.h: New file.
77839 * include/sys/param.h: New file.
77840 * misc/Makefile (headers): Add bits/param.h.
77841 * sysdeps/generic/sys/param.h: File removed.
77842 * sysdeps/unix/sysv/linux/bits/param.h: New file.
77843 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77844 * sysdeps/mach/hurd/bits/param.h: New file.
77845 * sysdeps/mach/hurd/sys/param.h: File removed.
77846
77847 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77848 last change.
77849
77850 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77851 [_IO_MTSAFE_IO].
77852 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77853 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77854 New macros.
77855
77856 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77857 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77858 rather than -D_IO_MTSAFE_IO conditionally.
77859 * stdio-common/Makefile (CPPFLAGS): Likewise.
77860 * wcsmbs/Makefile (CPPFLAGS): Likewise.
77861 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77862 Use $(libio-mtsafe).
77863 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77864 of -D_IO_MTSAFE_IO.
77865 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77866 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77867 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77868 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77869 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77870 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77871 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77872 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77873 (CFLAGS-fread_u_chk.c): Likewise.
77874 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77875 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77876 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77877 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77878 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77879 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77880 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77881 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77882 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77883
77884 * libio/Makefile: Test [$(libc-reentrant) = yes]
77885 instead of [$(filter %REENTRANT, $(defines)) nonempty].
77886
77887 * Makeconfig
77888 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77889 * sysdeps/pthread/configure: File removed.
77890 * sysdeps/pthread/Makeconfig: New file.
77891 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77892 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77893
77894 2012-08-16 Gary Benson <gbenson@redhat.com>
77895
77896 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77897 unmapping the first object in a namespace.
77898
77899 2012-08-16 Roland McGrath <roland@hack.frob.com>
77900
77901 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77902 (__internal_setnetgrent): ... this. Add internal_function to
77903 definition. Add libc_hidden_def.
77904 (setnetgrent): Update caller.
77905 (internal_endnetgrent): Renamed to ...
77906 (__internal_endnetgrent): ... this. Add internal_function to
77907 definition. Add libc_hidden_def.
77908 (endnetgrent): Update caller.
77909 (internal_getnetgrent_r): Renamed to ...
77910 (__internal_getnetgrent_r): ... this. Add internal_function to
77911 definition. Add libc_hidden_def.
77912 (__getnetgrent_r): Update caller.
77913 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
77914
77915 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77916
77917 * stdlib/longlong.h: Update from GCC.
77918
77919 2012-08-16 Roland McGrath <roland@hack.frob.com>
77920
77921 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77922 on _QL, which is set by umul_ppmm but never used.
77923 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77924 variables, which are set by GMP macros but never used.
77925 * stdio-common/_itowa.c (_itowa): Likewise.
77926 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77927 * stdlib/mod_1.c (mpn_mod_1): Likewise.
77928
77929 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
77930
77931 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77932 struct La_sh_regs is not constant.
77933 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77934 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77935 and struct La_sparc64_regs are not constant.
77936
77937 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77938
77939 * sysdeps/unix/sysv/linux/kernel-features.h
77940 (__ASSUME_POSIX_TIMERS): Remove.
77941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77943 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77944 Make code unconditional.
77945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77946 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77947 Make code unconditional.
77948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77949 * sysdeps/unix/sysv/linux/clock_nanosleep.c
77950 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77951 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77952 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77953 Make code unconditional.
77954 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77955 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77956 (__libc_missing_posix_timers): Remove.
77957
77958 2012-08-15 Roland McGrath <roland@hack.frob.com>
77959
77960 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77961 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77962
77963 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77964
77965 * elf/dl-sym.c: Include <stdlib.h>.
77966
77967 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77968 constants, which avoids warnings in 32-bit builds.
77969
77970 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77971 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77972
77973 * misc/lseek.c: File moved to ...
77974 * io/lseek.c: ... here.
77975
77976 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77977
77978 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77979 shifting LEN more than 31 bits at once.
77980
77981 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77982
77983 [BZ #14195]
77984 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77985 segmentation fault for a case of two empty input strings.
77986 * string/test-strncasecmp.c (check1): Renamed to...
77987 (bz12205): ...this.
77988 (bz14195): Add new testcase for two empty input strings and N > 0.
77989 (test_main): Call new testcase, adapt for renamed function.
77990
77991 2012-08-15 Andreas Jaeger <aj@suse.de>
77992
77993 [BZ #14090]
77994 * crypt/md5test2.c: New test, based on test supplied by Serge
77995 Belyshev <belyshev@depni.sinp.msu.ru>.
77996 * crypt/Makefile (xtests): Add md5test-giant..
77997 * crypt/Makefile ($(objpfx)md5test-giant): Add.
77998
77999 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78000
78001 [BZ #14090]
78002 * crypt/md5.c (md5_process_block): Don't assume the buffer
78003 length is less than 2**32.
78004 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78005 length is less than 2**64.
78006
78007 2012-08-15 Roland McGrath <roland@hack.frob.com>
78008
78009 * string/str-two-way.h: Include <sys/param.h>.
78010 (MAX): Macro removed.
78011
78012 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78013 Move #define and #undef of memmove to just before and after
78014 including <string.h>.
78015
78016 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78017 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78018 and after including <string.h>. Move declarations of
78019 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78020 to before #include "string/memmove.c".
78021
78022 * include/dirent.h: Declare __getdirentries.
78023
78024 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78025 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78026
78027 2012-08-14 Mike Frysinger <vapier@gentoo.org>
78028
78029 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78030 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78031 * sysdeps/i386/configure: Regenerated.
78032 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78033 STABS_CURRENT_FILE, and STABS_FUN.
78034 (END): Remove call to STABS_FUN_END.
78035 (STABS_CURRENT_FILE1): Delete.
78036 (STABS_CURRENT_FILE): Likewise.
78037 (STABS_FUN): Likewise.
78038 (STABS_FUN_END): Likewise.
78039 (STABS_FUN2): Likewise.
78040 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78041 * sysdeps/x86_64/configure: Regenerated.
78042
78043 2012-08-14 Roland McGrath <roland@hack.frob.com>
78044
78045 * elf/dl-open.c: Include <atomic.h>.
78046 * elf/dl-lookup.c: Likewise.
78047
78048 2012-08-14 Joseph Myers <joseph@codesourcery.com>
78049
78050 * sysdeps/unix/sysv/linux/kernel-features.h
78051 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78052 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78053 unconditionally.
78054 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78055 unconditionally.
78056 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78057 condition on __ASSUME_CLONE_THREAD_FLAGS.
78058
78059 2012-08-14 Andreas Jaeger <aj@suse.de>
78060
78061 * sysdeps/i386/fpu/libm-test-ulps: Update.
78062
78063 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
78064
78065 * include/atomic.h (atomic_exchange_and_add): Split into ...
78066 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78067 New atomic macros.
78068
78069 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78070
78071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78072
78073 2012-08-13 Jeff Law <law@redhat.com>
78074
78075 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78076 null byte in the output string.
78077
78078 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78079
78080 * sysdeps/unix/sysv/linux/kernel-features.h
78081 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78082 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78083 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78084 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78085 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78086 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78087 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78088
78089 2012-08-09 Jeff Law <law@redhat.com>
78090
78091 [BZ #13939]
78092 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78093 When avoid_arena is set, don't retry in the that arena. Pick the
78094 next one, whatever it might be.
78095 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78096 (arena_lock): Pass in new parameter to arena_get2.
78097 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78098 arena_get2.
78099 (__libc_malloc): Unify retrying after main arena failure with
78100 __libc_memalign version.
78101 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78102
78103 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78104
78105 [BZ #14166]
78106 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78107 to __redirect_strstr.
78108 (__strstr_sse42): Use typeof __redirect_strstr.
78109 (__strstr_ia32): Likewise.
78110 (__libc_strstr): New prototype.
78111 (strstr): Renamed to ...
78112 (__libc_strstr): This.
78113 (strstr): New strong alias of __libc_strstr.
78114 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78115 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78116 __redirect_time.
78117 Include <time.h>.
78118 (__libc_time): New prototype.
78119 (time_ifunc): Replace time with __libc_time.
78120 (time): New strong alias and hidden definition of __libc_time.
78121 (__GI_time): Remove strong alias.
78122 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78123 Include <stddef.h>.
78124 (memmove): Redefined to __redirect_memmove.
78125 (__memmove_sse2): Use typeof __redirect_memmove.
78126 (__memmove_ssse3): Likewise.
78127 (__memmove_ssse3_back): Likewise.
78128 (__libc_memmove): New prototype.
78129 (memmove): Renamed to ...
78130 (__libc_memmove): This.
78131 (memmove): New strong alias of __libc_memmove.
78132
78133 2012-08-08 Mark Salter <msalter@redhat.com>
78134
78135 * elf/elf.h
78136 (R_MN10300_TLS_GD): Define.
78137 (R_MN10300_TLS_LD): Likewise.
78138 (R_MN10300_TLS_LDO): Likewise.
78139 (R_MN10300_TLS_GOTIE): Likewise.
78140 (R_MN10300_TLS_IE): Likewise.
78141 (R_MN10300_TLS_LE): Likewise.
78142 (R_MN10300_TLS_DTPMOD): Likewise.
78143 (R_MN10300_TLS_DTPOFF): Likewise.
78144 (R_MN10300_TLS_TPOFF): Likewise.
78145 (R_MN10300_SYM_DIFF): Likewise.
78146 (R_MN10300_ALIGN): Likewise.
78147 (R_MN10300_NUM): Update.
78148
78149 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78150
78151 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78152 Remove.
78153
78154 2012-08-08 Roland McGrath <roland@hack.frob.com>
78155
78156 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78157
78158 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78159 sysdeps/unix -> sysdeps/posix move.
78160 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78161
78162 2012-08-07 Allan McRae <allan@archlinux.org>
78163
78164 [BZ #14303]
78165 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78166 (SUNOS_CPP): Likewise.
78167 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78168 not found.
78169 (open_input): Call CPP using execvp.
78170
78171 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78172
78173 * sysdeps/unix/sysv/linux/kernel-features.h
78174 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78175 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78176 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78177 (__ASSUME_WAITID_SYSCALL): Likewise.
78178 * sysdeps/unix/sysv/linux/dl-execstack.c
78179 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78180 code unconditional.
78181 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78182 conditional code.
78183 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78184 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78185 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78186 code.
78187 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78188 unconditional.
78189 [__ASSUME_WAITID_SYSCALL]: Likewise.
78190 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78191
78192 2012-08-07 Roland McGrath <roland@hack.frob.com>
78193
78194 * sysdeps/unix/closedir.c: Renamed to ...
78195 * sysdeps/posix/closedir.c: ... here.
78196 * sysdeps/unix/dirfd.c: Renamed to ...
78197 * sysdeps/posix/dirfd.c: ... here.
78198 * sysdeps/unix/dirstream.h: Renamed to ...
78199 * sysdeps/posix/dirstream.h: ... here.
78200 * sysdeps/unix/fdopendir.c: Renamed to ...
78201 * sysdeps/posix/fdopendir.c: ... here.
78202 * sysdeps/unix/opendir.c: Renamed to ...
78203 * sysdeps/posix/opendir.c: ... here.
78204 * sysdeps/unix/readdir.c: Renamed to ...
78205 * sysdeps/posix/readdir.c: ... here.
78206 * sysdeps/unix/readdir_r.c: Renamed to ...
78207 * sysdeps/posix/readdir_r.c: ... here.
78208 * sysdeps/unix/rewinddir.c: Renamed to ...
78209 * sysdeps/posix/rewinddir.c: ... here.
78210 * sysdeps/unix/seekdir.c: Renamed to ...
78211 * sysdeps/posix/seekdir.c: ... here.
78212 * sysdeps/unix/telldir.c: Renamed to ...
78213 * sysdeps/posix/telldir.c: ... here.
78214 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78215 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78216 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78217 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78218
78219 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78220 * bits/fcntl.h: ... here.
78221
78222 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78223 not 0.
78224 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78225 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78226 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78227 (struct flock): Move l_start, l_len to the beginning.
78228 Use __pid_t for l_pid.
78229 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78230 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78231 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78232 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78233 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78234 [__USE_LARGEFILE64] (struct flock64): New type.
78235 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78236
78237 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78238 * bits/dirent.h: ... here.
78239
78240 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78241 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78242
78243 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78244
78245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78246 Change from 2.6.0 to 2.6.16.
78247 * sysdeps/unix/sysv/linux/configure: Regenerated.
78248 * sysdeps/unix/sysv/linux/kernel-features.h
78249 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78250 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78251 version.
78252 (__ASSUME_UTIMES): Likewise.
78253 (__ASSUME_CLONE_STOPPED): Remove.
78254 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78255 architectures, not kernel version.
78256 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78257 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78258 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78259 (__ASSUME_WAITID_SYSCALL): Likewise.
78260 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78261 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78262 * README: State 2.6.16 as minimum Linux kernel version. Do not
78263 refer to older versions.
78264
78265 2012-08-06 Roland McGrath <roland@hack.frob.com>
78266
78267 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78268 Define alphasort64 as an alias.
78269 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78270 Define versionsort64 as an alias.
78271 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78272 Define scandir64 as an alias.
78273 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78274 Define scandirat64 as an alias.
78275 * dirent/alphasort64.c (alphasort64):
78276 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78277 * dirent/versionsort64.c: Likewise.
78278 * dirent/scandir64.c: Likewise.
78279 * dirent/scandirat64.c: Likewise.
78280 * sysdeps/wordsize-64/alphasort.c: File removed.
78281 * sysdeps/wordsize-64/alphasort64.c: File removed.
78282 * sysdeps/wordsize-64/scandir.c: File removed.
78283 * sysdeps/wordsize-64/scandir64.c: File removed.
78284 * sysdeps/wordsize-64/scandirat.c: File removed.
78285 * sysdeps/wordsize-64/scandirat64.c: File removed.
78286 * sysdeps/wordsize-64/versionsort.c: File removed.
78287 * sysdeps/wordsize-64/versionsort64.c: File removed.
78288 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78289 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78290 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78291 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78292 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78293 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78294 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78295 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78296
78297 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78299 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78301 [defined __arch64__ || defined __sparcv9]
78302 (__INO_T_MATCHES_INO64_T): New macro.
78303 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78304 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78305 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78306 * sysdeps/unix/sysv/linux/bits/dirent.h
78307 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78308 (_DIRENT_MATCHES_DIRENT64): New macro.
78309
78310 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78311 Define lockf64 as an alias.
78312 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78313 Define fseeko64 as an alias.
78314 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78315 Define ftello64 as an alias.
78316 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78317 Define _IO_fgetpos64 and fgetpos64 as aliases.
78318 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78319 Define _IO_fsetpos64 and fsetpos64 as aliases.
78320 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78321 Conditionalize body on this.
78322 * libio/fseeko64.c: Likewise.
78323 * libio/ftello64.c: Likewise.
78324 * libio/iofgetpos64.c: Likewise.
78325 * libio/iofsetpos64.c: Likewise.
78326 * sysdeps/wordsize-64/lockf.c: File removed.
78327 * sysdeps/wordsize-64/lockf64.c: File removed.
78328 * sysdeps/wordsize-64/fseeko.c: File removed.
78329 * sysdeps/wordsize-64/fseeko64.c: File removed.
78330 * sysdeps/wordsize-64/ftello.c: File removed.
78331 * sysdeps/wordsize-64/ftello64.c: File removed.
78332 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78333 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78334 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78335 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78336 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78337 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78338 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78339 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78340 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78341 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78342 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78343 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78344 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78345 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78346
78347 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78349 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78351 [defined __arch64__ || defined __sparcv9]
78352 (__OFF_T_MATCHES_OFF64_T): New macro.
78353 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78354 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78356 (__OFF_T_MATCHES_OFF64_T): New macro.
78357
78358 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78359
78360 * stdlib/secure-getenv.c (__secure_getenv): Replace
78361 GLIBC_2_16 with GLIBC_2_17.
78362
78363 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78364
78365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78366 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78367
78368 2012-08-03 David S. Miller <davem@davemloft.net>
78369
78370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78371
78372 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78373
78374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78375 Remove.
78376 (__ASSUME_CORRECT_SI_PID): Likewise.
78377 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78378 (__ASSUME_TMPFS_NAME): Likewise.
78379 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78380 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78381 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78382 (HAVE_AUX_SECURE): Make definition unconditional.
78383 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78384 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78385
78386 2012-08-03 Roland McGrath <roland@hack.frob.com>
78387
78388 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78389 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78390 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78391 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78392 __eloop_threshold instead of SYMLOOP_MAX.
78393
78394 * sysdeps/generic/eloop-threshold.h: New file.
78395 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78396 of MAXSYMLINKS.
78397 * elf/chroot_canon.c (chroot_canon): Likewise.
78398
78399 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78400
78401 [BZ #13717]
78402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78403 Change to 2.6.0 everywhere.
78404 * sysdeps/unix/sysv/linux/configure: Regenerated.
78405 * sysdeps/unix/sysv/linux/kernel-features.h
78406 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78407 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78408 kernel versions.
78409 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78410 (__ASSUME_FUTEX_REQUEUE): Remove.
78411 (__ASSUME_STATFS64): Define unconditionally.
78412 (__ASSUME_AT_SECURE): Likewise.
78413 (__ASSUME_CORRECT_SI_PID): Likewise.
78414 (__ASSUME_TGKILL): Define without depending on kernel version for
78415 i386.
78416 (__ASSUME_UTIMES): Likewise.
78417 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78418 kernel version.
78419 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78420 (__ASSUME_TMPFS_NAME): Likewise.
78421 * README: Update reference to Linux kernel versions.
78422
78423 2012-08-02 Marek Polacek <polacek@redhat.com>
78424
78425 [BZ #14150]
78426 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78427 libc_cv_asm_type_prefix with %.
78428 * configure: Regenerated.
78429 * include/libc-symbols.h: Remove comment about
78430 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78431 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78432 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78433 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78434 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78435 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78436 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78437 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78438 * elf/tst-unique2mod1.c: Likewise.
78439 * elf/tst-unique1mod2.c: Likewise.
78440 * elf/tst-unique1mod1.c: Likewise.
78441 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78442 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78443 Replace ASM_TYPE_DIRECTIVE with .type.
78444 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78445 * sysdeps/i386/sysdep.h: Likewise.
78446 * sysdeps/x86_64/sysdep.h: Likewise.
78447 * sysdeps/sh/sysdep.h: Likewise.
78448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78449 Do not define ASM_TYPE_DIRECTIVE.
78450 * sysdeps/powerpc/sysdep.h: Likewise.
78451 * sysdeps/powerpc/powerpc32/sysdep.h:
78452 Replace ASM_TYPE_DIRECTIVE with .type.
78453 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78454 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78455 * sysdeps/i386/fpu/e_powf.S: Likewise.
78456 * sysdeps/i386/fpu/e_expl.S: Likewise.
78457 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78458 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78459 * sysdeps/i386/fpu/e_pow.S: Likewise.
78460 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78461 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78462 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78463 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78464 * sysdeps/i386/fpu/e_log2.S: Likewise.
78465 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78466 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78467 * sysdeps/i386/fpu/e_powl.S: Likewise.
78468 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78469 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78470 * sysdeps/i386/fpu/e_logl.S: Likewise.
78471 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78472 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78473 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78474 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78476 * sysdeps/i386/fpu/e_log.S: Likewise.
78477 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78478 * sysdeps/i386/fpu/e_logf.S: Likewise.
78479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78481 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78482 * sysdeps/i386/fpu/e_log10.S: Likewise.
78483 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78484 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78485 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78486 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78487 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78488 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78489 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78490 * sysdeps/i386/i686/strtok.S: Likewise.
78491 * sysdeps/i386/i386-mcount.S: Likewise.
78492 * sysdeps/i386/strtok.S: Likewise.
78493 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78494 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78496 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78497 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78498 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78499 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78500 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78501 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78502 * sysdeps/x86_64/_mcount.S: Likewise.
78503 * sysdeps/x86_64/strtok.S: Likewise.
78504 * sysdeps/sh/_mcount.S: Likewise.
78505
78506 2012-08-01 Roland McGrath <roland@hack.frob.com>
78507
78508 * libio/iofopen.c: Include <fcntl.h>.
78509 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78510 (_IO_fopen64, fopen64): Define as aliases.
78511 * libio/iofopen64.c: Include <fcntl.h>.
78512 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78513 Conditionalize body on this.
78514 * sysdeps/wordsize-64/iofopen.c: File removed.
78515 * sysdeps/wordsize-64/iofopen64.c: File removed.
78516
78517 2012-08-01 Marek Polacek <polacek@redhat.com>
78518
78519 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78520 Use dlfcn directly instead of a variable.
78521 (binfmt-subdir): Do not define.
78522 (dlfcn): Likewise.
78523
78524 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78525
78526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78527 Remove all definitions.
78528 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78529 <kernel-features.h>.
78530 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78531 (miss_F_GETOWN_EX): Remove all definitions.
78532 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78533 macro definition.
78534 [!__ASSUME_FCNTL64]: Remove conditional code.
78535 [__ASSUME_FCNTL64]: Make code unconditional.
78536 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78537 <kernel-features.h>.
78538 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78539 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78540 (lockf64) [__NR_fcntl64]: Make code unconditional.
78541 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78542
78543 * sysdeps/unix/sysv/linux/kernel-features.h
78544 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78545 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78546 Make code unconditional.
78547 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78548 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78550 [__NR_vfork]: Make code unconditional.
78551 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78552 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78554 [__NR_vfork]: Make code unconditional.
78555 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78556 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78557
78558 2012-08-01 Roland McGrath <roland@hack.frob.com>
78559
78560 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78561 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78562
78563 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78564 Define mkstemp64 as an alias.
78565 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78566 Define mkstemps64 as an alias.
78567 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78568 Define mkostemp64 as an alias.
78569 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78570 Define mkostemps64 as an alias.
78571 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78572 Conditionalize body on this.
78573 * misc/mkostemp64.c: Likewise.
78574 * misc/mkostemps64.c: Likewise.
78575 * misc/mkstemps64.c: Likewise.
78576 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78577 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78578 * sysdeps/wordsize-64/mkostemp.c: File removed.
78579 * sysdeps/wordsize-64/mkstemp.c: File removed.
78580 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78581 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78582 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78583 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78584
78585 [BZ #14138]
78586 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78587 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78588 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78589 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78590
78591 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78592 compat_symbol macros from <shlib-compat.h> rather than the underlying
78593 default_symbol_version and symbol_version macros, so that DEFAULT
78594 lines in shlib-versions are respected.
78595 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78596
78597 2012-08-01 Florian Weimer <fweimer@redhat.com>
78598
78599 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78600 Declare with warn_unused_result.
78601 (setgid, setregid, setegid, setresgid): Likewise.
78602 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78603 Likewise.
78604 * WUR-REPORT: Remove set*id functions.
78605
78606 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78607
78608 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78609
78610 2012-07-31 Roland McGrath <roland@hack.frob.com>
78611
78612 [BZ #10191]
78613 * include/sys/socket.h (__libc_accept, __libc_accept4):
78614 Add attribute_hidden.
78615 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78616
78617 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78618 use of PTR_MANGLE.
78619 * inet/getnetgrent_r.c (setup): Likewise.
78620
78621 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78622
78623 2012-07-31 David S. Miller <davem@davemloft.net>
78624
78625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78626
78627 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78628
78629 [BZ #13629]
78630 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78631 value between 1.0 and 2.0 and smaller part has absolute value less
78632 than 1.0.
78633 * math/s_clog10.c (__clog10): Likewise.
78634 * math/s_clog10f.c (__clog10f): Likewise.
78635 * math/s_clog10l.c (__clog10l): Likewise.
78636 * math/s_clogf.c (__clogf): Likewise.
78637 * math/s_clogl.c (__clogl): Likewise.
78638 * math/libm-test.inc (clog_test): Add more tests.
78639 (clog10_test): Likewise.
78640 * sysdeps/i386/fpu/libm-test-ulps: Update.
78641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78642
78643 2012-07-31 Florian Weimer <fweimer@redhat.com>
78644
78645 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78646 Exit with zero in case no suitable GID is found, and write a
78647 message to standard error.
78648
78649 2012-07-30 Roland McGrath <roland@hack.frob.com>
78650
78651 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78652 rather than to 1.
78653 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78654 (MAXPATHLEN): Removed.
78655 (NOGROUP, NODEV): New macros.
78656 (setbit, clrbit, isset, isclr): New macros.
78657 (howmany, roundup, powerof2): New macros.
78658 (DEV_BSIZE): New macro.
78659
78660 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78661 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78662
78663 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78664 definition on [!__NO_LONG_DOUBLE_MATH].
78665
78666 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78667 PTR_MANGLE and PTR_DEMANGLE.
78668
78669 * socket/accept4.c (accept4): Rename to __libc_accept4.
78670 Define accept4 as a weak alias.
78671
78672 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78673 on [_DIRENT_HAVE_D_TYPE].
78674 * io/ftw.c (ftw_dir): Likewise.
78675
78676 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78677
78678 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78679
78680 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78681 Use the BSD numbers rather than the arbitrary ones we had.
78682 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78683 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78684 (SIGXCPU, SIGXFSZ): New macros.
78685 (_NSIG): Now 32.
78686
78687 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78688 initializer on [_LIBC_REENTRANT].
78689
78690 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78691 definitions inside [_POSIX_MAPPED_FILES].
78692
78693 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78694
78695 * dirent/opendir.c: Include <fcntl.h>.
78696
78697 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78698 (__libc_getspecific): Likewise.
78699 (__libc_key_create): Likewise.
78700
78701 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78702 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78703 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78704 (tmpfile64): Define as alias.
78705 * sysdeps/wordsize-64/tmpfile.c: File removed.
78706 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78708 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78709
78710 * stdio-common/vfscanf.c: Include <stdbool.h>.
78711 * nss/makedb.c: Likewise.
78712 * stdio-common/_i18n_number.h: Likewise.
78713 * argp/argp-help.c: Likewise.
78714 * posix/wordexp.c: Likewise.
78715 * sysdeps/posix/spawni.c: Likewise.
78716 * nss/nss_files/files-initgroups.c: Likewise.
78717 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78718 * nss/nss_files/files-initgroups.c: Likewise.
78719 * nss/nss_db/db-netgrp.c: Likewise.
78720 * nss/nss_db/db-initgroups.c: Likewise.
78721 * io/fchmodat.c: Include <sys/stat.h>.
78722
78723 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78724 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78725
78726 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78727 [HAVE_MMAP].
78728
78729 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78730 Add multiple inclusion protection.
78731
78732 2012-07-27 David S. Miller <davem@davemloft.net>
78733
78734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78735
78736 2012-07-27 Gary Benson <gbenson@redhat.com>
78737
78738 [BZ #14298]
78739 * elf/rtld.c: Include <stap-probe.h>.
78740 (dl_main): Added static probes "init_start" and "init_complete".
78741 * elf/dl-load.c: Include <stap-probe.h>.
78742 (lose): Take new parameter "nsid".
78743 Added static probe "map_failed".
78744 (_dl_map_object_from_fd): Pass namespace id to lose.
78745 Added static probe "map_start".
78746 (open_verify): Pass namespace id to lose.
78747 * elf/dl-open.c: Include <stap-probe.h>.
78748 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78749 and "reloc_complete".
78750 * elf/dl-close.c: Include <stap-probe.h>.
78751 (_dl_close_worker): Added static probes "unmap_start" and
78752 "unmap_complete".
78753 * elf/rtld-debugger-interface.txt: New file documenting the above.
78754
78755 2012-07-26 Roland McGrath <roland@hack.frob.com>
78756
78757 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78758 rather than a string variable.
78759 * sunrpc/rpc_main.c (h_output): Likewise.
78760 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78761
78762 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78763
78764 * inet/check_native.c: New file.
78765
78766 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78767
78768 [BZ #13629]
78769 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78770 if larger part has absolute value 1.0.
78771 * math/s_clog10.c (__clog10): Likewise.
78772 * math/s_clog10f.c (__clog10f): Likewise.
78773 * math/s_clog10l.c (__clog10l): Likewise.
78774 * math/s_clogf.c (__clogf): Likewise.
78775 * math/s_clogl.c (__clogl): Likewise.
78776 * math/libm-test.inc (clog_test): Add more tests.
78777 (clog10_test): Likewise.
78778 * sysdeps/i386/fpu/libm-test-ulps: Update.
78779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78780
78781 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78782 (pltexit): Likewise.
78783 (La_regs): Likewise.
78784 (La_retval): Likewise.
78785 (int_retval): Likewise.
78786 Update #error for removed macros to refer only to definitions in
78787 tst-audit.h.
78788 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78789 macro.
78790 (pltexit): Likewise.
78791 (La_regs): Likewise.
78792 (La_retval): Likewise.
78793 (int_retval): Likewise.
78794 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78795 macro.
78796 (pltexit): Likewise.
78797 (La_regs): Likewise.
78798 (La_retval): Likewise.
78799 (int_retval): Likewise.
78800 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78801 macro.
78802 (pltexit): Likewise.
78803 (La_regs): Likewise.
78804 (La_retval): Likewise.
78805 (int_retval): Likewise.
78806 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78807 macro.
78808 (pltexit): Likewise.
78809 (La_regs): Likewise.
78810 (La_retval): Likewise.
78811 (int_retval): Likewise.
78812 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78813 macro.
78814 (pltexit): Likewise.
78815 (La_regs): Likewise.
78816 (La_retval): Likewise.
78817 (int_retval): Likewise.
78818 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78819 macro.
78820 (pltexit): Likewise.
78821 (La_regs): Likewise.
78822 (La_retval): Likewise.
78823 (int_retval): Likewise.
78824 * sysdeps/generic/tst-audit.h: Update comment to refer only to
78825 macro definitions in tst-audit.h.
78826 * sysdeps/i386/tst-audit.h: New file.
78827 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78828 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78829 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78830 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78831 * sysdeps/sh/tst-audit.h: Likewise.
78832 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78833 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78834 * sysdeps/x86_64/tst-audit.h: Likewise.
78835
78836 2012-07-26 Andreas Jaeger <aj@suse.de>
78837
78838 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78839 ptrace.
78840
78841 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78842 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78843 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78844 PTRACE_O_MASK.
78845 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78846 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78847 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78848
78849 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78850 value.
78851
78852 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78853 _sigsys.
78854 (si_call_addr, si_syscall, si_arch): Define new macro.
78855 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78856 _sigsys.
78857 (si_call_addr, si_syscall, si_arch): Define new marcro.
78858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78859 _sigsys.
78860 (si_call_addr, si_syscall, si_arch): Define new macro.
78861 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78862 _sigsys.
78863 (si_call_addr, si_syscall, si_arch): Define new macro.
78864
78865 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78866
78867 [BZ #13717]
78868 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78869 Change to 2.4.21 where previously 2.4.1.
78870 * sysdeps/unix/sysv/linux/configure: Regenerated.
78871 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78872 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78873 Linux kernel version.
78874 (__ASSUME_STD_AUXV): Remove.
78875 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78876 kernel version.
78877 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78878 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78879 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78880 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78881 (__ASSUME_NETLINK_SUPPORT): Likewise.
78882 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78883 (__no_netlink_support): Remove conditional definition.
78884 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78885 Remove.
78886 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78887 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78888 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78889 (if_nameindex_ioctl): Remove.
78890 (if_nameindex_netlink): Do not handle __no_netlink_support.
78891 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78892 code.
78893 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78894 Remove conditional code.
78895 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78896 code.
78897 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78898 unconditional.
78899 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78900 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78901 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78902 Remove.
78903 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78904 [!__ASSUME_STD_AUXV]: Remove conditional code.
78905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78906 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78907 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78909 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78910 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78911 code.
78912 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78914 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78915 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78916 conditional code.
78917 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78919 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78920 code.
78921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78922 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78923 conditional code.
78924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78925 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78926 code unconditional.
78927 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78928 conditional code.
78929 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78930 unconditional.
78931 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78932 conditional code.
78933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78934 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78935 unconditional.
78936 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78937 conditional code.
78938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78939 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78940 code unconditional.
78941 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78942 conditional code.
78943 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78944 unconditional.
78945 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78946 conditional code.
78947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78948 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78949 code unconditional.
78950 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78951 conditional code.
78952 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78953 unconditional.
78954 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78955 conditional code.
78956
78957 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
78958
78959 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78960 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78961 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78962 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78963 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78964 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78965 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78966 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78967 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78968 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78969 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78970 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78971 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78972 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78973 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78974 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78975 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78977 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78979 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78980 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78981 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78982
78983 2012-07-25 Florian Weimer <fweimer@redhat.com>
78984
78985 * Versions.def: Add GLIBC_2.17.
78986 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78987 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78988 Introduce __libc_secure_getenv.
78989 * stdlib/Versions (2.17): Add secure_getenv
78990 (GLIBC_PRIVATE): Add __libc_secure_getenv.
78991 * stdlib/secure-getenv.c: Rename __secure_getenv to
78992 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
78993 symbol __secure_getenv for GLIBC_2.0.
78994 * stdlib/tst-secure-getenv.c: New.
78995 * stdlib/Makefile (tests): Add testcase.
78996 * manual/startup.texi (Environment Access): Document
78997 secure_getenv.
78998 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78999 __libc_secure_getenv.
79000 * inet/ruserpass.c (ruserpass): Likewise.
79001 * malloc/mtrace.c (mtrace): Likewise.
79002 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79003 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79004 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79005 * sysdeps/posix/tempname.c: Likewise. Evaluate
79006 HAVE_SECURE_GETENV.
79007 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79008 __secure_getenv to __libc_secure_getenv.
79009 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79011 Likewise.
79012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79013 Likewise.
79014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79016 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79021
79022 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79023
79024 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79025 (struct La_i86_retval): Likewise.
79026 (struct La_x86_64_regs): Likewise.
79027 (struct La_x86_64_retval): Likewise.
79028 (struct La_x32_regs): Likewise.
79029 (struct La_x32_retval): Likewise.
79030 (struct La_ppc32_regs): Likewise.
79031 (struct La_ppc32_retval): Likewise.
79032 (struct La_ppc64_regs): Likewise.
79033 (struct La_ppc64_retval): Likewise.
79034 (struct La_sh_regs): Likewise.
79035 (struct La_sh_retval): Likewise.
79036 (struct La_s390_32_regs): Likewise.
79037 (struct La_s390_32_retval): Likewise.
79038 (struct La_s390_64_regs): Likewise.
79039 (struct La_s390_64_retval): Likewise.
79040 (struct La_sparc32_regs): Likewise.
79041 (struct La_sparc32_retval): Likewise.
79042 (struct La_sparc64_regs): Likewise.
79043 (struct La_sparc64_retval): Likewise.
79044 (struct audit_ifaces): Remove architecture-specific pltenter and
79045 pltexit members.
79046 * sysdeps/i386/ldsodefs.h: New file.
79047 * sysdeps/powerpc/ldsodefs.h: Likewise.
79048 * sysdeps/s390/ldsodefs.h: Likewise.
79049 * sysdeps/sh/ldsodefs.h: Likewise.
79050 * sysdeps/sparc/ldsodefs.h: Likewise.
79051 * sysdeps/x86_64/ldsodefs.h: Likewise.
79052
79053 2012-07-25 Marek Polacek <polacek@redhat.com>
79054
79055 [BZ #6808]
79056 * math/libm-test.inc (yn_test): Add another test.
79057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79058 to ERANGE when the result is +-Inf.
79059 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79060 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79061 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79062 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79063
79064 2012-07-24 Joseph Myers <joseph@codesourcery.com>
79065
79066 * conform/data/time.h-data (NULL): Use macro-constant. Require
79067 equal to 0.
79068 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79069 clock_t.
79070 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79071
79072 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79073
79074 * configure.in <sysdeps resolving>: Correct printing
79075 Implies_before.
79076 * configure: Regenerate.
79077
79078 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79079
79080 * math/w_ilogb.c: Include <limits.h>.
79081 * math/w_ilogbl.c: Likewise.
79082
79083 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79084
79085 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79086 va_copy. Document allowing for unavailable va_copy only as
79087 pre-C99 compatibility.
79088 * manual/string.texi (Copying and Concatenation): Use va_copy
79089 instead of __va_copy in concat example.
79090
79091 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79092
79093 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79094 (__sendto): Use create_address_port. Initialize APORT and deallocate
79095 it if not null.
79096
79097 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79098 with O_NOLINK passed to __file_name_lookup.
79099
79100 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79101 with O_NOLINK passed to __file_name_lookup.
79102
79103 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79104 negative N or less than NGIDS.
79105
79106 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79107 type to string_t. Set ERANGE as errno and return it if NAME is not big
79108 enough. Use memcpy instead of strncpy.
79109
79110 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79111
79112 * elf/Makefile (check-data): Remove.
79113 (localplt.data): New vpath directive.
79114 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79115 instead of $(check-data).
79116 * scripts/data/localplt-generic.data: Move to ...
79117 * sysdeps/generic/localplt.data: ... here.
79118 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79119 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79120 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79122 ... here.
79123 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79125 ... here.
79126 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79128 ... here.
79129 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79131 ... here.
79132 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79134 ... here.
79135 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79137 ... here.
79138
79139 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79140
79141 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79142 PPC32 and PPC64 files.
79143 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79144 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79145
79146 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79147
79148 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79149 __makecontext_ret to ...
79150 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79151 ... here and call exit if uc_link is NULL. New file.
79152 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79153 __makecontext_ret.S.
79154 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79155 __makecontext_ret to ...
79156 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79157 ... here and call exit if uc_link is NULL. New file.
79158 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79159 __makecontext_ret.S.
79160
79161 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79162
79163 * elf/elf.h (R_390_IRELATIVE): New definition.
79164 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79165 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79166 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79167 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79168 (elf_machine_lazy_rel): Likewise.
79169 * sysdeps/s390/dl-irel.h: New file.
79170 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79171 * sysdeps/s390/s390-64/memset.S: New asm code.
79172 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79173 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79174 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79175 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79176 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79177 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79178 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79179 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79180 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79181 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79182 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79183 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79184 * sysdeps/s390/s390-32/memset.S: New asm code.
79185 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79186
79187 2012-07-17 Marek Polacek <polacek@redhat.com>
79188
79189 [BZ #14349]
79190 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79191 * sysdeps/s390/s390-64/configure.in: Likewise.
79192 * sysdeps/sparc/configure.in: Likewise.
79193 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79194 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79195 * sysdeps/i386/configure.in: Likewise.
79196 * sysdeps/x86_64/configure.in: Likewise.
79197 * sysdeps/sh/configure.in: Likewise.
79198 * sysdeps/s390/s390-32/configure: Regenerated.
79199 * sysdeps/s390/s390-64/configure: Likewise.
79200 * sysdeps/x86_64/configure: Likewise.
79201 * sysdeps/sh/configure: Likewise.
79202 * sysdeps/powerpc/powerpc64/configure: Likewise.
79203 * sysdeps/powerpc/powerpc32/configure: Likewise.
79204 * sysdeps/sparc/configure: Likewise.
79205 * sysdeps/i386/configure: Likewise.
79206
79207 * elf/dl-open.c: Comment fixes.
79208
79209 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79210
79211 * Makefile [CXX] (check-data): Remove.
79212 [CXX] (c++-types.data): New vpath directive.
79213 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79214 vpath. Do not allow for C++ type data being missing.
79215 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79216 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79217 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79218 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79219 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79220 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79221 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79223 ... here.
79224 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79226 ... here.
79227 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79229 ... here.
79230 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79232 ... here.
79233 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79235 ... here.
79236 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79238 ... here.
79239 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79241 ... here.
79242 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79244
79245 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79246 definitions to architecture-specific files.
79247 (TLS_IE): Likewise.
79248 (TLS_LD): Likewise.
79249 (TLS_GD): Likewise.
79250 * sysdeps/i386/tls-macros.h: New file.
79251 * sysdeps/powerpc/tls-macros.h: Likewise.
79252 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79253 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79254 * sysdeps/sh/tls-macros.h: Likewise.
79255 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79256 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79257 * sysdeps/x86_64/tls-macros.h: Likewise.
79258
79259 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79260
79261 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79262 zero value for regular exit case.
79263
79264 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79265 (__start_context): Preserve zero value for regular exit case.
79266
79267 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79268 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79269
79270 * manual/setjmp.texi (setcontext): Clarify normal process
79271 termination when uc_link is the null pointer.
79272 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79273 exit call.
79274
79275 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79276
79277 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79278 preprocessor. Test for each exception mask separately.
79279
79280 2012-07-16 Andreas Jaeger <aj@suse.de>
79281
79282 * po/ru.po: Update from translation team.
79283
79284 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79285
79286 * conform/data/string.h-data (NULL): Use macro-constant. Require
79287 equal to 0.
79288 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79289 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79290 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79291 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79293
79294 2012-07-13 Andreas Jaeger <aj@suse.de>
79295
79296 * po/fr.po: Update from translation team.
79297
79298 2012-07-12 Marek Polacek <polacek@redhat.com>
79299
79300 [BZ #14173]
79301 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79302 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79303 loop condition.
79304
79305 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79306
79307 [BZ #13717]
79308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79309 Change to 2.4.1 where previously 2.4.0.
79310 * sysdeps/unix/sysv/linux/configure: Regenerated.
79311 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79312 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79313 version.
79314 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79315 (__ASSUME_AT_CLKTCK): Remove.
79316 (__ASSUME_AT_PAGESIZE): Likewise.
79317 (__ASSUME_AT_XID): Likewise.
79318 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79319 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79320 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79321 unconditionally.
79322 (HAVE_AUX_PAGESIZE): Likewise.
79323 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79324 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79325 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79326
79327 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79328
79329 [BZ #14307]
79330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79331 the temporary buffer used to invoke __gethostbyname2_r,
79332 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79333 host_data / struct gaih_addrtuple.
79334 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79335 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79336 header file nss/nsswitch.h.
79337 * nss/nsswitch.h (global scope): Add definition of implementation
79338 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79339 resolv/nss_dns/dns-host.c).
79340
79341 2012-07-11 Andreas Jaeger <aj@suse.de>
79342
79343 * po/fr.po: Update from translation team.
79344
79345 * po/sv.po: Update from translation team
79346 * po/fr.po: Another update from translation team.
79347
79348 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79349
79350 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79351 for subnormals or multiply small sinh result by itself.
79352 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79354
79355 2012-07-11 David S. Miller <davem@davemloft.net>
79356
79357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79358
79359 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79360
79361 [BZ #14347]
79362 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79363 (INTERNAL_MARK): Shift it here.
79364
79365 2012-07-10 Marek Polacek <polacek@redhat.com>
79366
79367 [BZ #14151]
79368 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79369 libc_cv_asm_global_directive with .globl.
79370 * configure: Regenerated.
79371 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79372 with .globl.
79373 * sysdeps/i386/configure: Regenerated.
79374 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79375 with .globl.
79376 * sysdeps/x86_64/configure: Regenerated.
79377 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79378 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79379 * elf/tst-unique2mod2.c: Likewise.
79380 * elf/tst-unique2mod1.c: Likewise.
79381 * elf/tst-unique1mod2.c: Likewise.
79382 * elf/tst-unique1mod1.c: Likewise.
79383 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79384 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79386 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79387 * sysdeps/mach/sysdep.h: Likewise.
79388 * sysdeps/i386/sysdep.h: Likewise.
79389 * sysdeps/i386/i386-mcount.S: Likewise.
79390 * sysdeps/x86_64/_mcount.S: Likewise.
79391 * sysdeps/x86_64/sysdep.h: Likewise.
79392 * sysdeps/sh/_mcount.S: Likewise.
79393 * sysdeps/sh/sysdep.h: Likewise.
79394 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79395 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79396 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79397 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79398 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79399 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79400 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79401 * locale/localeinfo.h: Likewise.
79402 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79403 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79404
79405 2012-07-09 Roland McGrath <roland@hack.frob.com>
79406
79407 [BZ #14336]
79408 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79409 system".
79410 * manual/message.texi (The Uniforum approach): Likewise.
79411 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79412 (glibc iconv Implementation): Likewise.
79413
79414 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79415
79416 [BZ #14337]
79417 * math/s_clog.c (__clog): Avoid scaling a value down where that
79418 could result in underflow.
79419 * math/s_clog10.c (__clog10): Likewise.
79420 * math/s_clog10f.c (__clog10f): Likewise.
79421 * math/s_clog10l.c (__clog10l): Likewise.
79422 * math/s_clogf.c (__clogf): Likewise.
79423 * math/s_clogl.c (__clogl): Likewise.
79424 * math/libm-test.inc (clog_test): Add more tests.
79425 (clog10_test): Likewise.
79426 * sysdeps/i386/fpu/libm-test-ulps: Update.
79427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79428
79429 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79430
79431 [BZ #14283]
79432 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79433 by 7 not 8 to examine high bit of fractional part.
79434
79435 [BZ #14042]
79436 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79437 for call to __mcount_internal.
79438 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79439 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79440 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79441
79442 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79443
79444 [BZ #14154]
79445 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79446 approximation for values within 0x1p-13f of an odd multiple of
79447 pi/4.
79448 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79449 exception. Add more tests.
79450 * sysdeps/i386/fpu/libm-test-ulps: Update.
79451
79452 [BZ #6778]
79453 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79454 inputs and return -1 for them. Do not check for +Inf in case not
79455 reachable for +Inf.
79456 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79457 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79458 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79459 and return -1 for them. Do not check for +Inf in case not
79460 reachable for +Inf.
79461 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79462 define.
79463 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79464 and return -1 for them. Do not check for +Inf in case not
79465 reachable for +Inf.
79466 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79467 spurious underflow.
79468 * sysdeps/i386/fpu/libm-test-ulps: Update.
79469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79470
79471 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79472
79473 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79474
79475 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79476
79477 [BZ #14157]
79478 [BZ #14331]
79479 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79480 could result in spurious underflow. Scale down values above
79481 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79482 * math/s_csqrtf.c (__csqrtf): Likewise.
79483 * math/s_csqrtl.c (__csqrtl): Likewise.
79484 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79485 spurious underflow.
79486 * sysdeps/i386/fpu/libm-test-ulps: Update.
79487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79488
79489 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79490
79491 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79492 xopen-msg.sed.
79493 * catgets/xopen-msg.awk: New file.
79494 * catgets/xopen-msg.sed: Removed.
79495
79496 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79497 po2text.sed.
79498 * intl/po2test.awk: New file.
79499 * intl/po2test.sed: Removed.
79500
79501 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79502
79503 [BZ #14328]
79504 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79505 or multiply small sinh result by itself.
79506 * math/s_ctanf.c (__ctanf): Likewise.
79507 * math/s_ctanh.c (__ctanh): Likewise.
79508 * math/s_ctanhf.c (__ctanhf): Likewise.
79509 * math/s_ctanhl.c (__ctanhl): Likewise.
79510 * math/s_ctanl.c (__ctanl): Likewise.
79511 * math/libm-test.inc (ctan_test_tonearest): New function.
79512 (ctan_test_towardzero): Likewise.
79513 (ctan_test_downward): Likewise.
79514 (ctan_test_upward): Likewise.
79515 (ctanh_test_tonearest): Likewise.
79516 (ctanh_test_towardzero): Likewise.
79517 (ctanh_test_downward): Likewise.
79518 (ctanh_test_upward): Likewise.
79519 (main): Call these new functions.
79520 * sysdeps/i386/fpu/libm-test-ulps: Update.
79521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79522
79523 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79524
79525 * .gitignore: Delete /ports entry.
79526
79527 2012-07-03 Andreas Jaeger <aj@suse.de>
79528
79529 * po/bg.po: Update from translation team.
79530 * po/cs.po: Likewise.
79531 * po/de.po: Likewise.
79532 * po/hr.po: Likewise.
79533 * po/nl.pl: Likewise.
79534 * po/pl.po: Likewise.
79535 * po/vi.po: Likewise.
79536
79537 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79538
79539 * Makeconfig [!+link] (+link-before-libc): New variable.
79540 [!+link] (+link-after-libc): Likewise.
79541 [!+link] (+link-tests): Likewise.
79542 [!+link] (+link): Define in terms of $(+link-before-libc) and
79543 $(+link-after-libc).
79544 [!+link-static] (+link-static-before-libc): New variable.
79545 [!+link-static] (+link-static-after-libc): Likewise.
79546 [!+link-static] (+link-static-tests): Likewise.
79547 [!+link-static] (+link-static): Define in terms of
79548 $(+link-static-before-libc) and $(+link-static-after-libc).
79549 [build-shared] (link-libc-before-gnulib): New variable.
79550 [build-shared] (link-libc-tests): Likewise.
79551 [build-shared] (link-libc): Define in terms of
79552 $(link-libc-before-gnulib).
79553 [!build-shared] (link-libc-tests): New variable.
79554 (link-libc-static-tests): New variable.
79555 [!gnulib] (gnulib-arch): New variable.
79556 [!gnulib] (gnulib-tests): Likewise.
79557 [!gnulib] (static-gnulib-arch): Likewise.
79558 [!gnulib] (static-gnulib-tests): Likewise.
79559 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79560 Define with "=" instead of ":=".
79561 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79562 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79563 * Rules (binaries-all-notests): New variable.
79564 (binaries-all-tests): Likewise.
79565 (binaries-static-notests): Likewise.
79566 (binaries-static-tests): Likewise.
79567 (binaries-all): Define using $(binaries-all-notests) and
79568 $(binaries-all-tests).
79569 (binaries-static): Define using $(binaries-static-notests) and
79570 $(binaries-static-tests).
79571 (binaries-shared-tests): New variable.
79572 (binaries-shared-notests): Likewise.
79573 (binaries-shared): Remove variable.
79574 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79575 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79576 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79577 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79578 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79579 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79580 * elf/Makefile (sln-modules): New variable.
79581 (extra-objs): Add $(sln-modules:=.o).
79582 (ldconfig-modules): Add static-stubs.
79583 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79584 * elf/static-stubs.c: New file.
79585
79586 [BZ #14283]
79587 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79588 by 7 not 8 to examine high bit of fractional part. Use volatile
79589 variables when splitting into final array of floats if
79590 __FLT_EVAL_METHOD__ != 0.
79591 * math/libm-test.inc (cos_test): Add another test.
79592 (sin_test): Likewise.
79593 * sysdeps/i386/fpu/libm-test-ulps: Update.
79594
79595 [BZ #14273]
79596 * math/libm-test.inc (cosh_test): Add more tests.
79597
79598 * version.h (RELEASE): Set to "development".
79599 (VERSION): Set to "2.16.90".
79600
79601 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79602
79603 * NEWS: Update copyright. Remove last-updated date.
79604 Mention math library bug fixes and timezone data changes.
79605 * README: Mention GNU/Hurd, x32, and HPPA support status.
79606
79607 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79608
79609 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79610
79611 2012-06-27 Andreas Jaeger <aj@suse.de>
79612
79613 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79614
79615 2012-06-25 Andreas Jaeger <aj@suse.de>
79616
79617 * sysdeps/s390/fpu/libm-test-ulps: Update.
79618
79619 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79620 Thomas Schwinge <thomas@codesourcery.com>
79621
79622 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79623 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79624 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79625 fanotify_mark.
79626
79627 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79628
79629 * sysdeps/mach/start.c: Remove file.
79630 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79631 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79632 * sysdeps/sh/init-first.c: Likewise.
79633
79634 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79635 registers for frame unwinding purposes, add CFI directives.
79636 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79637 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79638 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79639 Likewise.
79640
79641 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79642 __fortify_fail returning.
79643 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79644
79645 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79646 sysdeps/sh/____longjmp_chk.S.
79647 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79648 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79649 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79650 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79651
79652 * sysdeps/sh/abort-instr.h: New file.
79653 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79654 process in case exit returns.
79655
79656 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79657 initialize the GOT register before use.
79658
79659 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79660 calculation of ARGC > 4.
79661
79662 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79663 meaningful names to some local labels.
79664
79665 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79666 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79667
79668 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79669 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79670 (__arch_compare_and_exchange_val_16_acq): Likewise.
79671 (__arch_compare_and_exchange_val_32_acq): Likewise.
79672 (atomic_exchange_and_add): Fix gUSA sequence.
79673 (atomic_add): Likewise.
79674 (atomic_add_negative): Likewise.
79675 (atomic_add_zero): Likewise.
79676 (atomic_bit_test_set): Likewise.
79677
79678 2012-06-22 Andreas Schwab <schwab@redhat.com>
79679
79680 [BZ #13579]
79681 * include/link.h (struct link_map): Add l_free_initfini.
79682 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79683 l_initfini.
79684 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79685 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79686 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79687 set.
79688
79689 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79690
79691 * configure.in: Use AC_LANG_SOURCE.
79692 * configure: Regenerate.
79693
79694 2012-06-22 Roland McGrath <roland@hack.frob.com>
79695
79696 * configure.in (libc_cv_localstatedir): New substituted variable.
79697 * configure: Regenerated.
79698 * config.make.in (localstatedir): New variable, substituted from
79699 libc_cv_localstatedir.
79700 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79701 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79702 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79703 * sysdeps/gnu/configure: Regenerated.
79704
79705 2012-06-21 Jeff Law <law@redhat.com>
79706
79707 [BZ #14277]
79708 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79709 free. Simplify list management for _LIBC case.
79710
79711 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79712
79713 [BZ #14273]
79714 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79715 Clear sign bit of 64-bit integer value before comparing against
79716 overflow value.
79717
79718 * sysdeps/mach/configure: Regenerated.
79719
79720 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79721
79722 [BZ #14278]
79723 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79724
79725 2012-06-21 Jeff Law <law@redhat.com>
79726
79727 [BZ #13882]
79728 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79729 uint16_t for elements in the "seen" array to avoid char overflows.
79730 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79731 * elf/dl-open.c (dl_open_worker): Likewise.
79732
79733 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79734
79735 * scripts/list-sources.sh: Scan PORTS for translations.
79736 * po/libc.pot: Regenerated.
79737
79738 2012-06-21 Andreas Jaeger <aj@suse.de>
79739
79740 [BZ #12194]
79741 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79742 warning.
79743 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79744 * bits/byteswap-16.h (__bswap_16): Likewise.
79745 * bits/byteswap.h (__bswap_constant_16): Likewise.
79746
79747 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79748
79749 [BZ #14117]
79750 * sysdeps/i386/fpu_control.h: Removed.
79751 * sysdeps/x86_64/fpu_control.h: Moved to ...
79752 * sysdeps/x86/fpu_control.h: Here.
79753
79754 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79755 (_FPU_SETCW): Likewise.
79756
79757 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79758
79759 [BZ #14117]
79760 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79761 * sysdeps/x86/fpu/bits/mathinline.h: This.
79762 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79763
79764 [BZ #14050]
79765 [BZ #14117]
79766 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79767 functions if __x86_64__ is defined.
79768
79769 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79770
79771 * string/endian.h: Add !__ASSEMBLER__ condition for including
79772 conversion interfaces.
79773
79774 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79775
79776 [BZ #14241]
79777 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79778 of ABS(x) in calculating zero to negative powers other than odd
79779 integers.
79780 * math/libm-test.inc (pow_test): Add more tests.
79781
79782 2012-06-15 Andreas Jaeger <aj@suse.de>
79783
79784 * manual/contrib.texi (Contributors): Update entry of Liubov
79785 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79786 Machado Filho.
79787
79788 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79789
79790 * string/string.h: Add __wur to GNU version of strerror_r.
79791
79792 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79793
79794 [BZ #14229]
79795 * string/Makefile (tests): Add tst-strtok_r.
79796 * string/tst-strtok_r.c: New file.
79797 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79798 RAX_LP/RDX_LP on SAVE_PTR.
79799
79800 2012-06-14 Roland McGrath <roland@hack.frob.com>
79801
79802 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79803
79804 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79805
79806 * libm_test.inc (csqrt_test): Allow more spurious underflow
79807 exceptions.
79808 (j0_test): Likewise.
79809 (j1_test): Likewise.
79810 (y0_test): Likewise.
79811 (y1_test): Likewise.
79812
79813 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79814
79815 * po/Makefile (libc.pot): Use UTF-8 charset.
79816
79817 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79818
79819 [BZ #14210]
79820 Suppress sign-conversion warning from FD_SET.
79821 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79822 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79823 not unsigned long int.
79824 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79825
79826 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
79827
79828 [BZ #14050]
79829 [BZ #14117]
79830 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79831 __extern_always_inline instead of __extern_inline.
79832 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79833 (__signbit): Likewise.
79834 (__signbitl): Support C++ namespace.
79835 (lrintf): New inline function.
79836 (lrint): Likewise.
79837 (llrintf): Likewise.
79838 (llrint): Likewise.
79839 (fmaxf): Likewise.
79840 (fmax): Likewise.
79841 (fminf): Likewise.
79842 (fmin): Likewise.
79843 (rint): Likewise.
79844 (rintf): Likewise.
79845 (ceil): Likewise.
79846 (ceilf): Likewise.
79847 (floor): Likewise.
79848 (floorf): Likewise.
79849 (nearbyint): Likewise.
79850 (nearbyintf): Likewise.
79851
79852 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
79853
79854 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79855 non-default versions.
79856
79857 2012-06-11 Roland McGrath <roland@hack.frob.com>
79858
79859 [BZ #14218]
79860 * manual/argp.texi (Argp): Reword argp_parse description slightly.
79861
79862 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
79863
79864 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79865 (FE_UPWARD, FE_DOWNWARD): Don't define.
79866 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79867 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79868
79869 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79870 reading it.
79871 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79872 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79873
79874 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79875
79876 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79877 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79878 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79879 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79880
79881 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
79882
79883 [BZ #14117]
79884 * sysdeps/i386/fpu/bits/fenv.h: Removed.
79885 * sysdeps/i386/fpu/Implies: New file.
79886 * sysdeps/x86_64/fpu/Implies: Likewise.
79887 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79888 * sysdeps/x86/fpu/bits/fenv.h: This.
79889
79890 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79891 __SSE_MATH__.
79892
79893 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79894
79895 [BZ #14134]
79896 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79897 character 0xffff that matches the last element of the
79898 conversion table.
79899
79900 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79901
79902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79903 fmodl commit.
79904
79905 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79906
79907 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79908 values higher than 25.6283.
79909
79910 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79911
79912 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79913 subnormal exponent extraction and add some __builtin_expect.
79914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79915 Fix for subnormal mantissa calculation.
79916
79917 2012-06-04 Mike Frysinger <vapier@gentoo.org>
79918
79919 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79920 cpu2 is -1 and errno is not ENOSYS.
79921
79922 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
79923
79924 [BZ #14117]
79925 * sysdeps/i386/i486/bits/string.h: Renamed to ...
79926 * sysdeps/x86/bits/string.h: This.
79927 * sysdeps/x86_64/bits/string.h: Removed.
79928
79929 * sysdeps/i386/i486/bits/string.h: Define inline functions only
79930 if not compiling for x86-64, but compiling for >= i486.
79931
79932 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79933 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79934
79935 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79936 New macro from Linux kernel 3.4.0.
79937 (FP_XSTATE_MAGIC2): Likewise.
79938 (FP_XSTATE_MAGIC2_SIZE): Likewise.
79939 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79940 (struct _fpx_sw_bytes): New struct.
79941 (struct _xsave_hdr): Likewise.
79942 (struct _ymmh_state): Likewise.
79943 (struct _xstate): Likewise.
79944
79945 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79946 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79947 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79948 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79949 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79950 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79951
79952 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79953 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79954 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79955 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79956 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79957 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79958
79959 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79960
79961 [BZ #13743]
79962 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79963 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79964 (sysdep_headers): Include sys/platform/ppc.h.
79965 * sysdeps/powerpc/test-gettimebase.c: Test for
79966 __ppc_get_timebase() to catch future ISA opcode/insn changes.
79967 * manual/Makefile (appendices): Include platform.texi.
79968 * manual/contrib.texi (Contributors): Update @node pointers.
79969 * manual/maint.texi (Maintenance): Likewise.
79970 (Platform): New node.
79971 * manual/platform.texi: New file. Document the new features.
79972
79973 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
79974 Jakub Jelinek <jakub@redhat.com>
79975
79976 [BZ #14188]
79977 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79978 where __builtin_expect is unavailable.
79979
79980 2012-06-03 David S. Miller <davem@davemloft.net>
79981
79982 * stdlib/longlong.h: Updated from GCC.
79983
79984 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
79985
79986 [BZ #14042]
79987 * sysdeps/powerpc/powerpc32/mcount.c: New file.
79988 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79989 __mcount_internal.
79990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79991 (GLIBC_2.16): Likewise.
79992
79993 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79994
79995 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79996
79997 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79998
79999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80000 (default-abi): New variable.
80001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80002 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80003 variable.
80004 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80005 Likewise.
80006 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80007 Likewise.
80008 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80009 Likewise.
80010
80011 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80012 definition. Document in comment.
80013
80014 2012-06-01 David S. Miller <davem@davemloft.net>
80015
80016 * stdlib/longlong.h: Updated from GCC.
80017
80018 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80019
80020 [BZ #14117]
80021 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80022 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80023 sys/debugreg.h sys/io.h here.
80024 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80025 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80026 sys/io.h.
80027 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80028 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80029 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80030 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80031 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80032 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80033
80034 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80035 Define only if __x86_64__ is defined.
80036
80037 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80038
80039 [BZ #14048]
80040 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80041 Use int64_t for variable i.
80042 * math/libm-test.inc (fmod_test): Add more tests.
80043
80044 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80045 z computation is not scheduled after fetestexcept.
80046 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80047 Use math_force_eval instead of asm to ensure calculation scheduled
80048 before exception test.
80049 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80050 Ensure a1 + u.d computation is not scheduled after fetestexcept.
80051
80052 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
80053
80054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80055 computation is not scheduled after fetestexcept.
80056
80057 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80058
80059 [BZ #14117]
80060 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80061 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80062
80063 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80064
80065 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80066 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80067
80068 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80069
80070 [BZ #14117]
80071 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80072 <bits/wordsize.h>.
80073 (__WCHAR_MIN): Support __WORDSIZE == 64.
80074 (__WCHAR_MAX): Likewise.
80075
80076 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80077 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80078
80079 [BZ #14183]
80080 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80081 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80082
80083 [BZ #14117]
80084 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80085 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80086
80087 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80088 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80089
80090 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80091 Defined to 1 if __x86_64__ isn't defined.
80092 (_STAT_VER_LINUX_OLD): New.
80093 (st_atime): Remove duplicate.
80094 (st_mtime): Likewise.
80095 (st_ctime): Likewise.
80096
80097 2012-05-31 David S. Miller <davem@davemloft.net>
80098
80099 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80100 entries.
80101
80102 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80103
80104 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80105 gen-libm-test.pl.
80106
80107 [BZ #14132]
80108 * elf/dl-reloc.c: Include <_itoa.h>.
80109 (_dl_reloc_bad_type): Remove use of INTUSE.
80110 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80111 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80112 * stdio-common/psiginfo.c (psiginfo): Likewise.
80113 * stdio-common/psignal.c (psignal): Likewise.
80114 * string/strsignal.c (strsignal): Likewise.
80115 * include/signal.h (_sys_siglist): Declare hidden proto.
80116 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80117 INTVARDEF with libc_hidden_data_def.
80118 * stdio-common/itoa-udigits.c: Likewise.
80119 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80120 (_itoa_lower_digits_internal): Remove declaration.
80121 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80122 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80123 (_sys_sigabbrev_internal): Remove aliases.
80124 (_sys_siglist): Define hidden alias.
80125
80126 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80127
80128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80129 bits/sysctl.h.
80130
80131 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80132
80133 [BZ #14117]
80134 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80135 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80136
80137 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80138 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80139 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80140 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80141 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80142 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80143
80144 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80145 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80146 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80147
80148 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80149 with __addr.
80150 (insw): Likewise.
80151 (insl): Likewise.
80152 (outsb): Likewise.
80153 (outsw): Likewise.
80154 (outsl): Likewise.
80155
80156 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80157 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80158 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80159
80160 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80161 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80162 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80163 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80164 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80165 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80166
80167 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80168 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80169
80170 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80171 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80172
80173 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80175 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80176
80177 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80178 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80179 to ...
80180 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80181
80182 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80183 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80184 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80185
80186 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80187 for x86-64.
80188 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80189
80190 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80191
80192 * math/math.h (M_El): Use two more decimal places.
80193 (M_LOG2El): Likewise.
80194 (M_LOG10El): Likewise.
80195 (M_LN2l): Likewise.
80196 (M_LN10l): Likewise.
80197 (M_PIl): Likewise.
80198 (M_PI_2l): Likewise.
80199 (M_PI_4l): Likewise.
80200 (M_1_PIl): Likewise.
80201 (M_2_PIl): Likewise.
80202 (M_2_SQRTPIl): Likewise.
80203 (M_SQRT2l): Likewise.
80204 (M_SQRT1_2l): Likewise.
80205
80206 2012-05-31 David S. Miller <davem@davemloft.net>
80207
80208 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80209 values between float registers.
80210 * sysdeps/sparc/sparc64/memset.S: Likewise.
80211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80212
80213 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80214
80215 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80216 -D_FORTIFY_SOURCE=1.
80217 (CPPFLAGS-tst-longjmp_chk.c): Define.
80218 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80219 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80220 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80221 CFLAGS-tst-wchar-h.c.
80222
80223 2012-05-31 Marek Polacek <polacek@redhat.com>
80224
80225 [BZ #14132]
80226 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80227 __endmntent_internal): Remove declaration.
80228 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80229 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80230 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80231
80232 2012-05-30 David S. Miller <davem@davemloft.net>
80233
80234 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80235 (___Q_simulate_exceptions): Use real FP ops rather than writing
80236 into the %fsr.
80237 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80238 Likewise.
80239
80240 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80241
80242 [BZ #14117]
80243 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80244 * sysdeps/x86/bits/xtitypes.h: This.
80245
80246 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80247 * sysdeps/x86/bits/wordsize.h: This.
80248
80249 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80250 * sysdeps/x86/bits/huge_vall.h: This.
80251
80252 * sysdeps/i386/bits/select.h: Removed.
80253 * sysdeps/x86_64/bits/select.h: Renamed to ...
80254 * sysdeps/x86/bits/select.h: This.
80255
80256 * sysdeps/i386/bits/setjmp.h: Removed.
80257 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80258 * sysdeps/x86/bits/setjmp.h: This.
80259
80260 * sysdeps/i386/bits/mathdef.h: Removed.
80261 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80262 * sysdeps/x86/bits/mathdef.h: This.
80263
80264 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80265
80266 [BZ #14132]
80267 * include/sys/socket.h (__connect_internal)
80268 (__libc_sa_len_internal): Remove declaration.
80269 (__connect, __libc_sa_len): Declare hidden_proto.
80270 (SA_LEN): Remove use of INTUSE.
80271 * socket/connect.c: Add libc_hidden_def.
80272 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80273 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80274 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80275 alias.
80276 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80277 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80278 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80279 of adding _internal alias.
80280
80281 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80282
80283 [BZ #14117]
80284 * sysdeps/i386/bits/link.h: Removed.
80285 * sysdeps/i386/bits/linkmap.h: Likewise.
80286 * sysdeps/x86_64/bits/link.h: Renamed to ...
80287 * sysdeps/x86/bits/link.h: This.
80288 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80289 * sysdeps/x86/bits/linkmap.h: This.
80290
80291 * sysdeps/i386/bits/endian.h: Removed.
80292 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80293 * sysdeps/x86/bits/endian.h: This.
80294
80295 * sysdeps/i386/bits/byteswap.h: Removed.
80296 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80297 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80298 * sysdeps/x86/bits/byteswap.h: This.
80299 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80300 * sysdeps/x86/bits/byteswap-16.h: This.
80301 * sysdeps/i386/Implies: Add x86.
80302 * sysdeps/x86_64/Implies: Likewise.
80303
80304 2012-05-30 David S. Miller <davem@davemloft.net>
80305
80306 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80307 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80308 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80309 (FP_TRAPPING_EXCEPTIONS): Define.
80310 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80311 (FP_TRAPPING_EXCEPTIONS): Define.
80312 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80313 subnormals only when inexact has been signalled or underflow
80314 exceptions are enabled.
80315 (_FP_PACK_CANONICAL): Likewise.
80316
80317 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80318
80319 [BZ #14183]
80320 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80321 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80322
80323 2012-05-30 Richard Henderson <rth@twiddle.net>
80324
80325 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80326 with #ifndef NOT_IN_libc.
80327
80328 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80329 marked to avoid plt entry.
80330
80331 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80332
80333 [BZ #14112]
80334 * Makeconfig (default-abi): New macro.
80335 (abi-includes): Likewise.
80336 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80337 $(abi-$(default-abi)-lib-soname) for soname if defined.
80338 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80339 abi-variants.
80340 * Makefile (installed-stubs): Likewise.
80341 * include/stubs-biarch.h: Removed.
80342 * scripts/lib-names.awk: Only handle one library at a time.
80343 * scripts/soversions.awk: Remove WORDSIZE support.
80344 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80345 entries.
80346 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80347 Removed.
80348 (syscall-list-default-condition): Likewise.
80349 (syscall-list-default-condition): Likewise.
80350 (syscall-list-includes): Likewise.
80351 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80352 syscall-list-* with abi-*. Handle undefined abi-variants.
80353 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80354 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80355 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80356 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80357 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80358 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80359 Removed.
80360 (syscall-list-32-options): Likewise.
80361 (syscall-list-32-condition): Likewise.
80362 (syscall-list-64-options): Likewise.
80363 (syscall-list-64-condition): Likewise.
80364 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80365 macro.
80366 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80367 Renamed to ...
80368 (abi-*): This.
80369 (abi-64-ld-soname): New macro.
80370 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80371 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80372 Renamed to ...
80373 (abi-*): This.
80374 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80375 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80376
80377 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80378
80379 * sysdeps/unix/sysv/linux/kernel-features.h
80380 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80381 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80382 include <kernel-features.h>.
80383 [!__NR_ftruncate64]: Remove conditional code.
80384 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80385 [__NR_ftruncate64]: Make code unconditional.
80386 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80387 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80388 include <kernel-features.h>.
80389 [!__NR_ftruncate64]: Remove conditional code.
80390 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80391 [__NR_ftruncate64]: Make code unconditional.
80392 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80394 include <kernel-features.h>.
80395 [!__NR_ftruncate64]: Remove conditional code.
80396 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80397 [__NR_ftruncate64]: Make code unconditional.
80398 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80400 include <kernel-features.h>.
80401 [!__NR_ftruncate64]: Remove conditional code.
80402 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80403 [__NR_ftruncate64]: Make code unconditional.
80404 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80405
80406 * configure.in (libc_cv_fpie): Weaken to a compile test using
80407 LIBC_TRY_CC_OPTION.
80408 * configure: Regenerated.
80409
80410 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80411
80412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80416 Refreshed.
80417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80423 Refreshed.
80424
80425 2012-05-27 David S. Miller <davem@davemloft.net>
80426
80427 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80428 (___Q_zero): New.
80429 (__Q_simulate_exceptions): Return void. Change to simulate
80430 exceptions by writing into the %fsr.
80431 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80432 (__Qp_handle_exceptions): Likewise.
80433 (numbers): Delete.
80434 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80435 __Qp_handle_exceptions.
80436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80437 __Qp_handle_exceptions.
80438 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80439 as unused and give dummy FP_RND_NEAREST initializer.
80440 (FP_INHIBIT_RESULTS): Define.
80441 (___Q_simulate_exceptions): Update declaration.
80442 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80443 formatting.
80444 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80445 as unused and give dummy FP_RND_NEAREST initializer.
80446 (__Qp_handle_exceptions): Update declaration.
80447 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80448 formatting.
80449
80450 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80451
80452 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80453 the temporary FPU control word.
80454 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80455 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80456 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80457 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80458 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80459 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80460 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80461 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80462 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80463 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80464 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80465
80466 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80467
80468 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80469 fields.
80470
80471 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80472
80473 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80474 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80475 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80476 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80477 Likewise.
80478 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80479 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80480 Likewise.
80481
80482 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80483
80484 * po/h.po: Update from translation team.
80485
80486 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80487
80488 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80489
80490 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80491 handling of denormals.
80492 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80493 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80494 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80495 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80499 Likewise.
80500
80501 2012-05-26 Marek Polacek <polacek@redhat.com>
80502
80503 [BZ #14152]
80504 * math/libm-test.inc (fma_test): Don't always expect underflow
80505 exception.
80506
80507 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80508
80509 [BZ #12416]
80510 * elf/tst-execstack.c: Include stackinfo.h.
80511 (do_test): Adjust test case to ensure that pthread_getattr_np
80512 behaviour remains the same after marking stack executable.
80513
80514 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80515
80516 * sysdeps/unix/sysv/linux/kernel-features.h
80517 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80518 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80519 kernel-features.h.
80520 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80521 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80522 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80523 kernel-features.h.
80524 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80525 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80526
80527 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80528
80529 * configure.in: Define the default includes to being none.
80530 * configure: Regenerated.
80531
80532 2012-05-25 Roland McGrath <roland@hack.frob.com>
80533
80534 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80535 * sysdeps/x86_64/setjmp.S: Likewise.
80536 * sysdeps/i386/bsd-setjmp.S: Likewise.
80537 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80538 * sysdeps/i386/setjmp.S: Likewise.
80539 * sysdeps/i386/__longjmp.S: Likewise.
80540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80541 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80542
80543 * include/stap-probe.h: New file.
80544 * configure.in: Handle --enable-systemtap.
80545 * configure: Regenerated.
80546 * config.h.in (USE_STAP_PROBE): New #undef.
80547 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80548 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80549 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80550
80551 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80552
80553 [BZ #13717]
80554 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80555 to 2.4.0 where earlier.
80556 * sysdeps/unix/sysv/linux/configure: Regenerated.
80557 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80558 <kernel-features.h>.
80559 [__ASSUME_32BITUIDS]: Make code unconditional.
80560 [!__ASSUME_32BITUIDS]: Remove conditional code.
80561 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80562 <kernel-features.h>.
80563 [__ASSUME_32BITUIDS]: Make code unconditional.
80564 [!__ASSUME_32BITUIDS]: Remove conditional code.
80565 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80566 [__ASSUME_32BITUIDS]: Make code unconditional.
80567 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80568 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80569 <kernel-features.h>.
80570 [__ASSUME_32BITUIDS]: Make code unconditional.
80571 [!__ASSUME_32BITUIDS]: Remove conditional code.
80572 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80573 <kernel-features.h>.
80574 [__ASSUME_32BITUIDS]: Make code unconditional.
80575 [!__ASSUME_32BITUIDS]: Remove conditional code.
80576 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80577 <kernel-features.h>.
80578 [__ASSUME_32BITUIDS]: Make code unconditional.
80579 [!__ASSUME_32BITUIDS]: Remove conditional code.
80580 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80581 <kernel-features.h>.
80582 [__ASSUME_32BITUIDS]: Make code unconditional.
80583 [!__ASSUME_32BITUIDS]: Remove conditional code.
80584 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80585 <kernel-features.h>.
80586 [__ASSUME_32BITUIDS]: Make code unconditional.
80587 [!__ASSUME_32BITUIDS]: Remove conditional code.
80588 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80589 <kernel-features.h>.
80590 [__ASSUME_32BITUIDS]: Make code unconditional.
80591 [!__ASSUME_32BITUIDS]: Remove conditional code.
80592 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80593 <kernel-features.h>.
80594 [__ASSUME_32BITUIDS]: Make code unconditional.
80595 [!__ASSUME_32BITUIDS]: Remove conditional code.
80596 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80597 <kernel-features.h>.
80598 [__ASSUME_32BITUIDS]: Make code unconditional.
80599 [!__ASSUME_32BITUIDS]: Remove conditional code.
80600 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80601 <kernel-features.h>.
80602 [__ASSUME_32BITUIDS]: Make code unconditional.
80603 [!__ASSUME_32BITUIDS]: Remove conditional code.
80604 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80605 <kernel-features.h>.
80606 [__ASSUME_32BITUIDS]: Make code unconditional.
80607 [!__ASSUME_32BITUIDS]: Remove conditional code.
80608 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80609 <kernel-features.h>.
80610 [__NR_setresgid] (__setresgid): Do not declare.
80611 [__ASSUME_32BITUIDS]: Make code unconditional.
80612 [!__ASSUME_32BITUIDS]: Remove conditional code.
80613 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80614 <kernel-features.h>.
80615 [__NR_setresuid] (__setresuid): Do not declare.
80616 [__ASSUME_32BITUIDS]: Make code unconditional.
80617 [!__ASSUME_32BITUIDS]: Remove conditional code.
80618 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80619 <kernel-features.h>.
80620 [__ASSUME_32BITUIDS]: Make code unconditional.
80621 [!__ASSUME_32BITUIDS]: Remove conditional code.
80622 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80623 <kernel-features.h>.
80624 [__ASSUME_32BITUIDS]: Make code unconditional.
80625 [!__ASSUME_32BITUIDS]: Remove conditional code.
80626 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80627 <kernel-features.h>.
80628 [__ASSUME_32BITUIDS]: Make code unconditional.
80629 [!__ASSUME_32BITUIDS]: Remove conditional code.
80630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80631 <kernel-features.h>.
80632 [__ASSUME_32BITUIDS]: Make code unconditional.
80633 [!__ASSUME_32BITUIDS]: Remove conditional code.
80634 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80635 <kernel-features.h>.
80636 [__ASSUME_32BITUIDS]: Make code unconditional.
80637 [!__ASSUME_32BITUIDS]: Remove conditional code.
80638 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80639 <kernel-features.h>.
80640 [__ASSUME_32BITUIDS]: Make code unconditional.
80641 [!__ASSUME_32BITUIDS]: Remove conditional code.
80642 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80643 <kernel-features.h>.
80644 [__ASSUME_32BITUIDS]: Make code unconditional.
80645 [!__ASSUME_32BITUIDS]: Remove conditional code.
80646 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80647 <kernel-features.h>.
80648 [__ASSUME_32BITUIDS]: Make code unconditional.
80649 [!__ASSUME_32BITUIDS]: Remove conditional code.
80650 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80651 <kernel-features.h>.
80652 [__ASSUME_32BITUIDS]: Make code unconditional.
80653 [!__ASSUME_32BITUIDS]: Remove conditional code.
80654 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80655 <kernel-features.h>.
80656 [__ASSUME_32BITUIDS]: Make code unconditional.
80657 [!__ASSUME_32BITUIDS]: Remove conditional code.
80658 * sysdeps/unix/sysv/linux/kernel-features.h
80659 (__ASSUME_SETRESUID_SYSCALL): Remove.
80660 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80661 (__ASSUME_32BITUIDS): Likewise.
80662 (__ASSUME_LDT_WORKS): Likewise.
80663 (__ASSUME_O_DIRECTORY): Likewise.
80664 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80665 architecture but not kernel version.
80666 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80667 (__ASSUME_MMAP2_SYSCALL): Likewise.
80668 (__ASSUME_STAT64_SYSCALL): Likewise.
80669 (__ASSUME_IPC64): Likewise.
80670 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80671 <kernel-features.h>.
80672 [__ASSUME_32BITUIDS]: Make code unconditional.
80673 [!__ASSUME_32BITUIDS]: Remove conditional code.
80674 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80675 <kernel-features.h>.
80676 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80677 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80678 132096]: Remove conditional code.
80679 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80680 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80681 <kernel-features.h>.
80682 [__ASSUME_32BITUIDS]: Make code unconditional.
80683 [!__ASSUME_32BITUIDS]: Remove conditional code.
80684 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80685 <kernel-features.h>.
80686 [__ASSUME_32BITUIDS]: Make code unconditional.
80687 [!__ASSUME_32BITUIDS]: Remove conditional code.
80688 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80689 <kernel-features.h>.
80690 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80691 unconditional.
80692 (__setresgid): Do not declare.
80693 [__ASSUME_32BITUIDS]: Make code unconditional.
80694 [!__ASSUME_32BITUIDS]: Remove conditional code.
80695 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80696 <kernel-features.h>.
80697 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80698 unconditional.
80699 (__setresuid): Do not declare.
80700 [__ASSUME_32BITUIDS]: Make code unconditional.
80701 [!__ASSUME_32BITUIDS]: Remove conditional code.
80702 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
80707 <kernel-features.h>.
80708 [__ASSUME_32BITUIDS]: Make code unconditional.
80709 [!__ASSUME_32BITUIDS]: Remove conditional code.
80710
80711 2012-05-25 Richard Henderson <rth@twiddle.net>
80712
80713 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80714 dl_hwcap to ifunc resolver.
80715 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80716 elf_ifunc_invoke.
80717 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80718 dl_hwcap to ifunc resolver.
80719 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80720
80721 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80722
80723 [BZ #14153]
80724 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80725 for |x| <= 2**-26, not 2**-57.
80726 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80727 exception.
80728
80729 2012-05-24 Jeff Law <law@redhat.com>
80730
80731 * stdio-common/Makefile (tests): Add bug25.
80732 * stdio-common/bug25.c: New test.
80733
80734 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80735
80736 [BZ #13576]
80737 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80738 multiple of MALLOC_ALIGNMENT in size.
80739 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80740
80741 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80742
80743 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80744 Require >= 256.
80745 (FILENAME_MAX): Use macro-int-constant.
80746 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80747 (_IOFBF): Use macro-int-constant.
80748 (_IOLBF): Likewise.
80749 (_IONBF): Likewise.
80750 (SEEK_CUR): Likewise.
80751 (SEEK_END): Likewise.
80752 (SEEK_SET): Likewise.
80753 (TMP_MAX): Likewise.
80754 (EOF): Use macro-int-constant. Require < 0.
80755 (NULL): Use macro-constant. Require == 0.
80756 (stdin): Require type to be FILE *.
80757 (stdout): Likewise.
80758 (stderr): Likewise.
80759 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80760 macro-int-constant.
80761 (EXIT_SUCCESS): Likewise.
80762 (NULL): Use macro-constant. Require == 0.
80763 (RAND_MAX): Use macro-int-constant.
80764 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80765 [C99-based standards] (strtof): Require function.
80766 [C99-based standards] (strtold): Likewise.
80767 [C99-based standards] (strtoll): Likewise.
80768 [C99-based standards] (strtoull): Likewise.
80769 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80770 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80771 [ISO || ISO99 || ISO11] (math.h): Likewise.
80772 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80773 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80775
80776 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80777
80778 [BZ #14132]
80779 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80780 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80781 * intl/dgettext.c (DCGETTEXT): Likewise.
80782 * intl/gettext.c (DCGETTEXT): Likewise.
80783 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80784 * posix/regex_internal.h (gettext): Likewise.
80785 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80786 Remove declaration.
80787 * include/argz.h (__argz_count_internal)
80788 (__argz_stringify_internal): Remove declaration.
80789 (__argz_count, __argz_stringify): Declare hidden proto.
80790 * intl/dcgettext.c: Remove use of INTDEF.
80791 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80792 * string/argz-stringify.c: Likewise.
80793 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80794 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80795 Declare hidden proto.
80796 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80797 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80798 Declare hidden proto.
80799 * include/stdio.h (__asprintf_internal): Don't declare.
80800 (__asprintf): Don't define as macro. Declare hidden proto.
80801 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80802 (__fsetlocking): Declare hidden proto.
80803 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80804 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80805 hidden proto.
80806 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80807 (_IO_setlinebuf): Remove use of INTUSE.
80808 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80809 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80810 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80811 Remove declaration.
80812 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80813 (_IO_do_flush): Remove use of INTUSE.
80814 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80815 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80816 (_IO_adjust_column, _IO_least_wmarker)
80817 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80818 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80819 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80820 (_IO_default_doallocate, _IO_wdefault_doallocate)
80821 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80822 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80823 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80824 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80825 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80826 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80827 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80828 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80829 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80830 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80831 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80832 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80833 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80834 proto.
80835 (_IO_flush_all_internal, _IO_adjust_column_internal)
80836 (_IO_default_uflow_internal, _IO_default_finish_internal)
80837 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80838 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80839 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80840 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80841 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80842 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80843 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80844 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80845 (_IO_file_close_internal, _IO_file_close_it_internal)
80846 (_IO_file_underflow_internal, _IO_file_overflow_internal)
80847 (_IO_file_init_internal, _IO_file_attach_internal)
80848 (_IO_file_fopen_internal, _IO_file_read_internal)
80849 (_IO_file_sync_internal, _IO_file_seek_internal)
80850 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80851 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80852 (_IO_str_underflow_internal, _IO_str_overflow_internal)
80853 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80854 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80855 (_IO_list_all_internal, _IO_link_in_internal)
80856 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80857 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80858 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80859 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80860 (_IO_do_write_internal, _IO_padn_internal)
80861 (_IO_getline_info_internal, _IO_getline_internal)
80862 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80863 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80864 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80865 (_IO_vfscanf_internal, _IO_vfprintf_internal)
80866 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80867 (_IO_init_internal, _IO_un_link_internal): Don't declare.
80868 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80869 with libc_hidden_ver, remove use of INTUSE.
80870 * libio/genops.c: Likewise.
80871 * libio/freopen.c: Likewise.
80872 * libio/freopen64.c: Likewise.
80873 * libio/iofclose.c: Likewise.
80874 * libio/iofdopen.c: Likewise.
80875 * libio/iofflush.c: Likewise.
80876 * libio/iofflush_u.c: Likewise.
80877 * libio/iofgets.c: Likewise.
80878 * libio/iofgets_u.c: Likewise.
80879 * libio/iofopen.c: Likewise.
80880 * libio/iofopncook.c: Likewise.
80881 * libio/iofread.c: Likewise.
80882 * libio/iofread_u.c: Likewise.
80883 * libio/ioftell.c: Likewise.
80884 * libio/iofwrite.c: Likewise.
80885 * libio/iogetline.c: Likewise.
80886 * libio/iogets.c: Likewise.
80887 * libio/iogetwline.c: Likewise.
80888 * libio/iopadn.c: Likewise.
80889 * libio/iopopen.c: Likewise.
80890 * libio/ioseekoff.c: Likewise.
80891 * libio/ioseekpos.c: Likewise.
80892 * libio/iosetbuffer.c: Likewise.
80893 * libio/iosetvbuf.c: Likewise.
80894 * libio/ioungetc.c: Likewise.
80895 * libio/ioungetwc.c: Likewise.
80896 * libio/iovdprintf.c: Likewise.
80897 * libio/iovsprintf.c: Likewise.
80898 * libio/iovsscanf.c: Likewise.
80899 * libio/memstream.c: Likewise.
80900 * libio/obprintf.c: Likewise.
80901 * libio/oldfileops.c: Likewise.
80902 * libio/oldiofclose.c: Likewise.
80903 * libio/oldiofdopen.c: Likewise.
80904 * libio/oldiofopen.c: Likewise.
80905 * libio/oldiopopen.c: Likewise.
80906 * libio/oldstdfiles.c: Likewise.
80907 * libio/putc.c: Likewise.
80908 * libio/setbuf.c: Likewise.
80909 * libio/setlinebuf.c: Likewise.
80910 * libio/stdfiles.c: Likewise.
80911 * libio/strops.c: Likewise.
80912 * libio/vasprintf.c: Likewise.
80913 * libio/vscanf.c: Likewise.
80914 * libio/vsnprintf.c: Likewise.
80915 * libio/vswprintf.c: Likewise.
80916 * libio/wfiledoalloc.c: Likewise.
80917 * libio/wfileops.c: Likewise.
80918 * libio/wgenops.c: Likewise.
80919 * libio/wmemstream.c: Likewise.
80920 * libio/wstrops.c: Likewise.
80921 * libio/__fpurge.c: Likewise.
80922 * libio/__fsetlocking.c: Likewise.
80923 * assert/assert.c: Likewise.
80924 * debug/fgets_chk.c: Likewise.
80925 * debug/fgets_u_chk.c: Likewise.
80926 * debug/fread_chk.c: Likewise.
80927 * debug/fread_u_chk.c: Likewise.
80928 * debug/gets_chk.c: Likewise.
80929 * debug/obprintf_chk.c: Likewise.
80930 * debug/vasprintf_chk.c: Likewise.
80931 * debug/vdprintf_chk.c: Likewise.
80932 * debug/vsnprintf_chk.c: Likewise.
80933 * debug/vsprintf_chk.c: Likewise.
80934 * malloc/mtrace.c: Likewise.
80935 * misc/error.c: Likewise.
80936 * misc/syslog.c: Likewise.
80937 * stdio-common/asprintf.c: Likewise.
80938 * stdio-common/fxprintf.c: Likewise.
80939 * stdio-common/getw.c: Likewise.
80940 * stdio-common/isoc99_fscanf.c: Likewise.
80941 * stdio-common/isoc99_scanf.c: Likewise.
80942 * stdio-common/isoc99_vfscanf.c: Likewise.
80943 * stdio-common/isoc99_vscanf.c: Likewise.
80944 * stdio-common/isoc99_vsscanf.c: Likewise.
80945 * stdio-common/printf-prs.c: Likewise.
80946 * stdio-common/printf_fp.c: Likewise.
80947 * stdio-common/printf_fphex.c: Likewise.
80948 * stdio-common/printf_size.c: Likewise.
80949 * stdio-common/putw.c: Likewise.
80950 * stdio-common/scanf.c: Likewise.
80951 * stdio-common/sprintf.c: Likewise.
80952 * stdio-common/tmpfile.c: Likewise.
80953 * stdio-common/vfprintf.c: Likewise.
80954 * stdio-common/vfscanf.c: Likewise.
80955 * stdlib/strfmon_l.c: Likewise.
80956 * sunrpc/openchild.c: Likewise.
80957 * sunrpc/xdr_stdio.c: Likewise.
80958 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80959 * sysdeps/mach/hurd/tmpfile.c: Likewise.
80960
80961 2012-05-24 Roland McGrath <roland@hack.frob.com>
80962
80963 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80964
80965 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80966 in the third column, to generate for the shared library an IFUNC
80967 that uses _dl_vdso_vsym.
80968 * Makerules (COMPILE.c, compile-stdin.c): New variables.
80969 * Makeconfig (object-suffixes-noshared): New variable.
80970
80971 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80972 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80973 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80974 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80975
80976 [BZ #14132]
80977 * include/sys/time.h (__gettimeofday): Remove macro.
80978 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80979 * time/gettimeofday.c (__gettimeofday): Remove #undef.
80980 Remove INTDEF.
80981 (__gettimeofday): Add libc_hidden_def.
80982 (gettimeofday): Add libc_hidden_weak.
80983 * sysdeps/mach/gettimeofday.c: Likewise.
80984 * sysdeps/posix/gettimeofday.c: Likewise.
80985 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80986 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80988 (__gettimeofday_internal): Remove strong_alias.
80989 (__gettimeofday): Add libc_hidden_def.
80990 (gettimeofday): Add libc_hidden_weak.
80991 * sysdeps/unix/syscalls.list (gettimeofday):
80992 Remove __gettimeofday_internal alias.
80993
80994 2012-05-24 Daniel Jacobowitz <drow@false.org>
80995 H.J. Lu <hongjiu.lu@intel.com>
80996
80997 [BZ #12495]
80998 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80999 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81000 (largebin_index_32_big): New.
81001 (largebin_index): Use it for 16-byte alignment.
81002 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81003 correction with front_misalign.
81004
81005 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81006
81007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81009 Likewise.
81010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81011 Likewise.
81012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81013 Likewise.
81014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81015 Likewise.
81016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81017 Likewise.
81018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81019 Likewise.
81020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81021 Likewise.
81022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81023 Likewise.
81024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81025 Likewise.
81026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81027 Likewise.
81028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81029 Likewise.
81030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81031 Likewise.
81032
81033 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81034 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81035
81036 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81037
81038 [BZ #10846]
81039 [BZ #14036]
81040 * math/libm-test.inc (exp_test): Add test from bug 14036.
81041 (pow_test): Add test from bug 10846.
81042
81043 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81044 and other flags.
81045 (special_function): Do not include flags in test name.
81046 (parse_args): Likewise.
81047 * sysdeps/i386/fpu/libm-test-ulps: Update.
81048 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81049 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81050 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81052
81053 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81054 exceptions.
81055 * math/libm-test.inc ("Philosophy"): Update comment about
81056 exception testing.
81057 (UNDERFLOW_EXCEPTION): New macro.
81058 (UNDERFLOW_EXCEPTION_OK): Likewise.
81059 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81060 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81061 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81062 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81063 (INVALID_EXCEPTION_OK): Update value.
81064 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81065 (OVERFLOW_EXCEPTION_OK): Likewise.
81066 (IGNORE_ZERO_INF_SIGN): Likewise.
81067 (test_exceptions): Handle underflow exceptions.
81068 (acos_test): Update for underflow exception expectations.
81069 (cexp_test): Likewise.
81070 (clog_test): Likewise.
81071 (clog10_test): Likewise.
81072 (csqrt_test): Likewise.
81073 (ctan_test): Likewise.
81074 (ctanh_test): Likewise.
81075 (exp_test): Likewise.
81076 (exp10_test): Likewise.
81077 (exp2_test): Likewise.
81078 (expm1_test): Likewise.
81079 (fma_test): Likewise.
81080 (j0_test): Likewise.
81081 (jn_test): Likewise.
81082 (nexttoward_test): Likewise.
81083 (pow_test): Likewise.
81084 (scalbn_test): Likewise.
81085 (scalbln_test): Likewise.
81086 (tan_test): Likewise.
81087 (y1_test): Likewise.
81088 * sysdeps/i386/fpu/libm-test-ulps: Update.
81089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81090
81091 2012-05-23 David S. Miller <davem@davemloft.net>
81092
81093 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81094 (__libc_sigaction): Remove unused local variables.
81095
81096 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81097
81098 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81099
81100 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81101
81102 mktime: avoid signed integer overflow
81103 * time/mktime.c (__mktime_internal): Do not mishandle the case
81104 where diff == INT_MIN.
81105
81106 mktime: simplify computation of average
81107 * time/mktime.c (ranged_convert): Use new time_t_avg function
81108 instead of rolling our own (probably-slower) code.
81109
81110 mktime: do not assume signed right shift propagates sign bit
81111 * time/mktime.c (isdst_differ): New static function.
81112 (__mktime_internal): No need to normalize tm_isdst now.
81113 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81114 tm_isdst values.
81115
81116 mktime: merge another wrapv change from gnulib
81117 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81118 from some compilers.
81119
81120 mktime: remove incorrect attempt at unusual arithmetics
81121 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81122 The code didn't really work on such machines anyway.
81123 (TYPE_MINIMUM): Assume two's complement.
81124 (twos_complement_arithmetic): Verify that long_int and time_t
81125 are two's complement (or unsigned, in the latter case).
81126
81127 mktime: check signed shifts on long_int and time_t, too
81128 * time/mktime.c (SHR): Check that shifts work as desired
81129 on the types long_int and time_t too, as SHR is used on
81130 such types.
81131
81132 mktime: do not assume 'long' is wide enough
81133 * time/mktime.c (verify): Move decl up.
81134 (long_int): New type.
81135 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81136 to remove assumption in the code that 'long' is wide enough to
81137 store year values. This assumption is not true on x32 and on
81138 some non-glibc platforms.
81139
81140 mktime: merge wrapv change from gnulib
81141 * time/mktime.c (WRAPV): New macro.
81142 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81143 (guess_time_tm, __mktime_internal): Do not assume that signed
81144 integer overflow wraps around; modern compilers generate code
81145 where this assumption is no longer valid.
81146
81147 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81148
81149 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81150 Replace "jmp L(pseudo_end)" with "ret".
81151 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81152 Likewise.
81153
81154 2012-05-23 Andreas Jaeger <aj@suse.de>
81155
81156 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81157 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81158
81159 2012-05-23 Andreas Jaeger <aj@suse.de>
81160 Maximilian Attems <max@stro.at>
81161
81162 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81163 New macros.
81164
81165 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81166
81167 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81168 code so that pseudo_end is just ret and the stack pointer is
81169 correct also for static library in error case.
81170
81171 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81172
81173 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81174 move to syscalls.list.
81175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81179
81180 * manual/install.texi (Running make install): Do not mention Linux
81181 kernel version for which pt_chown is not needed.
81182 (Linux): Do not mention problems with nscd with 2.0 kernels.
81183 * INSTALL: Regenerated.
81184
81185 2012-05-23 Andreas Jaeger <aj@suse.de>
81186
81187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81188 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81189 macro.
81190 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81191 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81192 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81193 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81194 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81195 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81197 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81198 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81199 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81200 * sysdeps/unix/sysv/linux/bits/in.h
81201 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81202
81203 2012-05-22 Roland McGrath <roland@hack.frob.com>
81204
81205 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81206 (PREPARE_VERSION): Just use assert instead, it will be elided
81207 under [NDEBUG] anyway.
81208
81209 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81210
81211 * sysdeps/unix/sysv/linux/Makefile: Include
81212 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81213 (sysdep_routines): Remove sysctl.
81214 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81215 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81216 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81217 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81218 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81219
81220 2012-05-22 Andreas Jaeger <aj@suse.de>
81221
81222 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81223 that pseudo_end is just ret and the stack pointer is correct also
81224 for static library in error case.
81225
81226 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81227
81228 [BZ #14122]
81229 * nss/nsswitch.c (defconfig_entries): New variable.
81230 (__nss_database_lookup): Don't leak defconfig entries.
81231 (nss_parse_service_list): Don't leak on error paths.
81232 (free_database_entries): New function.
81233 (free_defconfig): New function.
81234 (free_mem): Move common code to free_database_entries.
81235
81236 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81237
81238 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81239 Add arch_prctl.
81240 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81241
81242 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81243 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81245 New macro.
81246 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81247 (INTERNAL_SYSCALL_TYPES): Likewise.
81248 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81249 (LOAD_REGS_TYPES_[1-6]): Likewise.
81250 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81251 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81252
81253 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81254
81255 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81256 copysignl for GLIBC_2_0.
81257 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81258 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81260 logbl for GLIBC_2_0.
81261 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81262 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81263
81264 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81265
81266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81267 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81268
81269 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81270 Use "neg %eax".
81271
81272 * time/mktime.c: Update copyright years.
81273
81274 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81275
81276 mktime: merge comment-quoting-style change from gnulib
81277 * time/mktime.c: Quote 'like this' in comments.
81278 The GNU coding standards suggest that we no longer quote `like this',
81279 as "`" and "'" are typically rendered asymmetrically nowadays.
81280 The typical gnulib style is to quote 'like this' when quoting
81281 code, and "like this" when quoting English.
81282
81283 * time/mktime.c (compile-command): Add "-I.".
81284
81285 mktime: merge mktime-internal.h change from gnulib
81286 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81287
81288 mktime: merge time_r change from gnulib
81289 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81290
81291 mktime: merge DEBUG change from gnulib
81292 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81293 case system <time.h> has a #define.
81294
81295 mktime: merge <sys/types.h> change from gnulib
81296 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81297 since <time.t> is now guaranteed to define time_t.
81298
81299 mktime: merge HAVE_CONFIG_H change from gnulib
81300 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81301
81302 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81303
81304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81305 Use "neg %eax".
81306
81307 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81308 __rlim_t cast.
81309 (struct rusage): Use anonymous union to pad each field to
81310 __syscall_slong_t.
81311
81312 2012-05-21 David S. Miller <davem@davemloft.net>
81313
81314 * Makefules (o-iterator): Remove .s cases.
81315 (compile-command.s): Delete.
81316 (COMPILE.s): Delete.
81317 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81318
81319 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81320
81321 * configure.in (libc_cv_predef_stack_protector): Only consider
81322 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81323 * configure: Regenerated.
81324
81325 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81326
81327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81328 New macro. Use R*LP on int and pointer.
81329 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81330 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81331 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81332 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81333
81334 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81335 [__WORDSIZE_TIME64_COMPAT32] instead of
81336 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81337 (struct utmp): Likewise.
81338 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81339 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81340 Renamed to ...
81341 (__WORDSIZE_TIME64_COMPAT32): This.
81342 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81343 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81344 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81345 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81346 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81347 (__WORDSIZE_TIME64_COMPAT32): New macro.
81348
81349 2012-05-21 Andreas Jaeger <aj@suse.de>
81350
81351 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81352 only if [SHARED]. Add prototype for __wcschr_ia32.
81353
81354 2012-05-21 Roland McGrath <roland@hack.frob.com>
81355
81356 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81357 of %rbp unmolested in the jmp_buf while mangling the low bits.
81358 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81359 unmolested high bits of %rbp while demangling the low bits.
81360 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81361
81362 2012-05-21 Andreas Jaeger <aj@suse.de>
81363
81364 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81365 * sunrpc/svc_simple.c: Use it for registerrpc.
81366 * sunrpc/xcrypt.c: Use it for passwd2des.
81367
81368 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81369
81370 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81371
81372 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81373 Don't define if [__SYSCALL_WORDSIZE != 32].
81374 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81375 New macro.
81376
81377 2012-05-21 Bruno Haible <bruno@clisp.org>
81378 Andreas Jaeger <aj@suse.de>
81379
81380 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81381 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81382 inptr and inend for must_buffer_ch.
81383 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81384 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81385 * stdio-common/Makefile (tests): Remove bug15.
81386 (bug15-ENV): Remove macro.
81387 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81388 anymore.
81389
81390 2012-05-19 Andreas Jaeger <aj@suse.de>
81391 Roland McGrath <roland@hack.frob.com>
81392
81393 * manual/contrib.texi: Completely rewritten. It contains now an
81394 alphabetical list of contributors and their contributions.
81395
81396 2012-05-21 Richard Henderson <rth@twiddle.net>
81397
81398 * misc/getauxval.c (__getauxval): Use unsigned long int.
81399 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81400 (getauxval): Use unsigned long int.
81401
81402 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81403
81404 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81405
81406 2012-05-21 Roland McGrath <roland@hack.frob.com>
81407
81408 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81409 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81410 __alignof__ (long double).
81411
81412 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81413
81414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81415
81416 2012-05-20 Richard Henderson <rth@twiddle.net>
81417
81418 * misc/getauxval.c: New file.
81419 * misc/sys/auxv.h: New file.
81420 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81421 (routines): Add getauxval.
81422 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81423 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81424 * elf/dl-sysdep.c (_dl_auxv): Remove.
81425 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81426 * elf/dl-support.c (_dl_auxv): New variable.
81427 (_dl_aux_init): Initialize it.
81428 * manual/startup.texi (Auxiliary Vector): New node.
81429 * sysdeps/generic/bits/hwcap.h: New file.
81430 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81431 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81432 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81433 * sysdeps/sparc/sysdep.h: ... here. Include it.
81434 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81435 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81437 Update.
81438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81441 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81446
81447 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81448
81449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81450
81451 2012-05-19 David S. Miller <davem@davemloft.net>
81452
81453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81454
81455 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81456
81457 [BZ #14123]
81458 * math/s_ccosh.c: Include <float.h>
81459 (__ccosh): Avoid internal overflow calculating sinh and cosh
81460 values before multiplying by sin and cos values.
81461 * math/s_ccoshf.c: Likewise.
81462 * math/s_ccoshl.c: Likewise.
81463 * math/s_csin.c: Likewise.
81464 * math/s_csinf.c: Likewise.
81465 * math/s_csinl.c: Likewise.
81466 * math/s_csinh.c: Likewise.
81467 * math/s_csinhf.c: Likewise.
81468 * math/s_csinhl.c: Likewise.
81469 * math/libm-test.inc (ccos_test): Add more tests.
81470 (ccosh_test): Likewise.
81471 (csin_test): Likewise.
81472 (csinh_test): Likewise.
81473 * sysdeps/i386/fpu/libm-test-ulps: Update.
81474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81475
81476 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81477
81478 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81479 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81480
81481 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81482
81483 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81484
81485 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81486 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81487 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81488 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81489 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81490 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81491 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81492 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81493 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81494 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81495 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81496 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81497 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81498 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81499 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81500 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81501 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81502 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81503 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81504 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81505 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81506 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81507 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81508 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81509 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81510 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81511 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81512 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81513 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81514 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81515 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81516
81517 2012-05-18 Andreas Jaeger <aj@suse.de>
81518
81519 * csu/.gitignore: Delete.
81520
81521 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81522
81523 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81524 (timex): Use __syscall_slong_t.
81525
81526 2012-05-18 Andreas Jaeger <aj@suse.de>
81527 Carlos O'Donell <carlos_odonell@mentor.com>
81528
81529 * manual/install.texi (Configuring and compiling): Update
81530 description about files modified in the source directory.
81531 * INSTALL: Regenerated.
81532
81533 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81534
81535 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81536 value. Use "or" to set return value to -1.
81537 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81538 negate return value.
81539
81540 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81541
81542 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81543 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81544 failure if the compiler has Graphite support disabled.
81545 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81546 Likewise.
81547 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81548 (CFLAGS-memmove.c): Likewise.
81549 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81550 Likewise.
81551
81552 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81553
81554 * sysdeps/x86_64/x32/_itoa.h: New file.
81555
81556 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81557 getdents system call only if kernel and user dirents have the
81558 same d_ino and d_off.
81559
81560 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81561 LLONG_MAX != LONG_MAX.
81562 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81563 (_fitoa_word): Likewise.
81564
81565 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81566 years.
81567 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81568 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81569 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81570
81571 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81572 include <bits/wordsize.h>. Check __x86_64__ instead of
81573 __WORDSIZE.
81574 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81575 if __x86_64__ is defined. Use anonymous union on fpstate.
81576
81577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81578 anonymous union.
81579
81580 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81581
81582 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81583 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81584 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81585 Refer to _rtld_local_ro instead of _rtld_global_ro.
81586 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81587 Likewise.
81588 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81589 Likewise.
81590 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81591 Likewise.
81592 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81593 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81594 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81595
81596 [BZ #10882]
81597 * sysdeps/powerpc/powerpc32/dl-machine.c
81598 (__elf_machine_runtime_setup) [PROF]: Don't reference
81599 _dl_prof_resolve.
81600
81601 2012-05-18 Andreas Jaeger <aj@suse.de>
81602
81603 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81604 function only available for GCCs before 3.4 since GCC 3.4
81605 introduced a builtin.
81606 (lrint): Likewise.
81607 (llrintf): Likewise.
81608 (llrint): Likewise.
81609 (fmaxf): Likewise.
81610 (fmax): Likewise.
81611 (fminf): Likewise.
81612 (fmin): Likewise.
81613 (rint): Likewise.
81614 (rintf): Likewise.
81615 (nearbyint): Likewise.
81616 (nearbyintf): Likewise.
81617 (ceil): Likewise.
81618 (ceilf): Likewise.
81619 (floor): Likewise.
81620 (floorf): Likewise.
81621
81622 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81623
81624 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81625 on both fields and cast pointer to __syscall_ulong_t.
81626
81627 * bits/types.h (__fsword_t): New type.
81628 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81629 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81631 (__FSWORD_T_TYPE): Likewise.
81632 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81633 (__FSWORD_T_TYPE): Likewise.
81634 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81635 (__FSWORD_T_TYPE): Likewise.
81636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81637 (__FSWORD_T_TYPE): Likewise.
81638 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81639 __SWORD_TYPE with __fsword_t.
81640 (statfs64): Likewise.
81641
81642 2012-05-17 David S. Miller <davem@davemloft.net>
81643
81644 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81645
81646 2012-05-17 Andreas Jaeger <aj@suse.de>
81647
81648 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81649 warning.
81650
81651 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81652
81653 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81654
81655 2012-05-17 Andreas Jaeger <aj@suse.de>
81656
81657 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81658 when it is used.
81659
81660 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81661
81662 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81663
81664 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81665
81666 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81667 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81668
81669 2012-05-17 Andreas Jaeger <aj@suse.de>
81670 Carlos O'Donell <carlos_odonell@mentor.com>
81671
81672 [BZ #14059]
81673 * sysdeps/x86_64/multiarch/init-arch.h
81674 (bit_YMM_Usable): Rename to...
81675 (bit_AVX_Usable): ... this.
81676 (bit_FMA4_Usable): New macro.
81677 (bit_XMM_state): New macro.
81678 (bit_YMM_state): New macro.
81679 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81680 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81681 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81682 (CPUID_OSXSAVE): New macro.
81683 (CPUID_AVX): New macro.
81684 (CPUID_FMA4): New macro.
81685 (index_YMM_Usable): Rename to...
81686 (index_AVX_Usable): ... this.
81687 (HAS_AVX): Use HAS_ARCH_FEATURE.
81688 (HAS_FMA4): Likewise.
81689 (HAS_YMM_USABLE): Remove.
81690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81691 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81692 are present.
81693 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81694 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81695 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81696 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81697 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81698
81699 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81700
81701 * math/libm-test.c: Support platforms without multiple rounding modes.
81702 * math/bug-nextafter.c: Support platforms without FP exceptions.
81703 * math/bug-nexttoward.c: Likewise.
81704 * math/test-fenv.c: Likewise.
81705 * math/test-misc.c: Likewise.
81706 * stdlib/bug-getcontext.c: Likewise.
81707
81708 2012-05-17 Andreas Jaeger <aj@suse.de>
81709
81710 * manual/examples/search.c (critter_cmp): Change signature to
81711 avoid warnings.
81712 * manual/string.texi (Collation Functions): Likewise.
81713
81714 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81715
81716 * bits/types.h: Fold copyright years.
81717 * bits/typesizes.h: Likewise.
81718 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81721 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81722 * time/time.h: Likewise.
81723
81724 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81725
81726 [BZ #208]
81727 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81728 in instead of returning them. Return void.
81729 (__libc_mallinfo): Accumulate over all arenas.
81730 (__malloc_stats): Adjust for change in int_mallinfo interface.
81731
81732 2012-05-16 Roland McGrath <roland@hack.frob.com>
81733
81734 [BZ #10375]
81735 * configure.in (NM): Add AC_CHECK_TOOL for it.
81736 (libc_extra_cflags): New substituted variable.
81737 Check for -fstack-protector being used implicitly.
81738 * configure: Regenerated.
81739 * config.make.in (config-extra-cflags): New variable,
81740 gets @libc_extra_cflags@.
81741 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81742
81743 [BZ #10375]
81744 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81745 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81746 * configure: Regenerated.
81747 * config.make.in (CPPUNDEFS): New substituted variable.
81748 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81749 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81750 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81751
81752 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81753
81754 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81755 (mq_attr): Use __syscall_slong_t.
81756
81757 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81758
81759 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81760 Check __x86_64__ instead of __WORDSIZE.
81761 (_STAT_VER_LINUX): Likewise.
81762 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81763 __syscall_ulong_t and __syscall_slong_t.
81764 (stat64): Likewise.
81765
81766 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81767
81768 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81769
81770 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81771
81772 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81773
81774 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81775
81776 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81777 __syscall_ulong_t.
81778
81779 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81780 include <bits/wordsize.h>. Check __x86_64__ instead of
81781 __WORDSIZE.
81782 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81783 defined.
81784 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81785
81786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81787 include <bits/wordsize.h>. Check __x86_64__ instead of
81788 __WORDSIZE.
81789 (user_regs_struct): Use "__extension__ unsigned long long"
81790 instead of "unsigned long" if __x86_64__ is defined.
81791 (user): Likewise. Pad after pointer field if __ILP32__ is
81792 defined.
81793
81794 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81795
81796 * configure.in (makeinfo): Require version 4.5 or later. Allow
81797 versions 5 to 9.
81798 * configure: Regenerated.
81799 * manual/install.texi (texinfo): Increase version requirement to
81800 4.5 or later.
81801 * INSTALL: Regenerated.
81802
81803 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81804
81805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81806
81807 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81808
81809 * sysdeps/x86_64/x32/ffs.c: New file.
81810
81811 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81812 __syscall_ulong_t.
81813 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81814 defined. Use __syscall_ulong_t.
81815 (shminfo): Use __syscall_ulong_t.
81816 (shm_info): Likewise.
81817
81818 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81819 __syscall_ulong_t.
81820
81821 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81822 <bits/wordsize.h>.
81823 (msgqnum_t): Use __syscall_ulong_t.
81824 (msglen_t): Likewise.
81825 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
81826 __syscall_ulong_t.
81827
81828 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81829 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81830
81831 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81832
81833 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81834 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81835
81836 * sysvipc/sys/msg.h (msgbuf): Replace long int with
81837 __syscall_slong_t.
81838
81839 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81840 include <bits/wordsize.h>. Check __x86_64__ instead of
81841 __WORDSIZE.
81842
81843 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81844 "unsigned long long int" if __x86_64__ is defined.
81845 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81846
81847 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81848 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81849 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81850
81851 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81852 <stdint.h>.
81853 (GET_PC): Cast to uintptr_t first.
81854 (GET_FRAME): Likewise.
81855 (GET_STACK): Likewise.
81856
81857 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81858 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81859 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81860 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81861 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81862 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81863 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81864 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81865 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81866 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81867 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81868 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81870 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81871 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81872 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81873 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81874 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81875 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81876 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81877 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81878 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81879 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81880 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81881 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81882 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81883 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81884 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81885 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81886
81887 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
81888
81889 * Makerules (+depfiles): Also collect depfiles from .oS in
81890 $(extra-objs).
81891 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81892 .oS, $(libnldbl-routines)).
81893
81894 * Makerules (native-compile-mkdep-flags): Define.
81895 * sunrpc/Makefile (extra-objs): Add $(addprefix
81896 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81897 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81898 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
81899 calling $(make-target-directory).
81900
81901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81902
81903 * bits/types.h (__snseconds_t): Removed.
81904 * time/time.h (struct timespec): Replace __snseconds_t with
81905 __syscall_slong_t.
81906 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81907 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81908 Likewise.
81909 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81910 (__SNSECONDS_T_TYPE): Likewise.
81911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81912 (__SNSECONDS_T_TYPE): Likewise.
81913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81914 (__SNSECONDS_T_TYPE): Likewise.
81915
81916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81917
81918 * sysdeps/mach/hurd/bits/typesizes.h
81919 (__SYSCALL_SLONG_TYPE): New macro.
81920 (__SYSCALL_ULONG_TYPE): Likewise.
81921
81922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81923
81924 * bits/types.h (__syscall_slong_t): New type.
81925 (__syscall_ulong_t): Likewise.
81926
81927 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81928 (__SYSCALL_ULONG_TYPE): Likewise.
81929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81930 (__SYSCALL_SLONG_TYPE): Likewise.
81931 (__SYSCALL_ULONG_TYPE): Likewise.
81932 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81933 (__SYSCALL_SLONG_TYPE): Likewise.
81934 (__SYSCALL_ULONG_TYPE): Likewise.
81935 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81936 (__SYSCALL_SLONG_TYPE): Likewise.
81937 (__SYSCALL_ULONG_TYPE): Likewise.
81938
81939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81940
81941 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81942 Add sigaltstack-offsets.sym.
81943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81944 <sigaltstack-offsets.h>.
81945 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
81946 longjmp_msg pointer.
81947 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
81948 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81949 signal stack.
81950 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81951
81952 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81953
81954 * elf/stackguard-macros.h: Remove file.
81955 * sysdeps/generic/stackguard-macros.h: New file.
81956 * sysdeps/i386/stackguard-macros.h: Likewise.
81957 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81958 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81959 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81960 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81961 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81962 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81963 * sysdeps/x86_64/stackguard-macros.h: Likewise.
81964 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81965 <elf/stackguard-macros.h>.
81966
81967 [BZ #14109]
81968 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81969 __aligned__ in attribute.
81970 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81971 (gregset_t): Likewise.
81972
81973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81974
81975 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81976 * sysdeps/x86_64/64/Implies-after: Here. New file.
81977 * sysdeps/x86_64/x32/Implies-after: New file.
81978
81979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81980
81981 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81982 and access return value for _dl_profile_fixup. Use R10_LP to
81983 load frame size.
81984
81985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81986
81987 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81988
81989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81990
81991 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81992 * sysdeps/x86_64/x32/sysdep.h: New file.
81993
81994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81995
81996 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81997 * sysdeps/x86_64/setjmp.S: Likewise.
81998
81999 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82000
82001 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82002 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82003 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82004 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82005 remove unused global constant.
82006
82007 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
82008
82009 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82010 include of <not-cancel.h>.
82011
82012 2012-05-15 Roland McGrath <roland@hack.frob.com>
82013
82014 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82015
82016 2012-05-15 Jeff Law <law@redhat.com>
82017 Andreas Jaeger <aj@suse.de>
82018
82019 [BZ #13594]
82020 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82021 out from...
82022 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82023 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82024 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82025 code changing __hst_map_handle.map.
82026
82027 2012-05-15 Roland McGrath <roland@hack.frob.com>
82028
82029 * configure.in (sysnames): Look for Implies-before and Implies-after
82030 files.
82031 * configure: Regenerated.
82032
82033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82034
82035 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82036 8-byte data alignment with LP_SIZE alignment.
82037
82038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82039
82040 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82041 into R10_LP.
82042
82043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82044
82045 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82046
82047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82048
82049 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82050 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82051 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82052 Likewise.
82053 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82054
82055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82056
82057 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82058 (stackinfo_sub_sp): Likewise.
82059
82060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82061
82062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82063 RAX_LP.
82064
82065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82066
82067 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82068 into R*_LP.
82069
82070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82071
82072 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82073 sizes into R*_LP.
82074
82075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82076
82077 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82078
82079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82080
82081 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82082 into R11_LP and load __x86_64_shared_cache_size_half into
82083 R8_LP.
82084
82085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82086
82087 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82088 R8_LP.
82089
82090 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82091
82092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82093 logb for POWER7.
82094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82095 logbf for POWER7.
82096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82097 logbl for POWER7.
82098 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82099 powerpc32/power7/fpu/s_logb.c via #include.
82100 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82101 powerpc32/power7/fpu/s_logbf.c via #include.
82102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82103 powerpc32/power7/fpu/s_logbl.c via #include.
82104
82105 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82106
82107 * README.libm: Remove file.
82108
82109 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82110
82111 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82112 count for x32. Use R*_LP and omit operand-size suffix.
82113
82114 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82115
82116 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82117 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82118 * sysdeps/x86_64/x32/shlib-versions: New file.
82119
82120 2012-05-14 Roland McGrath <roland@hack.frob.com>
82121
82122 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82123 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82124 Use _dl_fatal_printf instead.
82125
82126 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82127
82128 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82129 set if not set by the user. Do not allow for being unset.
82130 * sysdeps/unix/sysv/linux/configure: Regenerated.
82131
82132 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82133
82134 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82135 the `q' suffix from lea and replace .quad with ASM_ADDR.
82136
82137 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82138
82139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82140 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82141 instead of $17.
82142 (PTR_DEMANGLE): Likewise.
82143
82144 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82145
82146 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82147 (LP_OP): Likewise.
82148 (ASM_ADDR): Likewise.
82149 (RAX_LP): Likewise.
82150 (RBP_LP): Likewise.
82151 (RBX_LP): Likewise.
82152 (RCX_LP): Likewise.
82153 (RDI_LP): Likewise.
82154 (RSI_LP): Likewise.
82155 (RSP_LP): Likewise.
82156 (R8_LP): Likewise.
82157 (R9_LP): Likewise.
82158 (R10_LP): Likewise.
82159 (R10_LP): Likewise.
82160 (R11_LP): Likewise.
82161 (R12_LP): Likewise.
82162 (R13_LP): Likewise.
82163 (R14_LP): Likewise.
82164 (R15_LP): Likewise.
82165
82166 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82167
82168 * sysdeps/x86_64/x32/dl-machine.h: New file.
82169
82170 2012-05-14 Andreas Jaeger <aj@suse.de>
82171
82172 * manual/Makefile (subdir): Remove export of subdir.
82173 (all): Remove target.
82174 (.PHONY): Remove all from list.
82175 (mkinstalldirs): Remove.
82176 (.PHONY): Remove installdirs from list.
82177 ($(inst_infodir)/libc.info): Use make-target-directory.
82178 (installdirs): Remove.
82179 (subdir_%): Remove.
82180 (glibc-targets): Remove.
82181 (lib): Remove.
82182 (stubs): Remove.
82183 ($(objpfx)stubs ../po/manual.pot): Remove.
82184 ($(objpfx)stamp%): Remove.
82185 (make-target-directory): Remove.
82186 (subdir_install): Remove.
82187 (routines): Remove.
82188 (aux): Remove.
82189 (sources): Remove.
82190 (objects): Remove.
82191 (headers): Remove.
82192
82193 [BZ #13750]
82194 * manual/.gitignore: Remove, it's not needed anymore.
82195 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82196 all files in it.
82197 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82198 directory.
82199 (texis): Renamed to $(objpfx)texis.
82200 (texis-path): New, contains path to generated files.
82201 (chapters.%): Use texis-path for complete path, add extra argument
82202 libc-texinfo.sh.
82203 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82204 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82205 (summary,texi, stamp-summary): Use complete path of
82206 files. Generate files in build dir.
82207 (dir-add.texi): Build in build dir.
82208 (libm-err.texi,stamp-libm-err): Likewise.
82209 (version.texi, stamp-version): Likewise.
82210 (.%c.texi): Likewise.
82211 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82212 (mostlyclean): Remove target.
82213 (realclean): Remove target.
82214 (generated): Add new variable with contents from mostlyclean and
82215 realclean, remove entries duplicated in common-mostlyclean, add
82216 stamp-libm-err and stamp-version.
82217 (generated-dirs): Add libc directory.
82218 ($(inst_infodir)/libc.info): Install files from build dir.
82219
82220 * manual/install.texi (Configuring and compiling): Adjust since
82221 the info files are not part of the tar ball anymore.
82222
82223 2012-05-14 Andreas Jaeger <aj@suse.de>
82224
82225 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82226 variable.
82227
82228 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82229
82230 [BZ #13717]
82231 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82232 to 2.2.0 where earlier.
82233 * sysdeps/unix/sysv/linux/configure: Regenerated.
82234 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82235 Remove conditional code.
82236 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82237 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82238 Remove conditional code.
82239 [!__NR_lchown]: Likewise.
82240 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82241 [__NR_lchown]: Likewise.
82242 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82243 comment referencing __ASSUME_LCHOWN_SYSCALL.
82244 * sysdeps/unix/sysv/linux/i386/sigaction.c
82245 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82246 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82247 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82248 Remove conditional code.
82249 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82250 (__protocol_available): Remove #if 0 code.
82251 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82252 conditional code.
82253 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82254 * sysdeps/unix/sysv/linux/kernel-features.h
82255 (__ASSUME_GETCWD_SYSCALL): Don't define.
82256 (__ASSUME_REALTIME_SIGNALS): Likewise.
82257 (__ASSUME_PREAD_SYSCALL): Likewise.
82258 (__ASSUME_PWRITE_SYSCALL): Likewise.
82259 (__ASSUME_POLL_SYSCALL): Likewise.
82260 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82261 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82262 non-SPARC.
82263 (__ASSUME_SIOCGIFNAME): Don't define.
82264 (__ASSUME_MSG_NOSIGNAL): Likewise.
82265 (__ASSUME_SENDFILE): Define unconditionally.
82266 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82267 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82268 conditional code.
82269 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82270 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82271 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82272 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82273 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82274 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82275 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82277 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82280 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82283 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82289 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82292 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82295 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82298 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82300 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82301 Remove conditional code.
82302 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82303 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82304 Remove conditional code.
82305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82306 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82307 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82308 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82309 Remove conditional code.
82310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82311 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82312 Remove conditional code.
82313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82314 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82315 Remove conditional code.
82316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82317 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82318 Remove conditional code.
82319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82320 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82321 Remove conditional code.
82322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82323 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82324 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82326 * sysdeps/unix/sysv/linux/sigaction.c
82327 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82328 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82329 * sysdeps/unix/sysv/linux/sigpending.c
82330 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82331 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82332 * sysdeps/unix/sysv/linux/sigprocmask.c
82333 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82334 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82335 * sysdeps/unix/sysv/linux/sigsuspend.c
82336 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82337 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82338 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82339 (__libc_missing_rt_sigs): Remove.
82340 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82341 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82342 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82343 Remove conditional code.
82344 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82345 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82346 return 1.
82347 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82348 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82349 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82350 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82351
82352 2012-05-14 Andreas Jaeger <aj@suse.de>
82353
82354 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82355 it's not used in glibc.
82356 (__coshm1): Likewise.
82357 (__acosh1p): Likewise.
82358 (__sgn): Likewise.
82359
82360 * manual/string.texi (Copying and Concatenation): Add missing
82361 variable in concat example.
82362 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82363
82364 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82365
82366 [BZ #14103]
82367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82368 __builtin_clzl with __builtin_clzll.
82369
82370 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82371
82372 [BZ #14104]
82373 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82374 libc_freeres_ptr.
82375
82376 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82377
82378 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82379 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82380 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82381 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82382
82383 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82384
82385 * NEWS: Update ia64 info.
82386
82387 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82388
82389 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82390 used as bcopy.
82391
82392 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82393
82394 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82395 * sysdeps/unix/syscalls.list (dup3): Likewise.
82396 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82397 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82398
82399 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82400
82401 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82402 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82403
82404 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82405
82406 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82407 thread pointer.
82408 (TLS_IE): Use mov/add instead of movq/addq to load thread
82409 pointer.
82410 (TLS_GD_PREFIX): New.
82411 (TLS_GD): Use it.
82412
82413 2012-05-11 David S. Miller <davem@davemloft.net>
82414
82415 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82416 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82417 (_FPU_SETCW): Likewise.
82418
82419 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82420
82421 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82422 is 32-byte aligned.
82423
82424 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82425
82426 [BZ #11837]
82427 * iconvdata/gb18030.c: Update tables.
82428 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82429 characters specially.
82430 (BODY for TO_LOOP): Add encoding of missing ranges.
82431
82432 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82433
82434 [BZ #13673]
82435 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82436 * sysdeps/mach/hurd/dup3.c: Likewise.
82437 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82438 * sysdeps/powerpc/memmove.c:: Likewise.
82439
82440 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82441
82442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82443 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82444
82445 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82446
82447 * elf/elf.h (R_X86_64_RELATIVE64): New.
82448 (R_X86_64_NUM): Updated.
82449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82450 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82451 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82452 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82453 tst-quad1pie tst-quad2pie
82454 (modules-names): Add tst-quadmod1 tst-quadmod2.
82455 ($(objpfx)tst-quad1): New dependency.
82456 ($(objpfx)tst-quad2): Likewise.
82457 ($(objpfx)tst-quad1pie): Likewise.
82458 ($(objpfx)tst-quad2pie): Likewise.
82459 * sysdeps/x86_64/tst-quad1.c: New file.
82460 * sysdeps/x86_64/tst-quad1pie.c: New file.
82461 * sysdeps/x86_64/tst-quad2.c: Likewise.
82462 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82463 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82464 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82465 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82466 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82467
82468 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82469
82470 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82471 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82472 * streams/stropts.h (t_scalar_t): Define type.
82473
82474 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82475 (_PATH_PRESERVE): Set to "/var/lib".
82476 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82477
82478 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82479 instead of int.
82480
82481 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82482 if __dir_mkfile succeeded.
82483
82484 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82485 checking for _hurd_dtablesize. Unlock it right after having
82486 finished _hurd_dtable allocation.
82487
82488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82489
82490 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82491 * sysdeps/mach/hurd/configure: Regenerated.
82492 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82493 special-casing to...
82494 * sysdeps/gnu/configure.in: ... this new file.
82495 * sysdeps/unix/sysv/linux/configure: Regenerated.
82496 * sysdeps/gnu/configure: New generated file.
82497
82498 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82499 for Linux: use nsec instead of usec, as well as:
82500 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82501 members of type struct timespec.
82502 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82503 New macros.
82504 (struct stat64): Likewise.
82505 (_STATBUF_ST_NSEC): New macro.
82506 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82507
82508 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82509 __strtoul_internal rather than strtoul.
82510
82511 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82512
82513 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82514 and reject them.
82515
82516 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82517
82518 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82519 which preserves existing values.
82520 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82521
82522 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82523
82524 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82525 TIMEOUT values. Return EINVAL for NFDS values either negative or
82526 greater than FD_SETSIZE.
82527
82528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82529
82530 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82531 allocated, call __vm_protect to finish enabling the existing space, and
82532 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82533 allocate the remainder.
82534
82535 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82536
82537 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82538 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82539
82540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82541
82542 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82543 sysdeps/mach/hurd/readlink.c.
82544
82545 * posix/tst-sysconf.c (posix_options): Only use
82546 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82547 _POSIX_SYNCHRONIZED_IO when they are defined
82548 * sysdeps/mach/hurd/bits/posix_opt.h:
82549 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82550 (_XOPEN_REALTIME): Undefine macro.
82551 (_XOPEN_REALTIME_THREADS): Undefine macro.
82552 (_XOPEN_SHM): Undefine macro.
82553 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82554 macro to -1.
82555 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82556 macro to -1.
82557 (_POSIX_ASYNC_IO): Undefine macro.
82558 (_POSIX_PRIORITIZED_IO): Undefine macro.
82559 (_POSIX_SPIN_LOCKS): Define macro to -1.
82560
82561 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82562 SA_NODEFER, SA_RESETHAND.
82563 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82564 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82565 F_DUPFD_CLOEXEC.
82566
82567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82568
82569 * elf/Makefile (pldd-modules): Define unconditionally.
82570
82571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82572
82573 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82574
82575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82576
82577 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82578 Return ENOENT when name is empty.
82579 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82580
82581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82582
82583 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82584
82585 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82586
82587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82588
82589 Fix mlock in all cases except non-readable pages.
82590 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82591 instead of VM_PROT_ALL as parameter to __vm_wire function.
82592
82593 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82594 (__mkdir): When path is `/', just fail with EEXIST.
82595 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82596
82597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82598
82599 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82600 <sys/uio.h> (for writev).
82601 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82602 and <sys/param.h> (for MIN).
82603
82604 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82605
82606 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82607 REQUESTED_TIME. Properly set the remaining time and return EINTR
82608 if interrupted.
82609
82610 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82611
82612 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82613 Depend on against $(link-rpcuserlibs).
82614
82615 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82616
82617 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82618 (__libc_stack_end): Do not use attribute_relro.
82619 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82620 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82621 to libthread-provided value.
82622 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82623 attribute_relro.
82624
82625 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82626
82627 [BZ #3748]
82628 * bits/libc-lock.h (__libc_once_get): New macro.
82629 * sysdeps/mach/bits/libc-lock.h: Likewise.
82630 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82631 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82632 instead of using implementation details.
82633
82634 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82635 * libio/freopen.c: Likewise.
82636 * libio/freopen64.c: Likewise.
82637 * misc/syslog.c: Likewise.
82638 * nscd/connections.c: Likewise.
82639 * nscd/netgroupcache.c: Likewise.
82640 * sysdeps/posix/getcwd.c: Likewise.
82641
82642 2012-05-10 Roland McGrath <roland@hack.frob.com>
82643
82644 * math/w_ilogbf.c: Add #include <limits.h>.
82645
82646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82647
82648 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82649 path instead of returning without unlocking.
82650
82651 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82652 immediate-write ioctls.
82653 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82654
82655 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82656
82657 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82658 __builtin_frame_address instead of making assumptions about the
82659 location of the return address relative to DATA. Force early load of
82660 the return address.
82661 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82662 __builtin_frame_address.
82663
82664 dup3 for GNU Hurd.
82665 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82666 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82667 implement dup3 and do some further code clean-ups.
82668 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82669 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82670
82671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82672
82673 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82674
82675 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82676 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82677 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82678 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82679 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82680 d->port.lock.
82681
82682 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82683 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82684 when handler == SIG_ERR, not when handler != SIG_ERR.
82685
82686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82687
82688 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82689 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82690 definitions.
82691
82692 accept4 for GNU Hurd.
82693 * include/sys/socket.h (__libc_accept4): New prototype.
82694 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82695 to implement __libc_accept4.
82696 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82697 __libc_accept4.
82698 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82699
82700 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82701 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82702 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82703 signal-defines.sym.
82704
82705 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82706
82707 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82708
82709 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82710
82711 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82712 assertion on O_CLOEXEC flag.
82713 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82714 * hurd/intern-fd.c: Likewise.
82715 * hurd/port2fd.c: Likewise.
82716
82717 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82718
82719 [BZ #3906]
82720 * bits/in.h (IPV6_PKTINFO): Define new macro.
82721 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82722
82723 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82724
82725 [BZ #13954]
82726 [BZ #13955]
82727 [BZ #13956]
82728 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82730 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82731 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82732 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82733 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82734 * math/libm-test.inc (logb_test) : Additional logb tests.
82735
82736 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82737 Andreas Jaeger <aj@suse.de>
82738
82739 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82740 * configure: Regenerated.
82741 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82742 * config.make.in (link-obsolete-rpc): New substituted variable.
82743 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82744 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82745 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82746 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82747 so that libc.a contains the symbols.
82748 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82749 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82750 * sunrpc/auth_none.c: Likewise.
82751 * sunrpc/auth_unix.c: Likewise.
82752 * sunrpc/authdes_prot.c: Likewise.
82753 * sunrpc/authuxprot.c: Likewise.
82754 * sunrpc/clnt_gen.c: Likewise.
82755 * sunrpc/clnt_perr.c: Likewise.
82756 * sunrpc/clnt_raw.c: Likewise.
82757 * sunrpc/clnt_simp.c: Likewise.
82758 * sunrpc/clnt_tcp.c: Likewise.
82759 * sunrpc/clnt_udp.c: Likewise.
82760 * sunrpc/clnt_unix.c: Likewise.
82761 * sunrpc/des_crypt.c: Likewise.
82762 * sunrpc/des_soft.c: Likewise.
82763 * sunrpc/get_myaddr.c: Likewise.
82764 * sunrpc/key_call.c: Likewise.
82765 * sunrpc/key_prot.c: Likewise.
82766 * sunrpc/netname.c: Likewise.
82767 * sunrpc/pm_getmaps.c: Likewise.
82768 * sunrpc/pm_getport.c: Likewise.
82769 * sunrpc/pmap_clnt.c: Likewise.
82770 * sunrpc/pmap_prot.c: Likewise.
82771 * sunrpc/pmap_prot2.c: Likewise.
82772 * sunrpc/pmap_rmt.c: Likewise.
82773 * sunrpc/publickey.c: Likewise.
82774 * sunrpc/rpc_cmsg.c: Likewise.
82775 * sunrpc/rpc_common.c: Likewise.
82776 * sunrpc/rpc_dtable.c: Likewise.
82777 * sunrpc/rpc_prot.c: Likewise.
82778 * sunrpc/rpc_thread.c: Likewise.
82779 * sunrpc/rtime.c: Likewise.
82780 * sunrpc/svc.c: Likewise.
82781 * sunrpc/svc_auth.c: Likewise.
82782 * sunrpc/svc_raw.c: Likewise.
82783 * sunrpc/svc_run.c: Likewise.
82784 * sunrpc/svc_tcp.c: Likewise.
82785 * sunrpc/svc_udp.c: Likewise.
82786 * sunrpc/svc_unix.c: Likewise.
82787 * sunrpc/svcauth_des.c: Likewise.
82788 * sunrpc/xcrypt.c: Likewise.
82789 * sunrpc/xdr.c: Likewise.
82790 * sunrpc/xdr_array.c: Likewise.
82791 * sunrpc/xdr_float.c: Likewise.
82792 * sunrpc/xdr_intXX_t.c: Likewise.
82793 * sunrpc/xdr_mem.c: Likewise.
82794 * sunrpc/xdr_rec.c: Likewise.
82795 * sunrpc/xdr_ref.c: Likewise.
82796 * sunrpc/xdr_sizeof.c: Likewise.
82797 * sunrpc/xdr_stdio.c: Likewise.
82798
82799 2012-05-10 Roland McGrath <roland@hack.frob.com>
82800
82801 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82802 change. Update copyright years.
82803
82804 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82805
82806 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82807
82808 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82809 Joseph Myers <joseph@codesourcery.com>
82810 Paul Pluzhnikov <ppluzhnikov@google.com>
82811
82812 [BZ #14012]
82813 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82814 requiring rpcgen.
82815 [cross-compiling] (extra-libs): Likewise.
82816 [cross-compiling] (extra-libs-others): Likewise.
82817 [cross-compiling] (librpcsvc-routines): Likewise.
82818 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82819 [cross-compiling] (omit-deps): Likewise.
82820 (sunrpc-CPPFLAGS): New variable.
82821 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82822 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82823 (cross-rpcgen-objs): New variable.
82824 (extra-objs): Append $(cross-rpcgen-objs).
82825 ($(cross-rpcgen-objs)): New rule.
82826 ($(objpfx)cross-rpcgen): Likewise.
82827 (rpcgen-cmd): Define to use $(built-program-file). Expand
82828 comment.
82829 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82830 ($(objpfx)x%.stmp): Likewise.
82831 * sunrpc/proto.h [IS_IN_build] (_): Define.
82832 [IS_IN_build] (_libc_intl_domainname): Likewise.
82833
82834 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82835
82836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82837 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82838 and R_X86_64_TPOFF64.
82839
82840 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82841
82842 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82843 sysdeps/unix/sysv/syscalls.list.
82844 (stime): Likewise.
82845 (utime): Likewise.
82846 * sysdeps/unix/sysv/syscalls.list: Remove file.
82847
82848 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
82849
82850 [BZ #3440]
82851 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82852 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82853 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82854 (__LC_IDENTIFICATION): Make these macros useful in #if
82855 expressions, as required by C99.
82856
82857 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
82858
82859 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82860 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
82861 after this.
82862
82863 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
82864
82865 * stdlib/longlong.h: Updated from GCC.
82866
82867 2012-05-09 Andreas Jaeger <aj@suse.de>
82868
82869 * nscd/nscd.c (run_modes): Make named enum, reorder so that
82870 default is first entry.
82871 (run_mode): Set type.
82872 (main): Remove informal message about syslog.
82873 (options): Fix typo.
82874
82875 [BZ #14053]
82876 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82877 to asm.
82878 (lrint): Likewise.
82879 (llrintf): Likewise.
82880 (llrint): Likewise.
82881 (rint): Likewise.
82882 (rintf): Likewise.
82883 (nearbyint): Likewise.
82884 (nearbyintf): Likewise.
82885
82886 2012-05-09 Andreas Jaeger <aj@suse.de>
82887 Pedro Alves <palves@redhat.com>
82888
82889 * nscd/nscd.c (run_mode): Use enum.
82890 (main): Cleanup coding style issue.
82891
82892 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
82893 Andreas Jaeger <aj@suse.de>
82894
82895 * nscd/nscd.c (go_background): Replaced with...
82896 (run_mode): ... this.
82897 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82898 (options): Add -F --foreground.
82899 (main): Implement it.
82900 (parse_opt): Parse it.
82901
82902 2012-05-09 Andreas Jaeger <aj@suse.de>
82903
82904 [BZ #14083]
82905 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82906 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82907 -Wconversion warning.
82908 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82909 Likewise.
82910
82911 2012-05-09 Joseph Myers <joseph@codesourcery.com>
82912
82913 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82914 == 0.
82915 (LC_ALL): Use macro-int-constant.
82916 (LC_COLLATE): Likewise.
82917 (LC_CTYPE): Likewise.
82918 (LC_MESSAGES): Likewise.
82919 (LC_MONETARY): Likewise.
82920 (LC_NUMERIC): Likewise.
82921 (LC_TIME): Likewise.
82922 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82923 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82925 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82926 Specify type.
82927 [C99-based standards] (float_t): Expect type.
82928 [C99-based standards] (double_t): Expect type.
82929 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
82930 type.
82931 [C99-based standards] (HUGE_VALL): Likewise.
82932 [C99-based standards] (INFINITY): Likewise.
82933 [C99-based standards] (NAN): Likewise.
82934 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82935 [C99-based standards] (FP_NAN): Likewise.
82936 [C99-based standards] (FP_NORMAL): Likewise.
82937 [C99-based standards] (FP_SUBNORMAL): Likewise.
82938 [C99-based standards] (FP_ZERO): Likewise.
82939 [C99-based standards] (FP_FAST_FMA): Use
82940 optional-macro-int-constant. Specify type. Require == 1.
82941 [C99-based standards] (FP_FAST_FMAF): Likewise.
82942 [C99-based standards] (FP_FAST_FMAL): Likewise.
82943 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82944 [C99-based standards] (FP_ILOGBNAN): Likewise.
82945 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82946 Specify type.
82947 [C99-based standards] (MATH_ERREXCEPT): Likewise.
82948 [C99-based standards] (math_errhandling): Specify type.
82949 [ISO99 || ISO11] (signgam): Do not allow.
82950 [non-C99-based standards] (copysignf): Do not allow.
82951 [non-C99-based standards] (exp2f): Likewise.
82952 [non-C99-based standards] (log2f): Likewise.
82953 [non-C99-based standards] (modff): Allow.
82954 [non-C99-based standards] (erff): Do not allow.
82955 [non-C99-based standards] (erfcf): Likewise.
82956 [non-C99-based standards] (gammaf): Likewise.
82957 [non-C99-based standards] (hypotf): Likewise.
82958 [non-C99-based standards] (j0f): Likewise.
82959 [non-C99-based standards] (j1f): Likewise.
82960 [non-C99-based standards] (jnf): Likewise.
82961 [non-C99-based standards] (lgammaf): Likewise.
82962 [non-C99-based standards] (tgammaf): Likewise.
82963 [non-C99-based standards] (y0f): Likewise.
82964 [non-C99-based standards] (y1f): Likewise.
82965 [non-C99-based standards] (ynf): Likewise.
82966 [non-C99-based standards] (isnanf): Likewise.
82967 [non-C99-based standards] (acoshf): Likewise.
82968 [non-C99-based standards] (asinhf): Likewise.
82969 [non-C99-based standards] (atanhf): Likewise.
82970 [non-C99-based standards] (cbrtf): Likewise.
82971 [non-C99-based standards] (expm1f): Likewise.
82972 [non-C99-based standards] (ilogbf): Likewise.
82973 [non-C99-based standards] (log1pf): Likewise.
82974 [non-C99-based standards] (logbf): Likewise.
82975 [non-C99-based standards] (nextafterf): Likewise.
82976 [non-C99-based standards] (remainderf): Likewise.
82977 [non-C99-based standards] (rintf): Likewise.
82978 [non-C99-based standards] (scalbf): Likewise.
82979 [non-C99-based standards] (copysignl): Likewise.
82980 [non-C99-based standards] (exp2l): Likewise.
82981 [non-C99-based standards] (log2l): Likewise.
82982 [non-C99-based standards] (modfl): Allow.
82983 [non-C99-based standards] (erfl): Do not allow.
82984 [non-C99-based standards] (erfcl): Likewise.
82985 [non-C99-based standards] (gammal): Likewise.
82986 [non-C99-based standards] (hypotl): Likewise.
82987 [non-C99-based standards] (j0l): Likewise.
82988 [non-C99-based standards] (j1l): Likewise.
82989 [non-C99-based standards] (jnl): Likewise.
82990 [non-C99-based standards] (lgammal): Likewise.
82991 [non-C99-based standards] (tgammal): Likewise.
82992 [non-C99-based standards] (y0l): Likewise.
82993 [non-C99-based standards] (y1l): Likewise.
82994 [non-C99-based standards] (ynl): Likewise.
82995 [non-C99-based standards] (isnanl): Likewise.
82996 [non-C99-based standards] (acoshl): Likewise.
82997 [non-C99-based standards] (asinhl): Likewise.
82998 [non-C99-based standards] (atanhl): Likewise.
82999 [non-C99-based standards] (cbrtl): Likewise.
83000 [non-C99-based standards] (expm1l): Likewise.
83001 [non-C99-based standards] (ilogbl): Likewise.
83002 [non-C99-based standards] (log1pl): Likewise.
83003 [non-C99-based standards] (logbl): Likewise.
83004 [non-C99-based standards] (nextafterl): Likewise.
83005 [non-C99-based standards] (remainderl): Likewise.
83006 [non-C99-based standards] (rintl): Likewise.
83007 [non-C99-based standards] (scalbl): Likewise.
83008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83009 [non-C99-based standards] (FP_*): Do not allow.
83010 [C99-based standards] (FP_*): Change to
83011 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83012 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83013 allow.
83014 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83015 (SIG_ERR): Likewise.
83016 [X/Open-based standards] (SIG_HOLD): Likewise.
83017 (SIG_IGN): Likewise.
83018 (SIGABRT): Use macro-int-constant. Specify type. Require
83019 positive value.
83020 (SIGFPE): Likewise.
83021 (SIGILL): Likewise.
83022 (SIGINT): Likewise.
83023 (SIGSEGV): Likewise.
83024 (SIGTER): Likewise.
83025 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83026 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83027 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83028 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83029 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83030 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83031 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83032 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83033 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83034 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83035 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83036 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83037 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83038 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83039 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83040 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83041 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83042 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83043 [X/Open-based standards] (SIGTRAP): Likewise.
83044 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83045 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83046 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83047 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83048 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83049 allow.
83050
83051 2012-05-08 Ian Wienand <ianw@vmware.com>
83052
83053 [BZ #14080]
83054 * time/tzset.c (__tzset_parse_tz): Update default rules for
83055 daylight time changes in the Energy Policy Act of 2005.
83056
83057 2012-05-09 Andreas Jaeger <aj@suse.de>
83058
83059 [BZ #13983]
83060 * elf/ldconfig.c (parse_conf): Change string to make clear that
83061 ldconfig only issued a warning if ld.so.conf does not exist.
83062
83063 2012-05-08 David S. Miller <davem@davemloft.net>
83064
83065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83066 movxtod instead of popping the value on the stack.
83067
83068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83069
83070 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83071
83072 * config.h.in: Add HAVE_ARM_PCS_VFP.
83073
83074 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83075
83076 [BZ #13979]
83077 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83078 checking but the checks are disabled for any reason.
83079
83080 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83081
83082 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83083 and ELF64_R_TYPE with ELFW(R_TYPE).
83084
83085 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83086
83087 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83088 (ulimit): Likewise.
83089
83090 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83091 (settimeofday): Likewise.
83092
83093 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83094
83095 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83096 a struct th_u2 inside the union, and move tu_block/tu_code into
83097 a new th_u3 union of tu_block/tu_code inside of that. Move
83098 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83099 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83100 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83101 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83102 (th_stuff): Change to th_u1.tu_stuff.
83103 (th_data): Define.
83104 (th_msg): Change to th_u1.th_u2.tu_data.
83105
83106 2012-05-07 David S. Miller <davem@davemloft.net>
83107
83108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83109
83110 [BZ #14074]
83111 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83112 (SETUP_PIC_REG): Use it.
83113 (SETUP_PIC_REG_LEAF): Use it.
83114
83115 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83116
83117 [BZ #13885]
83118 [BZ #13923]
83119 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83120 USE_AS_EXPM1L.
83121 (EXPL_FINITE): Likewise.
83122 (FLDLOG): Likewise.
83123 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83124 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83125 e_expl.S.
83126 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83127 USE_AS_EXPM1L.
83128 (EXPL_FINITE): Likewise.
83129 (FLDLOG): Likewise.
83130 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83131 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83132 e_expl.S.
83133 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83134 test of -max_value argument for long double.
83135 * sysdeps/i386/fpu/libm-test-ulps: Update.
83136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83137
83138 2012-05-06 David S. Miller <davem@davemloft.net>
83139
83140 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83141 quad soft-float symbols whose references which are compiler
83142 generated.
83143 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83144
83145 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83146
83147 [BZ #13884]
83148 [BZ #13914]
83149 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83150 USE_AS_EXP10L.
83151 (EXPL_FINITE): Likewise.
83152 (FLDLOG): Likewise.
83153 (c0): Likewise.
83154 (c1): Likewise.
83155 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83156 Adjust comments for base varying.
83157 (__expl_finite): Change alias to EXPL_FINITE.
83158 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83159 e_expl.S.
83160 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83161 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83162 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83163 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83164 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83165 USE_AS_EXP10L.
83166 (EXPL_FINITE): Likewise.
83167 (FLDLOG): Likewise.
83168 (c0): Likewise.
83169 (c1): Likewise.
83170 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83171 Adjust comments for base varying.
83172 (__expl_finite): Change alias to EXPL_FINITE.
83173 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83174 tests for bugs.
83175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83176
83177 [BZ #14064]
83178 * math/libm-test.inc (check_float_internal): Correct ulp
83179 calculation for subnormal expected results.
83180
83181 2012-05-06 Andreas Jaeger <aj@suse.de>
83182
83183 * Makeconfig (+math-flags): New, set to -frounding-math.
83184 (+cflags): Add +math-flags so that all of glibc gets compiled with
83185 it.
83186
83187 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83188
83189 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83190
83191 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83192 Disable one test.
83193
83194 [BZ #13787]
83195 [BZ #13922]
83196 [BZ #14036]
83197 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83198 (__ieee754_expl): Allow for and saturate large arguments.
83199 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83200 (u_threshold): Likewise.
83201 (__exp): Call __ieee754_exp before checking for overflow and
83202 underflow.
83203 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83204 (u_threshold): Likewise.
83205 (__expf): Call __ieee754_expf before checking for overflow and
83206 underflow.
83207 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83208 (u_threshold): Likewise.
83209 (__expl): Call __ieee754_expl before checking for overflow and
83210 underflow.
83211 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83212 (__ieee754_expl): Allow for and saturate large arguments.
83213 * math/libm-test.inc (exp_test): Add another test. Do not allow
83214 missing overflow exception on overflow.
83215 (expm1_test): Do not allow missing overflow exception on overflow.
83216
83217 * sysdeps/i386/fpu/e_expl.c: Move to ...
83218 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83219 rather than using inline asm.
83220 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83221 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83222 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83223
83224 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83225 (nice): Likewise.
83226 (poll): Likewise.
83227 (signal): Likewise.
83228 (time): Likewise.
83229 (times): Likewise.
83230
83231 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83232
83233 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83234 sysdeps/unix/common/syscalls.list.
83235 (fchmod): Likewise.
83236 (fchown): Likewise.
83237 (ftruncate): Likewise.
83238 (getrusage): Likewise.
83239 (gettimeofday): Likewise.
83240 (setpgid): Likewise.
83241 (setregid): Likewise.
83242 (setreuid): Likewise.
83243 (sigaction): Likewise.
83244 (truncate): Likewise.
83245 (vhangup): Likewise.
83246 * sysdeps/unix/common/syscalls.list: Remove file.
83247 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83248 * sysdeps/unix/sysv/linux/Implies: Likewise.
83249
83250 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83251
83252 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83254 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83255 Moved to ...
83256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83257 Here.
83258 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83259 to ...
83260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83261 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83262 to ...
83263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83264 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83265 to ...
83266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83267 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83268 to ...
83269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83270 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83271 to ...
83272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83273 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83274 to ...
83275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83276 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83277 to ...
83278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83279 Here.
83280 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83281 to ...
83282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83283 Here.
83284 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83285 to ...
83286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83287 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83288 Moved to ...
83289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83290 Here.
83291 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83292 to ...
83293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83294
83295 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83296
83297 * sysdeps/unix/common/bits/dirent.h: Remove file.
83298 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83299
83300 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83301 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83302 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83303 * sysdeps/unix/bsd/isatty.c: Likewise.
83304 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83305 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83306 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83307
83308 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83309
83310 [BZ #13563]
83311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83312 long double comparison inaccuracies.
83313 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83315
83316 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83317
83318 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83320
83321 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83322
83323 [BZ #14049]
83324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83325 nonzero digits before rounding a hex value.
83326 * stdlib/tst-strtod.c (tests): Add another test.
83327
83328 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83329
83330 * sysdeps/s390/fpu/libm-test-ulps: Update.
83331
83332 2012-05-03 Andreas Jaeger <aj@suse.de>
83333
83334 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83335 does not get optimized out.
83336 (malloc_opt_barrier): New.
83337
83338 2012-05-03 Andreas Jaeger <aj@suse.de>
83339 Roland McGrath <roland@hack.frob.com>
83340
83341 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83342 intermediate file deletion.
83343 (generated): Add .symlist files.
83344
83345 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83346
83347 [BZ #13775]
83348 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83349 Redirect under this condition.
83350 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83351 [__USE_GNU] (__dprintf_chk): Not under this condition.
83352 [__USE_GNU] (__vdprintf_chk): Likewise.
83353 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83354 under this condition.
83355 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83356 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83357 [__USE_XOPEN2K8] (vdprintf): Likewise.
83358 [__USE_GNU] (__dprintf_chk): Not under this condition.
83359 [__USE_GNU] (__vdprintf_chk): Likewise.
83360 [__USE_GNU] (dprintf): Likewise.
83361 [__USE_GNU] (vdprintf): Likewise.
83362
83363 2012-05-03 Roland McGrath <roland@hack.frob.com>
83364
83365 * elf/Makefile (common-generated): Set this instead of generated for
83366 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83367 $(all-built-dso)-derived lists.
83368
83369 2012-05-03 Andreas Jaeger <aj@suse.de>
83370
83371 * sysdeps/i386/fpu/libm-test-ulps: Update.
83372
83373 * FAQ: Removed.
83374 * FAQ.in: Likewise.
83375 * scripts/gen-FAQ.pl: Likewise.
83376 * manual/install.texi (Installation): Point to online location of
83377 FAQ.
83378 * Makefile (files-for-dist): Remove FAQ.
83379 (FAQ): Remove.
83380
83381 2012-05-02 Allan McRae <allan@archlinux.org>
83382
83383 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83384 (LDFLAGS-reldepmod5.so): Likewise.
83385 (LDFLAGS-reldep6mod1.so): Likewise.
83386 (LDFLAGS-reldep6mod4.so): Likewise.
83387 (LDFLAGS-reldep8mod3.so): Likewise.
83388 (LDFLAGS-unload4mod1.so): Likewise.
83389 (LDFLAGS-unload4mod2.so): Likewise.
83390 (LDFLAGS-tst-initorder): Likewise.
83391 (LDFLAGS-tst-initordera2.so): Likewise.
83392 (LDFLAGS-tst-initordera3.so): Likewise.
83393 (LDFLAGS-tst-initordera4.so): Likewise.
83394 (LDFLAGS-tst-initorderb2.so): Likewise.
83395 (LDFLAGS-noload): Likewise.
83396 (LDFLAGS-next): Likewise.
83397 (LDFLAGS-order2mod1.so): Likewise.
83398 (LDFLAGS-order2mod2.so): Likewise.
83399 (LDFLAGS-tst-initorder2): Likewise.
83400 (LDFLAGS-tst-initorder2a.so): Likewise.
83401 (LDFLAGS-tst-initorder2b.so): Likewise.
83402 (LDFLAGS-tst-initorder2c.so): Likewise.
83403 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83404
83405 2012-05-02 David S. Miller <davem@davemloft.net>
83406
83407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83408
83409 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83410
83411 [BZ #14055]
83412 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83413
83414 2012-05-02 Andreas Jaeger <aj@suse.de>
83415
83416 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83417 since we manipulate rounding mode.
83418 (CPPFLAGS-test-idouble.c): Likewise.
83419 (CPPFLAGS-test-ifloat.c): Likewise.
83420 (CFLAGS-test-ldouble.c): Likewise.
83421 (CFLAGS-test-double.c): Likewise.
83422 (CFLAGS-test-float.c): Likewise.
83423 (CFLAGS-test-misc.c): Likewise.
83424 (CFLAGS-test-test-fenv.c): Likewise.
83425
83426 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83427
83428 [BZ #2550]
83429 [BZ #2570]
83430 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83431 comparisons to determine direction to adjust input.
83432
83433 2012-05-01 Roland McGrath <roland@hack.frob.com>
83434
83435 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83436 output to the target.
83437
83438 * scripts/localplt.awk: New file.
83439 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83440 (check-localplt-CFLAGS): Variable removed.
83441 ($(all-built-dso:=.jmprel)): New static pattern rule.
83442 (generated): Add those targets.
83443 (localplt-built-dso): New variable.
83444 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83445
83446 * elf/check-localplt.c: File removed.
83447
83448 * scripts/check-execstack.awk: New file.
83449 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83450 (check-execstack-CFLAGS): Variable removed.
83451 ($(objpfx)check-execstack.h): Target removed.
83452 ($(objpfx)execstack-default): New target.
83453 (generated): Add that instead of check-execstack.h.
83454 ($(all-built-dso:=.phdr)): New static pattern rule.
83455 (generated): Add those targets.
83456 * elf/check-execstack.c: File removed.
83457
83458 * scripts/check-textrel.awk: New file.
83459 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83460 (check-textrel-CFLAGS): Variable removed.
83461 (all-built-dso): Use := to define.o
83462 ($(all-built-dso:=.dyn)): New static pattern rule.
83463 (generated): Add those targets.
83464 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83465 * config.make.in (READELF): New substituted variable.
83466 * elf/check-textrel.c: File removed.
83467
83468 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83469
83470 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83471 allow.
83472 * conform/data/ctype.h-data [C99-based standards] (isblank):
83473 Expect function.
83474 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83475 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83477 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83478 Specify type. Require positive value.
83479 (EILSEQ): Likewise.
83480 (ERANGE): Likewise.
83481 [ISO || POSIX] (EILSEQ): Do not expect.
83482 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83483 Specify type. Require positive value.
83484 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83485 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83486 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83487 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83488 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83489 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83490 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83491 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83492 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83493 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83494 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83495 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83496 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83497 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83498 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83499 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83500 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83501 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83502 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83503 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83504 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83505 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83506 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83507 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83508 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83509 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83510 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83511 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83512 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83513 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83514 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83515 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83516 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83517 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83518 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83519 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83520 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83521 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83522 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83523 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83524 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83525 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83526 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83527 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83528 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83529 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83530 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83531 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83532 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83533 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83534 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83535 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83536 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83537 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83538 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83539 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83540 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83541 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83542 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83543 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83544 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83545 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83546 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83547 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83548 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83549 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83550 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83551 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83552 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83553 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83554 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83555 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83556 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83557 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83558 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83559 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83560 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83561 Require >= 2.
83562 (FLT_ROUNDS): Expect as macro, not constant.
83563 (FLT_MANT_DIG): Use macro-int-constant.
83564 (DBL_MANT_DIG): Likewise.
83565 (LDBL_MANT_DIG): Likewise.
83566 (FLT_DIG): Likewise.
83567 (DBL_DIG): Likewise.
83568 (LDBL_DIG): Likewise.
83569 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83570 (DBL_MIN_EXP): Likewise.
83571 (LDBL_MIN_EXP): Likewise.
83572 (FLT_MAX_EXP): Use macro-int-constant.
83573 (DBL_MAX_EXP): Likewise.
83574 (LDBL_MAX_EXP): Likewise.
83575 (FLT_MAX_10_EXP): Likewise.
83576 (DBL_MAX_10_EXP): Likewise.
83577 (LDBL_MAX_10_EXP): Likewise.
83578 (FLT_MAX): Use macro-constant.
83579 (DBL_MAX): Likewise.
83580 (LDBL_MAX): Likewise.
83581 (FLT_EPSILON): Use macro-constant. Give upper bound.
83582 (DBL_EPSILON): Likewise.
83583 (LDBL_EPSILON): Likewise.
83584 (FLT_MIN): Likewise.
83585 (DBL_MIN): Likewise.
83586 (LDBL_MIN): Likewise.
83587 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83588 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83589 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83590 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83591 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83592 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83593 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83594 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83595 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83596 [ISO11] (FLT_TRUE_MIN): Likewise.
83597 [ISO11] (LDBL_TRUE_MIN): Likewise.
83598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83599 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83600 (SCHAR_MIN): Use macro-int-constant. Specify type.
83601 (SCHAR_MAX): Likewise.
83602 (UCHAR_MAX): Likewise.
83603 (CHAR_MIN): Likewise.
83604 (CHAR_MAX): Likewise.
83605 (MB_LEN_MAX): Use macro-int-constant.
83606 (SHRT_MIN): Use macro-int-constant. Specify type.
83607 (SHRT_MAX): Likewise.
83608 (USHRT_MAX): Likewise.
83609 (INT_MAX): Likewise.
83610 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83611 bound negative.
83612 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83613 bound with "U".
83614 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83615 bound with "L".
83616 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83617 bound negative. Suffix upper bound with "L".
83618 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83619 bound with "UL".
83620 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83621 Specify type.
83622 [C99-based standards] (LLONG_MAX): Likewise.
83623 [C99-based standards] (ULLONG_MAX): Likewise.
83624 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83625 == 0.
83626 [ISO11] (max_align_t): Require type.
83627 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83628
83629 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83630 from $CFLAGS, without defining away __attribute__ calls.
83631 (checknamespace): Use $CFLAGS_namespace.
83632
83633 * conform/conformtest.pl (@keywords): Only include C99 keywords
83634 for standards based on C99 or C11.
83635
83636 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83637 Disable tests.
83638 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83639 UNIX98]: Likewise.
83640
83641 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83642 usability of symbols in #if.
83643
83644 * conform/conformtest.pl: If macro or constant types start
83645 "promoted:", expect the symbol to be of the following type
83646 promoted by the integer promotions.
83647
83648 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83649 in one place. Also handle "macro-constant".
83650
83651 * conform/conformtest.pl: Only accept expected macro values with
83652 "==". Parse all "macro" lines in one place.
83653 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83654
83655 * conform/conformtest.pl: Handle braced types on "constant" lines
83656 instead of handling "typed-constant".
83657 * conform/data/signal.h-data: Use "constant" instead of
83658 "typed-constant".
83659
83660 * conform/conformtest.pl: Handle "optional-" at start of lines in
83661 one place rather than duplicating several cases. Handle each
83662 format of "macro" line with initial "optional-".
83663
83664 * conform/conformtest.pl: Only accept expected constant or
83665 optional-constant values with "==". Parse all "constant" lines in
83666 one place. Parse all "optional-constant" lines in one place.
83667 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83668 * conform/data/fmtmsg.h-data: Likewise.
83669 * conform/data/netinet/in.h-data: Likewise.
83670 * conform/data/tar.h-data: Likewise.
83671 * conform/data/limits.h-data: Use "==" form on "constant" and
83672 "optional-constant" lines.
83673
83674 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83675 Use -std=c99 for XOPEN2K.
83676 (@knownproblems): Remove.
83677 (newtoken): Don't check %isknown.
83678
83679 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83680 Do not expect macro.
83681 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83682 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83683 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83684 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83685 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83686 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83687 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83688 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83689 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83690 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83691 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83692 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83693 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83694 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83695 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83696 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83697 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83698 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83699 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83700 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83701 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83702 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83703 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83704 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83705 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83706 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83707 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83708 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83709 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83710 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83711 [XPG3] (acosh): Likewise.
83712 [XPG3] (asinh): Likewise.
83713 [XPG3] (atanh): Likewise.
83714 [XPG3] (cbrt): Likewise.
83715 [XPG3] (expm1): Likewise.
83716 [XPG3] (ilogb): Likewise.
83717 [XPG3] (log1p): Likewise.
83718 [XPG3] (logb): Likewise.
83719 [XPG3] (nextafter): Likewise.
83720 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83721 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83722 [XPG3] (remainder): Likewise.
83723 [XPG3] (rint): Likewise.
83724 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83725 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83726 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83727 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83728 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83729 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83730 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83731 [UNIX98 || XOPEN2K] (scalb): Expect.
83732 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83733 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83734 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83735 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83736 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83737 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83738 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83739 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83740 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83741 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83742 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83743 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83744 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83745 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83746 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83747 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83748 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83749 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83750 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83751 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83752 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83753 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83754 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83755 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83756 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83757 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83758 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83759 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83760 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83761 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83762 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83763 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83764 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83765 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83766 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83767 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83768 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83769 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83770 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83771 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83772 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83773 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83774 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83775 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83776 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83777 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83778 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83779 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83780 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83781 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83782 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83783 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83784 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83785 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83786 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83787 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83788 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83789 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83790 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83791 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83792 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83793 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83794 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83795 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83796 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83797 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83798 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83799 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83800 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83801 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83802 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83803 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83804 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83805 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83806 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83807 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83808 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83809 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83810 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83811 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83812 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83813 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83814 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83815 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83816 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83817 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83818 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83819 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83820 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83821 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83822 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83823 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83824 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83825 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83826 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83827 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83828 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83829 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83830 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83831 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83832 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83833 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83834 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83835 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83836 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83837 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83838 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83839 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83840 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83841 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83842 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83843 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83844 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83845 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83846 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83847 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83848 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83849 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83850 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83851 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83852 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83853 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83854 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83855 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83856 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83857 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83858 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83859 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83860 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83861 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83862 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83863 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83864 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83865 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83866 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83867 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83868 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83869
83870 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83871 _XOPEN_SOURCE_EXTENDED for XPG4.
83872
83873 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83874
83875 * Makeconfig (localtime): Remove variable.
83876 (inst_localtime-file): Likewise.
83877
83878 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83879
83880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83881 Update.
83882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83883 Update.
83884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83885 Update.
83886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83887 Update.
83888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83889 Update.
83890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83891 Update.
83892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83893 Update.
83894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83895 Update.
83896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83897 Update.
83898
83899 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83900
83901 [BZ #2550]
83902 [BZ #2570]
83903 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83904 comparisons to determine direction to adjust input.
83905 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83906 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83907 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83908 Likewise.
83909 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83910 Likewise.
83911 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83912 Likewise.
83913 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83914 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83915 Likewise.
83916 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83917 Likewise.
83918 * math/libm-test.inc (nexttoward_test): Add more tests.
83919
83920 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83921
83922 [BZ #14040]
83923 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83924 in version GLIBC_2.1, not GLIBC_2.0.
83925 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83926 Likewise.
83927
83928 2012-04-30 Joseph Myers <joseph@codesourcery.com>
83929
83930 [BZ #13942]
83931 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83932 (1 - x) * (1 + x).
83933 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83934 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83935 * math/libm-test.inc (acos_test): Add more tests.
83936 (asin_test): Likewise.
83937 * sysdeps/i386/fpu/libm-test-ulps: Update.
83938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83939
83940 [BZ #14034]
83941 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83942 of square root.
83943 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83944 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83945 * math/libm-test.inc (acos_test_tonearest): New function.
83946 (acos_test_towardzero): Likewise.
83947 (acos_test_downward): Likewise.
83948 (acos_test_upward): Likewise.
83949 (asin_test_tonearest): Likewise.
83950 (asin_test_towardzero): Likewise.
83951 (asin_test_downward): Likewise.
83952 (asin_test_upward): Likewise.
83953 (main): Call the new functions.
83954 * sysdeps/i386/fpu/libm-test-ulps: Update.
83955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83956
83957 [BZ #13884]
83958 [BZ #13924]
83959 * math/e_exp10.c: Include <float.h>.
83960 (__ieee754_exp10): Handle underflow here rather than multiplying
83961 large negative argument by M_LN10.
83962 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83963 of __ieee754_expf.
83964 * math/e_exp10l.c: Include <float.h>.
83965 (__ieee754_exp10l): Handle underflow here rather than multiplying
83966 large negative argument by M_LN10l.
83967 * math/libm-test.inc (exp10_test): Add another test. Do not allow
83968 spurious overflow exception on underflow.
83969
83970 2012-04-29 Marek Polacek <polacek@redhat.com>
83971
83972 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83973 (__fortify_function): New macro.
83974 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83975 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83976 __extern_always_inline.
83977 * libio/bits/stdio2.h: Likewise.
83978 * libio/bits/stdio.h: Likewise.
83979 * string/string.h: Likewise.
83980 * string/bits/string3.h: Likewise.
83981 * include/stdio.h: Likewise.
83982 * stdlib/bits/stdlib.h: Likewise.
83983 * stdlib/stdlib.h: Likewise.
83984 * rt/bits/mqueue2.h: Likewise.
83985 * rt/mqueue.h: Likewise.
83986 * posix/bits/unistd.h: Likewise.
83987 * posix/unistd.h: Likewise.
83988 * io/bits/poll2.h: Likewise.
83989 * io/bits/fcntl2.h: Likewise.
83990 * io/fcntl.h: Likewise.
83991 * io/sys/poll.h: Likewise.
83992 * misc/bits/syslog.h: Likewise.
83993 * misc/bits/syslog-ldbl.h: Likewise.
83994 * misc/sys/syslog.h: Likewise.
83995 * socket/bits/socket2.h: Likewise.
83996 * socket/sys/socket.h: Likewise.
83997 * debug/tst-chk1.c: Likewise.
83998 * wcsmbs/bits/wchar2.h: Likewise.
83999 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84000 * wcsmbs/wchar.h: Likewise.
84001
84002 2012-04-29 Andreas Jaeger <aj@suse.de>
84003
84004 * Makerules (tests): Remove enable-check-abi protection.
84005 (check-abi-warn): Remove.
84006 (check-abi-%): Remove check-abi-warn usage.
84007
84008 * configure.in: Remove check-abi configure option.
84009 * configure: Regenerated.
84010 * config.make.in (enable-check-abi): Remove.
84011
84012 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
84013
84014 [BZ #14033]
84015 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84016 double functions to double *_finite functions.
84017
84018 [BZ #13941]
84019 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84020 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84021 LDBL_MIN_EXP.
84022 * stdio-common/Makefile (tests): Add tst-sprintf3.
84023 * stdio-common/tst-sprintf3.c: New file.
84024
84025 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84026 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84027
84028 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84029
84030 * conform/conformtest.pl: Remove duplicate typed-constant
84031 handling.
84032
84033 2012-04-28 David S. Miller <davem@davemloft.net>
84034
84035 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84036 (check-abi-%): Remove AWK script prerequisite and explicit
84037 abilist directory.
84038 (check-abi): Rewrite to just diff the symlist with the abilist.
84039 (config-tls, config-abi-config): Delete, no longer used.
84040 (update-abi-%): Remove AWK script and explicit abilist directory.
84041 (update-abi): Rewrite to simply compare and conditionally copy the
84042 symlist and the sysdep abilist file. Remove update-abi-config
84043 checks.
84044 * abilist/ld.abilist: Remove.
84045 * abilist/libBrokenLocale.abilist: Remove.
84046 * abilist/libanl.abilist: Remove.
84047 * abilist/libcrypt.abilist: Remove.
84048 * abilist/libdl.abilist: Remove.
84049 * abilist/librt.abilist: Remove.
84050 * abilist/libthread_db.abilist: Remove.
84051 * abilist/libutil.abilist: Remove.
84052 * scripts/extract-abilist.awk: Remove.
84053 * scripts/merge-abilist.awk: Remove.
84054 * sysdeps/generic/libcidn.abilist: New file.
84055 * sysdeps/generic/libnss_compat.abilist: New file.
84056 * sysdeps/generic/libnss_db.abilist: New file.
84057 * sysdeps/generic/libnss_dns.abilist: New file.
84058 * sysdeps/generic/libnss_files.abilist: New file.
84059 * sysdeps/generic/libnss_hesiod.abilist: New file.
84060 * sysdeps/generic/libnss_nis.abilist: New file.
84061 * sysdeps/generic/libnss_nisplus.abilist: New file.
84062 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84063 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84064 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84065 file.
84066 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84067 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84068 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84069 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84070 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84071 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84072 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84073 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84074 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84075 file.
84076 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84077 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84078 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84079 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84080 file.
84081 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84082 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84083 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84084 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84085 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84086 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84087 file.
84088 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84089 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84090 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84091 file.
84092 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84094 New file.
84095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84096 New file.
84097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84098 New file.
84099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84100 New file.
84101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84102 New file.
84103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84104 New file.
84105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84106 New file.
84107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84108 New file.
84109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84110 New file.
84111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84112 New file.
84113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84114 New file.
84115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84116 New file.
84117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84118 New file.
84119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84120 file.
84121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84122 New file.
84123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84124 New file.
84125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84126 file.
84127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84128 New file.
84129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84130 New file.
84131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84132 file.
84133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84134 New file.
84135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84136 New file.
84137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84138 New file.
84139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84140 New file.
84141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84142 New file.
84143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84144 New file.
84145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84147 file.
84148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84149 New file.
84150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84151 file.
84152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84153 file.
84154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84155 file.
84156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84157 file.
84158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84159 file.
84160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84161 New file.
84162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84163 file.
84164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84165 file.
84166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84167 New file.
84168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84169 file.
84170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84172 file.
84173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84174 New file.
84175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84176 file.
84177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84178 file.
84179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84180 file.
84181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84182 file.
84183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84184 file.
84185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84186 New file.
84187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84188 file.
84189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84190 file.
84191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84192 New file.
84193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84194 file.
84195 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84196 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84197 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84198 file.
84199 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84200 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84201 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84202 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84203 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84204 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84205 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84206 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84207 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84208 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84211 file.
84212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84213 New file.
84214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84215 file.
84216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84217 file.
84218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84219 file.
84220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84221 file.
84222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84223 file.
84224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84225 New file.
84226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84227 New file.
84228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84229 file.
84230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84231 New file.
84232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84233 file.
84234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84236 file.
84237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84238 New file.
84239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84240 file.
84241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84242 file.
84243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84244 file.
84245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84246 file.
84247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84248 file.
84249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84250 New file.
84251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84252 New file.
84253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84254 file.
84255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84256 New file.
84257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84258 file.
84259
84260 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84261
84262 * conform/conformtest.pl: Fix typo in handling typed-constant from
84263 allow-header.
84264
84265 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84266
84267 * README: Cut down references to pre-2.6 Linux kernels and
84268 Linuxthreads. Update lists of configurations in libc and ports
84269 and sort alphabetically. Say "or newer" with Linux kernel version
84270 requirements.
84271
84272 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84273
84274 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84275
84276 [BZ #887]
84277 * math/libm-test.inc (logb_test_downward): New test to expose
84278 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84279 rounding mode.
84280
84281 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84282
84283 [BZ #14027]
84284 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84285 to be done.
84286 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84287 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84288
84289 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84290
84291 * sysdeps/unix/i386/brk.S: Remove file.
84292 * sysdeps/unix/i386/dl-brk.S: Likewise.
84293 * sysdeps/unix/i386/pipe.S: Likewise.
84294 * sysdeps/unix/i386/sigreturn.S: Likewise.
84295 * sysdeps/unix/i386/syscall.S: Likewise.
84296 * sysdeps/unix/i386/vfork.S: Likewise.
84297 * sysdeps/unix/i386/wait.S: Likewise.
84298
84299 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84300 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84301
84302 * configure.in (arm*-none*): Do not allow without
84303 --enable-hacker-mode.
84304 (netbsd*): Remove case setting base_os.
84305 (386bsd*): Likewise.
84306 (freebsd*): Likewise.
84307 (bsdi*): Likewise.
84308 (osf*): Likewise.
84309 (sunos*): Likewise.
84310 (ultrix*): Likewise.
84311 (newsos*): Likewise.
84312 (dynix*): Likewise.
84313 (*bsd*): Likewise.
84314 (sysv*): Likewise.
84315 (isc*): Likewise.
84316 (esix*): Likewise.
84317 (sco*): Likewise.
84318 (minix*): Likewise.
84319 (irix4*): Likewise.
84320 (irix6*): Likewise.
84321 (solaris[2-9]*): Likewise.
84322 (none): Likewise.
84323 * configure: Regenerated.
84324
84325 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84326
84327 [BZ #11521]
84328 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84329 overflow or cancellation in calculating denominator.
84330 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84332 down expression to avoid unexpected rounding in newer GCCs.
84333 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84334
84335 2012-04-26 David S. Miller <davem@davemloft.net>
84336
84337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84338 long-double compat symbols.
84339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84352
84353 2012-04-25 David S. Miller <davem@davemloft.net>
84354
84355 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84356 HWCAP_* values only after the memory barriers have been defined.
84357 (atomic_full_barrier): Define.
84358 (atomic_read_barrier): Define.
84359 (atomic_write_barrier): Define.
84360
84361 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84362
84363 * shlib-versions: Add libgcc_s version information.
84364 * sysdeps/generic/libgcc_s.h: Remove.
84365 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84366 libgcc_s.h.
84367 * sysdeps/gnu/unwind-resume.c: Likewise.
84368 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84369
84370 2012-04-25 David S. Miller <davem@davemloft.net>
84371
84372 * sysdeps/unix/sparc/brk.S: Delete.
84373 * sysdeps/unix/sparc/dl-brk.S: Delete.
84374 * sysdeps/unix/sparc/pipe.S: Delete.
84375 * sysdeps/unix/sparc/sysdep.S: Delete.
84376 * sysdeps/unix/sparc/sysdep.h: Delete.
84377 * sysdeps/unix/sparc/vfork.S: Delete.
84378 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84379 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84380 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84381 (ret_ERRVAL, r0, r1, MOVE): Define.
84382 (JUMPTARGET): Remove.
84383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84384 sysdeps/unix/sparc/sysdep.h
84385 (ENTRY, END): Remove.
84386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84387
84388 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84389
84390 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84391 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84392 -DIS_IN_build.
84393
84394 * timezone/README: Update upstream location and email address for
84395 tzcode and tzdata.
84396 * timezone/zdump.c: Update from tzcode 2012b.
84397 * timezone/zic.c: Likewise.
84398
84399 * configure.in (libc_cv_as_needed): Remove test.
84400 * configure: Regenerated.
84401 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84402 conditional definition.
84403 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84404 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84405 * config.make.in (have-as-needed): Remove variable.
84406
84407 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84408 Paul Pluzhnikov <ppluzhnikov@google.com>
84409
84410 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84411 strings correctly.
84412
84413 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84414
84415 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84416 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84417 * sysdeps/sh/strlen.S: Likewise.
84418
84419 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84420
84421 * sysdeps/unix/fork.S: Remove file.
84422 * sysdeps/unix/i386/fork.S: Likewise.
84423 * sysdeps/unix/sparc/fork.S: Likewise.
84424
84425 * sysdeps/unix/system.c: Remove file.
84426 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84427
84428 * sysdeps/unix/getegid.S: Remove file.
84429 * sysdeps/unix/geteuid.S: Likewise.
84430
84431 2012-04-24 Roland McGrath <roland@hack.frob.com>
84432
84433 * scripts/check-localplt.awk: New file.
84434 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84435 of diff.
84436 * scripts/data/localplt-generic.data: Add a comment.
84437
84438 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84439 NODE when __dir_mkfile failed.
84440 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84441 Reported by Ludovic Courtès <ludo@gnu.org>.
84442
84443 2012-04-24 Andreas Jaeger <aj@suse.de>
84444
84445 * Makerules (common-clean): Also remove gen-as-const-headers
84446 files.
84447
84448 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84449
84450 * Makerules (native-compile): Do not change working directory for
84451 build. Use $(OUTPUT_OPTION) in command.
84452 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84453
84454 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84455
84456 [BZ #13886]
84457 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84458 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84459 * math/libm-test.inc (floor_test): Add more tests.
84460 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84461
84462 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84463
84464 * sysdeps/unix/getdents.c: Remove file.
84465 * sysdeps/unix/sysv/getdents.c: Likewise.
84466 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84467
84468 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84469 sysdeps/unix/mman/syscalls.list.
84470 (mmap): Likewise.
84471 (mprotect): Likewise.
84472 (msync): Likewise.
84473 (munmap): Likewise.
84474 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84475 * sysdeps/unix/mman/syscalls.list: Remove.
84476 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84477
84478 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84479 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84480 * configure: Regenerated.
84481 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84482 $(libgcc_s_suffix).
84483 * config.make.in (libgcc_s_suffix): Remove variable.
84484
84485 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84486
84487 * sysdeps/unix/sysv/gethostname.c: Move to ...
84488 * sysdeps/posix/gethostname.c: ... here.
84489
84490 * sysdeps/unix/execve.S: Remove file.
84491
84492 * sysdeps/unix/_exit.S: Remove file.
84493
84494 2012-04-23 Andreas Jaeger <aj@suse.de>
84495
84496 [BZ #13739]
84497 * manual/Makefile: Remove make dist support, there's no
84498 need for a stand-alone documentation tar ball.
84499 (TEXI2DVI): Define always, it's not in Makeconfig.
84500 (dist): Removed.
84501 (tar-it): Removed.
84502 (edition): Removed.
84503 (glibc-doc-$(edition).tar): Removed
84504 (%.Z): Removed.
84505 (%.gz): Removed.
84506 (%.uu): Removed.
84507 (ETAGS): Remove, it's in Makeconfig.
84508 (move-if-change): Remove, it's in Makeconfig.
84509
84510 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84511
84512 [BZ #13970]
84513 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84514 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84515 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84516 (strtod_l, strtof_l, strtold_l): Remove __wur.
84517 It is not necessarily an error to ignore strtol's return value.
84518 One can reliably look at the stored endptr to decide whether
84519 the number had valid syntax.
84520
84521 2012-04-21 Andreas Jaeger <aj@suse.de>
84522
84523 [BZ #13739]
84524 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84525
84526 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84527
84528 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84529 * sysdeps/unix/sysv/Versions: Remove file.
84530
84531 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84532
84533 [BZ #13927]
84534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84535
84536 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84537
84538 [BZ #7064]
84539 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84540 version from __vm86.
84541
84542 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84543
84544 * sysdeps/unix/common/lxstat.c: Remove file.
84545 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84546
84547 * sysdeps/unix/sysv/Makefile: Remove file.
84548
84549 * sysdeps/unix/sysv/direct.h: Remove file.
84550
84551 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84552 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84553 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84554 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84555 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84556 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84557 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84558
84559 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84560
84561 * sysdeps/unix/xmknod.c: Remove file.
84562 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84563
84564 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84565
84566 * sysdeps/unix/sysv/i386/time.S: Remove file.
84567
84568 * sysdeps/unix/fxstat.c: Remove file.
84569 * sysdeps/unix/xstat.c: Likewise.
84570 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84571
84572 * sysdeps/unix/sysv/sigaction.c: Remove file.
84573
84574 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84575 (sysdep_headers): Remove variable.
84576 [termio.h not in sysdep_headers] (generated): Likewise.
84577 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84578 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84579 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84580 * sysdeps/unix/sysv/tcflow.c: Likewise.
84581 * sysdeps/unix/sysv/tcflush.c: Likewise.
84582 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84583 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84584 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84585 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84586 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84587
84588 * sysdeps/unix/siglist.c: Remove file.
84589
84590 * sysdeps/unix/getppid.S: Remove file.
84591
84592 * sysdeps/unix/mkdir.c: Remove file.
84593 * sysdeps/unix/rmdir.c: Likewise.
84594
84595 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84596
84597 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84598 ERR_MAX value.
84599 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84600 errlist-compat value.
84601
84602 2012-04-18 David S. Miller <davem@davemloft.net>
84603
84604 * sysdeps/generic/memcopy.h (reg_char): Delete.
84605 * debug/strcat_chk.c: Use char, not reg_char.
84606 * debug/strcpy_chk.c: Likewise.
84607 * debug/strncat_chk.c: Likewise.
84608 * debug/strncpy_chk.c: Likewise.
84609 * string/memchr.c: Likewise.
84610 * string/memrchr.c: Likewise.
84611 * string/rawmemchr.c: Likewise.
84612 * string/strcat.c: Likewise.
84613 * string/strchr.c: Likewise.
84614 * string/strchrnul.c: Likewise.
84615 * string/strcmp.c: Likewise.
84616 * string/strcpy.c: Likewise.
84617 * string/strncat.c: Likewise.
84618 * string/strncmp.c: Likewise.
84619 * string/strncpy.c: Likewise.
84620
84621 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84622
84623 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84624 __builtin_memcopy is called when src and dest ranges are known to not
84625 overlap.
84626
84627 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84628
84629 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84630 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84631 fwd_align_merge macro call.
84632 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84633 bwd_align_merge macro call.
84634 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84635
84636 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84637
84638 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84639 bwd_align_merge macros.
84640 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84641 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84642 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84643
84644 2012-04-18 David S. Miller <davem@davemloft.net>
84645
84646 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84647
84648 2012-04-18 Andreas Jaeger <aj@suse.de>
84649
84650 [BZ #6794]
84651 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84652 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84653 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84654
84655 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84656 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84657 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84658
84659 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84660 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84661 Adjust for changed ldbl-128 files.
84662
84663 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84664 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84665 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84666
84667 2012-04-17 David S. Miller <davem@davemloft.net>
84668
84669 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84670
84671 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84672
84673 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84674 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84675 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84676 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84677 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84678 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84679
84680 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84681
84682 [BZ #6794]
84683 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84684 * math/libm-test.inc: Add ilogb errno and exception tests.
84685 * math/w_ilogb.c: New file: ilogb wrapper.
84686 * math/w_ilogbf.c: New file: ilogbf wrapper.
84687 * math/w_ilogbl.c: New file: ilogbl wrapper.
84688 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84689 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84690 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84691 exception being thrown with 0.0 as argument.
84692 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84693 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84694 exception being thrown with 0.0 as argument.
84695 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84696 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84697 exception being thrown with 0.0 as argument.
84698 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84699 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84700 exception being thrown with 0.0 as argument.
84701 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84702 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84703 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84704 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84705 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84706 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84707 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84708 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84709 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84710
84711 2012-04-17 Petr Baudis <pasky@ucw.cz>
84712
84713 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84714 with altivec.
84715
84716 2012-04-16 Marek Polacek <polacek@redhat.com>
84717
84718 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84719
84720 2012-04-16 Marek Polacek <polacek@redhat.com>
84721
84722 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84723 operands of fdivp instruction.
84724
84725 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84726
84727 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84728 * elf/tst-auditmod3b.c: Likewise.
84729 * elf/tst-auditmod4b.c: Likewise.
84730 * elf/tst-auditmod5b.c: Likewise.
84731 * elf/tst-auditmod6b.c: Likewise.
84732 * elf/tst-auditmod6c.c: Likewise.
84733 * elf/tst-auditmod7b.c: Likewise.
84734 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84735 * sysdeps/x86_64/preconfigure.in: Likewise.
84736 * sysdeps/x86_64/preconfigure: Regenerated.
84737
84738 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84739
84740 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84741 __ILP32__.
84742
84743 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84744
84745 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84746 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84747
84748 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84749
84750 [BZ #13973]
84751 * locale/iso-639.def: Fix gl language name. Spotted by
84752 Yaron Shahrabani.
84753
84754 2012-04-12 Roland McGrath <roland@hack.frob.com>
84755
84756 [BZ #2074]
84757 * libio/libio.h (__io_write_fn): Update comment.
84758
84759 2012-04-12 Petr Baudis <pasky@ucw.cz>
84760
84761 [BZ #2074]
84762 * stdio.texi (Hook Functions): The user provided writer function
84763 is not allowed to return -1.
84764
84765 2012-04-11 David S. Miller <davem@davemloft.net>
84766
84767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84768
84769 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84770
84771 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84772 Add a leading slash to rtkaio.
84773
84774 2012-04-11 Jim Meyering <meyering@redhat.com>
84775
84776 [BZ #11959]
84777 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84778 It is not necessarily an error to ignore fwrite's return
84779 value. One can reliably use ferror to test for errors after
84780 the fact.
84781
84782 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84783
84784 * bits/types.h (__snseconds_t): New type.
84785 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84786
84787 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84789 (__SNSECONDS_T_TYPE): Likewise.
84790 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84791 (__SNSECONDS_T_TYPE): Likewise.
84792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84793 (__SNSECONDS_T_TYPE): Likewise.
84794
84795 2012-04-10 Andreas Jaeger <aj@suse.de>
84796
84797 [BZ #2636]
84798 * manual/time.texi (Processor Time): Return type of times is
84799 elapsed real time since an arbitrary point in the past.
84800 (CPU Time): Move CLK_TCK from here...
84801 (Processor Time): ...to here. Correct description.
84802 * manual/conf.texi (Constants for Sysconf): Correct description of
84803 _SC_CLK_TCK.
84804
84805 2012-04-10 David S. Miller <davem@davemloft.net>
84806
84807 [BZ #13967]
84808 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84809 where the is a gap between DT_REL(A) and DT_JMPREL.
84810
84811 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84812
84813 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84814 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84815 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84816
84817 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84818
84819 * elf/dl-support.c (_dl_inhibit_cache): New variable.
84820 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84821 (dl_main): Handle --inhibit-cache.
84822 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84823 _dl_inhibit_cache.
84824 * elf/dl-load.c (_dl_map_object): Use it.
84825 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84826
84827 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84828
84829 [BZ #13872]
84830 * sysdeps/i386/fpu/e_powl.S (p78): New object.
84831 (__ieee754_powl): Saturate large exponents rather than testing for
84832 overflow of y*log2(x).
84833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84834 * math/libm-test.inc (pow_test): Do not permit spurious overflow
84835 exceptions.
84836
84837 [BZ #11521]
84838 * math/s_ctan.c: Include <float.h>.
84839 (__ctan): Avoid internal overflow or cancellation in calculating
84840 denominator.
84841 * math/s_ctanf.c: Likewise.
84842 * math/s_ctanl.c: Likewise.
84843 * math/s_ctanh.c: Likewise.
84844 * math/s_ctanhf.c: Likewise.
84845 * math/s_ctanhl.c: Likewise.
84846 * math/libm-test.inc (ctan_test): Add more tests.
84847 (ctanh_test): Likewise.
84848 * sysdeps/i386/fpu/libm-test-ulps: Update.
84849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84850
84851 2012-04-09 Andreas Jaeger <aj@suse.de>
84852
84853 [BZ #6894]
84854 * manual/filesys.texi (Directory Entries): Mention that d_namlen
84855 is an optional BSD extension.
84856
84857 [BZ #10254]
84858 * manual/stdio.texi (Opening Streams): Document additional fopen
84859 parameters.
84860
84861 2012-04-09 Roland McGrath <roland@hack.frob.com>
84862
84863 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84864 %eax without telling the compiler.
84865
84866 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
84867
84868 [BZ # 13963]
84869 * manual/install.texi: Use sourceware.org.
84870
84871 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84872
84873 [BZ #13873]
84874 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84875 (__ieee754_pow): Generate overflow and underflow using huge*huge
84876 and tiny*tiny rather than just returning constant infinity or zero
84877 for large exponents.
84878 * math/libm-test.inc (pow_test): Require overflow exceptions for
84879 applicable cases of large exponents.
84880
84881 [BZ #706]
84882 * sysdeps/i386/fpu/e_pow.S (p10): New object.
84883 (__ieee754_pow): Use iterative multiplication algorithm only for
84884 integer exponents with absolute value below 1024. Check for odd
84885 integer exponents when using algorithm for real exponents.
84886 * math/libm-test.inc (pow_test): Add more tests.
84887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84888
84889 2012-04-08 Joseph Myers <joseph@codesourcery.com>
84890
84891 [BZ #13705]
84892 * math/libm-test.inc (exp_test): Do not allow overflow exception
84893 on underflow test.
84894
84895 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
84896
84897 [BZ #13705]
84898 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84899 instead of __kernel_standard_f.
84900
84901 2012-04-08 Mike Frysinger <vapier@gentoo.org>
84902
84903 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84904 * sysdeps/x86_64/memset_chk.S: Likewise.
84905
84906 2012-04-08 Andreas Jaeger <aj@suse.de>
84907
84908 [BZ #10153]
84909 * manual/startup.texi (Environment Access): Describe return value
84910 for putenv and setenv.
84911
84912 [BZ #6895]
84913 * manual/filesys.texi (Directory Entries): Add description for
84914 DT_LNK.
84915
84916 [BZ #6890]
84917 * manual/filesys.texi (Directory Entries): Clarify that it's file
84918 system not operating system in the description of DT_UNKNOWN.
84919
84920 [BZ #6578]
84921 * manual/syslog.texi (closelog): Fix reference, it's openlog.
84922
84923 2012-04-08 Stephen Compall <s11@member.fsf.org>
84924
84925 [BZ #6649]
84926 * manual/llio.texi (Opening and Closing Files): Add cross
84927 reference to explain mode argument.
84928
84929 2012-04-07 Mike Frysinger <vapier@gentoo.org>
84930
84931 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84932 * sysdeps/x86_64/memset_chk.S: Likewise.
84933
84934 2012-04-07 David S. Miller <davem@davemloft.net>
84935
84936 * elf/elf.h (R_SPARC_WDISP10): Define.
84937 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84938 R_SPARC_SIZE32.
84939 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84940 R_SPARC_SIZE64 and R_SPARC_H34.
84941
84942 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
84943
84944 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84945 conditions and remove no longer applicable assertion.
84946
84947 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84948
84949 * bits/byteswap.h: Include <features.h>.
84950 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84951 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84952
84953 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84954
84955 * bits/byteswap.h (__bswap_16): Removed.
84956 Include <bits/byteswap-16.h> to get __bswap_16.
84957 * sysdeps/i386/bits/byteswap.h: Likewise.
84958 * sysdeps/s390/bits/byteswap.h: Likewise.
84959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84960 * bits/byteswap-16.h: New file.
84961 * sysdeps/i386/bits/byteswap-16.h: Likewise.
84962 * sysdeps/s390/bits/byteswap-16.h: Likewise.
84963 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84964 * string/Makefile (headers): Add bits/byteswap-16.h.
84965
84966 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84967
84968 [BZ #13895]
84969 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84970 extra indirection.
84971 * nss/Makefile (tests-static, tests): Add tst-nss-static.
84972 * nss/tst-nss-static.c: New.
84973
84974 2012-04-06 Robert Millan <rmh@gnu.org>
84975
84976 [BZ #6486]
84977 * manual/llio.texi (File Position Primitive): lseek
84978 refers to WHENCE when it really means OFFSET.
84979
84980 2012-04-06 Andreas Jaeger <aj@suse.de>
84981
84982 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84983 strncmp declarations.
84984
84985 * abilist/libc.abilist: Add __poll and __ppoll.
84986
84987 2012-04-05 David S. Miller <davem@davemloft.net>
84988
84989 * scripts/check-local-headers.sh: Accept a host triplet in the
84990 path matched by the exclude regexp.
84991
84992 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84993 definition.
84994 * sysdeps/powerpc/powerpc32/dl-machine.h
84995 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84996 * sysdeps/s390/s390-32/dl-machine.h
84997 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84998 * sysdeps/sparc/sparc32/dl-machine.h
84999 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85000 * sysdeps/sparc/sparc64/dl-machine.h
85001 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85002
85003 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85004 lazy binding.
85005 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85006 undefined symbol errors.
85007
85008 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85009 DT_NEEDED entries.
85010
85011 2012-04-05 Michael Matz <matz@suse.de>
85012
85013 [BZ #13592]
85014 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85015
85016 2012-04-05 Andreas Jaeger <aj@suse.de>
85017
85018 [BZ #13908]
85019 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85020 comment.
85021
85022 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85023
85024 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85025 which ROUND is no valid rounding mode.
85026
85027 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85028
85029 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85030 read again.
85031 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85032
85033 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85034
85035 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85036 an exception using FPU order intentionally.
85037
85038 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85039
85040 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85041 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85042 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85043 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85044
85045 2012-04-05 Simon Josefsson <simon@josefsson.org>
85046
85047 [BZ #12340]
85048 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85049 EINVAL when BUFLEN is too smal.
85050
85051 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
85052
85053 [BZ #13553]
85054 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85055 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85056
85057 2012-04-03 Andreas Jaeger <aj@suse.de>
85058
85059 [BZ #13938]
85060 * manual/setjmp.texi (System V contexts): Fix sentence.
85061
85062 [BZ #13926]
85063 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85064 New macro for this case.
85065 [!__GNUC__] (__bswap_64): New inline function for this case.
85066 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85067 * bits/byteswap.h: Likewise.
85068 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85069 ull, guard with __GLIBC_HAVE_LONG_LONG.
85070
85071 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85072 __GLIBC_HAVE_LONG_LONG.
85073
85074 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85075 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85076
85077 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85078
85079 [BZ #13691]
85080 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85081 inptr and inend, rather than using last_ch.
85082
85083 2012-04-02 David S. Miller <davem@davemloft.net>
85084
85085 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85086 * stdio-common/printf-parse.h (read_int): Change return type to
85087 'int', return -1 on INT_MAX overflow.
85088 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85089 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85090 overflows INT_MAX. Check for overflow of in-format-string precision
85091 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85092 SIZE_MAX not INT_MAX for integer overflow test.
85093 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85094 skip the construct in the format string but do not record anything.
85095 * stdio-common/bug22.c: Adjust to test both width/prevision
85096 INT_MAX overflow as well as total length INT_MAX overflow. Check
85097 explicitly for proper errno values.
85098
85099 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85100
85101 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85102 CHAR_MAX.
85103 * string/test-strcmp.c [! WIDE]: Likewise.
85104 * time/tst-mktime2.c: Likewise for INT_MAX.
85105 * string/test-string.h: #include <sys/param.h> for MIN.
85106
85107 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85108 * sysdeps/i386/init-first.c (init): Likewise.
85109 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85110 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85111 * sysdeps/sh/init-first.c (init): Likewise.
85112
85113 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85114
85115 * po/ru.po: Update from translation team.
85116 * po/vi.po: Likewise.
85117
85118 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85119
85120 * resolv/nss_dns/dns-host.c: Merge copyright years.
85121
85122 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85123
85124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85125 Optimize memcpy with prefetch if
85126 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85127 src, dst pointers have unequal 16 byte alignments.
85128
85129 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85130
85131 [BZ #13928]
85132 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85133 from a CNAME entry and return the minimum ttl for the query.
85134 (gaih_getanswer_slice): Likewise.
85135
85136 2012-03-30 Jeff Law <law@redhat.com>
85137
85138 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85139 due to long keys.
85140 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85141 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85142
85143 * resolv/nss_dns/dns-host.c: Update copyright year.
85144
85145 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85146
85147 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85148 requests to save a system call. Fix check that all bytes are sent.
85149
85150 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85151 comments for sendmmsg.
85152
85153 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85154
85155 [BZ #13691]
85156 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85157 with only 1 character between 0x0041 and 0x01b0.
85158 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85159 * wcsmbs/tst-mbsnrtowcs.c: New file.
85160
85161 2012-03-29 David S. Miller <davem@davemloft.net>
85162
85163 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85164 small copies by hand.
85165
85166 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85167
85168 [BZ #13761]
85169 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85170 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85171 group memberships.
85172
85173 2012-03-28 David S. Miller <davem@davemloft.net>
85174
85175 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85176 that branches into memcpy.
85177 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85179 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85180 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85181 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85182 bits.
85183 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85184 implementation too.
85185 * sysdeps/sparc/mempcpy.S: New file.
85186
85187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85188 the IFUNC routine in the libc case.
85189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85190
85191 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85192 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85193 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85194 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85195 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85196 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85197 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85198 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85199
85200 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85201 loop to 256 bytes instead of 64 bytes and fix test signedness.
85202
85203 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85204 * sysdeps/sparc/sparc32/Makefile: rather than here...
85205 * sysdeps/sparc/sparc64/Makefile: and here.
85206
85207 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85208
85209 * malloc/mallocbug.c: Avoid warnings about unused variables.
85210
85211 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85212
85213 [BZ #13760]
85214 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85215 in the right place. Discard and retry query if response is
85216 larger than input buffer size.
85217
85218 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85219
85220 [BZ #369]
85221 [BZ #2678]
85222 [BZ #3866]
85223 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85224 x for large integer exponent.
85225 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85226 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85227 sign of result as needed afterwards.
85228 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85229 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85230 result for underflowing pow the same as for overflow.
85231 (__kernel_standard_l): Handle powl overflow and underflow here
85232 rather than calling __kernel_standard.
85233 * math/libm-test.inc (pow_test): Add more tests.
85234
85235 [BZ #3868]
85236 [BZ #13879]
85237 [BZ #13910]
85238 [BZ #13911]
85239 [BZ #13912]
85240 [BZ #13913]
85241 [BZ #13915]
85242 [BZ #13916]
85243 [BZ #13917]
85244 [BZ #13918]
85245 [BZ #13919]
85246 [BZ #13920]
85247 [BZ #13921]
85248 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85249 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85250 (__kernel_standard_l): New function.
85251 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85252 __kernel_standard.
85253 * math/w_acosl.c (__acosl): Likewise.
85254 * math/w_asinl.c (__asinl): Likewise.
85255 * math/w_atan2l.c (__atan2l): Likewise.
85256 * math/w_atanhl.c (__atanhl): Likewise.
85257 * math/w_coshl.c (__coshl): Likewise.
85258 * math/w_exp10l.c (__exp10l): Likewise.
85259 * math/w_exp2l.c (__exp2l): Likewise.
85260 * math/w_fmodl.c (__fmodl): Likewise.
85261 * math/w_hypotl.c (__hypotl): Likewise.
85262 * math/w_j0l.c (__j0l, __y0l): Likewise.
85263 * math/w_j1l.c (__j1l, __y1l): Likewise.
85264 * math/w_jnl.c (__jnl, __ynl): Likewise.
85265 * math/w_lgammal.c (__lgammal): Likewise.
85266 * math/w_log10l.c (__log10l): Likewise.
85267 * math/w_log2l.c (__log2l): Likewise.
85268 * math/w_logl.c (__logl): Likewise.
85269 * math/w_powl.c (__powl): Likewise.
85270 * math/w_remainderl.c (__remainderl): Likewise.
85271 * math/w_scalbl.c (sysv_scalbl): Likewise.
85272 * math/w_sinhl.c (__sinhl): Likewise.
85273 * math/w_sqrtl.c (__sqrtl): Likewise.
85274 * math/w_tgammal.c (__tgammal): Likewise.
85275 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85276 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85277 * math/libm-test.inc (acos_test): Add more tests.
85278 (acosh_test): Likewise.
85279 (asin_test): Likewise.
85280 (atanh_test): Likewise.
85281 (exp_test): Likewise.
85282 (exp10_test): Likewise.
85283 (exp2_test): Likewise.
85284 (expm1_test): Likewise.
85285 (lgamma_test): Likewise.
85286 (log_test): Likewise.
85287 (log10_test): Likewise.
85288 (log1p_test): Likewise.
85289 (log2_test): Likewise.
85290 (pow_test): Do not allow some spurious overflow exceptions.
85291 (sqrt_test): Add more tests.
85292 (tgamma_test): Likewise.
85293 (y0_test): Likewise.
85294 (y1_test): Likewise.
85295 (yn_test): Likewise.
85296
85297 2012-03-27 Anton Blanchard <anton@samba.org>
85298
85299 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85300 MAP_HUGETLB.
85301 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85302 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85303 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85304
85305 2012-03-27 David S. Miller <davem@davemloft.net>
85306
85307 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85308
85309 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85310 have-as-vis3 check.
85311
85312 2012-03-27 Andreas Jaeger <aj@suse.de>
85313
85314 * sysdeps/x86_64/elf/configure.in: Moved to ...
85315 * sysdeps/x86_64/configure.in: ... here.
85316 * sysdeps/x86_64/elf/start.S: Moved to ...
85317 * sysdeps/x86_64/start.S: ... here.
85318 * sysdeps/x86_64/elf/configure: Delete.
85319
85320 * sysdeps/x86_64/configure.in: Merge contents from
85321 sysdeps/i386/configure.in (without i686 check).
85322
85323 * sysdeps/i386/elf/Versions: Merge into ...
85324 * sysdeps/i386/Versions: ... this.
85325 * sysdeps/i386/elf/Versions: Delete file.
85326 * sysdeps/i386/elf/start.S: Moved to ...
85327 * sysdeps/i386/start.S: ...here.
85328 * sysdeps/i386/elf/configure.in: Merge into...
85329 * sysdeps/i386/configure.in: ...here.
85330 * sysdeps/i386/elf/configure.in: Delete file.
85331 * sysdeps/i386/elf/configure: Delete file.
85332
85333 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85334 * debug/backtracesyms.c: ... here.
85335 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85336 * debug/backtracesymsfd.c: ... here.
85337 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85338 * sysdeps/generic/ifunc-sel.h: ... here.
85339
85340 * sysdeps/unix/i386/start.c: Delete file.
85341 * sysdeps/unix/sparc/start.c: Delete file.
85342 * sysdeps/unix/start.c: Delete file.
85343
85344 * sysdeps/sh/elf/configure.in: Moved to ...
85345 * sysdeps/sh/configure.in: ... here.
85346 * sysdeps/sh/elf/start.S: Moved to ...
85347 * sysdeps/sh/start.S: ... here.
85348 * sysdeps/sh/elf/configure: Delete file.
85349
85350 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85351 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85352 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85353 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85354 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85355 * sysdeps/powerpc/powerpc64/start.S: here.
85356 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85357 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85358 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85359 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85360 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85361
85362 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85363 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85364 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85365 * sysdeps/powerpc/powerpc32/start.S: ... here.
85366 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85367 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85368 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85369
85370 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85371 * sysdeps/powerpc/ifunc-sel.h: ... here.
85372 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85373 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85374
85375 * sysdeps/sparc/elf/configure.in: Moved to ...
85376 * sysdeps/sparc/configure.in: ... here.
85377 * sysdeps/sparc/elf/configure: Delete file.
85378 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85379 * sysdeps/sparc/sparc32/start.S: ... here.
85380 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85381 * sysdeps/sparc/sparc64/start.S: ... here.
85382 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85383 * sysdeps/sparc/sparc32/Makefile: ... this.
85384 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85385 * sysdeps/sparc/sparc64/Makefile: ... this.
85386
85387 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85388 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85389 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85390 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85391 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85392 * sysdeps/s390/s390-32/setjmp.S: ... here.
85393 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85394 * sysdeps/s390/s390-32/configure.in: ... here.
85395 * sysdeps/s390/s390-32/elf/configure: Delete file.
85396 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85397 * sysdeps/s390/s390-32/start.S: ... here.
85398
85399 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85400 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85401 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85402 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85403 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85404 * sysdeps/s390/s390-64/setjmp.S: ... here.
85405 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85406 * sysdeps/s390/s390-64/configure.in: ... here
85407 * sysdeps/s390/s390-64/elf/configure: Delete file.
85408 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85409 * sysdeps/s390/s390-64/start.S: ... here.
85410 * sysdeps/s390/s390-64/elf/configure: Delete.
85411
85412 * configure.in: Remove support for elf directories in sysdeps.
85413
85414 * configure: Regenerated.
85415 * sysdeps/i386/configure: Regenerated.
85416 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85417 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85418 * sysdeps/s390/s390-32/configure: Regenerated.
85419 * sysdeps/s390/s390-64/configure: Regenerated.
85420 * sysdeps/sh/configure: Regenerated.
85421 * sysdeps/sparc/configure: Regenerated.
85422 * sysdeps/x86_64/configure: Regenerated.
85423
85424 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85425
85426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85427
85428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85429 denormal result into account.
85430
85431 2012-03-25 Roland McGrath <roland@hack.frob.com>
85432
85433 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85434 Reported by Allan McRae <allan@archlinux.org>.
85435
85436 2012-03-23 Jeff Law <law@redhat.com>
85437
85438 * nss/getnssent.c (__nss_getent): Fix typo.
85439
85440 2012-03-23 David S. Miller <davem@davemloft.net>
85441
85442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85443
85444 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85445
85446 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85447 to pad to uint64_t for each field.
85448 (dl_tls_index): Replace unsigned long with uint64_t.
85449
85450 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85451 Paul Pluzhnikov <ppluzhnikov@google.com>
85452
85453 [BZ #6528]
85454 * grp/Makefile (otherlibs): Don't set it.
85455 * inet/Makefile (otherlibs): Likewise.
85456 * login/Makefile (otherlibs): Likewise.
85457 * nscd/Makefile (otherlibs): Likewise.
85458 * posix/Makefile (otherlibs): Likewise.
85459 * pwd/Makefile (otherlibs): Likewise.
85460 * rt/Makefile (otherlibs): Likewise.
85461 * sunrpc/Makefile (otherlibs): Likewise.
85462 * nss/Makefile (otherlibs): Likewise.
85463 Add libnss_files to routines and static-only-routines.
85464 ($(objpfx)getent): Remove rule.
85465 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85466 static-only-routines.
85467
85468 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85469
85470 [BZ #13892]
85471 * math/s_cexp.c: Include <float.h>.
85472 (__cexp): Handle exp result overflowing not necessarily
85473 overflowing both real and imaginary parts of result.
85474 * math/s_cexpf.c: Likewise.
85475 * math/s_cexpl.c: Likewise.
85476 * math/libm-test.inc (cexp_test): Add more tests.
85477 * sysdeps/i386/fpu/libm-test-ulps: Update.
85478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85479
85480 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85481
85482 * include/link.h (ELFW): New macro.
85483 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85484 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85485
85486 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85487
85488 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85489 with uint64_t.
85490
85491 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85492
85493 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85494 declaration.
85495 (struct La_x32_retval): Likewise.
85496
85497 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85498
85499 * sysdeps/x86_64/preconfigure.in: New file.
85500 * sysdeps/x86_64/preconfigure: New generated file.
85501
85502 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85503
85504 [BZ #13824]
85505 * math/e_exp2l.c: Include <float.h>.
85506 (__ieee754_exp2l): Handle overflow and underflow cases
85507 separately. Only pass fractional part of argument to
85508 __ieee754_expl.
85509 * math/libm-test.inc (exp2_test): Add more tests.
85510
85511 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85512 negating x to take absolute value.
85513 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85514 Likewise.
85515 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85516 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85517 Likewise.
85518 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85519 computing low part if x was negated.
85520 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85521
85522 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85523
85524 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85525 la_x32_gnu_pltexit.
85526 (pltexit): Cast int_retval to ptrdiff_t.
85527 * elf/tst-auditmod3b.c: Likewise.
85528 * elf/tst-auditmod4b.c: Likewise.
85529 * elf/tst-auditmod5b.c: Likewise.
85530 * elf/tst-auditmod6b.c: Likewise.
85531 * elf/tst-auditmod6c.c: Likewise.
85532 * elf/tst-auditmod7b.c: Likewise.
85533
85534 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85535 and x32_gnu_pltexit.
85536
85537 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85538 __ELF_NATIVE_CLASS.
85539 (La_x32_regs): New macro.
85540 (La_x32_retval): Likewise.
85541 (la_x32_gnu_pltenter): New function prototype.
85542 (la_x32_gnu_pltexit): Likewise.
85543
85544 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85545
85546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85547 exponent.
85548
85549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85550
85551 * configure.in (libc_cv_cc_nofma): Check for option to disable
85552 generation of FMA instructions.
85553 * configure: Regenerate.
85554 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85555 * sysdeps/ieee754/dbl-64/Makefile: New file.
85556 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85557 Remove brandred-fma4.
85558 (CFLAGS-brandred-fma4.c): Remove.
85559 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85560 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85561 define.
85562 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85563 define.
85564
85565 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85566
85567 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85568 LLONG_MAX != LONG_MAX.
85569 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85570 (_fitoa_word): Likewise.
85571 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85572 LLONG_MAX != LONG_MAX.
85573 * stdio-common/_itowa.h: Include <_itoa.h>.
85574 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85575 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85576 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85577 only if not defined.
85578 (_ITOA_WORD_TYPE): Likewise.
85579 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85580 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85581
85582 2012-03-21 David S. Miller <davem@davemloft.net>
85583
85584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85585
85586 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85587
85588 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85589 of x86_64 when setting libc_cv_slibdir, libdir and
85590 libc_cv_localedir.
85591 * sysdeps/unix/sysv/linux/configure: Regenerated.
85592
85593 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85594
85595 * manual/lang.texi (Old Varargs): Remove section.
85596 (How Variadic): Update menu.
85597 (va_start): Do not mention varargs.h.
85598
85599 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85600 Joseph Myers <joseph@codesourcery.com>
85601
85602 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85603 link test.
85604 * configure: Regenerated.
85605
85606 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85607
85608 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85609 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85610 conformtest.pl
85611
85612 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85613
85614 * NOTES: Remove.
85615 * Makefile (files-for-dist): Remove NOTES.
85616 (NOTES): Remove rule.
85617 * README: Don't refer to NOTES.
85618 * manual/creature.texi: Don't include macros.texi.
85619 * manual/intro.texi (creature.texi): Remove comment referring to
85620 NOTES.
85621
85622 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85623 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85624 * configure: Regenerated.
85625 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85626 LIBC_TRY_CC_OPTION.
85627 (libc_cv_as_i686): Likewise.
85628 (libc_cv_cc_avx): Likewise.
85629 (libc_cv_cc_sse2avx): Likewise.
85630 (libc_cv_cc_fma4): Likewise.
85631 (libc_cv_cc_novzeroupper): Likewise.
85632 * sysdeps/i386/configure: Regenerated.
85633
85634 [BZ #13883]
85635 * sysdeps/i386/fpu/s_cexp.S: Remove.
85636 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85637 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85638 * math/libm-test.inc (cexp_test): Add more tests.
85639 * sysdeps/i386/fpu/libm-test-ulps: Update.
85640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85641
85642 2012-03-21 Allan McRae <allan@archlinux.org>
85643
85644 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85645
85646 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85647
85648 [BZ #13871]
85649 * math/w_exp2.c: Do not include <float.h>.
85650 (o_threshold, u_threshold): Remove.
85651 (__exp2): Calculate result before checking finiteness and calling
85652 __kernel_standard.
85653 * math/w_exp2f.c: Likewise.
85654 * math/w_exp2l.c: Likewise.
85655 * math/libm-test.inc (exp2_test): Require overflow exception for
85656 1e6 input.
85657
85658 [BZ #3866]
85659 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85660 range of signed 64-bit integers before using fistpll. Remove
85661 checks for whether integers fit in mantissa bits.
85662 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85663 the range of signed 32-bit integers before using fistpl. Remove
85664 checks for whether integers fit in mantissa bits.
85665 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85666 (__ieee754_powl): Test for y outside the range of signed 64-bit
85667 integers before using fistpll. Reduce 64-bit values to 63-bit
85668 ones as needed.
85669 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85670 divide-by-zero is raised for zero to large negative powers.
85671 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85672 (__ieee754_powl): Test for y outside the range of signed 64-bit
85673 integers before using fistpll. Reduce 64-bit values to 63-bit
85674 ones as needed.
85675 * math/libm-test.inc (pow_test): Add more tests.
85676
85677 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85678
85679 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85680 <stdio-common/_itoa.h>.
85681 * debug/segfault.c: Likewise.
85682 * elf/dl-cache.c: Likewise.
85683 * elf/dl-minimal.c: Likewise.
85684 * elf/dl-misc.c: Likewise.
85685 * elf/dl-sysdep.c: Likewise.
85686 * elf/dl-version.c: Likewise.
85687 * elf/rtld.c: Likewise.
85688 * hurd/hurdsock.c: Likewise.
85689 * hurd/lookup-retry.c: Likewise.
85690 * malloc/malloc.c: Likewise.
85691 * malloc/mtrace.c: Likewise.
85692 * nscd/nscd_getgr_r.c: Likewise.
85693 * nscd/nscd_getpw_r.c: Likewise.
85694 * nscd/nscd_getserv_r.c: Likewise.
85695 * posix/getopt_init.c: Likewise.
85696 * posix/wordexp.c: Likewise.
85697 * stdio-common/_itoa.c: Likewise.
85698 * stdio-common/printf_fphex.c: Likewise.
85699 * stdio-common/vfprintf.c: Likewise.
85700 * string/_strerror.c: Likewise.
85701 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85702 * sysdeps/i386/i686/hp-timing.h: Likewise.
85703 * sysdeps/mach/_strerror.c: Likewise.
85704 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85705 * sysdeps/mach/hurd/sethostid.c: Likewise.
85706 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85707 * sysdeps/mach/xpg-strerror.c: Likewise.
85708 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85709 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85710 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85711 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85712 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85713 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85714 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85715 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85716 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85717 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85718 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85719 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85720 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85721 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85722 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85723 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85724 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85725 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85726 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85727 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85728 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85729
85730 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85731
85732 * stdio-common/_itoa.h: Moved to ...
85733 * sysdeps/generic/_itoa.h: Here.
85734
85735 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85736
85737 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85738 instead of "_itoa.h" and "_itowa.h".
85739 * stdio-common/vfprintf.: Likewise.
85740
85741 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85742
85743 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85744 <bits/wordsize.h>.
85745 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85746 (__signbit): Likewise.
85747 (llrintf): Likewise.
85748 (llrint): Likewise.
85749
85750 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85751
85752 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85753 __WORDSIZE != 64.
85754
85755 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85756
85757 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85758 OVERFLOW_EXCEPTION_OK.
85759 * math/libm-test.inc ("Philosophy"): Update comment about
85760 exception testing.
85761 (OVERFLOW_EXCEPTION): Define.
85762 (OVERFLOW_EXCEPTION_OK): Likewise.
85763 (INVALID_EXCEPTION_OK): Renumber.
85764 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85765 (IGNORE_ZERO_INF_SIGN): Likewise.
85766 (test_exceptions): Handle FE_OVERFLOW.
85767 (exp10_test): Expect overflow exceptions.
85768 (exp2_test): Likewise.
85769 (expm1_test): Likewise.
85770 (nextafter_test): Likewise.
85771 (pow_test): Likewise.
85772 (scalbn_test): Likewise.
85773 (scalbln_test): Likewise.
85774
85775 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85776
85777 * sysdeps/x86_64/bits/atomic.h
85778 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85779 64bit integer.
85780 (atomic_exchange_acq): Likewise.
85781 (__arch_exchange_and_add_body): Likewise.
85782 (__arch_add_body): Likewise.
85783 (atomic_add_negative): Likewise.
85784 (atomic_add_zero): Likewise.
85785
85786 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85787
85788 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85789 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85790
85791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85792
85793 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85794 Check __x86_64__ instead of __WORDSIZE.
85795
85796 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85797
85798 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85799
85800 2012-03-19 David S. Miller <davem@davemloft.net>
85801
85802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85803
85804 * sysdeps/sparc/fpu/fenv_private.h: New file.
85805 * sysdeps/sparc/fpu/math_private.h: Use it.
85806 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85807 Remove.
85808 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85809 (libc_feholdexcept_setroundl): Remove.
85810 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85811 Remove.
85812 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85813 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85814
85815 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85816
85817 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85818 int64_t instead of long int.
85819 (INSERT_WORDS64): Likewise.
85820
85821 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85822
85823 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85824 _Unwind_GetCFA return to _Unwind_Ptr first.
85825
85826 2012-03-19 Joseph Myers <joseph@codesourcery.com>
85827
85828 [BZ #13629]
85829 * math/s_clog.c: Include <float.h>.
85830 (__clog): Scale large or subnormal inputs.
85831 * math/s_clogf.c: Likewise.
85832 * math/s_clogl.c: Likewise.
85833 * math/s_clog10.c: Include <float.h>.
85834 (M_LOG10_2): Define.
85835 (__clog10): Scale large or subnormal inputs.
85836 * math/s_clog10f.c: Likewise.
85837 * math/s_clog10l.c: Likewise.
85838 * math/libm-test.inc (clog_test): Add more tests.
85839 (clog10_test): Likewise.
85840 * sysdeps/i386/fpu/libm-test-ulps: Update.
85841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85842
85843 [BZ #11451]
85844 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85845 x and y.
85846 * math/libm-test.inc (atan2_test): Add another test.
85847
85848 * Makerules (common-objdir-compile): Remove.
85849 * sysdeps/unix/Makefile (config-generated): Do not add
85850 $(unix-generated) to variable.
85851 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85852 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85853 Remove rule.
85854 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85855 Likewise.
85856 [generic bits/local_lim.h] (before-compile): Do not append to
85857 variable.
85858 [generic bits/local_lim.h] (common-generated): Likewise.
85859 [generic sys/param.h] (before-compile): Do not append to variable.
85860 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85861 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85862 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85863 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85864 include.
85865 [generic sys/param.h] (sys/param.h-includes): Remove variable.
85866 [generic sys/param.h] (sys/param.h-includes): Remove rule.
85867 [generic sys/param.h] ($(addprefix
85868 $(common-objpfx),$(sys/param.h-includes))): Likewise.
85869 [generic sys/param.h] (common-generated): Do not append to
85870 variable.
85871 [generic sys/param.h] (sysdep_headers): Likewise.
85872 [generic bits/errno.h] (before-compile): Do not append to
85873 variable.
85874 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85875 rule.
85876 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85877 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85878 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85879 [generic bits/errno.h] (common-generated): Do not append to
85880 variable.
85881 [generic bits/ioctls.h] (before-compile): Do not append to
85882 variable.
85883 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85884 rule.
85885 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85886 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85887 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85888 rule.
85889 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85890 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85891 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85892 [generic bits/ioctls.h] (common-generated): Do not append to
85893 variable.
85894 [generic sys/syscall.h] (syscall.h): Remove variable.
85895 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85896 rule.
85897 [generic sys/syscall.h] (before-compile): Do not append to
85898 variable.
85899 [generic sys/syscall.h] (common-generated): Likewise.
85900 * sysdeps/unix/errnos-tmpl.c: Remove file.
85901 * sysdeps/unix/errnos.awk: Likewise.
85902 * sysdeps/unix/ioctls-tmpl.c: Likewise.
85903 * sysdeps/unix/ioctls.awk: Likewise.
85904 * sysdeps/unix/mk-local_lim.c: Likewise.
85905 * sysdeps/unix/snarf-ioctls: Likewise.
85906
85907 2012-03-19 Richard Henderson <rth@twiddle.net>
85908
85909 * sysdeps/i386/fpu/fenv_private.h: New file.
85910 * sysdeps/i386/fpu/math_private.h: Use it.
85911 (math_opt_barrier, math_force_eval): Remove.
85912 (libc_feholdexcept_setround_53bit): Remove.
85913 (libc_feupdateenv_53bit): Remove.
85914 * sysdeps/x86_64/fpu/math_private.h: Likewise.
85915 (math_opt_barrier, math_force_eval): Remove.
85916 (libc_feholdexcept): Remove.
85917 (libc_feholdexcept_setround): Remove.
85918 (libc_fetestexcept, libc_fesetenv): Remove.
85919 (libc_feupdateenv_test): Remove.
85920 (libc_feupdateenv, libc_feholdsetround): Remove.
85921 (libc_feresetround): Remove.
85922
85923 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85924 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85925
85926 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85927 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85928 (libc_feupdateenv_testl): New.
85929 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85930 (libc_feupdateenv_testf): New.
85931 (libc_feupdateenv): Use libc_feupdateenv_test.
85932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85934
85935 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85936 (libc_feholdsetroundf, libc_feholdsetroundl): New.
85937 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85938 (libc_feresetround_noex): New.
85939 (libc_feresetround_noexf): New.
85940 (libc_feresetround_noexl): New.
85941 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85942 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85943 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85944 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85945 SET_RESTORE_ROUND.
85946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85947 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85948 (__cos): Likewise.
85949 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85950 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85951 SET_RESTORE_ROUND_NOEX.
85952 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85953 SET_RESTORE_ROUND_NOEXF.
85954 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85955 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85956 (libc_feholdsetroundf): New.
85957 (libc_feresetround, libc_feresetroundf): New.
85958
85959 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85960 (libc_feholdexcept_setround_53bit): Convert from macro to function.
85961 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
85962
85963 * sysdeps/generic/math_private.h: Include <fenv.h>.
85964 (default_libc_feholdexcept): New.
85965 (default_libc_feholdexcept_setround): New.
85966 (default_libc_fesetenv, default_libc_feupdateenv): New.
85967 (libc_feholdexcept): Only define if undefined.
85968 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85969 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85970 (libc_feholdexcept_setroundl): Likewise.
85971 (libc_feholdexcept_setround_53bit): Likewise.
85972 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85973 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85974 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85975 (libc_feupdateenv_53bit): Likewise.
85976 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85977 (libc_feholdexcept): Convert from macro to inline function.
85978 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85979 (libc_fesetenv, libc_feupdateenv): Likewise.
85980
85981 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85982 not previously defined.
85983 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85984 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85985 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85986 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85987 * sysdeps/ieee754/flt-32/math_private.h: New file.
85988 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85989 math_private.h below SET_FLOAT_WORD.
85990 (__isnan, __isinf_ns, __finite): Remove.
85991 (__isnanf, __isinf_nsf, __finitef): Remove.
85992
85993 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
85994
85995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85996
85997 2012-03-17 David S. Miller <davem@davemloft.net>
85998
85999 [BZ #6471]
86000 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86001 for 2.16.
86002
86003 2012-03-16 David S. Miller <davem@davemloft.net>
86004
86005 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86006 warnings.
86007
86008 [BZ #6471]
86009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86010 properly.
86011 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86012 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86013 sysdep_routines when subdir is sysvipc.
86014 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86015 __getshmlba helper.
86016
86017 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86018
86019 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86020
86021 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86022 [__LP64__].
86023
86024 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86025
86026 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86027 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86028 (__lround): Renamed to ...
86029 (__llround): This. Replace long int with long long int.
86030 Define lround functions as aliases of llround functions.
86031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86032
86033 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86034
86035 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86036 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86037 adresses to uintptr_t. Replace "long int" and "unsigned long
86038 int" with "greg_t" on va_arg.
86039
86040 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86041
86042 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86043 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86044
86045 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86046 Move e_machine check before EI_CLASS check. Handle x32
86047 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86048 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86049 SKIP_EM_IA_64 and include
86050 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86051
86052 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86053 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86054 (add_system_dir): New macro.
86055
86056 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86057 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86058
86059 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86060
86061 [BZ #2551]
86062 [BZ #2552]
86063 [BZ #2553]
86064 [BZ #2554]
86065 [BZ #2562]
86066 [BZ #2563]
86067 [BZ #2565]
86068 [BZ #2566]
86069 [BZ #2576]
86070 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86071 (y0): Likewise.
86072 * math/w_j0f.c (j0f): Likewise.
86073 (y0f): Likewise.
86074 * math/w_j0l.c (__j0l): Likewise.
86075 (__y0l): Likewise.
86076 * math/w_j1.c (j1): Likewise.
86077 (y1): Likewise.
86078 * math/w_j1f.c (j1f): Likewise.
86079 (y1f): Likewise.
86080 * math/w_j1l.c (__j1l): Likewise.
86081 (__y1l): Likewise.
86082 * math/w_jn.c (jn): Likewise.
86083 (yn): Likewise.
86084 * math/w_jnf.c (jnf): Likewise.
86085 (ynf): Likewise.
86086 * math/w_jnl.c (__jnl): Likewise.
86087 (__ynl): Likewise.
86088 * math/libm-test.inc (j0_test): Add more tests.
86089 (j1_test): Likewise.
86090 (jn_test): Likewise. Add trailing semicolon to existing test.
86091 (y0_test): Likewise.
86092 (y1_test): Likewise.
86093 * sysdeps/i386/fpu/libm-test-ulps: Update.
86094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86095
86096 [BZ #13851]
86097 [BZ #13854]
86098 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86099 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86100 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86101 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86102 (__tanl): Set errno for infinite argument.
86103 * sysdeps/i386/fpu/mptan.c: Remove.
86104 * sysdeps/i386/fpu/s_tan.S: Likewise.
86105 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86106 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86107 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86108 * math/libm-test.inc (tan_test): Add more tests and enable more
86109 tests for double and long double.
86110 * sysdeps/i386/fpu/libm-test-ulps: Update.
86111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86112
86113 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86114
86115 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86116 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86117
86118 2012-03-16 Roland McGrath <roland@hack.frob.com>
86119
86120 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86121 * configure.in: Use it for both main tree and add-ons.
86122 * configure: Regenerated.
86123
86124 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86125
86126 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86127
86128 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86129
86130 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86131 in comment.
86132
86133 [BZ #13851]
86134 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86135 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86136 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86137 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86138 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86139 infinite argument.
86140 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86142 != 0 for prec == 2.
86143 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86144 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86145 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86146 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86147 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86148 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86149 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86150 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86151 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86152 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86153 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86154 * math/libm-test.inc (cos_test): Add more tests and enable more
86155 tests for long double.
86156 (sin_test): Likewise.
86157 (sincos_test): Likewise.
86158 * sysdeps/i386/fpu/libm-test-ulps: Update.
86159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86160
86161 2012-03-16 David S. Miller <davem@davemloft.net>
86162
86163 * sysdeps/sparc/fpu/math_private.h: New file.
86164
86165 2012-03-15 David S. Miller <davem@davemloft.net>
86166
86167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86168 file.
86169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86171 file.
86172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86177 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86178 sysdep routines.
86179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86180
86181 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86182 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86183
86184 * sysdeps/sparc/sparc-ifunc.h: New file.
86185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86186 sparc-ifunc.h
86187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86189 Likewise.
86190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86191 Likewise.
86192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86196 Likewise.
86197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86202 Likewise.
86203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86204 Likewise.
86205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86225 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86229
86230 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86231
86232 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86233 scaling.
86234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86235
86236 2012-03-15 Andreas Jaeger <aj@suse.de>
86237
86238 [BZ #13852]
86239 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86240 ieee754/flt-32 implementation for sin, cos and sincos.
86241 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86242 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86243 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86244 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86245 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86246 ieee754/flt-32 implementation for tan.
86247
86248 * math/libm-test.inc (cos_test): Enable some large input tests for
86249 float as well
86250 (sin_test): Likewise.
86251 (sincos_test): Likewise.
86252 (tan_test): Add tests for large input.
86253
86254 * sysdeps/i386/fpu/libm-test-ulps: Update.
86255
86256 2012-03-15 Andreas Jaeger <aj@suse.de>
86257
86258 [BZ #13658]
86259 * math/libm-test.inc (cos_test): Add more test cases.
86260 (sin_test): Likewise.
86261 (sincos_test): Likewise.
86262
86263 2012-03-15 Andreas Jaeger <aj@suse.de>
86264
86265 [BZ #13837]
86266 * math/libm-test.inc (cos_test): Add a test case for large input
86267 value.
86268 (sin_test): Likewise.
86269 (sincos_test): Likewise.
86270
86271 2012-03-15 Andreas Jaeger <aj@suse.de>
86272 Joseph Myers <joseph@codesourcery.com>
86273
86274 [BZ #13658]
86275 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86276 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86277 * sysdeps/i386/fpu/branred.c: Likewise.
86278 * sysdeps/i386/fpu/dosincos.c: Likewise.
86279 * sysdeps/i386/fpu/mpa.c: Likewise.
86280 * sysdeps/i386/fpu/s_cos.S: Likewise.
86281 * sysdeps/i386/fpu/s_sin.S: Likewise.
86282 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86283 * sysdeps/i386/fpu/sincos32.c: Likewise.
86284
86285 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86286 Define.
86287 (libc_feupdateenv_53bit): Define.
86288 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86289 Define.
86290 (libc_feupdateenv_53bit): Define.
86291
86292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86293 53 bit (without extend i386 double precision).
86294
86295 * math/libm-test.inc (sincos_test): Add tests for large input.
86296 (sin): Likewise.
86297 (cos): Likewise.
86298
86299 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86300
86301 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86302
86303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86304
86305 2012-03-15 David S. Miller <davem@davemloft.net>
86306
86307 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86308 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86309 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86310 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86323 file.
86324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86326 file.
86327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86329 file.
86330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86332 file.
86333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86335 fmin/fmax sysdep routines.
86336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86337
86338 2012-03-14 David S. Miller <davem@davemloft.net>
86339
86340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86347 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86362 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86366 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86367 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86368 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86369 routines.
86370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86371 file.
86372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86374 file.
86375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86377 file.
86378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86380 file.
86381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86383 file.
86384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86386 file.
86387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86388 file.
86389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86390 file.
86391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86392 file.
86393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86394 New file.
86395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86396 file.
86397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86398 file.
86399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86401 file.
86402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86404 file.
86405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86407 file.
86408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86410 VIS3 routines.
86411
86412 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86413 New file.
86414
86415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86416
86417 * sysdeps/sparc/configure.in: New file.
86418 * sysdeps/sparc/configure: Generate.
86419 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86420 * configure: Regenerate.
86421 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86422 * config.make.in (have-as-vis3): New.
86423 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86424 available use -Av9d instead of -Av9a.
86425 * sysdeps/sparc/sparc64/Makefile: Likewise.
86426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86428 New file.
86429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86430 file.
86431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86432 New file.
86433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86434 file.
86435 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86437 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86438 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86440
86441 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86442 fzeros/fnegs to load 0x80000000 into a float register instead of
86443 using the stack.
86444 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86445
86446 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86447
86448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86449 bits/syscall.h.
86450 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86451 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86452 ($(inst_includedir)/bits/syscall.h): Remove rule.
86453 ($(objpfx)bits/syscall.d): Include instead of
86454 $(objpfx)syscall-list.d.
86455 (generated): Change syscall-list.h and syscall-list.d to
86456 bits/syscall.h and bits/syscall.d.
86457
86458 2012-03-14 Roland McGrath <roland@hack.frob.com>
86459
86460 [BZ #13846]
86461 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86462
86463 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86464
86465 [BZ #13841]
86466 * math/s_csqrt.c: Include <float.h>.
86467 (__csqrt): Scale large or subnormal inputs.
86468 * math/s_csqrtf.c: Likewise.
86469 * math/s_csqrtl.c: Likewise.
86470 * math/libm-test.inc (csqrt_test): Add more tests.
86471 * sysdeps/i386/fpu/libm-test-ulps: Update.
86472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86473
86474 [BZ #13840]
86475 * math/libm-test.inc (hypot_test): Add more tests.
86476
86477 2012-03-13 David S. Miller <davem@davemloft.net>
86478
86479 [BZ #13840]
86480 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86481 double-precision for the calculation instead of scaling.
86482
86483 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86484
86485 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86486 manipulate bits before adding and subtracting TWO52[sx].
86487 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86489 Likewise.
86490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86491
86492 2012-03-13 David S. Miller <davem@davemloft.net>
86493
86494 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86495 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86497 rtld-global-offsets.h
86498 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86499
86500 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86501 large parameters.
86502
86503 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86504
86505 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86506 'err' in the ifdef scope in which it is actually used.
86507
86508 * nss/nss_db/db-init.c: Include string.h
86509
86510 2012-03-12 David S. Miller <davem@davemloft.net>
86511
86512 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86513 masking out of the most significant byte of random value used.
86514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86515 Fix coding style in previous change.
86516
86517 * sysdeps/unix/sysv/linux/kernel-features.h
86518 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86519 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86520 expression.
86521 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86522 later.
86523
86524 2012-03-11 David S. Miller <davem@davemloft.net>
86525
86526 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86527 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86528 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86529 for 'resultvar' otherwise things get truncated on 64-bit.
86530
86531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86532 Fix masking out of the most significant byte of random value used.
86533
86534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86535
86536 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86537
86538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86539
86540 2012-03-09 David S. Miller <davem@davemloft.net>
86541
86542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86543 variables with appropriate CPP guards.
86544 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86545 from the frame pointer, not the stack pointer. Correct layout
86546 comments. Fix test on resulting framesize and the management of
86547 the outregs buffer for pltexit. Preserve floating point return
86548 values across _dl_call_pltexit call.
86549 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86550 framesize and the management of the outregs buffer for pltexit.
86551 Preserve floating point return values across _dl_call_pltexit
86552 call.
86553 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86554 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86555 (la_sparc64_gnu_pltexit): New functions.
86556 (print_exit): Fix format string for return register value.
86557
86558 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86559
86560 * sunrpc/Makefile (others): Add rpcgen.
86561 ($(objpfx)rpcgen): Remove special build rule and dependency on
86562 libc.
86563 * sunrpc/rpcgen.c: New file.
86564
86565 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86566
86567 [BZ #13673]
86568 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86569 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86570 * sysdeps/i386/crti.S: Likewise.
86571 * sysdeps/i386/crtn.S: Likewise.
86572 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86573 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86574 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86575 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86576 * sysdeps/sh/crti.S: Likewise.
86577 * sysdeps/sh/crtn.S: Likewise.
86578 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86579
86580 [BZ #13673]
86581 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86582 with URL.
86583 * locale/programs/locfile-kw.gperf: Likewise.
86584 * locale/programs/charmap-kw.h: Regenerated.
86585 * locale/programs/locfile-kw.h: Likewise.
86586
86587 [BZ #13673]
86588 * intl/plural.y: Replace FSF snail mail address with URL.
86589 * intl/plural.c: Regenerated.
86590
86591 2012-03-09 Richard Henderson <rth@twiddle.net>
86592
86593 * include/math_private.h: Remove file.
86594 * math/math_private.h: Move file ...
86595 * sysdeps/generic/math_private.h: ... here.
86596
86597 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86598 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86599 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86600
86601 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86602 and <math_private.h>.
86603 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86604 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86605 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86606 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86607 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86608 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86609 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86614 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86615 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86616 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86617 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86618 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86622 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86624 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86625 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86626 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86627 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86628 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86629 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86630 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86632 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86633 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86634 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86635 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86636 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86637 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86638 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86639 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86640 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86641 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86643 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86644 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86645 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86646 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86647 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86648 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86649 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86650 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86651 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86652 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86653 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86654 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86655 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86656 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86657 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86659 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86660 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86661 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86662 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86663 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86664 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86666 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86667 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86668 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86669 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86670 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86671 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86672 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86673 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86674 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86676 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86677 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86679 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86682 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86683 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86684 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86686 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86687 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86688 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86690 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86691 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86692 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86693 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86694 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86695 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86696 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86697 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86698 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86699 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86700 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86701 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86702 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86703 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86704 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86705 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86706 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86707 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86708 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86709 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86710 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86711 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86712 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86713 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86714 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86715 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86716 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86717 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86719 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86720 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86721 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86722 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86723 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86724 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86725 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86726 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86727 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86728 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86729 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86730 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86731 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86732 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86733 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86734 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86735 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86736 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86737 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86738 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86739 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86740 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86741 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86742 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86743 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86744 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86745 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86746 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86747 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86748 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86749 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86750 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86751 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86752 * sysdeps/ieee754/k_standard.c: Likewise.
86753 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86754 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86755 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86756 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86757 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86758 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86759 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86760 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86761 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86762 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86763 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86764 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86765 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86766 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86767 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86768 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86769 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86770 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86771 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86772 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86773 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86774 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86775 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86776 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86777 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86778 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86779 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86780 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86781 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86782 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86783 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86784 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86785 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86786 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86787 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86788 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86789 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86790 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86791 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86792 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86793 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86794 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86795 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86796 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86797 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86798 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86799 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86800 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86801 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86802 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86803 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86804 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86805 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86806 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86808 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86809 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86810 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86811 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86812 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86813 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86814 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86815 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86816 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86817 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86818 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86819 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86820 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86821 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86825 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86826 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86829 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86830 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86831 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86832 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86833 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86834 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86835 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86837 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86838 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86840 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86841 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86843 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86844 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86845 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86846 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86847 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86848 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86849 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86850 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86851 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86852 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86854 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86855 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86856 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86857 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86858 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86859 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86860 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86861 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86862 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86863 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86864 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86865 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86866 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86867 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86868 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86869 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86870 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86871 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86872 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86873 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86874 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86875 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86876 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86877 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86878 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86879 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86880 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86881 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86882 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86883 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86884 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86885 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86886 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86887 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86888 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86889 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86890 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86891 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86892 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86893 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86894 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86895 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86896 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86897 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86898 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86899 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86900 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86901 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86902 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86903 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86904 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86905 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86906 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86907 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86908 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86909 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86910 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86911 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86912 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86913 * sysdeps/ieee754/s_lib_version.c: Likewise.
86914 * sysdeps/ieee754/s_matherr.c: Likewise.
86915 * sysdeps/ieee754/s_signgam.c: Likewise.
86916 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86917 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86918 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86919 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86920 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86921 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86922 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86923 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86924 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86925 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86926 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86927 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86928 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86929 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86930 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86931 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86933 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86934 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86936 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86937
86938 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86939
86940 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86941 * sunrpc/rpc_main.c: Likewise.
86942 * sunrpc/rpc_svcout.c: Likewise.
86943
86944 2012-03-09 David S. Miller <davem@davemloft.net>
86945
86946 * include/math_private.h: New file.
86947
86948 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86949
86950 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86951 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86952 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86953 from <bits/socket_type.h>.
86954 (enum __socket_type): Don't define here.
86955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86957 bits/socket_type.h.
86958
86959 [BZ #13566]
86960 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86961 checking __USE_GNU.
86962
86963 * Makerules ($(inst_includedir)/%.h): New rule.
86964 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86965 (install-others): Remove variable setting.
86966 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86967
86968 2012-03-08 Richard Henderson <rth@twiddle.net>
86969
86970 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86971 from macro to inline function; merge with the
86972 !__LIBC_INTERNAL_MATH_INLINES version.
86973 (__ieee754_sqrtf): Likewise.
86974
86975 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86976 to inline function.
86977 (__rintf, __floor, __floorf): Likewise.
86978
86979 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86980 macro to inline function.
86981 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86982
86983 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86984 not <math/math_private.h>.
86985
86986 2012-03-08 David S. Miller <davem@davemloft.net>
86987
86988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86989 copyright year.
86990 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86991
86992 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
86993
86994 * resolv/gai_misc.c (handle_requests): Fix struct timespec
86995 normalization.
86996 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86997 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86998
86999 2012-03-08 Ulrich Drepper <drepper@gmail.com>
87000
87001 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87002 be defined individually, they must be defined as a block. Define
87003 S for printing a string instead of hidint the different by using a
87004 macro for adding the 'l'.
87005 * stdio-common/tst-fphex-wide.c: Adjust.
87006
87007 2012-03-07 Marek Polacek <polacek@redhat.com>
87008
87009 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87010
87011 2012-03-08 Marek Polacek <polacek@redhat.com>
87012
87013 [BZ #13806]
87014 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87015 * stdio-common/tst-fphex.c: Define a few macros to make the
87016 test reusable. Use them.
87017 * stdio-common/tst-fphex-wide.c: New file.
87018
87019 2012-03-08 Joseph Myers <joseph@codesourcery.com>
87020
87021 [BZ #6911]
87022 * manual/macros.texi (gnusystems): New macro.
87023 (nongnusystems): Likewise.
87024 (gnulinuxhurdsystems): Likewise.
87025 (gnuhurdsystems): Likewise..
87026 (gnulinuxsystems): Likewise.
87027 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87028 variants of the GNU system, not "GNU system".
87029 * manual/conf.texi: Likewise.
87030 * manual/errno.texi: Likewise. Update example of errno macro
87031 expansion.
87032 * manual/filesys.texi: Likewise.
87033 (getumask): Document as specific to GNU/Hurd.
87034 * manual/install.texi: Likewise. Reword some references to
87035 GNU/Linux.
87036 * manual/intro.texi: Likewise.
87037 * manual/io.texi: Likewise.
87038 (File Name Portability): Detail which constraints are inapplicable
87039 to all GNU systems and which are only inapplicable to GNU/Hurd.
87040 * manual/job.texi: Likewise.
87041 * manual/llio.texi: Likewise.
87042 (O_NOCTTY): Document as present on GNU/Linux.
87043 * manual/maint.texi: Likewise.
87044 * manual/memory.texi: Likewise.
87045 * manual/pattern.texi: Likewise.
87046 * manual/pipe.texi: Likewise.
87047 * manual/process.texi: Likewise.
87048 * manual/resource.texi: Likewise.
87049 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87050 child on GNU/Hurd.
87051 * manual/setjmp.texi: Likewise.
87052 * manual/signal.texi: Likewise.
87053 * manual/startup.texi: Likewise.
87054 * manual/stdio.texi: Likewise.
87055 * manual/terminal.texi: Likewise.
87056 (ONLCR): Document as POSIX.
87057 (OXTABS): Document availability on GNU/Linux as XTABS.
87058 (ONOEOT): Document availability separately from other bits.
87059 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87060 * manual/time.texi: Likewise.
87061 * manual/users.texi: Likewise.
87062 * INSTALL: Regenerated.
87063 * sysdeps/gnu/errlist.c: Regenerated.
87064
87065 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87066 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87067 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87068 puts.
87069 * configure: Regenerated.
87070
87071 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87072
87073 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87074 default includes instead of AC_HEADER_CHECK.
87075 * sysdeps/i386/configure: Regenerated.
87076
87077 [BZ #10716]
87078 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87079 * math/s_cacoshf.c (__cacoshf): Likewise.
87080 * math/s_cacoshl.c (__cacoshl): Likewise.
87081 * math/s_casinh.c (__casinh): Set signs of result from argument.
87082 * math/s_casinhf.c (__casinhf): Likewise.
87083 * math/s_casinhl.c (__casinhl): Likewise.
87084 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87085 (casinh_test): Add more tests.
87086 * sysdeps/i386/fpu/libm-test-ulps: Update.
87087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87088
87089 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87090
87091 * po/zh_TW.po: Update from translation team.
87092
87093 * login/Makefile (distribute): Remove variable.
87094 * catgets/Makefile: Likewise.
87095 * mach/Makefile: Likewise.
87096 * malloc/Makefile: Likewise.
87097 * misc/Makefile: Likewise.
87098 * iconv/Makefile: Likewise.
87099 * nscd/Makefile: Likewise.
87100 * hurd/Makefile: Likewise.
87101 * manual/Makefile: Likewise.
87102 * locale/Makefile: Likewise.
87103 * intl/Makefile: Likewise.
87104 * conform/Makefile: Likewise.
87105 * nss/Makefile: Likewise.
87106 * time/Makefile: Likewise.
87107 * soft-fp/Makefile: Likewise.
87108 * dirent/Makefile: Likewise.
87109 * gmon/Makefile: Likewise.
87110 * po/Makefile: Likewise.
87111 * rt/Makefile: Likewise.
87112 * socket/Makefile: Likewise.
87113 * math/Makefile: Likewise.
87114 * signal/Makefile: Likewise.
87115 * debug/Makefile: Likewise.
87116 * elf/Makefile: Likewise.
87117 * timezone/Makefile: Likewise.
87118 * stdlib/Makefile: Likewise.
87119 * iconvdata/Makefile: Likewise.
87120 * sunrpc/Makefile: Likewise.
87121 * io/Makefile: Likewise.
87122 * argp/Makefile: Likewise.
87123 * inet/Makefile: Likewise.
87124 * hesiod/Makefile: Likewise.
87125 * grp/Makefile: Likewise.
87126 * csu/Makefile: Likewise.
87127 * wctype/Makefile: Likewise.
87128 * crypt/Makefile: Likewise.
87129 * libio/Makefile: Likewise.
87130 * string/Makefile: Likewise.
87131 * nis/Makefile: Likewise.
87132 * resolv/Makefile: Likewise.
87133 * stdio-common/Makefile: Likewise.
87134 * wcsmbs/Makefile: Likewise.
87135 * dlfcn/Makefile: Likewise.
87136 * posix/Makefile: Likewise.
87137
87138 [BZ #6959]
87139 * timezone/Makefile: Don't install timezone files, just the programs
87140 and scripts.
87141
87142 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87143
87144 * nss/databases.def: Add missing gshadow entry.
87145
87146 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87147
87148 2012-03-06 Marek Polacek <polacek@redhat.com>
87149
87150 [BZ #13726]
87151 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87152 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87153 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87154 * stdio-common/tst-long-dbl-fphex.c: New file.
87155
87156 2012-03-06 David S. Miller <davem@davemloft.net>
87157
87158 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87159 (set_obp_int): New function.
87160 (get_obp_int): New function.
87161 (__get_clockfreq_via_dev_openprom): Likewise.
87162 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87163 Avoid unused variable warnings on 'val' and use builtin_expect.
87164 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87165 __builtin_expect.
87166 (INLINE_CLONE_SYSCALL): Likewise.
87167
87168 2012-03-05 David S. Miller <davem@davemloft.net>
87169
87170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87171
87172 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87173
87174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87175
87176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87177 only for |x| >= 40.
87178 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87179
87180 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87181
87182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87183 Replace gettimeofday with __vdso_gettimeofday.
87184
87185 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87186 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87187 __vdso_clock_gettime and __vdso_getcpu.
87188
87189 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87190 time with __vdso_time.
87191
87192 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87193
87194 * manual/lang.texi (size_t): Note types to which size_t may be
87195 equivalent with the GNU C Library, but do not describe when
87196 differences between them are significant.
87197
87198 2012-03-05 Andreas Jaeger <aj@suse.de>
87199
87200 * sysdeps/i386/fpu/libm-test-ulps: Update.
87201
87202 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87203
87204 [BZ #3976]
87205 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87206 (__ieee754_pow): Save and restore rounding mode and use
87207 round-to-nearest for main computations.
87208 * math/libm-test.inc (pow_test_tonearest): New function.
87209 (pow_test_towardzero): Likewise.
87210 (pow_test_downward): Likewise.
87211 (pow_test_upward): Likewise.
87212 (main): Call the new functions.
87213 * sysdeps/i386/fpu/libm-test-ulps: Update.
87214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87215
87216 [BZ #3976]
87217 * math/libm-test.inc (cosh_test_tonearest): New function.
87218 (cosh_test_towardzero): Likewise.
87219 (cosh_test_downward): Likewise.
87220 (cosh_test_upward): Likewise.
87221 (sinh_test_tonearest): Likewise.
87222 (sinh_test_towardzero): Likewise.
87223 (sinh_test_downward): Likewise.
87224 (sinh_test_upward): Likewise.
87225 (main): Call the new functions.
87226 * sysdeps/i386/fpu/libm-test-ulps: Update.
87227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87228
87229 2012-03-05 Tom de Vries <tom@codesourcery.com>
87230
87231 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87232 default stack guard is set in last bytes.
87233 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87234
87235 2012-03-05 Kees Cook <keescook@chromium.org>
87236
87237 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87238
87239 [BZ #13656]
87240 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87241 possibly allocate from heap instead of stack.
87242 * stdio-common/bug-vfprintf-nargs.c: New file.
87243 * stdio-common/Makefile (tests): Add nargs overflow test.
87244
87245 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87246
87247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87248
87249 2012-03-03 Marek Polacek <polacek@redhat.com>
87250
87251 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87252 * math/math_private.h: Likewise.
87253 * stdlib/tst-strtod.c: Likewise.
87254 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87255 * sysdeps/x86_64/bits/atomic.h: Likewise.
87256
87257 2012-03-02 David S. Miller <davem@davemloft.net>
87258
87259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87263 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87264 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87265 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87266 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87267
87268 2012-03-02 Roland McGrath <roland@hack.frob.com>
87269
87270 [BZ #13792]
87271 * manual/examples/README: New file, says the example source files
87272 can be used under GPL>=2.
87273 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87274 line containing just "*/".
87275 * manual/examples/add.c: Add copyright header (GPL>=2).
87276 * manual/examples/argp-ex1.c: Likewise.
87277 * manual/examples/argp-ex2.c: Likewise.
87278 * manual/examples/argp-ex3.c: Likewise.
87279 * manual/examples/argp-ex4.c: Likewise.
87280 * manual/examples/atexit.c: Likewise.
87281 * manual/examples/db.c: Likewise.
87282 * manual/examples/dir.c: Likewise.
87283 * manual/examples/dir2.c: Likewise.
87284 * manual/examples/execinfo.c: Likewise.
87285 * manual/examples/filecli.c: Likewise.
87286 * manual/examples/filesrv.c: Likewise.
87287 * manual/examples/fmtmsgexpl.c: Likewise.
87288 * manual/examples/genpass.c: Likewise.
87289 * manual/examples/inetcli.c: Likewise.
87290 * manual/examples/inetsrv.c: Likewise.
87291 * manual/examples/isockad.c: Likewise.
87292 * manual/examples/longopt.c: Likewise.
87293 * manual/examples/memopen.c: Likewise.
87294 * manual/examples/memstrm.c: Likewise.
87295 * manual/examples/mkfsock.c: Likewise.
87296 * manual/examples/mkisock.c: Likewise.
87297 * manual/examples/mygetpass.c: Likewise.
87298 * manual/examples/pipe.c: Likewise.
87299 * manual/examples/popen.c: Likewise.
87300 * manual/examples/rprintf.c: Likewise.
87301 * manual/examples/search.c: Likewise.
87302 * manual/examples/select.c: Likewise.
87303 * manual/examples/setjmp.c: Likewise.
87304 * manual/examples/sigh1.c: Likewise.
87305 * manual/examples/sigusr.c: Likewise.
87306 * manual/examples/stpcpy.c: Likewise.
87307 * manual/examples/strdupa.c: Likewise.
87308 * manual/examples/strftim.c: Likewise.
87309 * manual/examples/strncat.c: Likewise.
87310 * manual/examples/subopt.c: Likewise.
87311 * manual/examples/swapcontext.c: Likewise.
87312 * manual/examples/termios.c: Likewise.
87313 * manual/examples/testopt.c: Likewise.
87314 * manual/examples/testpass.c: Likewise.
87315 * manual/examples/timeval_subtract.c: Likewise.
87316
87317 [BZ #13792]
87318 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87319 function to ...
87320 * manual/timeval_subtract.c.texi: ... here, new file.
87321
87322 2012-03-02 David S. Miller <davem@davemloft.net>
87323
87324 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87325
87326 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87327
87328 [BZ #3976]
87329 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87330 (__sin): Save and restore rounding mode and use round-to-nearest
87331 for all computations.
87332 (__cos): Save and restore rounding mode and use round-to-nearest
87333 for all computations.
87334 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87335 <fenv.h>.
87336 (tan): Save and restore rounding mode and use round-to-nearest for
87337 all computations.
87338 * math/libm-test.inc (cos_test_tonearest): New function.
87339 (cos_test_towardzero): Likewise.
87340 (cos_test_downward): Likewise.
87341 (cos_test_upward): Likewise.
87342 (sin_test_tonearest): Likewise.
87343 (sin_test_towardzero): Likewise.
87344 (sin_test_downward): Likewise.
87345 (sin_test_upward): Likewise.
87346 (tan_test_tonearest): Likewise.
87347 (tan_test_towardzero): Likewise.
87348 (tan_test_downward): Likewise.
87349 (tan_test_upward): Likewise.
87350 (main): Call the new functions.
87351 * sysdeps/i386/fpu/libm-test-ulps: Update.
87352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87353
87354 [BZ #10135]
87355 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87356 small n, then large n, before computing and testing k+n.
87357 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87359 Likewise.
87360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87361 Likewise.
87362 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87363 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87364 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87365 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87366 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87367 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87368 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87370 * math/libm-test.inc (scalbn_test): Add more tests.
87371 (scalbln_test): Likewise.
87372
87373 * manual/filesys.texi (mode_t): Describe constraints on size and
87374 signedness, not exact equivalence to a particular type.
87375 (ino_t): Likewise.
87376 (ino64_t): Likewise.
87377 (dev_t): Likewise.
87378 (nlink_t): Likewise.
87379 (blkcnt_t): Likewise.
87380 (blkcnt64_t): Likewise.
87381 * manual/llio.texi (off_t): Likewise.
87382
87383 [BZ #3976]
87384 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87385 (__ieee754_exp): Save and restore rounding mode and use
87386 round-to-nearest for all computations.
87387 * math/libm-test.inc (exp_test_tonearest): New function.
87388 (exp_test_towardzero): Likewise.
87389 (exp_test_downward): Likewise.
87390 (exp_test_upward): Likewise.
87391 (main): Call the new functions.
87392 * sysdeps/i386/fpu/libm-test-ulps: Update.
87393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87394
87395 2012-03-01 Chris Demetriou <cgd@google.com>
87396
87397 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87398 have predictable order.
87399
87400 2012-03-01 David S. Miller <davem@davemloft.net>
87401
87402 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87403
87404 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87405 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87406 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87407 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87408
87409 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87410 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87411 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87413 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87414 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87415 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87416 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87417 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87418
87419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87420
87421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87422 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87423 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87424
87425 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87426 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87427 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87428 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87429 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87430 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87431 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87432 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87433 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87434 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87435 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87436 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87438 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87439 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87440 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87441 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87442 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87443 * sysdeps/sparc/elf/configure: Regenerated.
87444
87445 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87446
87447 * configure.in (AS, LD): Require binutils 2.20 or later.
87448 * configure: Regenerated.
87449 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87450 as required minimum version.
87451 * INSTALL: Regenerated.
87452
87453 [BZ #2541]
87454 [BZ #4108]
87455 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87456 before squaring exponent.
87457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87458 bottom long double and 27 bits of top long double before squaring
87459 exponent.
87460 * math/libm-test.inc (erfc_test): Add more tests.
87461 * sysdeps/i386/fpu/libm-test-ulps: Update.
87462 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87464
87465 2012-03-01 Kai Tietz <ktietz@redhat.com>
87466
87467 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87468 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87469 containing bit-fields.
87470 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87471 * soft-fp/single.h (_FP_UNION_S): Likewise.
87472 * soft-fp/double.h (_FP_UNION_D): Likewise.
87473
87474 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87475
87476 [BZ #13786]
87477 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87478 not include ../strcmp.S.
87479 [USE_AS_STRNCASECMP_L]: Likewise.
87480 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87481 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87482 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87483 (__strncasecmp_l_ia32): Define as alias to
87484 __strncasecmp_l_nonascii.
87485
87486 [BZ #5794]
87487 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87488 * sysdeps/i386/fpu/libm-test-ulps: Update.
87489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87490
87491 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87493
87494 2012-02-29 Jeff Law <law@redhat.com>
87495
87496 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87497 out of bounds read.
87498
87499 2012-02-29 Marek Polacek <polacek@redhat.com>
87500
87501 [BZ #13706]
87502 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87503 * elf/Makefile: Add rules to run tst-unused-dep.out.
87504
87505 2012-02-28 David S. Miller <davem@davemloft.net>
87506
87507 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87508 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87509 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87510 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87511 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87512 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87513
87514 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87515
87516 * math/libm-test.inc (llround_test): Move one test from
87517 lround_test. Use TEST_f_L in moved test.
87518 (lround_test): Move misplaced test to llround_test. Add testcase
87519 from bug 2561.
87520
87521 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87522
87523 * sysdeps/x86_64/fpu/e_expf.S: New file.
87524 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87525
87526 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87527
87528 [BZ #13637]
87529 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87530 of remain_len that may cause incomplete multi-byte character and
87531 false match.
87532 * posix/bug-regex33.c: New file.
87533 * posix/Makefile (tests): Add bug-regex33.
87534
87535 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87536
87537 * manual/macros.texi: New file.
87538 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87539 * manual/libc.texinfo: Include macros.texi.
87540 * manual/creatute.texi: Likewise.
87541 * manual/install.texi: Likewise.
87542 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87543 @glibcadj{} in references to the GNU C Library.
87544 * manual/charset.texi: Likewise.
87545 * manual/conf.texi: Likewise.
87546 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87547 when not using those macros.
87548 * manual/creature.texi: Likewise.
87549 * manual/crypt.texi: Likewise.
87550 * manual/errno.texi: Likewise.
87551 * manual/filesys.texi: Likewise.
87552 * manual/header.texi: Likewise.
87553 * manual/install.texi: Likewise.
87554 * manual/intro.texi: Likewise.
87555 * manual/io.texi: Likewise.
87556 * manual/job.texi: Likewise.
87557 * manual/lang.texi: Likewise.
87558 * manual/libc.texiinfo: Likewise.
87559 * manual/llio.texi: Likewise.
87560 * manual/locale.texi: Likewise.
87561 * manual/maint.texi: Likewise.
87562 * manual/math.texi: Likewise.
87563 * manual/memory.texi: Likewise.
87564 * manual/message.texi: Likewise.
87565 * manual/nss.texi: Likewise.
87566 * manual/pattern.texi: Likewise.
87567 * manual/process.texi: Likewise.
87568 * manual/resource.texi: Likewise.
87569 * manual/search.texi: Likewise.
87570 * manual/setjmp.texi: Likewise.
87571 * manual/signal.texi: Likewise.
87572 * manual/socket.texi: Likewise.
87573 * manual/startup.texi: Likewise.
87574 * manual/stdio.texi: Likewise.
87575 * manual/string.texi: Likewise.
87576 * manual/sysinfo.texi: Likewise.
87577 * manual/syslog.texi: Likewise.
87578 * manual/terminal.texi: Likewise.
87579 * manual/time.texi: Likewise.
87580 * manual/users.texi: Likewise.
87581 * INSTALL: Regenerated.
87582 * NOTES: Regenerated.
87583 * sysdeps/gnu/errlist.c: Regenerated.
87584
87585 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87586
87587 * include/dirent.h: Include <dirstream.h> before
87588 <dirent/dirent.h>.
87589
87590 2012-02-28 David S. Miller <davem@davemloft.net>
87591
87592 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87593 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87594 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87595 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87596
87597 2012-02-27 David S. Miller <davem@davemloft.net>
87598
87599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87601 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87602 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87603
87604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87605 frame pointer instead of stack pointer relative arg slot.
87606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87607 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87608 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87609
87610 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87611
87612 [BZ #3992]
87613 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87614
87615 2012-02-27 David S. Miller <davem@davemloft.net>
87616
87617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87623 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87624 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87625
87626 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87627
87628 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87629 later. Allow versions 5-9.
87630 * configure: Regenerated.
87631 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87632 required minimum version and 4.6 as recommended version. Do not
87633 mention bugs in GCC 2.7 and 2.8.
87634 * INSTALL: Regenerated.
87635
87636 2012-02-27 David S. Miller <davem@davemloft.net>
87637
87638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87642 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87643 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87644 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87645 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87646
87647 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87648 manipulate bits before adding and subtracting TWO112[sx].
87649 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87650
87651 2012-02-27 Roland McGrath <roland@hack.frob.com>
87652
87653 [BZ #13775]
87654 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87655 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87656 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87657 being in POSIX, because they are in 1003.1-2008.
87658
87659 * rt/tst-aio.c: Include <fcntl.h>.
87660 * rt/tst-aio7.c: Likewise.
87661 * rt/tst-aio64.c: Likewise.
87662
87663 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87664
87665 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87666
87667 * manual/install.texi (--with-headers): Describe headers as
87668 interface headers, not private headers.
87669 (Specific advice for GNU/Linux systems): Describe use of headers
87670 from "make headers_install", not private headers from older
87671 kernels.
87672 * INSTALL: Regenerated.
87673 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87674 Change to 2.6.19.
87675 * sysdeps/unix/sysv/linux/configure: Regenerated.
87676
87677 * manual/llio.texi (fclean): Remove documentation.
87678
87679 * manual/Makefile (libc-texi-generated): New variable. Include
87680 version.texi.
87681 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87682 $(libc-texi-generated), not duplicated list of files.
87683 (version.texi, stamp-version): New rules.
87684 (realclean): Remove $(libc-texi-generated), not individual files
87685 from that list. Do not remove dir-add.texinfo.
87686 * manual/libc.texinfo: Comment out uses of edition numbers and
87687 references to printed manual. Remove last-updated dates.
87688 (EDITION): Comment out.
87689 (ISBN): Likewise.
87690 (VERSION, UPDATED): Remove.
87691 (version.texi): Include.
87692
87693 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87694
87695 * sysdeps/posix/spawni.c: Include <signal.h>.
87696 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87697 * sysdeps/pthread/aio_fsync.c: Likewise.
87698
87699 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87700
87701 * conform/Makefile (tests): Run only when not cross-compiling and
87702 when fast-check is not defined.
87703
87704 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87705 * conform/data/limits.h-data: Fixes for POSIX2008.
87706 * conform/run-conformtest.sh: Run all tests.
87707 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87708 headers.
87709 * include/bits/dlfcn.h: Likewise.
87710 * include/langinfo.h: Likewise.
87711 * include/monetary.h: Likewise.
87712 * include/sys/poll.h: Likewise.
87713
87714 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87715 for __USE_GNU.
87716 * posix/spawn.h: Define __need_sigset_t.
87717 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87718 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87719 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87720 to get sigevent_t only.
87721 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87722 only for __USE_GNU.
87723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87724 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87725 process_vm_writev only for __USE_GNU.
87726 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87727
87728 * conform/Makefile: For now ignore errors from run-conformtest.
87729 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87730 POSIX to avoid namespace pollution. Don't prepend headers.
87731 * conform/data/aio.h-data: Fixes for POSIX testing.
87732 * conform/data/fcntl.h-data: Likewise.
87733 * conform/data/glob.h-data: Likewise.
87734 * conform/data/grp.h-data: Likewise.
87735 * conform/data/pthread.h-data: Likewise.
87736 * conform/data/pwd.h-data: Likewise.
87737 * conform/data/signal.h-data: Likewise.
87738 * conform/data/spawn.h-data: Likewise.
87739 * conform/data/stdio.h-data: Likewise.
87740 * conform/data/stdlib.h-data: Likewise.
87741 * conform/data/stropts.h-data: Likewise.
87742 * conform/data/sys/mman.h-data: Likewise.
87743 * conform/data/sys/stat.h-data: Likewise.
87744 * conform/data/sys/types.h-data: Likewise.
87745 * conform/data/sys/wait.h-data: Likewise.
87746 * conform/data/time.h-data: Likewise.
87747 * conform/data/unistd.h-data: Likewise.
87748 * conform/data/utime.h-data: Likewise.
87749
87750 * io/sys/stat.h: fchmod was always in POSIX.
87751 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87752 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87753 * rt/aio.h: Define __need_timespec before including <time.h>.
87754 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87755 struct. Add forward declaration of pthread_attr_t and use it in
87756 sigevent.
87757 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87758 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87759 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87760 always remove CLK_TCK definition.
87761
87762 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87763
87764 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87765
87766 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87767
87768 * conform/run-conformtest.sh: New file.
87769 * conform/Makefile: Run run-conformtest for tests.
87770 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87771 support.
87772
87773 * conform/data/uchar.h-data: New file.
87774 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87775 * conform/data/arpa/inet.h-data: Likewise.
87776 * conform/data/assert.h-data: Likewise.
87777 * conform/data/complex.h-data: Likewise.
87778 * conform/data/cpio.h-data: Likewise.
87779 * conform/data/ctype.h-data: Likewise.
87780 * conform/data/dirent.h-data: Likewise.
87781 * conform/data/dlfcn.h-data: Likewise.
87782 * conform/data/errno.h-data: Likewise.
87783 * conform/data/fcntl.h-data: Likewise.
87784 * conform/data/float.h-data: Likewise.
87785 * conform/data/fmtmsg.h-data: Likewise.
87786 * conform/data/fnmatch.h-data: Likewise.
87787 * conform/data/ftw.h-data: Likewise.
87788 * conform/data/glob.h-data: Likewise.
87789 * conform/data/grp.h-data: Likewise.
87790 * conform/data/iconv.h-data: Likewise.
87791 * conform/data/inttypes.h-data: Likewise.
87792 * conform/data/langinfo.h-data: Likewise.
87793 * conform/data/libgen.h-data: Likewise.
87794 * conform/data/limits.h-data: Likewise.
87795 * conform/data/locale.h-data: Likewise.
87796 * conform/data/math.h-data: Likewise.
87797 * conform/data/monetary.h-data: Likewise.
87798 * conform/data/mqueue.h-data: Likewise.
87799 * conform/data/ndbm.h-data: Likewise.
87800 * conform/data/net/if.h-data: Likewise.
87801 * conform/data/netdb.h-data: Likewise.
87802 * conform/data/netinet/in.h-data: Likewise.
87803 * conform/data/nl_types.h-data: Likewise.
87804 * conform/data/poll.h-data: Likewise.
87805 * conform/data/pthread.h-data: Likewise.
87806 * conform/data/pwd.h-data: Likewise.
87807 * conform/data/regex.h-data: Likewise.
87808 * conform/data/sched.h-data: Likewise.
87809 * conform/data/search.h-data: Likewise.
87810 * conform/data/semaphore.h-data: Likewise.
87811 * conform/data/setjmp.h-data: Likewise.
87812 * conform/data/signal.h-data: Likewise.
87813 * conform/data/spawn.h-data: Likewise.
87814 * conform/data/stdarg.h-data: Likewise.
87815 * conform/data/stdio.h-data: Likewise.
87816 * conform/data/stdlib.h-data: Likewise.
87817 * conform/data/string.h-data: Likewise.
87818 * conform/data/strings.h-data: Likewise.
87819 * conform/data/stropts.h-data: Likewise.
87820 * conform/data/sys/ipc.h-data: Likewise.
87821 * conform/data/sys/mman.h-data: Likewise.
87822 * conform/data/sys/msg.h-data: Likewise.
87823 * conform/data/sys/resource.h-data: Likewise.
87824 * conform/data/sys/select.h-data: Likewise.
87825 * conform/data/sys/sem.h-data: Likewise.
87826 * conform/data/sys/shm.h-data: Likewise.
87827 * conform/data/sys/socket.h-data: Likewise.
87828 * conform/data/sys/stat.h-data: Likewise.
87829 * conform/data/sys/statvfs.h-data: Likewise.
87830 * conform/data/sys/time.h-data: Likewise.
87831 * conform/data/sys/timeb.h-data: Likewise.
87832 * conform/data/sys/times.h-data: Likewise.
87833 * conform/data/sys/types.h-data: Likewise.
87834 * conform/data/sys/uio.h-data: Likewise.
87835 * conform/data/sys/un.h-data: Likewise.
87836 * conform/data/sys/utsname.h-data: Likewise.
87837 * conform/data/sys/wait.h-data: Likewise.
87838 * conform/data/syslog.h-data: Likewise.
87839 * conform/data/tar.h-data: Likewise.
87840 * conform/data/termios.h-data: Likewise.
87841 * conform/data/utime.h-data: Likewise.
87842 * conform/data/utmpx.h-data: Likewise.
87843 * conform/data/varargs.h-data: Likewise.
87844 * conform/data/wchar.h-data: Likewise.
87845 * conform/data/wctype.h-data: Likewise.
87846 * conform/data/wordexp.h-data: Likewise.
87847
87848 * include/stropts.h: New file.
87849 * include/uchar.h: New file.
87850 * include/aio.h: Changes to allow conformtest.pl to use the headers.
87851 * include/assert.h: Likewise.
87852 * include/ctype.h: Likewise.
87853 * include/dirent.h: Likewise.
87854 * include/dlfcn.h: Likewise.
87855 * include/fcntl.h: Likewise.
87856 * include/fnmatch.h: Likewise.
87857 * include/glob.h: Likewise.
87858 * include/grp.h: Likewise.
87859 * include/libio.h: Likewise.
87860 * include/locale.h: Likewise.
87861 * include/math.h: Likewise.
87862 * include/net/if.h: Likewise.
87863 * include/netdb.h: Likewise.
87864 * include/netinet/in.h: Likewise.
87865 * include/pthread.h: Likewise.
87866 * include/pwd.h: Likewise.
87867 * include/regex.h: Likewise.
87868 * include/sched.h: Likewise.
87869 * include/search.h: Likewise.
87870 * include/setjmp.h: Likewise.
87871 * include/signal.h: Likewise.
87872 * include/stdio.h: Likewise.
87873 * include/stdlib.h: Likewise.
87874 * include/string.h: Likewise.
87875 * include/sys/cdefs.h: Likewise.
87876 * include/sys/mman.h: Likewise.
87877 * include/sys/msg.h: Likewise.
87878 * include/sys/resource.h: Likewise.
87879 * include/sys/select.h: Likewise.
87880 * include/sys/socket.h: Likewise.
87881 * include/sys/stat.h: Likewise.
87882 * include/sys/statvfs.h: Likewise.
87883 * include/sys/time.h: Likewise.
87884 * include/sys/times.h: Likewise.
87885 * include/sys/uio.h: Likewise.
87886 * include/sys/utsname.h: Likewise.
87887 * include/sys/wait.h: Likewise.
87888 * include/termios.h: Likewise.
87889 * include/time.h: Likewise.
87890 * include/ulimit.h: Likewise.
87891 * include/unistd.h: Likewise.
87892 * include/utime.h: Likewise.
87893 * include/wchar.h: Likewise.
87894 * include/wctype.h: Likewise.
87895 * include/wordexp.h: Likewise.
87896
87897 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87898
87899 * time/time.h: TIME_UTC must be a macro.
87900 Make timespec_get available for ISO C11 only as well.
87901
87902 2012-02-24 Ulrich Drepper <drepper@gmail.com>
87903
87904 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87905 Reported by Peng Haitao <penght@cn.fujitsu.com>.
87906
87907 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87908
87909 * configure.in: Use -o not -a in test for unsupported multi-arch.
87910
87911 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87912
87913 * manual/texinfo.tex: Update to version 2012-01-19.16.
87914
87915 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87916
87917 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87918
87919 2012-02-24 Roland McGrath <roland@hack.frob.com>
87920
87921 [BZ #13738]
87922 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87923 * manual/fdl-1.3.texi: New file.
87924 * manual/fdl-1.1.texi: File removed.
87925
87926 [BZ #13738]
87927 * manual/libc.texinfo (FDL_VERSION): New @set.
87928 Use it for mention of FDL in cover text.
87929 (Documentation License): Use it in @include file name.
87930
87931 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87932 Roland McGrath <roland@hack.frob.com>
87933
87934 [BZ #5461]
87935 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87936 (not LONG_LONG_MAX and LONG_LONG_MIN.
87937 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87938 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
87939 name.
87940 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87941
87942 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87943
87944 [BZ #2547]
87945 [BZ #11365]
87946 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87947 manipulate bits before adding and subtracting TWO23[sx].
87948 * math/libm-test.inc (nearbyint_test): Add more tests.
87949
87950 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87951
87952 [BZ #2548]
87953 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87954 bits before adding and subtracting TWO23[sx].
87955 * math/libm-test.inc (rint_test): Add more tests.
87956 (rint_test_tonearest): Likewise.
87957 (rint_test_towardzero): Likewise.
87958 (rint_test_downward): Likewise.
87959 (rint_test_upward: Likewise.
87960
87961 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87962
87963 [BZ #10110]
87964 * include/stdc-predef.h: New file. Extracted from features.h.
87965 * include/features.h: Include stdc-predef.h.
87966 * Makefile (headers): Add stdc-predef.h.
87967 * CONFORMANCE (Compiler limitations): Update.
87968
87969 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87970
87971 * manual/libc.texinfo (VERSION, UPDATED): Revert.
87972
87973 2012-02-21 David S. Miller <davem@davemloft.net>
87974
87975 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87976 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87977
87978 2012-02-20 David S. Miller <davem@davemloft.net>
87979
87980 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87981 using a normal save/restore sequence, rather than allocating a
87982 dummy stack frame just to store a frame pointer and restore.
87983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87984
87985 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87986
87987 * manual/install.texi: Fix stray word in line-wrapped comment.
87988
87989 2012-02-20 David S. Miller <davem@davemloft.net>
87990
87991 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87992 both binutils and gcc support GOTDATA.
87993
87994 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87995 "rd %pc" in the PIC register setup sequences.
87996
87997 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87998 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87999 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88000 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88001 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88003 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88004 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88005 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88006 (SYSCALL_ERROR_HANDLER): Likewise.
88007 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88008 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88010 (SYSCALL_ERROR_HANDLER): Likewise.
88011
88012 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88013 (HAVE_GCC_GOTDATA): New.
88014 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88015 relocation support in both binutils and gcc.
88016 * sysdeps/sparc/elf/configure: Regenerate.
88017
88018 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88019 * sysdeps/sparc/sparc32/elf/configure: Delete.
88020 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88021 * sysdeps/sparc/sparc64/elf/configure: Delete.
88022 * sysdeps/sparc/elf/configure.in: New file.
88023 * sysdeps/sparc/elf/configure: Generate.
88024
88025 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88026 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88027 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88028 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88029 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88030
88031 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88032
88033 * manual/install.texi: Do not mention specific glibc version
88034 numbers.
88035 * manual/libc.texinfo (VERSION, UPDATED): Update.
88036 (@copying): Use @copyright{} and range of years.
88037
88038 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88039
88040 [BZ #13695]
88041 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88042 [crti.S not in sysdirs] (generated): Do not append.
88043 [crti.S not in sysdirs] (omit-deps): Likewise.
88044 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88045 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88046 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88047 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88048 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88049 Likewise.
88050 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88051 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88052 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88053 * csu/defs.awk: Remove file.
88054 * sysdeps/generic/initfini.c: Likewise.
88055 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88056 variable.
88057 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88058 Likewise.
88059
88060 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88061
88062 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88063 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88064 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88065 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88066 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88067 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88068 <bits/epoll.h>.
88069 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88070 (__EPOLL_PACKED): Define to empty if not defined by
88071 <bits/epoll.h>.
88072 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88074 bits/epoll.h.
88075
88076 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88077
88078 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88079 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88080 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88081 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88082 <bits/timerfd.h>.
88083 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88085 bits/timerfd.h.
88086
88087 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88088
88089 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88090 in C locale.
88091 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88092 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88093 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88095
88096 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88097
88098 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88099 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88100
88101 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88102
88103 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88104 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88105 defined.
88106 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88107 Likewise.
88108 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88109 entry for 2.16.
88110
88111 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88112
88113 * math/w_acos.c: Use non-signaling floating-point comparisons.
88114 * math/w_acosf.c: Likewise.
88115 * math/w_acosh.c: Likewise.
88116 * math/w_acoshf.c: Likewise.
88117 * math/w_acoshl.c: Likewise.
88118 * math/w_acosl.c: Likewise.
88119 * math/w_asin.c: Likewise.
88120 * math/w_asinf.c: Likewise.
88121 * math/w_asinl.c: Likewise.
88122 * math/w_atanh.c: Likewise.
88123 * math/w_atanhf.c: Likewise.
88124 * math/w_atanhl.c: Likewise.
88125 * math/w_exp2.c: Likewise.
88126 * math/w_exp2f.c: Likewise.
88127 * math/w_exp2l.c: Likewise.
88128 * math/w_j0.c: Likewise.
88129 * math/w_j0f.c: Likewise.
88130 * math/w_j0l.c: Likewise.
88131 * math/w_j1.c: Likewise.
88132 * math/w_j1f.c: Likewise.
88133 * math/w_j1l.c: Likewise.
88134 * math/w_jn.c: Likewise.
88135 * math/w_jnf.c: Likewise.
88136 * math/w_log.c: Likewise.
88137 * math/w_log10.c: Likewise.
88138 * math/w_log10f.c: Likewise.
88139 * math/w_log10l.c: Likewise.
88140 * math/w_log2.c: Likewise.
88141 * math/w_log2f.c: Likewise.
88142 * math/w_log2l.c: Likewise.
88143 * math/w_logf.c: Likewise.
88144 * math/w_logl.c: Likewise.
88145 * math/w_sqrt.c: Likewise.
88146 * math/w_sqrtf.c: Likewise.
88147 * math/w_sqrtl.c: Likewise.
88148 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88149 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88150 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88151 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88152 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88153
88154 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88155
88156 [BZ #9739]
88157 * manual/string.texi (strnlen): Use correct parameter name in
88158 equivalent expression.
88159
88160 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88161
88162 [BZ #11174]
88163 * manual/users.texi (seteuid): Consistently use neweuid for
88164 argument name.
88165
88166 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88167
88168 [BZ #13704]
88169 * manual/nss.texi (Services in the NSS configuration): Correct
88170 list of services in example configuration file.
88171
88172 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88173
88174 [BZ #11322]
88175 * manual/arith.texi: Remove statements about negative zero
88176 behaving identically to zero.
88177
88178 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88179
88180 [BZ #5993]
88181 * manual/install.texi: Do not document upgrading from libc5.
88182
88183 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88184
88185 [BZ #4596]
88186 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88187
88188 2012-02-18 David S. Miller <davem@davemloft.net>
88189
88190 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88191 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88192 %o7 across the call.
88193 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88194 instead.
88195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88196 SETUP_PIC_REG_LEAF.
88197 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88198 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88199 * sysdeps/sparc/crtn.S: Likewise.
88200
88201 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88202
88203 * aout/Makefile: Remove.
88204
88205 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88206
88207 [BZ #13058]
88208 * manual/examples/argp-ex1.c (main): Format definition in GNU
88209 style.
88210 * manual/examples/argp-ex2.c (main): Likewise.
88211 * manual/examples/argp-ex3.c (main): Likewise.
88212 * manual/examples/argp-ex4.c (main): Likewise.
88213 * manual/examples/longopt.c (main): Use new-style prototype
88214 definition.
88215 * manual/examples/strncat.c (main): Specify return type and use
88216 (void) for arguments.
88217 * manual/examples/subopt.c (main): Use char **argv argument.
88218
88219 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88220
88221 [BZ #5077]
88222 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88223 rounding modes.
88224
88225 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88226
88227 [BZ #6907]
88228 * manual/string.texi (strchr): Change when strchrnul is
88229 recommended.
88230
88231 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88232
88233 [BZ #174]
88234 * manual/locale.texi (setlocale): Document LOCPATH.
88235
88236 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88237
88238 [BZ #10210]
88239 * manual/process.texi (execle): Move @dots{} before last argument.
88240
88241 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88242
88243 [BZ #12047]
88244 * manual/charset.texi (Generic Charset Conversion): Fix typo
88245 (LC_TYPE -> LC_CTYPE).
88246
88247 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88248
88249 [BZ #5805]
88250 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88251 (scalbnf): Likewise.
88252 (scalbnl): Likewise.
88253 (scalbln): Likewise.
88254 (scalblnf): Likewise.
88255 (scalblnl): Likewise.
88256 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88257 (vwarnx): Likewise.
88258 (verr): Likewise.
88259 (verrx): Likewise.
88260 * manual/filesys.texi (telldir): Use braces around return type.
88261 * manual/llio.texi (mmap): Add space after comma.
88262 (mmap64): Likewise.
88263 * manual/math.texi (jn): Use @var{} on parameter names.
88264 (jnf): Likewise.
88265 (jnl): Likewise.
88266 (yn): Likewise.
88267 (ynf): Likewise.
88268 (ynl): Likewise.
88269 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88270 line.
88271 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88272 "...".
88273 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88274 (sched_get_priority_max): Likewise.
88275 * manual/signal.texi (sigvec): Add space after comma.
88276 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88277 names.
88278 (if_indextoname): Likewise.
88279 (if_freenameindex): Likewise.
88280 (sendto): Use ',' instead of '.' in prototype.
88281 * manual/startup.texi (syscall): Use @dots{} instead of literal
88282 "...".
88283 * manual/stdio.texi (__fpending): Separate initial words of
88284 paragraph from @deftypefun line.
88285 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88286 "...".
88287 (vsyslog): Use @var{} on parameter names.
88288 * manual/terminal.texi (stty): Use @var{} on parameter names.
88289 * manual/users.texi (getutmp): Use @var{} on parameter names.
88290 (getutmpx): Likewise.
88291
88292 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88293
88294 [BZ #6884]
88295 * manual/stdio.texi (fopen): Fix typos in description of
88296 ",ccs=STRING".
88297
88298 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88299
88300 [BZ #4026]
88301 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88302 get clock_id definition.
88303
88304 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88305
88306 [BZ #4822]
88307 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88308 (madvise): Cast every argument to void on its own.
88309
88310 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88311
88312 [BZ #9902]
88313 * manual/startup.texi (Exit Status): Fix typo.
88314
88315 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88316
88317 [BZ #10140]
88318 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88319 * manual/examples/argp-ex2.c: Likewise.
88320 * manual/examples/argp-ex3.c: Likewise.
88321
88322 2012-02-16 Richard Henderson <rth@redhat.com>
88323
88324 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88325 * sysdeps/s390/s390-32/initfini.c: Remove.
88326 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88327 * sysdeps/s390/s390-64/initfini.c: Remove.
88328
88329 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88330
88331 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88332 compiler output for sysdeps/generic/initfini.c.
88333 * sysdeps/sh/elf/initfini.c: Remove file.
88334
88335 2012-02-16 David S. Miller <davem@davemloft.net>
88336
88337 [BZ #11494]
88338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88339
88340 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88341 * sysdeps/sparc/crti.S: New file.
88342 * sysdeps/sparc/crtn.S: New file.
88343 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88344 * sysdeps/sparc/sparc64/Makefile: Likewise.
88345
88346 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88347
88348 [BZ #3335]
88349 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88350
88351 2012-02-15 Roland McGrath <roland@hack.frob.com>
88352
88353 [BZ #4822]
88354 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88355
88356 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88357 (write, read, close): Likewise.
88358 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88359
88360 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88361
88362 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88363 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88364 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88365 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88366 <bits/signalfd.h>.
88367 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88369 bits/signalfd.h.
88370
88371 2012-02-14 Marek Polacek <polacek@redhat.com>
88372
88373 * sysdeps/x86_64/crti.S: New file.
88374 * sysdeps/x86_64/crtn.S: New file.
88375 * sysdeps/x86_64/elf/initfini.c: Remove file.
88376
88377 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88378
88379 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88380 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88381 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88382 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88383 <bits/inotify.h>.
88384 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88386 bits/inotify.h.
88387
88388 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88389
88390 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88391 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88392 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88393 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88394 <bits/eventfd.h>.
88395 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88397 bits/eventfd.h.
88398
88399 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88400
88401 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88402 __feraiseexcept instead of feraiseexcept.
88403
88404 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88405 nanosleep invocations.
88406 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88407 strings, and add error checking for a nanosleep invocations.
88408
88409 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88410
88411 Replace FSF snail mail address with URLs, as per GNU coding standards.
88412 Most of the snail mail addresses were wrong anyway, and omitting
88413 them makes the source code easier to maintain. Almost all of the
88414 changes are to license notices and to locale LC_IDENTIFICATION
88415 addresses, except for this one:
88416 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88417 not its snail mail address.
88418
88419 2012-02-09 Richard Henderson <rth@twiddle.net>
88420
88421 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88422 of kernel-features.h.
88423
88424 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88425
88426 2012-02-08 Marek Polacek <polacek@redhat.com>
88427
88428 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88429 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88430 * sysdeps/gnu/_G_config.h: Likewise.
88431 * sysdeps/generic/_G_config.h: Likewise.
88432
88433 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88434
88435 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88436 tests.
88437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88438
88439 * sysdeps/powerpc/powerpc32/crti.S: New file.
88440 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88441 * sysdeps/powerpc/powerpc64/crti.S: New file.
88442 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88443
88444 * Makeconfig (have-initfini): Don't set.
88445 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88446 * configure.in (nopic_initfini): Don't substitute.
88447 * config.h.in (HAVE_INITFINI): Don't #undef.
88448 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88449 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88450
88451 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88452
88453 Support crti.S and crtn.S provided directly by architectures.
88454 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88455 [crti.S in sysdirs] (omit-deps): Likewise.
88456 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88457 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88458 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88459 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88460 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88461 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88462 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88463 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88464 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88465 compiler output for sysdeps/generic/initfini.c.
88466 * sysdeps/i386/elf/Makefile: Remove file.
88467 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88468
88469 2012-02-07 Marek Polacek <polacek@redhat.com>
88470
88471 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88472 * sysdeps/gnu/_G_config.h: Likewise.
88473 * sysdeps/mach/hurd/_G_config.h: Likewise.
88474
88475 2012-02-07 Marek Polacek <polacek@redhat.com>
88476
88477 * math/Makefile (tests): Add tst-CMPLX2.
88478 * math/tst-CMPLX2.c: New file.
88479
88480 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88481
88482 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88483
88484 * math/libm-test.inc (jn_test): Add missing L suffix.
88485
88486 2012-02-06 Marek Polacek <polacek@redhat.com>
88487
88488 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88489 * sysdeps/i386/fpu/e_powf.S: Likewise.
88490 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88491 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88493 * sysdeps/i386/fpu/e_pow.S: Likewise.
88494 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88495 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88496 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88497 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88498 * sysdeps/i386/fpu/e_log2.S: Likewise.
88499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88500 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88501 * sysdeps/i386/fpu/e_powl.S: Likewise.
88502 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88503 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88504 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88505 * sysdeps/i386/fpu/e_logl.S: Likewise.
88506 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88507 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88508 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88509 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88510 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88511 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88512 * sysdeps/i386/fpu/e_log.S: Likewise.
88513 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88514 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88515 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88516 * sysdeps/i386/fpu/e_logf.S: Likewise.
88517 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88518 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88519 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88520 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88521 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88522 * sysdeps/i386/fpu/e_log10.S: Likewise.
88523 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88524 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88525 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88526 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88527 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88528 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88529 * sysdeps/i386/asm-syntax.h: Likewise.
88530 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88531 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88532 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88533 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88534 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88535 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88536 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88537 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88538 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88539 * sysdeps/powerpc/sysdep.h: Likewise.
88540 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88541 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88542
88543 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88544
88545 [BZ #411]
88546 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88547
88548 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88549
88550 * sysdeps/i386/sysdep.h: Include <features.h>.
88551 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88552 version.
88553
88554 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88555
88556 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88557 Define.
88558 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88559 LOAD_PIC_REG_STR.
88560
88561 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88562
88563 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88564 (SETUP_PIC_REG): Use GET_PC_THUNK.
88565 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88566 macro.
88567
88568 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88569
88570 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88571 for non-PIC compilation.
88572 (SETUP_PIC_REG): Add .p2align directive.
88573 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88574 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88575 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88576 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88577 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88578 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88579 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88580 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88581 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88582 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88583 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88584 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88585 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88586 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88587 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88588 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88589 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88590 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88591 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88592 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88593 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88594 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88595 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88596 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88597 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88599 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88600 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88601 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88602 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88603 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88604 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88605 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88606 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88607 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88608 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88609 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88610 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88611 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88612 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88613 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88614
88615 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88616
88617 * math/tst-CMPLX.c: Include <stdio.h>.
88618
88619 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88620
88621 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88622 float.
88623 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88624 * sysdeps/sparc/bits/mathdef.h: Likewise.
88625
88626 2012-01-31 Marek Polacek <polacek@redhat.com>
88627
88628 * libio/libio.h: Don't define _PARAMS.
88629 * locale/programs/config.h: Don't define PARAMS.
88630 * stdlib/strtol_l.c: Likewise.
88631 (__strtol_l): Remove PARAMS from the prototype.
88632
88633 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88634
88635 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88636 names. Just use the correct names. Remove unnecessary wrapper
88637 functions.
88638 * malloc/arena.c: Likewise.
88639 * malloc/hooks.c: Likewise.
88640
88641 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88642 ARENA_TEST says not to. Simplify test for creation of a new arena.
88643 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88644
88645 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88646
88647 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88648 into tail calls.
88649 (update_get_addr): New function.
88650 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88651 GET_ADDR_MODULE parameter.
88652
88653 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88654
88655 * crypt/cert.c: Remove __STDC__ conditionals.
88656 * crypt/crypt-entry.c: Likewise.
88657 * crypt/crypt_util.c: Likewise.
88658 * libio/filedoalloc.c: Likewise.
88659 * libio/fileops.c: Likewise.
88660 * libio/genops.c: Likewise.
88661 * libio/iofclose.c: Likewise.
88662 * libio/iofdopen.c: Likewise.
88663 * libio/iofopen.c: Likewise.
88664 * libio/iofopen64.c: Likewise.
88665 * libio/iogetdelim.c: Likewise.
88666 * libio/iopopen.c: Likewise.
88667 * libio/obprintf.c: Likewise.
88668 * libio/oldfileops.c: Likewise.
88669 * libio/oldiofclose.c: Likewise.
88670 * libio/oldiofdopen.c: Likewise.
88671 * libio/oldiofopen.c: Likewise.
88672 * libio/oldiopopen.c: Likewise.
88673 * libio/wfiledoalloc.c: Likewise.
88674 * libio/wgenops.c: Likewise.
88675 * locale/programs/xmalloc.c: Likewise.
88676 * misc/syslog.c: Likewise.
88677 * stdio-common/xbug.c: Likewise.
88678 * string/memchr.c: Likewise.
88679 * string/memcmp.c: Likewise.
88680 * string/memrchr.c: Likewise.
88681 * string/rawmemchr.c: Likewise.
88682 * sysdeps/posix/getcwd.c: Likewise.
88683 * time/strftime_l.c: Likewise.
88684
88685 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88686
88687 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88688 * config.make.in (config-cflags-sse2avx): Define.
88689 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88690 Fix typo.
88691
88692 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88693
88694 * scripts/config.guess: Update from upstream config git repository.
88695 * scripts/config.sub: Likewise.
88696
88697 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88698
88699 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88700 (EM_NUM): Update.
88701 (R_TILEPRO_*, R_TILEGX_*): New macros.
88702
88703 * scripts/firstversions.awk: Fix bug in version range handling.
88704
88705 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88706
88707 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88708
88709 * include/sys/epoll.h: New file.
88710 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88711 libc_hidden_def.
88712
88713 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88714
88715 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88716 Avoid unnecessary __WORDSIZE == 64 test.
88717 (fmaxf): Use VEX format if possible.
88718 (fmax): Likewise.
88719 (fminf): Likewise.
88720 (fmin): Likewise.
88721
88722 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88723 * math/math_private.h: Remove libc_fegetround* and
88724 libc_fesetround*.
88725 * sysdeps/i386/configure.in: Check for -msse2avx.
88726 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88727 also if SSE2AVX is defined.
88728 Remove libc_fegetround* and libc_fesetround*.
88729 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88730 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88731 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88732 of HAS_YMM_USABLE.
88733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88738
88739 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88740
88741 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88742
88743 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88744 size is not set.
88745 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88746
88747 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88748
88749 [BZ #13618]
88750 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88751 relocation.
88752 * Makeconfig (libm): Define.
88753 * elf/Makefile: Add rules to build and run tst-relsort1.
88754 * elf/tst-relsort1.c: New file.
88755 * elf/tst-relsort1mod1.c: New file.
88756 * elf/tst-relsort1mod2.c: New file.
88757
88758 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88759
88760 * math/s_ldexp.c: Remove __STDC__ conditionals.
88761 * math/s_ldexpf.c: Likewise.
88762 * math/s_ldexpl.c: Likewise.
88763 * math/s_nextafter.c: Likewise.
88764 * math/s_nexttowardf.c: Likewise.
88765 * math/s_significand.c: Likewise.
88766 * math/s_significandf.c: Likewise.
88767 * math/s_significandl.c: Likewise.
88768 * math/w_jnl.c: Likewise.
88769 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88770 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88771 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88772 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88773 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88775 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88776 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88777 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88778 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88779 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88781 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88782 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88783 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88784 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88785 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88786 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88788 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88789 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88790 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88791 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88792 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88793 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88794 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88795 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88796 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88797 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88798 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88799 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88800 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88801 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88802 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88803 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88804 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88805 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88806 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88807 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88808 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88809 * sysdeps/ieee754/k_standard.c: Likewise.
88810 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88811 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88812 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88813 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88814 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88815 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88816 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88817 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88818 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88819 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88820 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88821 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88822 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88823 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88824 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88825 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88826 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88827 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88829 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88830 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88831 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88832 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88833 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88834 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88835 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88837 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88839 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88840 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88841 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88842 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88843 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88845 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88846 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88847 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88848 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88849 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88850 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88851 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88852 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88853 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88854 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88855 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88857 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88858 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88859 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88860 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88861 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88862 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88863 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88864 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88865 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88866 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88867 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88868 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88869 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88870 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88871 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88872 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88873 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88874 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88875 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88876 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88877 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88878 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88879 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88880 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88881 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88882 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88883 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88884 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88885 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88886 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88887 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88889 * sysdeps/ieee754/s_matherr.c: Likewise.
88890 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88891 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88892 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88893 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88894
88895 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88896
88897 * crypt/md5.h: Remove __STDC__ conditionals.
88898 * libio/libioP.h: Likewise.
88899 * locale/programs/config.h: Likewise.
88900 * sysdeps/generic/sysdep.h: Likewise.
88901 * sysdeps/i386/asm-syntax.h: Likewise.
88902 * sysdeps/s390/asm-syntax.h: Likewise.
88903 * sysdeps/unix/sysdep.h: Likewise.
88904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88906
88907 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88908
88909 * libio/libio.h: Remove __STDC__ conditionals.
88910 * malloc/obstack.h: Likewise.
88911 * math/complex.h: Likewise.
88912 * math/math.h: Likewise.
88913 * sysdeps/generic/_G_config.h: Likewise.
88914 * sysdeps/gnu/_G_config.h: Likewise.
88915 * sysdeps/mach/hurd/_G_config.h: Likewise.
88916 * sysdeps/powerpc/bits/mathdef.h: Likewise.
88917 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88918 * sysdeps/sparc/bits/mathdef.h: Likewise.
88919
88920 2012-01-26 Ulrich Drepper <drepper@gmail.com>
88921
88922 [BZ #13583]
88923 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88924 Clean up HAS_* macros.
88925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88926 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88927 possible.
88928 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88929 HAS_AVX.
88930 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88931 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88932 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88933 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88934 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88935
88936 2012-01-25 Joseph Myers <joseph@codesourcery.com>
88937
88938 * elf/tst-unique3.cc (gets): Remove declaration.
88939 * elf/tst-unique3lib.cc (gets): Likewise.
88940 * elf/tst-unique3lib2.cc (gets): Likewise.
88941 * elf/tst-unique4.cc (gets): Likewise.
88942
88943 2012-01-24 Ulrich Drepper <drepper@gmail.com>
88944
88945 * include/stdio.h: Add C++ protection. Add gets declarations and
88946 definitions.
88947 * debug/tst-chk1.c: Don't declare gets here.
88948 * stdio-common/tst-gets.c: Likewise.
88949
88950 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88951
88952 * posix/glob: Remove directory.
88953
88954 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88955
88956 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88957
88958 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
88959
88960 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88961 of the non-standard EPFNOSUPPORT.
88962
88963 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
88964
88965 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88966 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88967 ANYWHERE set to 1 only on KERN_NO_SPACE error.
88968
88969 2012-01-21 Ulrich Drepper <drepper@gmail.com>
88970
88971 * wcsmbs/uchar.h: Test __STDC_VERSION__.
88972
88973 2012-01-20 Ulrich Drepper <drepper@gmail.com>
88974
88975 * nscd/aicache.c (addhstaiX): Do not cache negative results of
88976 transient errors.
88977 * nscd/grpcache.c (cache_addgr): Likewise.
88978 * nscd/hstcache.c (cache_addhst): Likewise.
88979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
88980 * nscd/pwdcache.c (cache_addpw): Likewise.
88981 * nscd/servicescache.c (cache_addserv): Likewise.
88982
88983 2012-01-16 Ulrich Drepper <drepper@gmail.com>
88984
88985 * malloc/malloc.c: Various cleanups.
88986 * malloc/hooks.c: Likewise.
88987
88988 * stdlib/Makefile (tests): Add bug-fmtmsg1.
88989 * stdlib/bug-fmtmsg1.c: New file.
88990
88991 * stdlib/fmtmsg.c (init): Add missing unlock.
88992 Patch by Peng Haitao <penght@cn.fujitsu.com>.
88993
88994 2012-01-12 Marek Polacek <polacek@redhat.com>
88995
88996 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88997 and _GNU_SOURCE.
88998
88999 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89000
89001 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89003 macro to ensure uniqueness of label name.
89004 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89005 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89006
89007 2012-01-11 Ulrich Drepper <drepper@gmail.com>
89008
89009 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89010
89011 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89012 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89013 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89014 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89015
89016 2012-01-10 Ulrich Drepper <drepper@gmail.com>
89017
89018 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89019
89020 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89021 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89022 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89023
89024 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89025
89026 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89027 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89028 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89030
89031 * math/bits/math-finite.h: Add ldexp support.
89032
89033 2012-01-10 Marek Polacek <polacek@redhat.com>
89034
89035 * locale/programs/localedef.h (show_archive_content): Add noreturn
89036 attribute.
89037
89038 2012-01-09 Ulrich Drepper <drepper@gmail.com>
89039
89040 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89041
89042 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89043
89044 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89045
89046 * io/Makefile (headers): Add bits/poll2.h.
89047
89048 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
89049
89050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89051 typo #include statement.
89052
89053 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89054
89055 * include/sys/cdefs.h: Define __attribute_alloc_size.
89056 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89057 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89058 * elf/pldd.c: Likewise.
89059 * iconv/iconv_charmap.c: Likewise.
89060 * iconv/iconvconfig.c: Likewise.
89061 * iconv/strtab.c: Likewise.
89062 * locale/programs/locale.c: Likewise.
89063 * locale/programs/localedef.h: Likewise.
89064 * locale/programs/simple-hash.c: Likewise.
89065 * nscd/nscd.h: Likewise.
89066 * nss/makedb.c: Likewise.
89067 * sysdeps/generic/ldconfig.h: Likewise.
89068 * locale/programs/localedef.c: Remove xmalloc prototype.
89069 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89070
89071 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89072
89073 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89074 appropriate.
89075
89076 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89077
89078 * math/Makefile (tests): Add tst-CMPLX.
89079 * math/tst-CMPLX.c: New file.
89080
89081 * math/complex.h (CMPLXL): Fix typo.
89082
89083 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89084 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89085 GLIBC_2.16.
89086 * debug/tst-chk1.c: Add poll and ppoll tests.
89087 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89088 * include/sys/poll.h: Add hidden proto for ppoll.
89089 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89090 * sysdeps/mach/hurd/ppoll.c: Likewise.
89091 * io/ppoll.c: Likewise.
89092 * debug/poll_chk.c: New file.
89093 * debug/ppoll_chk.c: New file.
89094 * include/bits/poll2.h: New file.
89095 * io/bits/poll2.h: New file.
89096
89097 [BZ #1350]
89098 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89099
89100 * configure.in: static is always set to yes. Remove.
89101 * config.make.in: Don't set build-static.
89102 * Makeconfig: Remove use of build-static.
89103 * dlfcn/Makefile: Likewise.
89104 * elf/Makefile: Likewise.
89105 * math/Makefile: Likewise.
89106 * misc/Makefile: Likewise.
89107 * nptl/Makefile: Likewise.
89108 * sysdeps/mach/hurd/Makefile: Likewise.
89109
89110 * configure.in: PWD_P is not used anymore.
89111 * config.make.in: Remove PWD_P entry.
89112
89113 * configure.in: Remove last remnants of RANLIB.
89114 No need to check for signed size_t anymore.
89115 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89116 and IA-64.
89117 Remove __builtin_expect test because we require at least gcc 3.4.
89118 * aclocal.m4: Likewise.
89119
89120 * wcsmbs/mbrtoc16.c: Implement using towc function.
89121 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89122 * wcsmbs/wcsmbsload.c: Likewise.
89123 * iconv/gconv_simple.c: Likewise.
89124 * iconv/gconv_int.h: Likewise.
89125 * iconv/gconv_builtin.h: Likewise.
89126 * iconv/iconv_prog.c: Remove CHAR16 handling.
89127
89128 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89129
89130 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89131
89132 * configure.in: Remove --with-elf and --enable-bounded options.
89133 Dont set base_machine for ia64. More non-ELF conditions removed.
89134 Remove testing and setting of leading underscore information.
89135 * config.make.in (build-bounded): Set to no.
89136 * config.h.in: Remove NO_UNDERSCORES entry.
89137 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89138 them.
89139 * csu/start.c: Remove !NO_UNDERSCORE code.
89140 * locale/localeinfo.h: Likewise.
89141 * sysdeps/generic/machine-gmon.h: Likewise.
89142 * sysdeps/generic/sysdep.h: Likewise.
89143 * sysdeps/i386/sysdep.h: Likewise.
89144 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89145 * sysdeps/mach/sysdep.h: Likewise.
89146 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89147 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89148 * sysdeps/sh/sysdep.h: Likewise.
89149 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89150 * sysdeps/unix/i386/sysdep.S: Likewise.
89151 * sysdeps/unix/sparc/start.c: Likewise.
89152 * sysdeps/unix/sparc/sysdep.S: Likewise.
89153 * sysdeps/unix/sparc/sysdep.h: Likewise.
89154 * sysdeps/unix/start.c: Likewise.
89155 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89156 * sysdeps/x86_64/sysdep.h: Likewise.
89157
89158 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89159
89160 [BZ #13553]
89161 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89162 for non-gcc.
89163 * argp/argp-fmtstream.h: Use const instead __const.
89164 * argp/argp.h: Likewise.
89165 * assert/assert.h: Likewise.
89166 * bits/fenv.h: Likewise.
89167 * bits/sched.h: Likewise.
89168 * bits/sigset.h: Likewise.
89169 * bits/sigthread.h: Likewise.
89170 * catgets/nl_types.h: Likewise.
89171 * conform/data/pthread.h-data: Likewise.
89172 * crypt/crypt-private.h: Likewise.
89173 * crypt/crypt.h: Likewise.
89174 * crypt/crypt_util.c: Likewise.
89175 * ctype/ctype.h: Likewise.
89176 * debug/execinfo.h: Likewise.
89177 * debug/mbsnrtowcs_chk.c: Likewise.
89178 * debug/mbsrtowcs_chk.c: Likewise.
89179 * debug/wcsnrtombs_chk.c: Likewise.
89180 * debug/wcsrtombs_chk.c: Likewise.
89181 * debug/wcstombs_chk.c: Likewise.
89182 * dirent/dirent.h: Likewise.
89183 * dlfcn/dlfcn.h: Likewise.
89184 * elf/neededtest4.c: Likewise.
89185 * grp/grp.h: Likewise.
89186 * gshadow/gshadow.h: Likewise.
89187 * iconv/gconv.h: Likewise.
89188 * iconv/gconv_int.h: Likewise.
89189 * iconv/gconv_simple.c: Likewise.
89190 * iconv/iconv.h: Likewise.
89191 * iconv/loop.c: Likewise.
89192 * iconv/skeleton.c: Likewise.
89193 * include/aio.h: Likewise.
89194 * include/aliases.h: Likewise.
89195 * include/argz.h: Likewise.
89196 * include/arpa/inet.h: Likewise.
89197 * include/assert.h: Likewise.
89198 * include/dirent.h: Likewise.
89199 * include/dlfcn.h: Likewise.
89200 * include/execinfo.h: Likewise.
89201 * include/fcntl.h: Likewise.
89202 * include/fenv.h: Likewise.
89203 * include/glob.h: Likewise.
89204 * include/grp.h: Likewise.
89205 * include/libintl.h: Likewise.
89206 * include/mntent.h: Likewise.
89207 * include/netdb.h: Likewise.
89208 * include/pwd.h: Likewise.
89209 * include/rpc/netdb.h: Likewise.
89210 * include/sched.h: Likewise.
89211 * include/search.h: Likewise.
89212 * include/shadow.h: Likewise.
89213 * include/signal.h: Likewise.
89214 * include/stdio.h: Likewise.
89215 * include/stdlib.h: Likewise.
89216 * include/string.h: Likewise.
89217 * include/sys/socket.h: Likewise.
89218 * include/sys/stat.h: Likewise.
89219 * include/sys/statfs.h: Likewise.
89220 * include/sys/statvfs.h: Likewise.
89221 * include/sys/syslog.h: Likewise.
89222 * include/sys/time.h: Likewise.
89223 * include/sys/uio.h: Likewise.
89224 * include/time.h: Likewise.
89225 * include/unistd.h: Likewise.
89226 * include/utmp.h: Likewise.
89227 * include/wchar.h: Likewise.
89228 * include/wctype.h: Likewise.
89229 * inet/aliases.h: Likewise.
89230 * inet/arpa/inet.h: Likewise.
89231 * inet/netinet/ether.h: Likewise.
89232 * inet/netinet/in.h: Likewise.
89233 * intl/libintl.h: Likewise.
89234 * io/bits/fcntl2.h: Likewise.
89235 * io/fcntl.h: Likewise.
89236 * io/ftw.h: Likewise.
89237 * io/sys/poll.h: Likewise.
89238 * io/sys/stat.h: Likewise.
89239 * io/sys/statfs.h: Likewise.
89240 * io/sys/statvfs.h: Likewise.
89241 * io/utime.h: Likewise.
89242 * libio/bits/stdio.h: Likewise.
89243 * libio/bits/stdio2.h: Likewise.
89244 * libio/libio.h: Likewise.
89245 * libio/libioP.h: Likewise.
89246 * libio/stdio.h: Likewise.
89247 * locale/lc-ctype.c: Likewise.
89248 * locale/locale.h: Likewise.
89249 * login/utmp.h: Likewise.
89250 * malloc/arena.c: Likewise.
89251 * malloc/malloc.c: Likewise.
89252 * malloc/malloc.h: Likewise.
89253 * malloc/mcheck.c: Likewise.
89254 * malloc/mtrace.c: Likewise.
89255 * math/bits/mathcalls.h: Likewise.
89256 * math/fenv.h: Likewise.
89257 * math/math_private.h: Likewise.
89258 * misc/bits/error.h: Likewise.
89259 * misc/bits/syslog.h: Likewise.
89260 * misc/err.h: Likewise.
89261 * misc/error.h: Likewise.
89262 * misc/fstab.h: Likewise.
89263 * misc/mntent.h: Likewise.
89264 * misc/regexp.h: Likewise.
89265 * misc/search.h: Likewise.
89266 * misc/sgtty.h: Likewise.
89267 * misc/sys/mman.h: Likewise.
89268 * misc/sys/syslog.h: Likewise.
89269 * misc/sys/uio.h: Likewise.
89270 * misc/sys/xattr.h: Likewise.
89271 * misc/ttyent.h: Likewise.
89272 * nis/rpcsvc/ypclnt.h: Likewise.
89273 * nss/nss.h: Likewise.
89274 * posix/bits/unistd.h: Likewise.
89275 * posix/fnmatch.h: Likewise.
89276 * posix/glob.h: Likewise.
89277 * posix/sched.h: Likewise.
89278 * posix/spawn.h: Likewise.
89279 * posix/sys/wait.h: Likewise.
89280 * posix/unistd.h: Likewise.
89281 * posix/wordexp.h: Likewise.
89282 * pwd/pwd.h: Likewise.
89283 * resolv/netdb.h: Likewise.
89284 * resource/sys/resource.h: Likewise.
89285 * rt/aio.h: Likewise.
89286 * rt/bits/mqueue2.h: Likewise.
89287 * rt/mqueue.h: Likewise.
89288 * shadow/shadow.h: Likewise.
89289 * signal/signal.h: Likewise.
89290 * socket/send.c: Likewise.
89291 * socket/sendto.c: Likewise.
89292 * socket/sys/socket.h: Likewise.
89293 * stdio-common/printf.h: Likewise.
89294 * stdlib/bits/stdlib.h: Likewise.
89295 * stdlib/fmtmsg.h: Likewise.
89296 * stdlib/monetary.h: Likewise.
89297 * stdlib/stdlib.h: Likewise.
89298 * stdlib/ucontext.h: Likewise.
89299 * streams/stropts.h: Likewise.
89300 * string/argz.h: Likewise.
89301 * string/bits/string2.h: Likewise.
89302 * string/string.h: Likewise.
89303 * string/strings.h: Likewise.
89304 * sunrpc/rpc/auth.h: Likewise.
89305 * sunrpc/rpc/auth_des.h: Likewise.
89306 * sunrpc/rpc/clnt.h: Likewise.
89307 * sunrpc/rpc/netdb.h: Likewise.
89308 * sunrpc/rpc/pmap_clnt.h: Likewise.
89309 * sunrpc/rpc/xdr.h: Likewise.
89310 * sysdeps/generic/inttypes.h: Likewise.
89311 * sysdeps/generic/net/if.h: Likewise.
89312 * sysdeps/generic/sys/swap.h: Likewise.
89313 * sysdeps/gnu/net/if.h: Likewise.
89314 * sysdeps/gnu/utmpx.h: Likewise.
89315 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89316 * sysdeps/i386/i486/bits/string.h: Likewise.
89317 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89318 * sysdeps/s390/bits/string.h: Likewise.
89319 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89320 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89321 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89322 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89323 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89324 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89325 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89326 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89327 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89328 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89329 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89330 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89331 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89332 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89333 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89334 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89335 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89337 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89338 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89339 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89340 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89341 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89342 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89343 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89344 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89345 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89346 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89347 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89348 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89349 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89350 * sysvipc/sys/ipc.h: Likewise.
89351 * sysvipc/sys/msg.h: Likewise.
89352 * sysvipc/sys/sem.h: Likewise.
89353 * sysvipc/sys/shm.h: Likewise.
89354 * termios/termios.h: Likewise.
89355 * time/sys/time.h: Likewise.
89356 * time/time.h: Likewise.
89357 * wcsmbs/bits/wchar2.h: Likewise.
89358 * wcsmbs/uchar.h: Likewise.
89359 * wcsmbs/wchar.h: Likewise.
89360 * wctype/wctype.h: Likewise.
89361
89362 [BZ #13551]
89363 * Makeconfig: Remove all but ELF support including AIX support.
89364 * Makerules: Likewise.
89365 * config.h.in: Likewise.
89366 * config.make.in: Likewise.
89367 * configure: Likewise.
89368 * configure.in: Likewise.
89369 * csu/Makefile: Likewise.
89370 * csu/version.c: Likewise.
89371 * debug/Makefile: Likewise.
89372 * dlfcn/Makefile: Likewise.
89373 * elf/Makefile: Likewise.
89374 * extra-lib.mk: Likewise.
89375 * iconv/Makefile: Likewise.
89376 * include/libc-symbols.h: Likewise.
89377 * include/shlib-compat.h: Likewise.
89378 * resolv/Makefile: Likewise.
89379 * resolv/res_libc.c: Likewise.
89380 * rt/Makefile: Likewise.
89381 * sysdeps/i386/asm-syntax.h: Likewise.
89382 * sysdeps/i386/sysdep.h: Likewise.
89383 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89384 * sysdeps/mach/sysdep.h: Likewise.
89385 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89386 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89387 * sysdeps/s390/asm-syntax.h: Likewise.
89388 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89389 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89390 * sysdeps/sh/sysdep.h: Likewise.
89391 * sysdeps/unix/sparc/sysdep.h: Likewise.
89392 * sysdeps/wordsize-32/divdi3.c: Likewise.
89393 * sysdeps/x86_64/sysdep.h: Likewise.
89394
89395 * argp/Versions: Remove _argp_unlock_xxx.
89396
89397 [BZ #13559]
89398 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89399 * abilist/libBrokenLocale.abilist: Likewise.
89400 * abilist/libanl.abilist: Likewise.
89401 * abilist/libc.abilist: Likewise.
89402 * abilist/libcrypt.abilist: Likewise.
89403 * abilist/libdl.abilist: Likewise.
89404 * abilist/libm.abilist: Likewise.
89405 * abilist/libnsl.abilist: Likewise.
89406 * abilist/libpthread.abilist: Likewise.
89407 * abilist/libresolv.abilist: Likewise.
89408 * abilist/librt.abilist: Likewise.
89409 * abilist/libthread_db.abilist: Likewise.
89410 * abilist/libutil.abilist: Likewise.
89411 * abilist/libnss_db.abilist: New file.
89412
89413 * scripts/abilist.awk: Add support for indirect functions.
89414
89415 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89416
89417 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89418
89419 * shlib-versions: Remove entries for ports architectures.
89420
89421 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89422 files in ports.
89423 * elf/stackguard-macros.h: Remove support for IA-64.
89424 * elf/tst-auditmod1.c: Likewise.
89425 * sysdeps/generic/ldsodefs.h: Likewise.
89426
89427 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89428 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89429 configure files.
89430
89431 [BZ #13552]
89432 * configure.in: Remove --enable-omitfp support.
89433 * FAQ.in: Adjust.
89434 * config.make.in: Likewise.
89435 * Makeconfig: Likewise.
89436 * manual/install.texi: Likewise.
89437
89438 In case anyone cares, the IA-64 architecture could move to ports.
89439 * sysdeps/ia64/*: Removed.
89440 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89441 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89442
89443 [BZ #13555]
89444 * configure.in: Remove entries for unsupported architectures.
89445
89446 [BZ #13533]
89447 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89448 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89449 routines.
89450 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89451 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89452 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89453 fall back to using wcrtomb.
89454 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89455 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89456 renaming.
89457 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89458 * wcsmbs/tst-c16c32-1.c: New file.
89459
89460 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89461 local variable.
89462
89463 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89464
89465 * elf/tst-unique3.cc: Add explicit declaration of gets.
89466 * elf/tst-unique3lib.cc: Likewise.
89467 * elf/tst-unique3lib2.cc: Likewise.
89468 * elf/tst-unique4.cc: Likewise.
89469
89470 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89471
89472 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89473
89474 [BZ #13566]
89475 * assert/assert.h (static_assert): Don't define for C++.
89476 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89477 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89478
89479 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89480
89481 * iconv/loop.c (single loop): Fix assertion in storing of
89482 remaining bytes.
89483
89484 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89485
89486 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89487
89488 * posix/getconf.c: Update copyright year.
89489 * nss/getent.c: Likewise.
89490 * nss/makedb.c: Likewise.
89491 * iconv/iconvconfig.c: Likewise.
89492 * iconv/iconv_prog.c: Likewise.
89493 * elf/ldconfig.c: Likewise.
89494 * elf/pldd.c: Likewise.
89495 * elf/sotruss.ksh: Likewise.
89496 * catgets/gencat.c: Likewise.
89497 * csu/version.c: Likewise.
89498 * elf/ldd.bash.in: Likewise.
89499 * elf/sprof.c (print_version): Likewise.
89500 * locale/programs/locale.c: Likewise.
89501 * locale/programs/localedef.c: Likewise.
89502 * login/programs/pt_chown.c: Likewise.
89503 * nscd/nscd.c (print_version): Likewise.
89504 * debug/xtrace.sh: Likewise.
89505 * malloc/memusage.sh: Likewise.
89506 * malloc/mtrace.pl: Likewise.
89507 * debug/catchsegv.sh: Likewise.
89508
89509 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89510
89511 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89512 pure attribute.
89513
89514 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89515
89516 [BZ #13533]
89517 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89518 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89519 transformations.
89520 * iconv/gconv_int.h: Likewise.
89521 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89522 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89523 from libc for GLIBC_2.16.
89524 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89525 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89526 * wcsmbs/uchar.h: Really define mbstate_t.
89527 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89528 * wcsmbs/c16rtomb.c: New file.
89529 * wcsmbs/mbrtoc16.c: New file.
89530 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89531 for C/POSIX locale.
89532 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89533 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89534
89535 * wcsmbs/wchar.h: Add missing __restrict.
89536
89537 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89538
89539 [BZ #13532]
89540 * time/Makefile (routines): Add timespec_get.
89541 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89542 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89543 timespec for ISO C11.
89544 * time/timespec_get.c: New file.
89545 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89546 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89547
89548 [BZ #13531]
89549 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89550 * stdlib/stdlib.h: Declare aligned_alloc.
89551 * Versions.def: Add GLIBC_2.16 for libc.
89552 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89553
89554 [BZ 13527]
89555 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89556 ISO C11.
89557
89558 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89559 code.
89560
89561 [BZ #13528]
89562 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89563
89564 [BZ #13529]
89565 * assert/assert.h (static_assert): Define.
89566
89567 * version.h: Update for 2.16 development version.
89568
89569 [BZ #13526]
89570 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89571 _ISOC11_SOURCE.
89572
89573 * version.h (RELEASE): Bump for 2.15 release.
89574 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89575
89576 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89577 Patch by Marek Polacek <mpolacek@redhat.com>.
89578
89579 * bits/byteswap.h: Protect long long constants with __extension__.
89580 * sysdeps/i386/bits/byteswap.h: Likewise.
89581 * sysdeps/ia64/bits/byteswap.h: Likewise.
89582 * sysdeps/s390/bits/byteswap.h: Likewise.
89583 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89584
89585 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89586
89587 [BZ #13540]
89588 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89589 destination buffer.
89590 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89591
89592 2011-12-23 Marek Polacek <polacek@redhat.com>
89593
89594 * elf/dl-addr.c (determine_info): Add inline keyword.
89595 * elf/tst-auditmod4b.c (check_avx): Likewise.
89596 * elf/tst-auditmod6b.c (check_avx): Likewise.
89597 * elf/tst-auditmod6c.c (check_avx): Likewise.
89598 * elf/tst-auditmod7b.c (check_avx): Likewise.
89599
89600 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89601
89602 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89603 !__SSE_MATH__.
89604
89605 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89606
89607 [BZ #13540]
89608 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89609 processing for last bytes.
89610
89611 2011-08-06 Bruno Haible <bruno@clisp.org>
89612
89613 [BZ #13061]
89614 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89615 U+0385, not to U+1FEE.
89616
89617 [BZ #13062]
89618 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89619 entry for U+00A5 U+0301.
89620
89621 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89622
89623 [BZ #13166]
89624 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89625 buffer for the output is too small.
89626
89627 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89628 optimization.
89629
89630 [BZ #13185]
89631 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89632 SSE flags if possible.
89633
89634 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89635
89636 [BZ #13540]
89637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89638 processing for last bytes.
89639
89640 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89641
89642 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89643 (syscall-list-default-options, syscall-list-default-condition)
89644 (syscall-list-includes): Define.
89645 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89646 list of ABIs and options and #if conditions for each ABI. Do not
89647 handle common syscalls between ABIs specially.
89648 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89649 Remove.
89650 (syscall-list-variants, syscall-list-32bit-options)
89651 (syscall-list-32bit-condition, syscall-list-64bit-options)
89652 (syscall-list-64bit-condition): Define.
89653 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89654 (syscall-list-variants, syscall-list-32bit-options)
89655 (syscall-list-32bit-condition, syscall-list-64bit-options)
89656 (syscall-list-64bit-condition): Define.
89657 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89658 Remove.
89659 (syscall-list-variants, syscall-list-32bit-options)
89660 (syscall-list-32bit-condition, syscall-list-64bit-options)
89661 (syscall-list-64bit-condition): Define.
89662 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89663 Remove.
89664 (syscall-list-variants, syscall-list-32bit-options)
89665 (syscall-list-32bit-condition, syscall-list-64bit-options)
89666 (syscall-list-64bit-condition): Define.
89667
89668 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89669
89670 * locale/iso-639.def: Add brx entry.
89671
89672 [BZ #13328]
89673 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89674 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89675
89676 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89677 __feraiseexcept_renamed.
89678
89679 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89680
89681 [BZ #13538]
89682 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89683 EPOLLET with unsigned values.
89684 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89685 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89686
89687 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89688 to large cancellation.
89689 * math/s_cacoshf.c: Likewise.
89690 * math/s_cacoshl.c: Likewise.
89691
89692 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89693
89694 [BZ #13305]
89695 [BZ #12786]
89696 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89697 * math/s_cacoshf.c: Likewise.
89698 * math/s_cacoshl.c: Likewise.
89699
89700 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89701
89702 [BZ #13439]
89703 * iconv/gconv.h: Define __GCONV_SWAP.
89704 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89705 * iconvdata/utf-16.c: Likewise.
89706 * iconvdata/utf-32.c: Likewise.
89707
89708 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89709
89710 [BZ #13524]
89711 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89712 numerator after shifting it by one limb.
89713
89714 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89715
89716 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89717 under [__USE_EXTERN_INLINES].
89718
89719 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89720
89721 [BZ #13446]
89722 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89723
89724 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89725
89726 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89727 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89728 optimized code.
89729 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89730 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89731 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89732 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89733 for strncasecmp/strncasecmp_l compilation.
89734 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89735 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89736
89737 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89738
89739 [BZ #13484]
89740 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89741 of __asm__.
89742
89743 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89744
89745 [BZ #13506]
89746 * time/tzfile.c (__tzfile_read): Check values from file header.
89747
89748 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89749
89750 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89751 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89752 * powerpc/powerpc32/dl-start.S: Likewise.
89753 * powerpc/powerpc32/elf/start.S: Likewise.
89754 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89755 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89756 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89757 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89758 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89759 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89760 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89761 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89762 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89763 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89764 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89765 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89766 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89767 * powerpc/powerpc32/memset.S: Likewise.
89768 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89769 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89770 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89771 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89772 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89773 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89774 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89775 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89776 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89777 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89778 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89779 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89780 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89781
89782 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89783
89784 * math/libm-test.inc: Added more nearbyint tests.
89785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89786 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89788 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89789
89790 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89791
89792 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89793 FD_CLOEXEC.
89794
89795 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89796
89797 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89798 Add wcscpy-ssse3 wcscpy-c.
89799 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89800 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89801 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89802 * sysdeps/x86_64/wcschr.S: New file.
89803 * sysdeps/x86_64/wcsrchr.S: New file.
89804 * string/test-strcmp.c: Remove checking of wcscmp function for
89805 wrong alignments.
89806 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89807 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89808 wcsrchr-sse2 wcsrchr-c.
89809 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89810 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89811 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89812 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89813 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89814 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89815 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89816 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89817 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89818 * wcsmbc/wcschr.c (WCSCHR): New macro.
89819
89820 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89821
89822 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89823 * wcsmbs/test-wcsrchr.c: New file.
89824 * string/test-strrchr.c: Add wcsrchr support.
89825 (WIDE): New macro.
89826 * wcsmbs/test-wcscpy.c: New file.
89827 * string/test-strcpy.c: Add wcscpy support.
89828 (WIDE): New macro.
89829
89830 2011-12-10 Ulrich Drepper <drepper@gmail.com>
89831
89832 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89833 the inner loop.
89834
89835 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
89836
89837 [BZ #13472]
89838 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89839
89840 2011-12-04 Ulrich Drepper <drepper@gmail.com>
89841
89842 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89843 Minor optimizations.
89844
89845 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89846 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89847 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89848
89849 2011-12-03 Ulrich Drepper <drepper@gmail.com>
89850
89851 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89852 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89853 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89854 for gcc to avoid warnings.
89855 * inet/Makefile (tests): Add tst-checks.
89856 * inet/tst-checks.c: New file.
89857
89858 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89859 warning.
89860
89861 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89862 __wmemcmp_sse2.
89863
89864 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89865 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89866
89867 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89868
89869 2011-12-02 Ulrich Drepper <drepper@gmail.com>
89870
89871 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89872 problem.
89873
89874 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89875
89876 2011-11-29 Joseph Myers <joseph@codesourcery.com>
89877
89878 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89879 conditional on GCC version.
89880 (__arch_compare_and_exchange_val_8_acq)
89881 (__arch_compare_and_exchange_val_16_acq)
89882 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89883 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89884 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89885
89886 2011-12-02 Joseph Myers <joseph@codesourcery.com>
89887
89888 * sysdeps/sh/backtrace.c: New file.
89889
89890 2011-12-02 Andreas Schwab <schwab@redhat.com>
89891
89892 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
89893 parenthesis.
89894
89895 2011-12-01 Andreas Schwab <schwab@redhat.com>
89896
89897 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89898 falling back to utime.
89899
89900 2011-11-30 Andreas Schwab <schwab@redhat.com>
89901
89902 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89903 expectations for float.
89904
89905 2011-11-29 Andreas Schwab <schwab@redhat.com>
89906
89907 * locale/weight.h (findidx): Add parameter len.
89908 * locale/weightwc.h (findidx): Likewise.
89909 * posix/fnmatch_loop.c (FCT): Adjust caller.
89910 * posix/regcomp.c (build_equiv_class): Likewise.
89911 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89912 * posix/regexec.c (check_node_accept_bytes): Likewise.
89913 * string/strcoll_l.c (STRCOLL): Likewise.
89914 * string/strxfrm_l.c (STRXFRM): Likewise.
89915
89916 2011-11-17 Ulrich Drepper <drepper@gmail.com>
89917
89918 * Makefile.in: Remove CVSOPT handling.
89919 * configure.in: Remove use of AC_REVISION.
89920 * iconvdata/Makefile (distribute): No need to filter out CVS.
89921 * scripts/list-sources.sh: Remove CVS, subversion and monotone
89922 handling.
89923
89924 2011-11-16 Andreas Schwab <schwab@redhat.com>
89925
89926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89927 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89928 [USE_AS_STRNCASECMP_L]: Likewise.
89929 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89930 NO_TLS_DIRECT_SEG_REFS.
89931 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89932 Fix argument offsets for non-PIC.
89933 [USE_AS_STRNCASECMP_L]: Likewise.
89934 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89935 NO_TLS_DIRECT_SEG_REFS.
89936
89937 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89938
89939 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89940 O_CLOEXEC.
89941 * locale/loadlocale.c (_nl_load_locale): Likewise.
89942
89943 2011-11-15 Andreas Schwab <schwab@redhat.com>
89944
89945 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89946 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89947 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89948 (SYSCALL_GETTIME): Set errno on error.
89949
89950 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89951 count references to noai6ai_cached.
89952
89953 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89954
89955 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89956
89957 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89958 FD_CLOEXEC for /proc/self/maps.
89959
89960 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89961 FD_CLOEXEC for /proc/meminfo.
89962
89963 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89964 gai.conf.
89965
89966 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
89967 FD_CLOEXEC for given file.
89968
89969 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89970
89971 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89972 FD_CLOEXEC for /etc/hosts.
89973 (_gethtent): Likewise.
89974
89975 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89976
89977 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89978 cancellation and set FD_CLOEXEC for /etc/netgroup.
89979
89980 * nss/nss_files/files-key.c (search): Don't allow cancellation when
89981 reading /etc/publickey.
89982
89983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89984 allow cancellation when reading /etc/group.
89985
89986 * nss/nss_files/files-alias.c (internal_setent): Don't allow
89987 cancellation.
89988 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
89989
89990 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89991 when using data file.
89992
89993 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89994
89995 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89996 (write_nis_obj): Use "c" and "e" in fopen.
89997
89998 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89999
90000 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90001
90002 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90003
90004 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90005
90006 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90007 locale.alias.
90008
90009 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90010
90011 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90012
90013 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90014
90015 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90016 file parsing and set FD_CLOEXEC.
90017
90018 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90019
90020 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90021
90022 2011-11-14 Andreas Schwab <schwab@redhat.com>
90023
90024 * malloc/arena.c (arena_get2): Don't call reused_arena when
90025 _int_new_arena failed.
90026
90027 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90028
90029 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90030 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90033 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90034 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90035 to compile strcasecmp and strncasecmp.
90036 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90037 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90038
90039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90040
90041 2011-11-13 Ulrich Drepper <drepper@gmail.com>
90042
90043 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90044 locale-defines.sym to gen-as-const-headers.
90045 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90046 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90048 to compile strcasecmp and strncasecmp.
90049 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90050 strcasecmp_l and strncasecmp_l.
90051 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90052 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90053 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90054 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90055 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90056 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90057 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90058 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90059 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90060 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90061 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90062
90063 2011-11-12 Ulrich Drepper <drepper@gmail.com>
90064
90065 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90066 result of SYSDEP_GETTIME_CPU to retval.
90067 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90068 parameter list to macro. Remove trailing semicolon. Adjust users.
90069
90070 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90071 variable.
90072
90073 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90074 mantissa words.
90075 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90076
90077 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90078 from unused variable.
90079
90080 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90081 DWARF definitions.
90082 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90083 for assembling.
90084
90085 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90086 over namespaces.
90087
90088 * sunrpc/rpc_prot.c (rejected): Fix case value.
90089
90090 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90091 unsigned long long int to avoid warnings in shift.
90092
90093 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90094 of use of trans.
90095 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90096 variable tmp.
90097
90098 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90099 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90100 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90101
90102 * nis/nis_table.c (nis_list): Use variable of correct type for
90103 result of __follow_path call.
90104
90105 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90106
90107 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90108 of math functions ceil, trunc, floor, round, and sqrt, when
90109 avaliable on the platform.
90110 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90111 name clash.
90112 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90113 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90114 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90115
90116 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90117
90118 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90119 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90120
90121 2011-11-11 Roland McGrath <roland@hack.frob.com>
90122
90123 * include/unistd.h: Fix __readlink return type.
90124 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90125
90126 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90127
90128 * stdlib/ucontext.h: Undo last change for makecontext.
90129
90130 2011-11-11 Andreas Schwab <schwab@redhat.com>
90131
90132 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90133
90134 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90135 * setjmp/setjmp.h: Mark functions as non-leaf.
90136 * setjmp/bits/setjmp2.h: Likewise.
90137 * stdlib/ucontext.h: Likewise.
90138
90139 2011-11-10 Andreas Schwab <schwab@redhat.com>
90140
90141 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90142 (reused_arena): Don't check arena limit.
90143 (arena_get2): Atomically check arena limit.
90144
90145 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90146
90147 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90148 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90149
90150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90151 instructions.
90152
90153 2011-11-07 Andreas Schwab <schwab@redhat.com>
90154
90155 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90156 handler when locking.
90157
90158 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90159 Fix size of allocated buffer.
90160
90161 2011-11-04 Andreas Schwab <schwab@redhat.com>
90162
90163 [BZ #10103]
90164 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90165 declarations for long double functions.
90166 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90167
90168 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90169
90170 2011-11-03 Andreas Schwab <schwab@redhat.com>
90171
90172 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90173 installed.
90174
90175 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90176 is disabled.
90177
90178 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90179
90180 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90181
90182 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90183
90184 * include/alloca.h (stackinfo_alloca_round): Define.
90185 (extend_alloca): Use it.
90186 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90187 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90188 here.
90189
90190 * scripts/check-local-headers.sh: Ignore libaudit.h.
90191
90192 * nscd/Makefile (extra-objs): Make recursively expanded.
90193
90194 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90195
90196 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90197 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90198
90199 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90200 * posix/tst-rfc3484-2.c: Likewise.
90201 * posix/tst-rfc3484-3.c: Likewise.
90202
90203 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90204 process_vm_writev.
90205 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90206 process_vm_writev.
90207 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90208 process_vm_writev from libc using GLIBC_2.15 version.
90209
90210 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90211
90212 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90213
90214 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90215 stack usage.
90216
90217 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90218
90219 [BZ #13367]
90220 * nss/getent.c (initgroups_keys): Show error message in case no group
90221 names are given.
90222
90223 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90224 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90225 __bump_nl_timestamp.
90226 * nscd/connections (nscd_init): When host database is served open
90227 netlink socket and request notification about configuration changes.
90228 (main_loop_poll): Track netlink file descriptor and bump timestamp
90229 in case data becomes available.
90230 (main_loop_epoll): Likewise.
90231 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90232 (database_pers_head): Add extra_data fileds.
90233 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90234 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90235 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90236 Adjust caller.
90237 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90238 in6ai data, call __free_in6ai.
90239 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90240 Add -DHAVE_NETLINK.
90241 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90242 interface information. Reuse previous data if netlink timestamp
90243 is not changed.
90244 (__bump_nl_timestamp): New function.
90245 (__free_in6ai): New function.
90246
90247 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90248
90249 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90250 close_not_cancel_no_status here.
90251 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90252
90253 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90254
90255 [BZ #13276]
90256 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90257 return value.
90258
90259 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90260 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90261 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90262
90263 2011-07-03 Andreas Jaeger <aj@suse.de>
90264
90265 [BZ #10709]
90266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90267 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90268 * math/libm-test.inc (sin_test): Add test case.
90269
90270 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90271
90272 [BZ #13337]
90273 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90274 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90275
90276 * elf/chroot_canon.c (chroot_canon): Cleanups.
90277
90278 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90279
90280 [BZ #13335]
90281 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90282 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90283
90284 * string/test-strchr.c: Make usable for strchrnul testing.
90285 * string/test-strchrnul.c: New file.
90286 * string/Makefile (strop-tests): Add strchrnul.
90287
90288 * po/it.po: Update from translation team.
90289 * po/es.po: Likewise.
90290
90291 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90292
90293 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90294 the three constants needed as parameters. Drop the others.
90295 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90296 __m128i_strloadu_tolower.
90297 Create and initialize variable zero and use it in all the places
90298 where _mm_setzero_si128 was used.
90299
90300 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90301 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90302 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90303 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90304 anymore.
90305 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90306 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90307 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90308 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90309 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90310 __mpranred, __mptan.
90311 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90312 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90313 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90314 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90315 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90316 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90317 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90318 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90319 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90320
90321 2011-10-28 Andreas Schwab <schwab@redhat.com>
90322
90323 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90324 redefine if SHARED.
90325 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90326
90327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90328 wide char related routines to wcsmbs subdir.
90329
90330 2011-10-27 Andreas Schwab <schwab@redhat.com>
90331
90332 [BZ #13344]
90333 * misc/sys/cdefs.h (__THROWNL): Define.
90334 * posix/unistd.h: Use __THREADNL instead of __THREAD
90335 for memory synchronization functions.
90336
90337 2011-10-26 Roland McGrath <roland@hack.frob.com>
90338
90339 [BZ #13349]
90340 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90341 doesn't exist.
90342 * manual/stdio.texi (Obstack Streams): Node removed.
90343
90344 2011-10-26 Andreas Schwab <schwab@redhat.com>
90345
90346 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90347 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90348 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90349
90350 * math/math_private.h (math_force_eval): Allow non-addressable
90351 arguments.
90352 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90353
90354 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90355
90356 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90357 file is not needed.
90358
90359 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90360 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90361 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90362 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90366 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90367 Add AVX variants.
90368 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90369 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90370 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90371 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90372 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90373 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90374 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90375 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90376 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90377 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90378 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90379 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90380 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90381 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90382 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90383 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90384 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90385 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90386 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90387
90388 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90389 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90390
90391 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90392 place. Use VEX encoding when compiling for AVX.
90393
90394 2011-10-25 Andreas Schwab <schwab@redhat.com>
90395
90396 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90397 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90398
90399 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90400
90401 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90402
90403 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90404 useless if() expression.
90405 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90406 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90407 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90408 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90409 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90410 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90411 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90412 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90413 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90414 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90415 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90416 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90417 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90418 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90419 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90420 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90421 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90422 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90423 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90424
90425 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90426
90427 2011-10-25 Andreas Schwab <schwab@redhat.com>
90428
90429 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90430 condition.
90431 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90432
90433 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90434
90435 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90436 .text section. Avoid duplicate constants.
90437 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90438 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90439 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90445 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90446 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90447 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90448 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90449 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90450 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90451 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90452 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90453 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90454 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90457 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90458 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90459 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90460 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90461 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90462 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90463 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90464 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90465 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90466 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90467 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90468 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90469 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90470 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90471 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90472 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90473 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90474 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90475 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90476 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90478 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90479 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90480 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90481 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90482
90483 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90484
90485 * sysdeps/x86_64/dla.h: Move to ...
90486 * sysdeps/x86_64/fpu/dla.h: ...here.
90487 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90488 situations. Use __builtin_fma only for gcc 4.6 and up.
90489
90490 * config.make.in: Add have-mfma4 entry.
90491 * configure.in: Substitute libc_cv_cc_fma4.
90492 * math/Makefile (dbl-only-routines): Add sincostab.
90493 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90494 Use __sincostab not sincos.
90495 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90496 name is a macro.
90497 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90501 using __copysign.
90502 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90503 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90504 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90505 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90506 and __inv.
90507 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90508 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90509 __copysign.
90510 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90511 define aliases when function name is a macro.
90512 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90513 sysdeps/ieee754/dbl-64/sincos.tbl.
90514 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90515 fma4-enabled routines.
90516 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90517 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90518 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90519 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90520 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90521 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90522 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90523 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90525 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90526 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90527 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90528 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90529 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90530 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90531 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90532 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90533 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90534 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90535 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90536 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90537 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90538 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90540 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90541 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90542 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90543 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90544 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90545 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90546
90547 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90548 rename.
90549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90557
90558 2011-10-24 Andreas Schwab <schwab@redhat.com>
90559
90560 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90561
90562 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90563
90564 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90565
90566 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90567 prediction.
90568 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90569
90570 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90571 Remove unused variable magic_bits.
90572 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90573
90574 * string/strnlen.c: Define and use STRNLEN macro.
90575 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90576 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90577 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90578 * wcsmbs/wcslen.c: Define and use WCSLEN.
90579 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90580 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90581 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90582 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90583 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90584 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90585 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90586
90587 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90588
90589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90590 strnlen-sse2-no-bsf.
90591 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90592 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90593 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90594 Add strnlen support.
90595 (USE_AS_STRNLEN): New macro.
90596 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90597 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90598 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90599 * sysdeps/x86_64/wcslen.S: New file.
90600
90601 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90602
90603 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90604 XMM-moves are used for copying on small sizes.
90605
90606 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90607
90608 * wcsmbs/Makefile (strop-tests): Add wcschr.
90609 * wcsmbs/test-wcschr.c: New file.
90610 * string/test-strchr.c: Update.
90611 Add wcschr support.
90612 (WIDE): New macro.
90613
90614 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90615
90616 * wcsmbs/Makefile (strop-tests): Add wcslen.
90617 * wcsmbs/test-wcslen.c: New file.
90618 * string/test-strlen.c: Update.
90619 Add wcslen support.
90620 (WIDE): New macro.
90621
90622 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90623
90624 * po/it.po: Update from translation team.
90625
90626 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90627
90628 * sysdeps/x86_64/wcscmp.S: Update.
90629 Fix wrong comparison semantics.
90630 wcscmp shall use signed comparison not unsigned.
90631 Don't use substraction to avoid overflow bug.
90632 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90633 * wcsmbc/wcscmp.c: Likewise.
90634 * string/test-strcmp.c: Likewise.
90635 Add new tests to check cases with negative values.
90636
90637 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90638
90639 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90640 * sysdeps/x86_64/dla.h: ...here. New file.
90641 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90642 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90650
90651 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90652
90653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90654 __ynl_finite aliases.
90655
90656 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90657
90658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90659
90660 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90661 define DLA_FMA.
90662 [DLA_FMA] (EMULV): Use DLA_FMA.
90663 [DLA_FMA] (MUL12): Use EMULV.
90664 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90665 that are not needed.
90666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90671 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90672 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90673
90674 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90675
90676 * math/s_nan.c: Undef __nan.
90677 * math/s_nanf.c: Undef __nanf.
90678 * math/s_nanl.c: Undef __nanl.
90679 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90680 "math_private.h".
90681
90682 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90683
90684 * math/s_catan.c: Add branch predictions.
90685 * math/s_catanf.c: Likewise.
90686 * math/s_catanh.c: Likewise.
90687 * math/s_catanhf.c: Likewise.
90688 * math/s_catanhl.c: Likewise.
90689 * math/s_catanl.c: Likewise.
90690 * math/s_cexp.c: Likewise.
90691 * math/s_cexpf.c: Likewise.
90692 * math/s_cexpl.c: Likewise.
90693 * math/s_clog.c: Likewise.
90694 * math/s_clog10.c: Likewise.
90695 * math/s_clog10f.c: Likewise.
90696 * math/s_clog10l.c: Likewise.
90697 * math/s_clogf.c: Likewise.
90698 * math/s_clogl.c: Likewise.
90699 * math/s_csqrt.c: Likewise.
90700 * math/s_csqrtf.c: Likewise.
90701 * math/s_csqrtl.c: Likewise.
90702 * math/s_ctanf.c: Likewise.
90703 * math/s_ctanh.c: Likewise.
90704 * math/s_ctanhf.c: Likewise.
90705 * math/s_ctanhl.c: Likewise.
90706 * math/s_ctanl.c: Likewise.
90707
90708 * math/math_private.h: Define __nan, __nanf, __nanl.
90709 * math/s_cacosh.c: Include <math_private.h>.
90710 * math/s_cacoshl.c: Likewise.
90711 * math/s_casinh.c: Likewise.
90712 * math/s_casinhf.c: Likewise.
90713 * math/s_casinhl.c: Likewise.
90714 * math/s_ccos.c: Rely entire on ccosh.
90715 * math/s_ccosf.c: Rely entire on ccoshf.
90716 * math/s_ccosl.c: Rely entirely on ccoshl.
90717 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90718 Remove tests for FE_INVALID.
90719 * math/s_ccoshf.c: Likewise.
90720 * math/s_ccoshl.c: Likewise.
90721 * math/s_csin.c: Likewise.
90722 * math/s_csinf.c: Likewise.
90723 * math/s_csinh.c Likewise.
90724 * math/s_csinhf.c: Likewise.
90725 * math/s_csinhl.c: Likewise.
90726 * math/s_csinl.c: Likewise.
90727 * math/s_ctan.c: Likewise.
90728 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90729 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90730 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90731
90732 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90733
90734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90735 compilation problems.
90736
90737 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90738 __builtin_expect.
90739
90740 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90741
90742 * sysdeps/i386/configure.in: Test for -mfma4 option.
90743 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90744 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90745 COMMON_CPUID_INDEX_80000001.
90746 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90747 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90748 use it if FMA3 is not supported.
90749 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90750
90751 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90752 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90753
90754 2011-10-20 Andreas Schwab <schwab@redhat.com>
90755
90756 [BZ #12892]
90757 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90758 it would create a cycle with a link time dependency.
90759
90760 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90761
90762 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90763 instruction.
90764 * string/Makefile (strop-tests): Add rawmemchr.
90765 * string/test-rawmemchr.c: New file.
90766
90767 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90768 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90769 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90770 when compiling str{,n}casecmp and when AVX is available. Hook up
90771 new optimized code in initializers.
90772
90773 2011-10-19 Andreas Schwab <schwab@redhat.com>
90774
90775 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90776 __feraiseexcept instead of feraiseexcept.
90777
90778 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90779
90780 * math/math_private.h: Define defaults for libc_fetestexcept and
90781 libc_feupdateenv.
90782 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90783 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90784 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90785 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90786 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90787 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90788 libc_fetestexcept and libc_feupdateenv.
90789
90790 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90791 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90792 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90793 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90794 libc_feholdexcept_setround.
90795
90796 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90797 Add s_nearbyint-c and s_nearbyintf-c.
90798 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90799 nearbyintf inlines.
90800 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90801 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90802 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90803 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90804
90805 * math/math_private.h: Define defaults for libc_fegetround,
90806 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90807 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90808 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90809 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90810 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90811 standard functions.
90812 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90813 Remove comments and hacks for old compiler versions.
90814 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90815 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90816 libc_feholdexceptl.
90817
90818 2011-10-18 Andreas Schwab <schwab@redhat.com>
90819
90820 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90821 (__feraiseexcept_renamed): Add __NTH.
90822 (feraiseexcept): Add __NTH. Rename local variables to fix
90823 namespace violations.
90824
90825 2011-10-17 Ulrich Drepper <drepper@gmail.com>
90826
90827 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90828
90829 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90830
90831 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90832 recently added interfaces.
90833 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90834
90835 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90836 about macro parameter expansion.
90837
90838 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90839 __NO_MATH_INLINES is defined. Cleanups.
90840
90841 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90842 and __floorf is target has SSE4.1.
90843 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90844 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90845 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90846 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90847
90848 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90849 name.
90850 (floorf): Likewise.
90851
90852 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90853
90854 2011-10-17 Andreas Schwab <schwab@redhat.com>
90855
90856 * misc/sys/cdefs.h: Fix last change.
90857
90858 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90859 database lookup.
90860
90861 2011-10-16 Ulrich Drepper <drepper@gmail.com>
90862
90863 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90864
90865 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90867 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90868 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90869 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90870 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90871 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90872 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90873 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90874 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90875 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90876 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90877 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90878 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90879 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90880 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90881 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90882 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90883 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90884 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90885 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90886 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90887
90888 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90889 ceil, ceilf, floor, floorf.
90890
90891 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90892 Perform IRELATIVE relocations last.
90893
90894 * elf/do-rel.h: Add another parameter nrelative, replacing the
90895 local variable with the same name. Change name of the function
90896 to end in Rel or Rela (uppercase).
90897 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90898 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
90899 elf_dynamic_do_##reloc function.
90900
90901 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90902
90903 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90904 is sufficient, at least on modern CPUs.
90905
90906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90907
90908 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90909 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90910
90911 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90912 __expl_finite.
90913 * math/bits/math-finite.h: Add entries for exp.
90914 * math/e_expl.c: Add __*_finite alias.
90915 * sysdeps/i386/fpu/e_exp.S: Likewise.
90916 * sysdeps/i386/fpu/e_expf.S: Likewise.
90917 * sysdeps/i386/fpu/e_expl.c: Likewise.
90918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90919 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90920 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90922 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90923 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90924 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90925
90926 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90927 is sufficient, at least on modern CPUs.
90928
90929 * ctype/ctype-info.c (__ctype_init): Define.
90930 * include/ctype.h (__ctype_init): Declare.
90931 (__ctype_b_loc): The variable is always initialized.
90932 (__ctype_toupper_loc): Likewise.
90933 (__ctype_tolower_loc): Likewise.
90934 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90935 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90936
90937 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
90938
90939 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90940
90941 * configure.in: Also look in $cxxmachine/include for C++ system
90942 headers.
90943
90944 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90945
90946 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90947 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90948 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90949 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
90950 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90951 (USE_AS_WMEMCMP): New macro.
90952 Fixing indents.
90953 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90954 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90955 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90956 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90958 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90959 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90960 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90961 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90962 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90963 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90964 (USE_AS_WMEMCMP): New macro.
90965 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90966 * sysdeps/string/test-memcmp.c: Update.
90967 Fix simple_wmemcmp.
90968 Add new tests.
90969 * wcsmbs/wmemcmp.c: Update.
90970 (WMEMCMP): New macro.
90971 Fix overflow bug.
90972
90973 2011-10-12 Andreas Jaeger <aj@suse.de>
90974
90975 [BZ #13268]
90976 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90977
90978 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90979
90980 * libio/iofwide.c (do_length): Avoid warning.
90981
90982 * ctype/ctype.h (__isctype_f): Add missing __THROW.
90983
90984 2011-10-14 Ulrich Drepper <drepper@gmail.com>
90985
90986 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90987
90988 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90989 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90990 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90991 * sysdeps/i386/i686/fpu/e_log.S: New file.
90992 * sysdeps/i386/i686/fpu/e_logf.S: New file.
90993 * sysdeps/i386/i686/fpu/e_logl.S: New file.
90994
90995 * ctype/ctype.h: Add support for inlined isXXX functions when
90996 compiling C++ code.
90997
90998 2011-10-14 Andreas Schwab <schwab@redhat.com>
90999
91000 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91001
91002 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91003
91004 2011-10-13 Roland McGrath <roland@hack.frob.com>
91005
91006 [BZ #13291]
91007 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91008
91009 2011-10-13 Andreas Schwab <schwab@redhat.com>
91010
91011 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91012 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91013 feraiseexcept.
91014
91015 * sysdeps/x86_64/memrchr.S: Check for zero size.
91016
91017 * string/stratcliff.c: Add memrchr tests.
91018
91019 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91020
91021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91022 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91023 rawmemchr-sse2 rawmemchr-sse2-bsf.
91024 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91025 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91026 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91027 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91028 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91029 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91030 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91031 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91032 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91033 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91034 * string/memrchr.c (MEMRCHR): New macro.
91035
91036 2011-10-12 Ulrich Drepper <drepper@gmail.com>
91037
91038 Add integration with gcc's -ffinite-math-only and optimize wrapper
91039 functions in libm.
91040 * Versions.def: Define GLIBC_2.15 version for libm.
91041 * math/Makefile (headers): Add bits/math-finite.h.
91042 * math/bits/math-finite.h: New file.
91043 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91044 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91045 * math/e_acoshl.c: Add __*_finite alias.
91046 * math/e_acosl.c: Likewise.
91047 * math/e_asinl.c: Likewise.
91048 * math/e_atan2l.c: Likewise.
91049 * math/e_atanhl.c: Likewise.
91050 * math/e_coshl.c: Likewise.
91051 * math/e_exp10.c: Likewise.
91052 * math/e_exp10f.c: Likewise.
91053 * math/e_exp10l.c: Likewise.
91054 * math/e_exp2l.c: Likewise.
91055 * math/e_fmodl.c: Likewise.
91056 * math/e_gammal_r.c: Likewise.
91057 * math/e_hypotl.c: Likewise.
91058 * math/e_j0l.c: Likewise.
91059 * math/e_j1l.c: Likewise.
91060 * math/e_jnl.c: Likewise.
91061 * math/e_lgammal_r.c: Likewise.
91062 * math/e_log10l.c: Likewise.
91063 * math/e_log2l.c: Likewise.
91064 * math/e_logl.c: Likewise.
91065 * math/e_powl.c: Likewise.
91066 * math/e_sinhl.c: Likewise.
91067 * math/e_sqrtl.c: Likewise.
91068 * math/e_scalb.c: Completely rewritten and optimized.
91069 * math/e_scalbf.c: Likewise.
91070 * math/e_scalbl.c: Likewise.
91071 * math/w_acos.c: Likewise.
91072 * math/w_acosf.c: Likewise.
91073 * math/w_acosl.c: Likewise.
91074 * math/w_acosh.c: Likewise.
91075 * math/w_acoshf.c: Likewise.
91076 * math/w_acoshl.c: Likewise.
91077 * math/w_asin.c: Likewise.
91078 * math/w_asinf.c: Likewise.
91079 * math/w_asinl.c: Likewise.
91080 * math/w_atan2.c: Likewise.
91081 * math/w_atan2f.c: Likewise.
91082 * math/w_atan2l.c: Likewise.
91083 * math/w_atanh.c: Likewise.
91084 * math/w_atanhf.c: Likewise.
91085 * math/w_atanhl.c: Likewise.
91086 * math/w_exp10.c: Likewise.
91087 * math/w_exp10f.c: Likewise.
91088 * math/w_exp10l.c: Likewise.
91089 * math/w_fmod.c: Likewise.
91090 * math/w_fmodf.c: Likewise.
91091 * math/w_fmodl.c: Likewise.
91092 * math/w_j0.c: Likewise.
91093 * math/w_j0f.c: Likewise.
91094 * math/w_j0l.c: Likewise.
91095 * math/w_j1.c: Likewise.
91096 * math/w_j1f.c: Likewise.
91097 * math/w_j1l.c: Likewise.
91098 * math/w_jn.c: Likewise.
91099 * math/w_jnf.c: Likewise.
91100 * math/w_log.c: Likewise.
91101 * math/w_logf.c: Likewise.
91102 * math/w_logl.c: Likewise.
91103 * math/w_log10.c: Likewise.
91104 * math/w_log10f.c: Likewise.
91105 * math/w_log10l.c: Likewise.
91106 * math/w_log2.c: Likewise.
91107 * math/w_log2f.c: Likewise.
91108 * math/w_log2l.c: Likewise.
91109 * math/w_pow.c: Likewise.
91110 * math/w_powf.c: Likewise.
91111 * math/w_powl.c: Likewise.
91112 * math/w_remainder.c: Likewise.
91113 * math/w_remainderf.c: Likewise.
91114 * math/w_remainderl.c: Likewise.
91115 * math/w_scalb.c: Likewise.
91116 * math/w_scalbf.c: Likewise.
91117 * math/w_scalbl.c: Likewise.
91118 * math/w_sqrt.c: Likewise.
91119 * math/w_sqrtf.c: Likewise.
91120 * math/w_sqrtl.c: Likewise.
91121 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91122 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91123 used.
91124 * math/math_private.h: Declare __kernel_standard_f.
91125 * math/w_cosh.c: Remove cruft and optimize a bit.
91126 * math/w_coshf.c: Likewise.
91127 * math/w_coshl.c: Likewise.
91128 * math/w_exp2.c: Likewise.
91129 * math/w_exp2f.c: Likewise.
91130 * math/w_exp2l.c: Likewise.
91131 * math/w_hypot.c: Likewise.
91132 * math/w_hypotf.c: Likewise.
91133 * math/w_hypotl.c: Likewise.
91134 * math/w_lgamma.c: Likewise.
91135 * math/w_lgamma_r.c: Likewise.
91136 * math/w_lgammaf.c: Likewise.
91137 * math/w_lgammaf_r.c: Likewise.
91138 * math/w_lgammal.c: Likewise.
91139 * math/w_lgammal_r.c: Likewise.
91140 * math/w_sinh.c: Likewise.
91141 * math/w_sinhf.c: Likewise.
91142 * math/w_sinhl.c: Likewise.
91143 * math/w_tgamma.c: Likewise.
91144 * math/w_tgammaf.c: Likewise.
91145 * math/w_tgammal.c: Likewise.
91146 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91148 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91149 Minor optimizations. Pretty printing. Remove cruft.
91150 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91151 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91152 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91153 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91154 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91155 * sysdeps/i386/fpu/e_asin.S: Likewise.
91156 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91157 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91158 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91159 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91160 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91161 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91162 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91163 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91164 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91165 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91166 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91167 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91168 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91169 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91170 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91171 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91172 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91173 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91174 * sysdeps/i386/fpu/e_log.S: Likewise.
91175 * sysdeps/i386/fpu/e_log10.S: Likewise.
91176 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91177 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91178 * sysdeps/i386/fpu/e_log2.S: Likewise.
91179 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91180 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91181 * sysdeps/i386/fpu/e_logf.S: Likewise.
91182 * sysdeps/i386/fpu/e_logl.S: Likewise.
91183 * sysdeps/i386/fpu/e_pow.S: Likewise.
91184 * sysdeps/i386/fpu/e_powf.S: Likewise.
91185 * sysdeps/i386/fpu/e_powl.S: Likewise.
91186 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91187 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91188 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91189 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91190 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91191 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91192 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91193 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91194 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91195 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91196 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91198 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91199 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91200 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91201 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91202 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91203 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91204 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91205 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91206 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91208 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91209 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91211 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91212 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91213 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91215 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91216 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91217 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91218 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91219 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91220 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91221 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91222 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91223 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91224 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91225 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91226 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91227 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91228 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91229 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91230 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91231 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91232 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91233 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91234 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91235 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91236 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91237 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91238 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91239 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91240 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91241 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91242 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91243 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91244 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91245 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91246 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91247 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91248 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91249 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91250 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91251 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91252 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91253 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91254 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91255 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91256 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91257 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91258 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91259 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91260 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91263 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91264 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91265 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91266 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91267 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91268 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91269 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91270 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91271 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91272 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91273 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91274 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91275 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91276 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91277 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91278 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91279 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91280 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91281 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91282 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91283 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91284 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91285 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91286 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91288 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91289 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91290 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91291 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91292 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91293 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91294 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91295 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91296 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91297 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91298 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91299 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91300 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91301 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91302 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91303 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91304 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91305 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91306 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91307 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91308 (__isnanf): Likewise.
91309 (__isinf_ns): Likewise.
91310 (__isinf_nsf): Likewise.
91311 (__finite): Likewise.
91312 (__finitef): Likewise.
91313 (__ieee754_sqrt): Define as macro.
91314 (__ieee754_sqrtf): Define as macro.
91315 (__ieee754_sqrtl): Define as macro.
91316 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91317 inlined copy.
91318 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91319 __FINITE_MATH_ONLY__ consistent.
91320 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91321
91322 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91323
91324 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91325 of rawmemchr.
91326
91327 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91328
91329 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91330
91331 * po/ja.po: Update from translation team.
91332
91333 2011-10-08 Roland McGrath <roland@hack.frob.com>
91334
91335 * locale/programs/locarchive.c (prepare_address_space): New function.
91336 (create_archive, enlarge_archive, open_archive): Use it.
91337
91338 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91339 inside [SHARED], where it is used.
91340
91341 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91342
91343 * nss/getent.c (netgroup_keys): Remove unused variable.
91344 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91345
91346 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91347
91348 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91349 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91351 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91352 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91353 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91354 * math/Makefile (libm-calls): Add s_isinf_ns.
91355 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91356 * math/multc3.c: Likewise.
91357 * math/s_casin.c: Likewise.
91358 * math/s_casinf.c: Likewise.
91359 * math/s_casinl.c: Likewise.
91360 * math/s_ccos.c: Likewise.
91361 * math/s_ccosf.c: Likewise.
91362 * math/s_ccosl.c: Likewise.
91363 * math/s_ctan.c: Likewise.
91364 * math/s_ctanf.c: Likewise.
91365 * math/s_ctanh.c: Likewise.
91366 * math/s_ctanhf.c: Likewise.
91367 * math/s_ctanhl.c: Likewise.
91368 * math/s_ctanl.c: Likewise.
91369 * math/w_fmod.c: Likewise.
91370 * math/w_fmodf.c: Likewise.
91371 * math/w_fmodl.c: Likewise.
91372 * math/w_remainder.c: Likewise.
91373 * math/w_remainderf.c: Likewise.
91374 * math/w_remainderl.c: Likewise.
91375 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91376 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91377 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91379 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91380 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91381 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91382 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91383
91384 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91385 of the number.
91386 * stdio-common/printf_fphex.c: Likewise.
91387 * stdio-common/printf_size.c: Likewise.
91388
91389 * math/e_exp10.c: Include math_private.h using <...> not "...".
91390 * math/e_exp10f.c: Likewise.
91391 * math/e_exp10l.c: Likewise.
91392 * math/e_exp2l.c: Likewise.
91393 * math/e_j0l.c: Likewise.
91394 * math/e_j1l.c: Likewise.
91395 * math/e_jnl.c: Likewise.
91396 * math/e_lgammal_r.c: Likewise.
91397 * math/e_rem_pio2l.c: Likewise.
91398 * math/e_scalb.c: Likewise.
91399 * math/e_scalbf.c: Likewise.
91400 * math/e_scalbl.c: Likewise.
91401 * math/k_cosl.c: Likewise.
91402 * math/k_sinl.c: Likewise.
91403 * math/k_tanl.c: Likewise.
91404 * math/s_cacoshf.c: Likewise.
91405 * math/s_catan.c: Likewise.
91406 * math/s_catanf.c: Likewise.
91407 * math/s_catanh.c: Likewise.
91408 * math/s_catanhf.c: Likewise.
91409 * math/s_catanhl.c: Likewise.
91410 * math/s_catanl.c: Likewise.
91411 * math/s_ccosh.c: Likewise.
91412 * math/s_ccoshf.c: Likewise.
91413 * math/s_ccoshl.c: Likewise.
91414 * math/s_cexp.c: Likewise.
91415 * math/s_cexpf.c: Likewise.
91416 * math/s_cexpl.c: Likewise.
91417 * math/s_clog.c: Likewise.
91418 * math/s_clog10.c: Likewise.
91419 * math/s_clog10f.c: Likewise.
91420 * math/s_clog10l.c: Likewise.
91421 * math/s_clogf.c: Likewise.
91422 * math/s_clogl.c: Likewise.
91423 * math/s_csin.c: Likewise.
91424 * math/s_csinf.c: Likewise.
91425 * math/s_csinh.c: Likewise.
91426 * math/s_csinhf.c: Likewise.
91427 * math/s_csinhl.c: Likewise.
91428 * math/s_csinl.c: Likewise.
91429 * math/s_csqrt.c: Likewise.
91430 * math/s_csqrtf.c: Likewise.
91431 * math/s_csqrtl.c: Likewise.
91432 * math/s_ctan.c: Likewise.
91433 * math/s_ctanf.c: Likewise.
91434 * math/s_ctanh.c: Likewise.
91435 * math/s_ctanhf.c: Likewise.
91436 * math/s_ctanhl.c: Likewise.
91437 * math/s_ctanl.c: Likewise.
91438 * math/s_ldexp.c: Likewise.
91439 * math/s_ldexpf.c: Likewise.
91440 * math/s_ldexpl.c: Likewise.
91441 * math/s_significand.c: Likewise.
91442 * math/s_significandf.c: Likewise.
91443 * math/s_significandl.c: Likewise.
91444 * math/w_acos.c: Likewise.
91445 * math/w_acosf.c: Likewise.
91446 * math/w_acosh.c: Likewise.
91447 * math/w_acoshf.c: Likewise.
91448 * math/w_acoshl.c: Likewise.
91449 * math/w_acosl.c: Likewise.
91450 * math/w_asin.c: Likewise.
91451 * math/w_asinf.c: Likewise.
91452 * math/w_asinl.c: Likewise.
91453 * math/w_atan2.c: Likewise.
91454 * math/w_atan2f.c: Likewise.
91455 * math/w_atan2l.c: Likewise.
91456 * math/w_atanh.c: Likewise.
91457 * math/w_atanhf.c: Likewise.
91458 * math/w_atanhl.c: Likewise.
91459 * math/w_cosh.c: Likewise.
91460 * math/w_coshf.c: Likewise.
91461 * math/w_coshl.c: Likewise.
91462 * math/w_dremf.c: Likewise.
91463 * math/w_exp10.c: Likewise.
91464 * math/w_exp10f.c: Likewise.
91465 * math/w_exp10l.c: Likewise.
91466 * math/w_exp2.c: Likewise.
91467 * math/w_exp2f.c: Likewise.
91468 * math/w_fmod.c: Likewise.
91469 * math/w_fmodf.c: Likewise.
91470 * math/w_fmodl.c: Likewise.
91471 * math/w_hypot.c: Likewise.
91472 * math/w_hypotf.c: Likewise.
91473 * math/w_hypotl.c: Likewise.
91474 * math/w_j0.c: Likewise.
91475 * math/w_j0f.c: Likewise.
91476 * math/w_j0l.c: Likewise.
91477 * math/w_j1.c: Likewise.
91478 * math/w_j1f.c: Likewise.
91479 * math/w_j1l.c: Likewise.
91480 * math/w_jn.c: Likewise.
91481 * math/w_jnf.c: Likewise.
91482 * math/w_jnl.c: Likewise.
91483 * math/w_lgamma.c: Likewise.
91484 * math/w_lgamma_r.c: Likewise.
91485 * math/w_lgammaf.c: Likewise.
91486 * math/w_lgammaf_r.c: Likewise.
91487 * math/w_lgammal.c: Likewise.
91488 * math/w_lgammal_r.c: Likewise.
91489 * math/w_log.c: Likewise.
91490 * math/w_log10.c: Likewise.
91491 * math/w_log10f.c: Likewise.
91492 * math/w_log10l.c: Likewise.
91493 * math/w_log2.c: Likewise.
91494 * math/w_log2f.c: Likewise.
91495 * math/w_log2l.c: Likewise.
91496 * math/w_logf.c: Likewise.
91497 * math/w_logl.c: Likewise.
91498 * math/w_pow.c: Likewise.
91499 * math/w_powf.c: Likewise.
91500 * math/w_powl.c: Likewise.
91501 * math/w_remainder.c: Likewise.
91502 * math/w_remainderf.c: Likewise.
91503 * math/w_remainderl.c: Likewise.
91504 * math/w_scalb.c: Likewise.
91505 * math/w_scalbf.c: Likewise.
91506 * math/w_scalbl.c: Likewise.
91507 * math/w_sinh.c: Likewise.
91508 * math/w_sinhf.c: Likewise.
91509 * math/w_sinhl.c: Likewise.
91510 * math/w_sqrt.c: Likewise.
91511 * math/w_sqrtf.c: Likewise.
91512 * math/w_sqrtl.c: Likewise.
91513 * math/w_tgamma.c: Likewise.
91514 * math/w_tgammaf.c: Likewise.
91515 * math/w_tgammal.c: Likewise.
91516
91517 * po/ja.po: Update from translation team.
91518
91519 2011-09-29 Andreas Jaeger <aj@suse.de>
91520
91521 [BZ #13179]
91522 * sunrpc/netname.c (netname2host): Fix logic.
91523
91524 [BZ #6779]
91525 [BZ #6783]
91526 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91527 correctly.
91528 * math/w_remainder.c (__remainder): Likewise.
91529 * math/w_remainderf.c (__remainderf): Likewise.
91530 * math/libm-test.inc (remainder_test): Add test cases.
91531
91532 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91533
91534 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91535 sdiv_qrnnd.
91536
91537 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91538
91539 * string/test-memcmp.c: Avoid unncessary #defines.
91540 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91541
91542 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91543
91544 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91545 Use new sse2 version for core i3 - i7 as it's faster
91546 than sse42 version.
91547 (bit_Prefer_PMINUB_for_stringop): New.
91548 * sysdeps/x86_64/rawmemchr.S: Update.
91549 Replace with faster SSE2 version.
91550 * sysdeps/x86_64/memrchr.S: New file.
91551 * sysdeps/x86_64/memchr.S: Update.
91552 Replace with faster SSE2 version.
91553
91554 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91555
91556 * elf/dl-load.c (lose): Add cast to avoid warning.
91557
91558 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91559
91560 * po/ca.po: Update from translation team.
91561
91562 * inet/getnetgrent_r.c: Hook up nscd.
91563 * nscd/Makefile (routines): Add nscd_netgroup.
91564 (nscd-modules): Add netgroupcache.
91565 (CFLAGS-netgroupcache.c): Define.
91566 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91567 (cache_search): Add const to second parameter.
91568 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91569 INNETGR.
91570 (dbs): Add netgrdb entry.
91571 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91572 (verify_persistent_db): Handle netgrdb.
91573 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91574 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91575 GETFDNETGR.
91576 (netgroup_response_header): Define.
91577 (innetgroup_response_header): Define.
91578 (datahead): Add netgroup_response_header and innetgroup_response_header
91579 elements.
91580 * nscd/nscd.conf: Add entries for netgroup cache.
91581 * nscd/nscd.h (dbtype): Add netgrdb.
91582 (_PATH_NSCD_NETGROUP_DB): Define.
91583 (netgroup_iov_disabled): Declare.
91584 (xmalloc, xcalloc, xrealloc): Move declarations here.
91585 (cache_search): Adjust prototype.
91586 Add netgroup-related prototypes.
91587 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91588 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91589 (__nscd_innetgr): Declare.
91590 * nscd/selinux.c (perms): Use access_vector_t as element type and
91591 add netgroup-related initializers.
91592 * nscd/netgroupcache.c: New file.
91593 * nscd/nscd_netgroup.c: New file.
91594 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91595 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91596 For four parameters use innetgr.
91597 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91598 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91599 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91600 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91601
91602 * nscd/connections.c (register_traced_file): Don't register file
91603 for disabled databases.
91604
91605 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91606
91607 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91608
91609 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91610 from tree and freeing node.
91611
91612 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91613
91614 * nss/nsswitch.c (__nss_database_lookup): Handle
91615 nss_parse_service_list out of memory case.
91616
91617 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91618
91619 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91620 out of memory case.
91621
91622 2011-10-04 Andreas Schwab <schwab@redhat.com>
91623
91624 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91625 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91626 pass it down.
91627 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91628 elf_machine_rela, elf_machine_lazy_rel.
91629 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91630 (ELF_DYNAMIC_DO_REL): Likewise.
91631 (ELF_DYNAMIC_DO_RELA): Likewise.
91632 (ELF_DYNAMIC_RELOCATE): Likewise.
91633 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91634 to ELF_DYNAMIC_DO_REL.
91635 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91636 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91637 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91638 elf_machine_rela.
91639 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91640 skip_ifunc, don't call ifunc function if non-zero.
91641 (elf_machine_rela): Likewise.
91642 (elf_machine_lazy_rel): Likewise.
91643 (elf_machine_lazy_rela): Likewise.
91644 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91645 (elf_machine_lazy_rel): Likewise.
91646 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91647 Likewise.
91648 (elf_machine_lazy_rel): Likewise.
91649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91650 Likewise.
91651 (elf_machine_lazy_rel): Likewise.
91652 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91653 (elf_machine_lazy_rel): Likewise.
91654 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91655 (elf_machine_lazy_rel): Likewise.
91656 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91657 (elf_machine_lazy_rel): Likewise.
91658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91659 (elf_machine_lazy_rel): Likewise.
91660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91661 (elf_machine_lazy_rel): Likewise.
91662 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91663 (elf_machine_lazy_rel): Likewise.
91664
91665 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91666
91667 * nss/nss_files/files-init.c (_nss_files_init): Use static
91668 initialization for all the *_traced_file variables.
91669
91670 2011-09-28 Andreas Schwab <schwab@redhat.com>
91671
91672 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91673
91674 2011-09-27 Roland McGrath <roland@hack.frob.com>
91675
91676 [BZ #13226]
91677 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91678
91679 2011-09-27 Andreas Schwab <schwab@redhat.com>
91680
91681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91682 Reread the line before reparsing it.
91683
91684 2011-09-26 Andreas Schwab <schwab@redhat.com>
91685
91686 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91687
91688 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91689 Maxim Kuvyrkov <maxim@codesourcery.com>
91690 Joseph Myers <joseph@codesourcery.com>
91691
91692 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91693 if needed for __stack_chk_guard.
91694
91695 2011-09-19 Roland McGrath <roland@hack.frob.com>
91696
91697 * sysdeps/posix/spawni.c (script_execute): Always define it.
91698 It will be optimized away if unused.
91699 (maybe_script_execute): New function.
91700 (__spawni): Call it.
91701
91702 * Makerules: Don't include tls.make.
91703 (config-tls): Always set to thread.
91704 * tls.make.c: File removed.
91705
91706 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91707
91708 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91709 * config.make.in (CPPFLAGS-config): New substituted variable.
91710
91711 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91712
91713 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91714
91715 [BZ #13192]
91716 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91717 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91718
91719 2011-09-15 Roland McGrath <roland@hack.frob.com>
91720
91721 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91722 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91724 (CALL_FAIL): Likewise.
91725 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91726 (CALL_FAIL): Macro removed.
91727 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91728
91729 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91730
91731 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91732 for __FINITE_MATH_ONLY__ == 1.
91733
91734 2011-09-15 Andreas Schwab <schwab@redhat.com>
91735
91736 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91737 __ieee754_sqrt instead of sqrt.
91738 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91739 __ieee754_sqrtf instead of sqrtf.
91740 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91741 __floorf instead of floorf.
91742 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91743 __floorf, __truncf instead of floorf, truncf.
91744
91745 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91746
91747 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91748
91749 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91750 __extern_always_inline.
91751 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91752 32-bit.
91753
91754 2011-09-14 Andreas Schwab <schwab@redhat.com>
91755
91756 * elf/rtld.c (dl_main): Also relocate in dependency order when
91757 doing symbol dependency testing.
91758
91759 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91760
91761 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91762 Always define `refsym'.
91763
91764 2011-09-13 Andreas Schwab <schwab@redhat.com>
91765
91766 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91767 (__FD_ELT): Renamed from __FDELT.
91768 * misc/bits/select2.h (__FD_ELT): Likewise.
91769 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91770 __FD_MASK instead of __FDELT, __FDMASK.
91771 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91772 Likewise.
91773 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91774 Likewise.
91775
91776 * elf/Makefile (gen-ldd): Fix pattern.
91777
91778 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91779 (init_tls): Likewise.
91780
91781 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91782
91783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91784
91785 2011-09-12 Andreas Schwab <schwab@redhat.com>
91786
91787 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91788 `struct cmsghdr *' instead of `void *'.
91789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91790 Likewise.
91791
91792 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91793
91794 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91795 if non-absolute.
91796 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91797 ldd_rewrite_script.
91798
91799 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91800
91801 * configure.in: Remove --with-tls option.
91802 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91803 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91804 out in case it is missing.
91805 * sysdeps/ia64/elf/configure.in: Likewise.
91806 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91807 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91808 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91809 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91810 * sysdeps/sh/elf/configure.in: Likewise.
91811 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91812 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91813 * sysdeps/x86_64/elf/configure.in: Likewise.
91814 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91815 * sysdeps/mach/hurd/tls.h: Likewise.
91816
91817 [BZ #13067]
91818 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91819
91820 [BZ #13090]
91821 * configure.in: Fix use of AC_INIT.
91822
91823 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91824
91825 2011-09-10 Ulrich Drepper <drepper@gmail.com>
91826
91827 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91828 __set_errno.
91829 * malloc/hooks.c: Likewise.
91830
91831 [BZ #11929]
91832 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
91833 variables statically.
91834 (narenas): Initialize.
91835 (list_lock): Initialize.
91836 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
91837 initializtion of main_arena and list_lock. Small cleanups.
91838 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91839 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
91840 Add initializers to main_arena and mp_.
91841 (malloc_state): Remove pagesize member. Change all users to use
91842 GLRO(dl_pagesize).
91843
91844 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91845 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
91846 is always initialized.
91847
91848 * malloc/malloc.c: Removed unused configurations and dead code.
91849 * malloc/arena.c: Likewise.
91850 * malloc/hooks.c: Likewise.
91851 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91852
91853 * include/tls.h: Removed. USE___THREAD must always be defined.
91854 * bits/libc-tsd.h: Don't handle !USE___THREAD.
91855 * elf/dl-libc.c: Likewise.
91856 * elf/dl-tsd.c: Likewise.
91857 * include/errno.h: Likewise.
91858 * include/netdb.h: Likewise.
91859 * include/resolv.h: Likewise.
91860 * inet/herrno-loc.c: Likewise.
91861 * inet/herrno.c: Likewise.
91862 * malloc/arena.c: Likewise.
91863 * malloc/hooks.c: Likewise.
91864 * malloc/malloc.c: Likewise.
91865 * resolv/res-state.c: Likewise.
91866 * resolv/res_libc.c: Likewise.
91867 * sysdeps/i386/dl-machine.h: Likewise.
91868 * sysdeps/ia64/dl-machine.h: Likewise.
91869 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91870 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91871 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91872 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91873 * sysdeps/sh/dl-machine.h: Likewise.
91874 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91875 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91876 * sysdeps/unix/i386/sysdep.S: Likewise.
91877 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91878 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91879 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91883 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91887 * sysdeps/unix/x86_64/sysdep.S: Likewise.
91888 * sysdeps/x86_64/dl-machine.h: Likewise.
91889 * tls.make.c: Likewise.
91890
91891 * configure.in: Remove --with-__thread option. Make tests for
91892 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91893 tls_model attribute fail if no support is available. Remove
91894 USE_IN_LIBIO.
91895 * Makeconfig: Adjust for dropped configure option. All features are
91896 now mandatory.
91897 * Makerules: Likewise.
91898 * Versions.def: Likewise.
91899 * argp/argp-fmtstream.c: Likewise.
91900 * argp/argp-fmtstream.h: Likewise.
91901 * argp/argp-help.c: Likewise.
91902 * assert/assert.c: Likewise.
91903 * config.h.in: Likewise.
91904 * config.make.in: Likewise.
91905 * configure: Likewise.
91906 * configure.in: Likewise.
91907 * csu/Versions: Likewise.
91908 * csu/init.c: Likewise.
91909 * elf/tst-audit2.c: Likewise.
91910 * elf/tst-tls10.c: Likewise.
91911 * elf/tst-tls10.h: Likewise.
91912 * elf/tst-tls11.c: Likewise.
91913 * elf/tst-tls12.c: Likewise.
91914 * elf/tst-tls14.c: Likewise.
91915 * elf/tst-tlsmod11.c: Likewise.
91916 * elf/tst-tlsmod12.c: Likewise.
91917 * elf/tst-tlsmod13.c: Likewise.
91918 * elf/tst-tlsmod13a.c: Likewise.
91919 * elf/tst-tlsmod14a.c: Likewise.
91920 * elf/tst-tlsmod15b.c: Likewise.
91921 * elf/tst-tlsmod16a.c: Likewise.
91922 * elf/tst-tlsmod16b.c: Likewise.
91923 * elf/tst-tlsmod7.c: Likewise.
91924 * elf/tst-tlsmod8.c: Likewise.
91925 * elf/tst-tlsmod9.c: Likewise.
91926 * gmon/gmon.c: Likewise.
91927 * grp/fgetgrent_r.c: Likewise.
91928 * grp/putgrent.c: Likewise.
91929 * hurd/fopenport.c: Likewise.
91930 * include/libc-symbols.h: Likewise.
91931 * include/tls.h: Likewise.
91932 * intl/gettextP.h: Likewise.
91933 * intl/loadinfo.h: Likewise.
91934 * locale/global-locale.c: Likewise.
91935 * locale/localeinfo.h: Likewise.
91936 * mach/devstream.c: Likewise.
91937 * malloc/arena.c: Likewise.
91938 * malloc/set-freeres.c: Likewise.
91939 * misc/err.c: Likewise.
91940 * misc/getttyent.c: Likewise.
91941 * misc/mntent_r.c: Likewise.
91942 * posix/getopt.c: Likewise.
91943 * posix/wordexp.c: Likewise.
91944 * pwd/fgetpwent_r.c: Likewise.
91945 * resolv/Versions: Likewise.
91946 * resolv/res_hconf.c: Likewise.
91947 * shadow/fgetspent_r.c: Likewise.
91948 * shadow/putspent.c: Likewise.
91949 * stdio-common/printf_fphex.c: Likewise.
91950 * stdio-common/tmpfile.c: Likewise.
91951 * stdlib/abort.c: Likewise.
91952 * stdlib/fmtmsg.c: Likewise.
91953 * sunrpc/auth_unix.c: Likewise.
91954 * sunrpc/clnt_perr.c: Likewise.
91955 * sunrpc/clnt_tcp.c: Likewise.
91956 * sunrpc/clnt_udp.c: Likewise.
91957 * sunrpc/clnt_unix.c: Likewise.
91958 * sunrpc/openchild.c: Likewise.
91959 * sunrpc/svc_simple.c: Likewise.
91960 * sunrpc/svc_tcp.c: Likewise.
91961 * sunrpc/svc_udp.c: Likewise.
91962 * sunrpc/svc_unix.c: Likewise.
91963 * sunrpc/xdr.c: Likewise.
91964 * sunrpc/xdr_array.c: Likewise.
91965 * sunrpc/xdr_rec.c: Likewise.
91966 * sunrpc/xdr_ref.c: Likewise.
91967 * sunrpc/xdr_stdio.c: Likewise.
91968
91969 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91970
91971 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91972
91973 2011-07-03 Andreas Jaeger <aj@suse.de>
91974
91975 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91976 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91977 regenerate with gen-libm-tests.pl.
91978
91979 2010-05-12 Petr Baudis <pasky@suse.cz>
91980
91981 [BZ #11589]
91982 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91983 around j0() zero points by switching to j1().
91984 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91985 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91986 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91987 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91988
91989 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91990
91991 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91992 instead of 0.
91993 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91994 instead of 0.
91995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91996 Patch in part by Pavel Roskin <proski@gnu.org>.
91997
91998 [BZ #13138]
91999 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92000 realloc.
92001 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92002 Free memory block if necessary.
92003
92004 [BZ #12847]
92005 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92006 be NULL. Don't lock in this case.
92007
92008 2011-09-09 Roland McGrath <roland@hack.frob.com>
92009
92010 * elf/elf.h (ELFOSABI_GNU): New macro.
92011 (ELFOSABI_LINUX): Define to that.
92012
92013 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92014
92015 * string/strncat.c (strncat): Undef the symbol in case it has been
92016 defined in bits/string.h.
92017
92018 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92019
92020 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92021
92022 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92023 link map.
92024
92025 2011-08-17 Andreas Jaeger <aj@suse.de>
92026
92027 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92028
92029 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92030 Ian Lance Taylor <iant@google.com>
92031
92032 * math/libm-test.inc (lround_test): New testcase.
92033 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92034
92035 2011-09-08 Ulrich Drepper <drepper@gmail.com>
92036
92037 * Makefile: Remove support for automatic cvs check-ins.
92038 * Makerules: Likewise.
92039 * config.make.in: Likewise.
92040 * configure.in: Likewise.
92041 * intl/Makefile: Likewise.
92042 * locale/Makefile: Likewise.
92043 * po/Makefile: Likewise.
92044 * posix/Makefile: Likewise.
92045 * sysdeps/gnu/Makefile: Likewise.
92046 * sysdeps/mach/hurd/Makefile: Likewise.
92047 * sysdeps/sparc/sparc32/Makefile: Likewise.
92048
92049 [BZ #13118]
92050 * posix/Makefile (bug-regex32-ENV): Define.
92051 Patch by John Stanley <jpsinthemix@verizon.net>.
92052
92053 * misc/Makefile (headers): Add bits/select2.h.
92054 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92055 * misc/bits/select2.h: New file.
92056 * include/bits/select2.h: New file.
92057 * debug/Makefile (routines): Add fdelt_chk.
92058 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92059 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92060 FD_ISSET.
92061 * debug/fdelt_chk.c: New file.
92062
92063 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92064 * wcsmbs/test-wmemcmp.c: Likewise.
92065 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92066 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92067
92068 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92069
92070 * string/Makefile (strop-tests): Add memcmp.
92071 * string/test-wmemcmp.c: New file.
92072 * string/test-memcmp.c: Add wmemcmp support.
92073
92074 2011-09-08 Roland McGrath <roland@hack.frob.com>
92075
92076 [BZ #13153]
92077 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92078 2011-07-19 change.
92079
92080 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92081 garbage value in a __mach_port_mod_refs call in the cases of the
92082 task-self and thread-self ports.
92083
92084 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92085
92086 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92087
92088 2011-09-08 Andreas Schwab <schwab@redhat.com>
92089
92090 * elf/dl-load.c (lose): Check for non-null L.
92091
92092 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92093
92094 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92095
92096 * elf/dl-libc.c (dlerror_run): Pass back error code from
92097 dl_catch_error.
92098
92099 [BZ #13123]
92100 * elf/dl-load.c (lose): Free l_origin if it is valid.
92101
92102 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92103 names.
92104 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92105 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92107 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92108 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92109 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92110
92111 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92112
92113 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92114 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92115 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92116 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92117 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92118 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92119 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92120 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92121 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92122 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92123
92124 2011-08-15 Alan Modra <amodra@gmail.com>
92125
92126 [BZ #13092]
92127 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92128 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92129 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92130 ppc_mcount to static-only-routines.
92131 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92132 __mcount_internal.
92133 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92134 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92135
92136 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92137
92138 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92139 for finite and infinity parameters.
92140
92141 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92142
92143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92144 and add nop instructions for throughput optimization.
92145 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92146
92147 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92148
92149 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92150 aligned copy for power7 with vector-scalar instructions.
92151 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92152
92153 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92154
92155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92156 AVX check.
92157
92158 2011-09-07 Andreas Schwab <schwab@redhat.com>
92159
92160 [BZ #13144]
92161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92162 last change.
92163
92164 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92165
92166 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92167 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92168 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92169 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92170 clock_gettime.
92171
92172 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92173
92174 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92175 Forgot to demangle the pointer.
92176
92177 * sysdeps/i386/sysdep.h: Define atom_text_section.
92178 * sysdeps/x86_64/sysdep.h: Likewise.
92179 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92180 section with atom_text_section.
92181 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92182 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92183 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92185 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92186
92187 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92188 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92189 already be defined. Change to take two parameters and don't assign
92190 result to variable. Adjust all users.
92191 Define INTERNAL_GETTIME if not already defined.
92192 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92193 call.
92194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92195 HAVE_CLOCK_GETTIME_VSYSCALL.
92196 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92197
92198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92199 gettimeofday vsyscall, just use time.
92200
92201 2011-09-06 Andreas Schwab <schwab@redhat.com>
92202
92203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92204 <errno.h>.
92205
92206 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92207
92208 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92209 syscall on x86-64.
92210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92211 syscall.
92212 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92214 syscall if possible.
92215
92216 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92217
92218 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92219 e_ident. Don't pass to find_mapsXX.
92220 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92221
92222 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92223
92224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92225 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92226 * sysdeps/x86_64/multiarch/strchr.S: Update.
92227 Check bit_slow_BSF bit.
92228 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92229 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92230 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92231
92232 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92233
92234 [BZ #13134]
92235 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92236 before glibc 2.15.
92237 (tryshell): Define.
92238 (__spawni): Change last parameter to be flag. Test
92239 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92240 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92241 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92242 * posix/spawni.c: Likewise.
92243 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92244 * posix/spawnp.c: Likewise. Change normal version to use
92245 SPAWN_XFLAGS_USE_PATH.
92246 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92247 SPAWN_XFLAGS_TRY_SHELL.
92248
92249 [BZ #13150]
92250 * posix/glob.h: Remove gcc 1.x support.
92251
92252 [BZ #13068]
92253 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92254
92255 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92256
92257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92258 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92259 strrchr-sse2-bsf
92260 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92261 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92262 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92263 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92264 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92265 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92266
92267 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92268
92269 * sysdeps/x86_64/wcscmp.S: New file.
92270
92271 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92272 wcscmp-c wcscmp-sse2
92273 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92274 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92275 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92276 * wcsmbs/wcscmp.c: Allow renaming.
92277
92278 2011-09-05 David S. Miller <davem@davemloft.net>
92279
92280 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92281 stack slot, rather than the struct return pointer slot.
92282 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92283 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92285 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92286
92287 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92288
92289 * po/ja.po: Update from translation team.
92290
92291 [BZ #13144]
92292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92293 kernel in 64-bit binaries.
92294
92295 2011-09-01 David S. Miller <davem@davemloft.net>
92296
92297 * elf/elf.h (HWCAP_SPARC_*): Move to..
92298 * sysdeps/sparc/sysdep.h: this new file and add new values.
92299 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92300 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92301 _DL_HWCAP_COUNT to 24.
92302 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92303 entries.
92304 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92305 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92306 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92308 instead of magic constants.
92309 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92310
92311 2011-08-31 David S. Miller <davem@davemloft.net>
92312
92313 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92315 Reimplement to do errno handling inline.
92316 (SYSCALL_ERROR_HANDLER): New macro.
92317 (__SYSCALL_STRING): Do not do errno handling in asm.
92318 (__CLONE_SYSCALL_STRING): Delete.
92319 (__INTERNAL_SYSCALL_STRING): Delete.
92320 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92321 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92322 (PSEUDO): Reimplement to do errno handling inline.
92323 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92324 (SYSCALL_ERROR_HANDLER): New macro.
92325 (__SYSCALL_STRING): Do not do errno handling in asm.
92326 (__CLONE_SYSCALL_STRING): Delete.
92327 (__INTERNAL_SYSCALL_STRING): Delete.
92328 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92329 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92330 i386.
92331 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92332 (inline_syscall*): Add 'err' argument.
92333 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92334 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92335 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92336 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92337
92338 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92339 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92340
92341 2011-08-30 Andreas Schwab <schwab@redhat.com>
92342
92343 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92344
92345 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92346
92347 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92348 directive.
92349
92350 2011-08-24 David S. Miller <davem@davemloft.net>
92351
92352 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92353
92354 2011-08-24 Andreas Schwab <schwab@redhat.com>
92355
92356 * elf/Makefile: Add rules to build and run unload8 test.
92357 * elf/unload8.c: New file.
92358 * elf/unload8mod1.c: New file.
92359 * elf/unload8mod1x.c: New file.
92360 * elf/unload8mod2.c: New file.
92361 * elf/unload8mod3.c: New file.
92362
92363 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92364 it wasn't used.
92365
92366 2011-08-23 David S. Miller <davem@davemloft.net>
92367
92368 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92369 subtract stack bias.
92370 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92371 %sp not %fp in calculations.
92372 (_JMPBUF_UNWINDS_ADJ): Likewise.
92373
92374 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92375 (aio_suspend): Call it to force an exception region around the
92376 AIO_MISC_WAIT() invocation.
92377
92378 2011-08-23 Andreas Schwab <schwab@redhat.com>
92379
92380 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92381 backslash.
92382
92383 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92384
92385 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92386 protection macro.
92387 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92388 and <dl-machine.h>.
92389 (Elf64_FuncDesc): Remove.
92390
92391 2011-08-22 David S. Miller <davem@davemloft.net>
92392
92393 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92394 sigaltstack check, add missing cfi directives.
92395 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92396 missing cfi directives, and sigaltstack handling.
92397
92398 2011-08-16 Andreas Schwab <schwab@redhat.com>
92399
92400 [BZ #11724]
92401 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92402 object is seen twice.
92403 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92404
92405 * elf/Makefile (distribute): Add tst-initorder2.c.
92406 (tests): Add tst-initorder2.
92407 (modules-names): Add tst-initorder2a tst-initorder2b
92408 tst-initorder2c tst-initorder2d. Add rules to build them.
92409 ($(objpfx)tst-initorder2.out): New rule.
92410 * elf/tst-initorder2.c: New file.
92411 * elf/tst-initorder2.exp: New file.
92412
92413 2011-08-22 Andreas Schwab <schwab@redhat.com>
92414
92415 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92416
92417 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92418 dependencies back to end of function.
92419
92420 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92421 $(elfobjdir)/ld.so.
92422
92423 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92424
92425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92426 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92428 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92429 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92430 of __vdso_gettimeofday.
92431 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92432 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92433 attribute_hidden.
92434 (_libc_vdso_platform_setup): Remove initialization of
92435 __vdso_gettimeofday and __vdso_time.
92436
92437 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92438
92439 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92440 and fgetc_unlocked.
92441 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92442 getc_unlocked.
92443
92444 * elf/dl-open.c (add_to_global): Report additions to the global scope
92445 for LD_DEBUG=scopes.
92446 (dl_open_worker): Also print scope of newly loaded dependencies.
92447 (_dl_show_scope): Indicate if there is no scope.
92448
92449 [BZ #13114]
92450 * stdio-common/Makefile (tests): Add bug24.
92451 * stdio-common/bug24.c: New file.
92452
92453 2011-08-19 Andreas Jaeger <aj@suse.de>
92454
92455 [BZ #13114]
92456 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92457 non-existant file when using close-on-exec mode.
92458
92459 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92460
92461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92462 the very first instruction.
92463
92464 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92465 the CFI state in the end.
92466 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92467 inclusion of dl-trampoline.h.
92468 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92469
92470 2011-08-19 Andreas Schwab <schwab@redhat.com>
92471
92472 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92473 expectations for long double.
92474
92475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92476 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92477
92478 2011-08-14 David S. Miller <davem@davemloft.net>
92479
92480 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92481 artificual limit depends upon the system page size.
92482
92483 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92484
92485 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92486 * resolv/Makefile: Define CFLAGS-libresolv.
92487
92488 2011-08-17 Andreas Schwab <schwab@redhat.com>
92489
92490 * nss/makedb.c (compute_tables): Make variables used in nested
92491 function static.
92492
92493 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92494
92495 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92496 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92497 if buffer was too small.
92498
92499 * elf/pldd.c (main): Attach to all threads in the process.
92500 Rewrite /proc handling to use *at functions.
92501
92502 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92503
92504 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92505 specifies first scope to show.
92506 (dl_open_worker): Update callers. Move printing scope of new
92507 object to before the relocation.
92508 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92509 * sysdeps/generic/ldsodefs.h: Update declaration.
92510
92511 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92512 string for the scope number.
92513
92514 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92515
92516 * nscd/servicescache.c (cache_addserv): Make sure written is always
92517 initialized.
92518
92519 2011-08-14 Roland McGrath <roland@hack.frob.com>
92520
92521 * sysdeps/i386/i486/bits/atomic.h
92522 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92523 statement expression, so as to suppress "set but not used" warning.
92524 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92525
92526 * string/strncat.c (STRNCAT): Use prototype definition.
92527
92528 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92529 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92530 -Iprograms here.
92531 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92532 (localedef-modules): Add localedef.
92533 (locale-modules): Add locale.
92534
92535 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92536 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92537 to avoid a warning.
92538
92539 2011-08-14 David S. Miller <davem@davemloft.net>
92540
92541 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92542 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92543
92544 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92545
92546 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92547 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92548 * elf/rtld.c (dl_main): Set l_name of vDSO.
92549 Call _dl_show_scope when DL_DEBUG_SCOPES.
92550 (process_dl_debug): Recognize scopes flag and also set it for all.
92551 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92552 Declare _dl_show_scope.
92553
92554 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92555 (do_dlopen): Pass caller_dlopen to dl_open.
92556 (__libc_dlopen_mode): Initialize caller_dlopen.
92557
92558 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92559 of libc. Make tolower call locale-independent. Optimize a bit by
92560 using isdigit instead of isalnum.
92561 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92562
92563 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92564
92565 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92566 was a dependency or dynamically loaded.
92567
92568 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92569
92570 * intl/l10nflist.c: Allow architecture-specific pop function.
92571 * sysdeps/x86_64/l10nflist.c: New file.
92572
92573 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92574 classification.
92575
92576 2011-08-10 Andreas Schwab <schwab@redhat.com>
92577
92578 * include/dirent.h: Add libc_hidden_proto for scandirat and
92579 scandirat64. Don't declare __scandirat64.
92580 * dirent/scandirat.c: Add libc_hidden_def.
92581 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92582 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92583
92584 2011-08-10 David S. Miller <davem@davemloft.net>
92585
92586 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92587 enum.
92588 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92590 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92591
92592 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92593
92594 * Versions.def [libc]: Add GLIBC_2.15.
92595 * dirent/Makefile (routines): Add scandirat and scandirat64.
92596 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92597 GLIBC_2.15.
92598 * dirent/dirent.h: Declare scandirat and scandirat64.
92599 * dirent/scandirat.c: New file.
92600 * dirent/scandirat64.c: New file.
92601 * sysdeps/wordsize-64/scandirat.c: New file.
92602 * sysdeps/wordsize-64/scandirat64.c: New file.
92603 * dirent/opendir.c: Define opendirat.
92604 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92605 using scandirat.
92606 * dirent/scandir64.c: Adjust for scandir.c change.
92607 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92608 __scandirat64, and __scandir_cancel_handler.
92609 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92610 additional parameter and use openat instead of open (outside of ld.so).
92611 Add new __opendir as wrapper around __opendirat.
92612 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92613 here without requiring old scandirat implementation.
92614
92615 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92616
92617 * dirent/scandir.c (cancel_handler): Renamed to
92618 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92619 defined. Adjust users.
92620 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92621 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92622
92623 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92624
92625 * string/test-string.h (IMPL): Use __STRING to expand name and then
92626 stringify it.
92627
92628 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92629 of cleanups.
92630
92631 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92632
92633 * string/Makefile: Update.
92634 (strop-tests): Append strncat.
92635 * string/test-wcscmp.c: New file.
92636 New comprehensive test for wcscmp.
92637 * string/test-strcmp.c: Update.
92638 (WIDE): New define.
92639
92640 2011-07-22 Andreas Schwab <schwab@redhat.com>
92641
92642 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92643 line.
92644
92645 2011-07-26 Andreas Schwab <schwab@redhat.com>
92646
92647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92648 encoding to ACE if AI_IDN.
92649
92650 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92651
92652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92653 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92654
92655 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92656
92657 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92658 Fix overflow bug in strncat.
92659 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92660
92661 * string/test-strncat.c: Update.
92662 Add new tests for checking overflow bugs.
92663
92664 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92665
92666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92667 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92668 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92669 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92670 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92671 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92672 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92673 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92674 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92675
92676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92677 (USE_AS_STRCAT): Define.
92678 Add strcat and strncat support.
92679 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92680
92681 2011-07-25 Andreas Schwab <schwab@redhat.com>
92682
92683 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92684 __n bigger than INT_MAX+1.
92685 (__strncmp_g): Likewise.
92686
92687 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92688
92689 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92690 * libio/stido.h: Likewise.
92691
92692 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92693 (AF_NFC): Define.
92694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92695 (AF_NFC): Define.
92696
92697 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92698 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92699 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92700 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92701 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92702
92703 [BZ #13021]
92704 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92705 installed.
92706
92707 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92708 typo.
92709 (_dl_x86_64_save_sse): Likewise.
92710
92711 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92712
92713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92714 OSXSAVE.
92715 (_dl_x86_64_save_sse): Likewise.
92716
92717 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92718
92719 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92720
92721 2011-07-21 Andreas Schwab <schwab@redhat.com>
92722
92723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92724 change.
92725 (_dl_x86_64_save_sse): Use correct AVX check.
92726
92727 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92728
92729 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92730 bug in strncpy/strncat.
92731 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92732
92733 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92734
92735 * string/tester.c (test_strcat): Add tests for different alignments
92736 of source and destination.
92737 (test_strncat): Likewise.
92738
92739 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92740
92741 [BZ #12852]
92742 * posix/glob.c (glob): Check passed in values before using them in
92743 expressions to avoid some overflows.
92744 (glob_in_dir): Likewise.
92745
92746 [BZ #13007]
92747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92748 check for AVX enablement so that we don't crash with old kernels and
92749 new hardware.
92750 * elf/tst-audit4.c: Add same checks here.
92751 * elf/tst-audit6.c: Likewise.
92752
92753 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92754
92755 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92756
92757 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92758
92759 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92760
92761 * po/cs.po: Update from translation team.
92762 * po/bg.po: Likewise.
92763
92764 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92765
92766 * misc/sys/cdefs.h: Add support for const attribute.
92767 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92768 to gnu_dev_{major,minor,makedev} functions.
92769
92770 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92771
92772 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92773
92774 2011-07-20 Andreas Schwab <schwab@redhat.com>
92775
92776 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92777 strlen results.
92778
92779 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92780
92781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92782 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92783 register in order to avoid conflicts with the soft frame pointer
92784 being held in r11 when necessary.
92785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92786 (INTERNAL_VSYSCALL_NCS): Likewise.
92787
92788 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92789
92790 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92791 * elf/dl-fini.c (_dl_fini): Adjust caller.
92792 * elf/dl-close.c (_dl_close_worker): Likewise.
92793 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92794
92795 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92796
92797 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92798 "aux_cache->nlibs < 0".
92799
92800 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92801 in the reload-count case.
92802
92803 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92804
92805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92806 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92807 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92808 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92809 * sysdeps/x86_64/multiarch/strcat.S: New file.
92810 * sysdeps/x86_64/multiarch/strncat.S: New file.
92811 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92812 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92813 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92814 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92815 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92816 (USE_AS_STRCAT): Define.
92817 Add strcat and strncat support.
92818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92819 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92820 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92821 * string/strncat.c: Update.
92822 (USE_AS_STRNCAT): Define.
92823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92824 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92825 and i7.
92826 * sysdeps/x86_64/multiarch/init-arch.h
92827 (bit_Prefer_PMINUB_for_stringop): New.
92828 (index_Prefer_PMINUB_for_stringop): Likewise.
92829 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92830 bit_Prefer_PMINUB_for_stringop.
92831
92832 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92833
92834 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92835 buffer64.
92836 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92837 of casting of buffer.
92838 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92839 buffer32 and buffer64.
92840 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92841 writes instead of casting of buffer.
92842 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92843 buffer32.
92844 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92845 casting of buffer.
92846
92847 2011-07-19 Andreas Schwab <schwab@redhat.com>
92848
92849 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92850
92851 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92852
92853 * nscd/nscd.c (termination_handler): Don't do anything for a database
92854 if it has not yet been initialized.
92855
92856 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92857
92858 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92859
92860 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92861
92862 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92863
92864 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92865
92866 * po/nl.po: Update from translation team.
92867 * po/sv.po: Likewise.
92868
92869 2011-07-16 Roland McGrath <roland@hack.frob.com>
92870
92871 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92872 now disallowed by GCC.
92873
92874 * configure.in (use-default-link): Default to yes if a test -shared
92875 link meets our qualifications.
92876 * configure: Regenerated.
92877
92878 * config.make.in (output-format): New variable.
92879 * configure.in: Check for ld --print-output-format support.
92880 * configure: Regenerated.
92881 * Makerules ($(common-objpfx)format.lds)
92882 [$(output-format) != unknown]: Just use $(output-format),
92883 instead of the linker-script munging.
92884
92885 2011-07-14 Roland McGrath <roland@hack.frob.com>
92886
92887 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92888 of $(common-objpfx)shlib.lds.
92889 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92890
92891 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92892 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92893
92894 * configure.in (-z relro check): Adjust test code to add a large
92895 writable data section after it.
92896 * configure: Regenerated.
92897
92898 2011-07-11 Roland McGrath <roland@hack.frob.com>
92899
92900 * configure.in (-z relro check): Fix test code to make the variable
92901 truly const.
92902 * configure: Regenerated.
92903
92904 2011-07-11 Ulrich Drepper <drepper@gmail.com>
92905
92906 * nscd/nscd.h (struct traced_file): Define.
92907 (struct database_dyn): Remove inotify_descr, reset_res, and filename
92908 elements. Add traced_files.
92909 (inotify_fd): Declare.
92910 (register_traced_file): Declare.
92911 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92912 (inotify_fd): Export.
92913 (resolv_conf_descr): Remove.
92914 (nscd_init): Move inotify descriptor creation to main.
92915 Don't register files for notification here.
92916 (register_traced_file): New function.
92917 (invalidate_cache): Don't use reset_res to determine whether to call
92918 res_init, go through the list of registered files.
92919 (main_loop_poll): The inotify descriptors are now stored in the
92920 structures for the traced files.
92921 (main_loop_epoll): Likewise.
92922 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
92923 to __nss_disable_nscd.
92924 * nscd/cache.c (prune_cache): There is no single inotify descriptor
92925 for a database anymore. Check the records for all the registered
92926 files instead.
92927 * nss/Makefile (libnss_files-routines): Add files-init.
92928 (libnss_db-routines): Add db-init.
92929 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92930 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92931 * nss/nss_db/db-init.c: New file.
92932 * nss/nss_files/files-init.c: New file.
92933 * nss/nsswitch.c (nss_load_library): New function. Broken out of
92934 __nss_lookup_function.
92935 (__nss_lookup_function): Call nss_load_library.
92936 (nss_load_all_libraries): New function.
92937 (__nss_disable_nscd): Take parameter with callback function for files
92938 to register. Set is_nscd. Load all the DSOs for the NSS modules
92939 used for the cached services.
92940 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92941 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92942 options for features to all the files in nscd.
92943
92944 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92945
92946 2011-07-10 Roland McGrath <roland@hack.frob.com>
92947
92948 * csu/elf-init.c (__libc_csu_init): Comment typo.
92949
92950 2011-07-09 Ulrich Drepper <drepper@gmail.com>
92951
92952 * po/pl.po: Update from translation team.
92953 * po/ja.po: Likewise.
92954 * po/ru.po: Likewise.
92955 * po/ko.po: Likewise.
92956 * po/fr.po: Likewise.
92957
92958 2011-07-09 Roland McGrath <roland@hack.frob.com>
92959
92960 * configure.in (.ctors/.dtors header and trailer check):
92961 Use an empirical test on a built program.
92962 * configure: Regenerated.
92963
92964 * configure.in (-z relro check): Use an empirical test on a built DSO.
92965 Detect, but do not require, on ia64.
92966 * configure: Regenerated.
92967
92968 * configure.in (READELF): Find it with AC_CHECK_TOOL.
92969 Update tests that use readelf to use $READELF instead.
92970 * configure: Regenerated.
92971
92972 2011-07-08 Ulrich Drepper <drepper@gmail.com>
92973
92974 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92975 if the result is not used.
92976
92977 2011-07-05 Andreas Jaeger <aj@suse.de>
92978
92979 [BZ #9696]
92980 * stdlib/tst-strtod.c: Add testcase.
92981
92982 2011-07-07 Ulrich Drepper <drepper@gmail.com>
92983
92984 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92985 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92986 The latter has a higher limit. Take additional parameter to pass to
92987 the new function.
92988 (__pathconf): Pass file to __statfs_link_max.
92989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92990 __statfs_link_max.
92991 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92992 __statfs_link_max.
92993
92994 [BZ #12868]
92995 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92996 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92997 Handle Lustre.
92998 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92999 (__statfs_filesize_max): Likewise.
93000 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93001
93002 2011-07-05 Andreas Jaeger <aj@suse.de>
93003
93004 * resolv/res_comp.c (dn_skipname): Remove unused variable.
93005
93006 2011-07-06 Marek Polacek <mpolacek@redhat.com>
93007
93008 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93009 `status' variable.
93010 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93011 Likewise.
93012
93013 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
93014
93015 * Makefile (strop-tests): Add strncat.
93016 * string/test-strncat.c: New file.
93017
93018 2011-06-30 Marek Polacek <mpolacek@redhat.com>
93019
93020 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93021
93022 2011-06-21 Andreas Jaeger <aj@suse.de>
93023
93024 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93025 Copy rule from iconvdata/Makefile.
93026
93027 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93028
93029 [BZ #12922]
93030 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93031 but no long options are defined, just return 'W'.
93032
93033 2011-06-22 Marek Polacek <mpolacek@redhat.com>
93034
93035 [BZ #9696]
93036 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93037
93038 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93039
93040 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93041 netgroups to read.
93042 (innetgr): Likewise.
93043
93044 2011-07-05 Roland McGrath <roland@hack.frob.com>
93045
93046 * config.make.in (install_root): Default to $(DESTDIR).
93047
93048 2011-07-05 Ulrich Drepper <drepper@gmail.com>
93049
93050 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93051
93052 2011-07-02 Roland McGrath <roland@hack.frob.com>
93053
93054 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93055
93056 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93057 containing directory rather than embedding absolute directory names.
93058
93059 * scripts/check-local-headers.sh: Rewritten using awk.
93060 Match by word, not by line. Print error messages for matches.
93061 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93062
93063 * Makerules [shlib-lds-flags empty]:
93064 ($(common-objpfx)libc_pic.opts): New target.
93065 ($(common-objpfx)libc_pic.os.clean): New target.
93066 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93067
93068 * config.make.in (OBJCOPY): New variable.
93069 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93070 * configure: Regenerated.
93071
93072 * config.make.in (use-default-link): New variable.
93073 * configure.in (use_default_link): Grok --with-default-link to set it.
93074 * configure: Regenerated.
93075 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93076 (shlib-lds, shlib-lds-flags): Define to empty.
93077
93078 * Makerules (shlib-lds): New variable.
93079 (shlib-lds-flags): New variable.
93080 (build-shlib, build-moduile, build-module-asneeded): Use it.
93081 ($(common-objpfx)libc.so): Use $(shlib-lds).
93082 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93083 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93084
93085 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93086 DT_FLAGS/DT_FLAGS_1 with zero flags.
93087
93088 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93089 linker script munging.
93090
93091 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93092
93093 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93094 as 128-bit value.
93095 * crypt/sha512.c (sha512_process_block): Perform total addition using
93096 128-bit if possible.
93097 (__sha512_finish_ctx): Likewise.
93098 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93099 as 64-bit value.
93100 * crypt/sha256.c (SWAP64): Define.
93101 (sha256_process_block): Perform total addition using 64-bit if
93102 possible.
93103 (__sha256_finish_ctx): Likewise.
93104
93105 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93106
93107 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93109 * nscd/hstcache.c (cache_addhst): Likewise.
93110 * nscd/grpcache.c (cache_addgr): Likewise.
93111 * nscd/aicache.c (addhstaiX): Likewise.
93112 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93113
93114 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93115
93116 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93117 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93118 * nscd/hstcache.c (cache_addhst): Likewise.
93119 * nscd/grpcache.c (cache_addgr): Likewise.
93120 * nscd/aicache.c (addhstaiX): Likewise.
93121
93122 2011-07-01 Andreas Schwab <schwab@redhat.com>
93123
93124 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93125 domain only when needed.
93126
93127 2011-06-30 Andreas Schwab <schwab@redhat.com>
93128
93129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93130 is always restored.
93131
93132 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93133
93134 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93135 are re-adding the entry.
93136 * nscd/servicescache.c (cache_addserv): Likewise.
93137
93138 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93139
93140 * sysdeps/generic/dl-irel.h: fix protection against multiple
93141 inclusions.
93142 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93143
93144 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93145
93146 [BZ #12935]
93147 * malloc/memusage.sh: Fix quoting in message.
93148 * debug/xtrace.sh: Likewise.
93149
93150 * configure.in: Remove support for --experimental-malloc option, make
93151 it the default.
93152 * config.make.in: Likewise.
93153 * malloc/Makefile: Likewise.
93154
93155 2011-06-27 Andreas Schwab <schwab@redhat.com>
93156
93157 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93158 two-byte characters.
93159
93160 2011-06-27 Roland McGrath <roland@hack.frob.com>
93161
93162 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93163 AC_CACHE_CHECK invocation.
93164 * configure: Regenerated.
93165
93166 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93167
93168 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93169
93170 [BZ #12350]
93171 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93172 bit from old_res_options.
93173
93174 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93175
93176 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93177 value type for setfct.
93178
93179 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93180
93181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93182 __gettimeofday instead of gettimeofday.
93183
93184 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93185
93186 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93187
93188 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93189
93190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93191
93192 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93193 info.
93194
93195 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93196
93197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93198 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93199 strcpy-sse2-unaligned strncpy-sse2-unaligned
93200 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93201 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93202 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93203 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93204 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93205 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93206 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93207 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93208 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93209 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93210 (STRCPY): Support SSE2 and SSSE3 versions.
93211
93212 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93213
93214 [BZ #12874]
93215 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93216 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93217 kernels which artificially limit size of requests.
93218
93219 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93220
93221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93222 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93223 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93224 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93225 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93226 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93227 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93228 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93229 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93231 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93232 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93233 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93234 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93235 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93237 Enable unaligned load optimization for Intel Core i3, i5 and i7
93238 processors.
93239 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93240 Define.
93241 (index_Fast_Unaligned_Load): Define.
93242 (HAS_FAST_UNALIGNED_LOAD): Define.
93243
93244 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93245
93246 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93247
93248 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93249
93250 [BZ #12907]
93251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93252 until it is clear that the information is realy needed.
93253 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93254
93255 2011-06-22 Andreas Schwab <schwab@redhat.com>
93256
93257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93258
93259 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93260
93261 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93262 /sys/devices/system/cpu/online if it is usable.
93263
93264 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93265 reading the information from the /proc filesystem to once a second.
93266
93267 2011-06-21 Andreas Jaeger <aj@suse.de>
93268
93269 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93270 NULL after inclusion of kernel headers.
93271
93272 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93273
93274 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93275 calls to internal_setent.
93276
93277 [BZ #12885]
93278 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93279 addresses using gethostbyname4_r ignore IPv4 addresses.
93280
93281 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93282 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93283
93284 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93285
93286 2011-06-20 David S. Miller <davem@davemloft.net>
93287
93288 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93289 inclusions.
93290 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93291
93292 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93293 (elf_irel): Use it.
93294 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93295 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93296 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93297 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93298 * sysdeps/x86_64/dl-irel.h: Likewise.
93299
93300 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93301 * elf/dl-sym.c: Likewise.
93302
93303 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93304
93305 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93306 need to dereference resplen2.
93307
93308 2011-06-14 Andreas Schwab <schwab@redhat.com>
93309
93310 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93311
93312 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93313
93314 * Makeconfig: Define vardbdir and inst_vardbdir.
93315 * nss/Makefile: Add rules to install db-Makefile.
93316
93317 * nss/nss_db/db-XXX.c: Cleanup.
93318
93319 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93320 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93321 GLIBC_PRIVATE.
93322 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93323 * nss/makedb.c: Implement -g option to specify that value strings
93324 are generated and should not be added to table iterated over for
93325 get*ent calls.
93326 * nss/nss_db/db-initgroups.c: New file.
93327
93328 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93329 interface.
93330
93331 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93332 (internal_getgrouplist): Adjust to name change.
93333 Update use_initgroups_entry if this is not the first call.
93334 * nss/databases.def: Add initgroups entry.
93335
93336 * nss/makedb.c (compute_tables): Check result of multiple hash table
93337 sizes to minimize maximum chain length.
93338
93339 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93340
93341 * Versions.def: Add entry for libnss_db.
93342 * shlib-versions: Likewise.
93343 * nss/Makefile: Add rules to build libnss_db.
93344 * nss/Versions: Add libnss_db information. Organize libnss_files
93345 entries better.
93346 * nss/db-Makefile: Add gshadow support. Change rules for the new
93347 makedb progra. Some minor improvements to generate smaller files.
93348 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93349 here from...
93350 * nss/makedb.c: ...here.
93351 Improve database format to be smaller and require less memory at
93352 runtime.
93353 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93354 db anymore.
93355 * nss/nss_db/db-netgrp.c: Likewise.
93356 * nss/nss_db/db-open.c: Likewise.
93357 * nss/nss_files/flies-XXX.x: Adjust comments.
93358 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93359 * nss/nss_files/files-grp.c: Likewise.
93360 * nss/nss_files/files-hosts.c: Likewise.
93361 * nss/nss_files/files-network.c: Likewise.
93362 * nss/nss_files/files-proto.c: Likewise.
93363 * nss/nss_files/files-pwd.c: Likewise.
93364 * nss/nss_files/files-rpc.c: Likewise.
93365 * nss/nss_files/files-service.c: Likewise.
93366 * nss/nss_files/files-sgrp.c: Likewise.
93367 * nss/nss_files/files-spwd.c: Likewise.
93368 * nss/nss_db/db-alias.c: Removed.
93369 * nss/nss_db/dummy-db.h: Removed.
93370
93371 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93372
93373 * nss/makedb.c: Rewritten to not use database library.
93374 * nss/Makefile: Update to build new makedb program.
93375
93376 2011-06-14 Andreas Jaeger <aj@suse.de>
93377
93378 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93379 memset declaration.
93380
93381 2011-06-10 Andreas Schwab <schwab@redhat.com>
93382
93383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93384 tmpbuf.
93385
93386 2011-06-10 Roland McGrath <roland@hack.frob.com>
93387
93388 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93389 * elf/Makefile ($(objpfx)ld.so): Likewise.
93390
93391 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93392 Don't list ld.so twice in dependencies.
93393
93394 * posix/bug-regex31.c: Include <stdlib.h>.
93395
93396 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93397
93398 * nis/nss_compat/compat-spwd.c
93399 (getspent_next_nss_netgr): Remove unused variable.
93400 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93401
93402 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93403 nonmembers" output to use the right array.
93404
93405 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93406
93407 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93408
93409 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93410 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93411 * catgets/gencat.c (read_input_file): Likewise.
93412 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93413
93414 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93415 variable definition inside #if's controlling its use.
93416
93417 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93418
93419 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93420
93421 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93422
93423 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93424 unreachable code.
93425
93426 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93427
93428 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93429 * configure: Regenerated.
93430
93431 * Makerules: Revert last change.
93432 * elf/Makefile: Likewise.
93433
93434 2011-06-09 Roland McGrath <roland@hack.frob.com>
93435
93436 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93437 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93438 (reloc-link): Likewise.
93439
93440 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93441
93442 * elf/Makefile: Add rules to build pldd.
93443 * elf/pldd.c: New file.
93444 * elf/pldd-xx.c: New file.
93445
93446 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93447
93448 * version.h: Update for 2.15 development version.
93449
93450 2011-06-07 David S. Miller <davem@davemloft.net>
93451
93452 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93453 ifuncs.
93454 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93455 elf_machine_lazy_rel): Likewise.
93456 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93457 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93458 elf_machine_lazy_rel): Likewise.
93459 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93460 dl_hwcap via passed in argument.
93461 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93462 Likewise.
93463
93464 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93465
93466 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93467
93468 2011-06-06 Roland McGrath <roland@hack.frob.com>
93469
93470 [BZ #12849]
93471 * manual/fdl-1.1.texi: New file, verbatim from:
93472 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93473 * manual/lgpl-2.1.texi: New file, verbatim from:
93474 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93475 * manual/Makefile (licenses): New variable, list those new file names.
93476 (texis): Use it.
93477 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93478
93479 * manual/fdl.texi: File removed.
93480 * manual/lesser.texi: File removed.
93481 * manual/libc.texinfo (Copying, Documentation License):
93482 Use new @include file names, put @appendix directive before @include.
93483
93484 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93485
93486 [BZ #12841]
93487 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93488 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93489 (mq_open): Add __NTH.
93490
93491 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93492
93493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93494 Assume Intel Core i3/i5/i7 processor if AVX is available.
93495
93496 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93497
93498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93499 typo.
93500
93501 2011-05-31 Andreas Schwab <schwab@redhat.com>
93502
93503 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93504 memory. Use alloca_account. Fix memory leak when retrying.
93505
93506 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93507
93508 * version.h (RELEASE): Bump for 2.14 release.
93509 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93510
93511 * config.make.in (RANLIB): Remove entry.
93512
93513 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93514
93515 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93516 (libc.pot): Work around missing support for .ksh extension in xgettext.
93517
93518 [BZ #12684]
93519 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93520 if both request failed.
93521 (send_dg): In case of server errors clear resplen or *resplen2.
93522
93523 [BZ #12454]
93524 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93525 when there are multiple maps.
93526 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93527 (_dl_fini): Remove test here.
93528
93529 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93530
93531 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93532
93533 [BZ #12350]
93534 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93535 bit from old_res_options.
93536 (gaih_inet): Likewise.
93537
93538 [BZ #11099]
93539 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93540 as signed.
93541
93542 * resolv/res_init.c (res_setoptions): Make the code more compact.
93543
93544 [BZ #11558]
93545 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93546 set RES_USEVC.
93547
93548 [BZ #11634]
93549 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93550
93551 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93552
93553 [BZ #11781]
93554 * malloc/malloc.h: Declare malloc hook variables as volatile.
93555
93556 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93557 in last patch.
93558
93559 [BZ #11799]
93560 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93561 raise in the comment.
93562 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93564 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93565
93566 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93567
93568 [BZ #12811]
93569 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93570 grow the buffers more if it already has to be sufficient.
93571 (build_wcs_upper_buffer): Likewise.
93572 * posix/regexec.c (check_matching): Likewise.
93573 (clean_state_log_if_needed): Likewise.
93574 (extend_buffers): Don't enlarge buffers beyond size of the input
93575 buffer.
93576 Patches mostly by Emil Wojak <emil@wojak.eu>.
93577 * posix/bug-regex32.c: New file.
93578 * posix/Makefile (tests): Add bug-regex32.
93579
93580 * locale/findlocale.c (_nl_find_locale): Return right away if
93581 _nl_explode_name failed.
93582 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93583
93584 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93585
93586 * debug/xtrace.sh: Unify messages.
93587 * malloc/memusage.sh: Likewise.
93588
93589 [BZ #12813]
93590 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93591 time symbol from vDSO. Substitute with vsyscall if not available.
93592 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93593 __vdso_time.
93594
93595 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93596 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93597 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93598 Add sendmmsg and internal_sendmmsg.
93599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93600 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93601 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93602
93603 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93604 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93605 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93606
93607 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93608
93609 [BZ #12813]
93610 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93611 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93612 available.
93613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93614 __vdso_getcpu.
93615
93616 [BZ #12814]
93617 * iconvdata/Makefile (tests): Add bug-iconv9.
93618 * iconvdata/bug-iconv9.c: New file.
93619
93620 2011-05-27 Andreas Schwab <schwab@redhat.com>
93621
93622 [BZ #12814]
93623 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93624
93625 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93626
93627 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93628 (struct user_regs_struct): Change intcs field back to cs.
93629
93630 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93631
93632 * po/ja.po: Update from translation team.
93633
93634 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93635
93636 [BZ #12795]
93637 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93638 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93639
93640 2011-05-20 Andreas Schwab <schwab@redhat.com>
93641
93642 * stdlib/longlong.h: Update from GCC.
93643
93644 2011-05-23 Andreas Schwab <schwab@redhat.com>
93645
93646 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93647 parameter name.
93648 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93649 Add parameter name.
93650 (__sysconf): Pass it down.
93651
93652 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93653
93654 [BZ #12671]
93655 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93656 some situations.
93657 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93658 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93659 add in in __libc_use_alloca calls. Adjust callers.
93660 (glob): Use malloc in some situations.
93661
93662 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93663 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93664 pltexit.
93665
93666 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93667
93668 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93669 and CLOCK_BOOTTIME_ALARM.
93670
93671 [BZ #12782]
93672 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93673 is returned.
93674
93675 * string/_strerror.c (__strerror_r): Print negative errors as signed
93676 numbers.
93677
93678 [BZ #12777]
93679 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93680 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93681 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93682
93683 * configure.in: Fix typo in redirection and correct removal of test
93684 files in two cases.
93685
93686 [BZ #12788]
93687 * locale/setlocale.c (new_composite_name): Fix test to check for
93688 identical name of all categories.
93689
93690 [BZ #12792]
93691 * libio/filedoalloc.c (local_isatty): New function.
93692 (_IO_file_doallocate): Use local_isatty.
93693 * stdio-common/perror.c (perror): In case a new stream is used
93694 forward the stream error.
93695 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93696 error flag.
93697
93698 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93699
93700 [BZ #11884]
93701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93702 alloca.
93703 * include/alloca.h (extend_alloca_account): Define.
93704
93705 [BZ #11857]
93706 * posix/regex.h: Fix comments with documentation of user-accessible
93707 fields after compilation and describe correct free'ing of pattern
93708 after re_compile_pattern.
93709 Patch by Reuben Thomas <rrt@sc3d.org>.
93710
93711 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93712
93713 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93714 and -mno-altivec to prevent the compiler from using Altivec and/or
93715 VSX instructions when the corresponding registers are not available.
93716
93717 2011-05-19 Andreas Schwab <schwab@redhat.com>
93718
93719 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93720
93721 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93722
93723 * libio/freopen.c (freopen): Use __dup2, not dup2.
93724 * libio/freopen64.c (freopen64): Likewise.
93725
93726 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93727
93728 [BZ #12775]
93729 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93730 * math/Makefile (tests): Add test-powl.
93731 (CFLAGS-test-powl.c): Define.
93732 * math/test-powl.c: New file.
93733
93734 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93735
93736 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93737
93738 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93739
93740 [BZ #11837]
93741 * iconvdata/gb18030.c: Update to GB18020-2005.
93742
93743 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93744
93745 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93746 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93747 Patch by Aharon Robbins <arnold@skeeve.com>.
93748
93749 [BZ #11892]
93750 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93751 on the stack.
93752
93753 [BZ #11895]
93754 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93755 through underflows.
93756
93757 [BZ #12766]
93758 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93759 point to strings before performing equality test for error_one_per_line
93760 mode.
93761
93762 [BZ #11697]
93763 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93764
93765 [BZ #11820]
93766 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93767 (struct user_fpregs_struct): Avoid __uint*_t types.
93768
93769 [BZ #6420]
93770 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93771 symbol info. Use it instead of calling _dl_addr locally.
93772 (lock_and_info): New function.
93773 (tr_freehook): Call lock_and_info and pass symbol info as additional
93774 parameter to tr_where.
93775 (tr_mallochook): Likewise.
93776 (tr_reallochook): Likewise.
93777 (tr_memalignhook): Likewise.
93778
93779 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93780 used and couldn't be at all thread-safe.
93781
93782 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93783
93784 * libio/freopen.c (freopen): Don't close old file descriptor
93785 before the new one is opened. Instead dup the new file descriptor
93786 to the old one after the new stream is created.
93787 * libio/freopen64.c (freopen64): Likewise.
93788 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93789 * libio/fileops.c (_IO_new_file_close_it): Handle new
93790 _IO_FLAGS2_NOCLOSE flag.
93791 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93792 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93793 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93794 _IO_FLAGS2_NOCLOSE flag.
93795 * include/unistd.h: Add hidden_proto for dup3.
93796 Define __have_dup3.
93797 * io/dup3.c: Define hidden symbol.
93798 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93799
93800 [BZ #7101]
93801 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93802 when an incomplete long option is used.
93803 * posix/tst-getopt_long1.c: New file.
93804 * posix/Makefile (tests): Add tst-getopt_long1.
93805
93806 [BZ #10138]
93807 * scripts/config.guess: Update from autoconf-2.68.
93808 * scripts/config.sub: Likewise.
93809
93810 [BZ #10157]
93811 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93812 tests into ...
93813 (has_cpuclock): ...this. New function.
93814 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93815 macro here based on has_cpuclock code.
93816
93817 [BZ #10149]
93818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93819 First byte (not low byte) is now always NUL.
93820 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93821
93822 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93823 Use non-cancelable interfaces.
93824
93825 [BZ #9809]
93826 * locale/iso-639.def: Add entry for Sorani.
93827
93828 [BZ #11901]
93829 * include/stdlib.h: Move include protection to the right place.
93830 Define abort_msg_s. Declare __abort_msg with it.
93831 * stdlib/abort.c (__abort_msg): Adjust type.
93832 * assert/assert.c (__assert_fail_base): New function. Majority
93833 of code from __assert_fail. Allocate memory for __abort_msg with
93834 mmap.
93835 (__assert_fail): Now call __assert_fail_base.
93836 * assert/assert-perr.c: Remove bulk of implementation. Use
93837 __assert_fail_base.
93838 * include/assert.hL Declare __assert_fail_base.
93839 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93840 mmap.
93841 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93842
93843 2011-05-14 Ulrich Drepper <drepper@gmail.com>
93844
93845 [BZ #11952]
93846 [BZ #12453]
93847 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93848 until all modules are registered in the DTV.
93849 * elf/Makefile: Add rules to build and run tst-tls19.
93850 * elf/tst-tls19.c: New file.
93851 * elf/tst-tls19mod1.c: New file.
93852 * elf/tst-tls19mod2.c: New file.
93853 * elf/tst-tls19mod3.c: New file.
93854 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93855
93856 [BZ #12083]
93857 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93858 correctly.
93859
93860 [BZ #12601]
93861 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93862 two-byte sequence errors.
93863 * iconvdata/Makefile (tests): Add bug-iconv8.
93864 * iconvdata/bug-iconv8.c: New file.
93865
93866 [BZ #12626]
93867 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93868 buf2 definition.
93869
93870 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93871
93872 [BZ #12432]
93873 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93874 (dummy_getcfa): New function.
93875 (init): Get _Unwind_GetCFA address, use dummy if not found.
93876 (backtrace_helper): In recursion check, also check whether CFA changes.
93877 (__backtrace): Completely initialize arg.
93878
93879 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93880 storing incomplete byte sequence in state object. Avoid testing for
93881 guaranteed too small input if we know there is enough data available.
93882
93883 2011-05-11 Andreas Schwab <schwab@redhat.com>
93884
93885 * Makeconfig (+link-pie): Indent.
93886 * Rules (binaries-pie): Define if $(have-fpie) and
93887 $(build-shared).
93888 (binaries-shared): Also filter out $(binaries-pie).
93889 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93890 * nscd/Makefile (others-pie): Add nscd.
93891 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93892 ($(objpfx)nscd): Remove command override.
93893 * login/Makefile (others-pie): Add pt_chown.
93894 ($(objpfx)pt_chown): Remove command override.
93895 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93896 remove command overrides.
93897
93898 2011-05-13 Ulrich Drepper <drepper@gmail.com>
93899
93900 * libio/tst_putwc.c: Fix error messages.
93901
93902 [BZ #12724]
93903 * libio/fileops.c (_IO_new_file_close_it): Always flush when
93904 currently writing and seek to current position when not.
93905 * libio/Makefile (tests): Add bug-fclose1.
93906 * libio/bug-fclose1.c: New file.
93907
93908 2011-05-12 Ulrich Drepper <drepper@gmail.com>
93909
93910 [BZ #12511]
93911 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93912 don't set DF_1_NODELETE here.
93913 (do_lookup_x): When entering new entry test for copy relocation
93914 and if necessary set DF_1_NODELETE flag.
93915 * elf/tst-unique4.cc: New file.
93916 * elf/tst-unique4.h: New file.
93917 * elf/tst-unique4lib.cc: New file.
93918 * elf/Makefile: Add rules to build and run tst-unique4.
93919 Patch by Piotr Bury <pbury@goahead.com>.
93920
93921 2011-05-11 Ulrich Drepper <drepper@gmail.com>
93922
93923 [BZ #12052]
93924 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93925
93926 [BZ #12625]
93927 * misc/mntent_r.c (addmntent): Flush the stream after the output
93928
93929 [BZ #12393]
93930 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93931 (is_trusted_path_normalize): Skip initial colon. Append slash
93932 to empty buffer. Duplicate is_trusted_path code but allow
93933 constructed patch to be prefix.
93934 (is_dst): Allow $ORIGIN followed by /.
93935 (_dl_dst_substitute): Correct clearing of check_for_trusted.
93936 Correct testing of result of is_trusted_path_normalize
93937 (decompose_rpath): Fix warning.
93938
93939 2011-05-10 Ulrich Drepper <drepper@gmail.com>
93940
93941 [BZ #11257]
93942 * grp/initgroups.c (internal_getgrouplist): When we found the service
93943 list through the initgroups entry in nsswitch.conf do not always
93944 continue on a successful lookup. Don't always use the
93945 __nss_group_database value if it is set.
93946 * nss/nsswitch.conf (initgroups): Change action for successful db
93947 lookup to continue for compatibility.
93948
93949 2011-05-09 Ulrich Drepper <drepper@gmail.com>
93950
93951 [BZ #11532]
93952 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93953 and CP774 modules.
93954 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93955 and CP774 modules.
93956 * iconvdata/tst-tables.sh: Likewise.
93957 * iconvdata/cp770.c: New file.
93958 * iconvdata/cp771.c: New file.
93959 * iconvdata/cp772.c: New file.
93960 * iconvdata/cp773.c: New file.
93961 * iconvdata/cp774.c: New file.
93962 * iconvdata/testdata/CP770: New file.
93963 * iconvdata/testdata/CP770..UTF8: New file.
93964 * iconvdata/testdata/CP771: New file.
93965 * iconvdata/testdata/CP771..UTF8: New file.
93966 * iconvdata/testdata/CP772: New file.
93967 * iconvdata/testdata/CP772..UTF8: New file.
93968 * iconvdata/testdata/CP773: New file.
93969 * iconvdata/testdata/CP773..UTF8: New file.
93970 * iconvdata/testdata/CP774: New file.
93971 * iconvdata/testdata/CP774..UTF8: New file.
93972
93973 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93974 END CHARMAP line.
93975 * iconvdata/gen-8bit-gap.sh: Likewise.
93976 * iconvdata/gen-8bit.sh: Likewise.
93977
93978 * locale/iso-639.def: Add ary entry.
93979
93980 [BZ #11258]
93981 * locale/C-translit.h.in: Add U20A1 transliteration.
93982
93983 [BZ #12178]
93984 * locale/iso-639.def: Add wae entry.
93985 Patch by Kevin Bortis <bortis@translate-wae.ch>.
93986
93987 [BZ #12545]
93988 * locale/programs/localedef.c (construct_output_path): Use ssize_t
93989 for n.
93990
93991 [BZ #12711]
93992 * locale/C-translit.h.in: Add entry for U20B9.
93993 Patch by pravin.d.s@gmail.com.
93994
93995 2011-05-08 Ulrich Drepper <drepper@gmail.com>
93996
93997 [BZ #12713]
93998 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93999 ENAMETOOLONG use generic getcwd.
94000 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94001 in rtld. Use *stat64.
94002 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94003 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94004 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94005 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94006 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94007 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94008 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94009 __fstatat64 macros.
94010 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94011 * dirent/rewinddir.c: Add libc_hidden_def.
94012 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94013 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94014
94015 * include/dirent.h (__alloc_dir): Add flags parameter.
94016 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94017 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94018 __alloc_dir.
94019 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94020 from fdopendir if O_CLOEXEC is already set.
94021
94022 2011-03-15 Alan Modra <amodra@gmail.com>
94023
94024 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94025 l_tls_firstbyte_offset non-zero. Save padding offset in
94026 l_tls_firstbyte_offset for later use.
94027 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94028 freeing static tls block.
94029
94030 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
94031
94032 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94033 where #ifdef was intended. The intent is to prevent ARG_MAX from
94034 being defined by the kernel headers.
94035
94036 2011-05-07 Ulrich Drepper <drepper@gmail.com>
94037
94038 [BZ #12734]
94039 * resolv/resolv.h: Define RES_NOTLDQUERY.
94040 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94041 no-tld-query and set RES_NOTLDQUERY.
94042 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94043 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94044 modern BIND to search name as TLD unless forbidden.
94045
94046 2011-05-07 Petr Baudis <pasky@suse.cz>
94047 Ulrich Drepper <drepper@gmail.com>
94048
94049 [BZ #12393]
94050 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94051 (is_trusted_path): ...to here.
94052 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94053 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94054 using is_trusted_path_normalize() in setuid scripts.
94055
94056 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
94057
94058 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94059 __BEGIN/__END_DECLS.
94060
94061 2011-05-06 Ulrich Drepper <drepper@gmail.com>
94062
94063 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94064 NSS_STATUS_NOTFOUND if no record was found.
94065
94066 2011-05-05 Andreas Schwab <schwab@redhat.com>
94067
94068 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94069 (headers-not-in-tirpc): Remove rpc/netdb.h
94070 * resolv/netdb.h: Revert last change.
94071
94072 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94073
94074 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94075 circular dependency between libgcc.a and libc.a.
94076
94077 2011-05-05 Andreas Schwab <schwab@redhat.com>
94078
94079 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94080 * nis/Makefile: Don't install rpcsvc/*.
94081 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94082 instead of <rpc/types.h>.
94083 (MAXHOSTNAMELEN): Define.
94084
94085 2011-05-03 Andreas Schwab <schwab@redhat.com>
94086
94087 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94088
94089 2011-04-28 Maciej Babinski <mbabinski@google.com>
94090
94091 [BZ #12714]
94092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94093 gethostbyname4_r when IPv6 results are possible.
94094
94095 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94096
94097 [BZ #12723]
94098 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94099 _PC_PIPE_BUF handling.
94100
94101 2011-04-30 Bruno Haible <bruno@clisp.org>
94102
94103 [BZ #12717]
94104 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94105 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94106 to 'int'.
94107 * inet/getnameinfo.c (getnameinfo): Likewise.
94108
94109 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94110
94111 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94112 to groups setting in database lookup.
94113 * nss/nsswitch.conf: Add initgroups entry.
94114
94115 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94116
94117 [BZ #12685]
94118 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94119 mode string.
94120 Patch by Eric Blake <eblake@redhat.com>.
94121
94122 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94123
94124 * sunrpc/Makefile (need-export-routines): Add svc_run.
94125 (routines): Remove svc_run.
94126 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94127 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94128 * sunrpc/svc_run.c (svc_run): Likewise.
94129 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94130
94131 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94132
94133 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94134 problem in reallocation in last patch.
94135
94136 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94137
94138 * sunrpc/Makefile: Move inclusion of Rules.
94139
94140 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94141
94142 * nss/nss_files/files-initgroups.c: New file.
94143 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94144 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94145 _nss_files_initgroups_dyn.
94146
94147 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94148
94149 * elf/elf.h (R_ARM_IRELATIVE): Define.
94150
94151 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94152
94153 * po/ru.po: Update from translation team.
94154
94155 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94156
94157 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94158 dependencies.
94159
94160 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94161
94162 [BZ #12653]
94163 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94164 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94166 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94167 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94168
94169 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94170
94171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94172 differing bytes.
94173 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94175 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94176
94177 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94178
94179 [BZ #12420]
94180 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94181 storing it.
94182 * stdlib/bug-getcontext.c: New file.
94183 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94184
94185 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94186
94187 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94188 instructions into .machine "z9-109".
94189 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94190 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94191
94192 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94193
94194 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94195 between environment variables and auxiliary vector.
94196
94197 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94198
94199 * Makefile: Add rules to build linkobj/libc.so.
94200 * include/libc-symbols.h: Define libc_hidden_nolink.
94201 * include/rpc/auth.h: Mark functions which are to be hidden.
94202 * include/rpc/auth_des.h: Likewise.
94203 * include/rpc/auth_unix.h: Likewise.
94204 * include/rpc/clnt.h: Likewise.
94205 * include/rpc/des_crypt.h: Likewise.
94206 * include/rpc/key_prot.h: Likewise.
94207 * include/rpc/pmap_clnt.h: Likewise.
94208 * include/rpc/pmap_prot.h: Likewise.
94209 * include/rpc/pmap_rmt.h: Likewise.
94210 * include/rpc/rpc_msg.h: Likewise.
94211 * include/rpc/svc.h: Likewise.
94212 * include/rpc/svc_auth.h: Likewise.
94213 * include/rpc/xdr.h: Likewise.
94214 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94215 * nss/Makefile: Likewise.
94216 * sunrpc/Makefile: Don't install headers. Build library with normal
94217 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94218 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94219 for the compat linking library. Remove use of INTDEF/INTUSE.
94220 * sunrpc/auth_none.c: Likewise.
94221 * sunrpc/auth_unix.c: Likewise.
94222 * sunrpc/authdes_prot.c: Likewise.
94223 * sunrpc/authuxprot.c: Likewise.
94224 * sunrpc/clnt_gen.c: Likewise.
94225 * sunrpc/clnt_perr.c: Likewise.
94226 * sunrpc/clnt_raw.c: Likewise.
94227 * sunrpc/clnt_simp.c: Likewise.
94228 * sunrpc/clnt_tcp.c: Likewise.
94229 * sunrpc/clnt_udp.c: Likewise.
94230 * sunrpc/clnt_unix.c: Likewise.
94231 * sunrpc/des_crypt.c: Likewise.
94232 * sunrpc/des_soft.c: Likewise.
94233 * sunrpc/get_myaddr.c: Likewise.
94234 * sunrpc/key_call.c: Likewise.
94235 * sunrpc/key_prot.c: Likewise.
94236 * sunrpc/netname.c: Likewise.
94237 * sunrpc/pm_getmaps.c: Likewise.
94238 * sunrpc/pm_getport.c: Likewise.
94239 * sunrpc/pmap_clnt.c: Likewise.
94240 * sunrpc/pmap_prot.c: Likewise.
94241 * sunrpc/pmap_prot2.c: Likewise.
94242 * sunrpc/pmap_rmt.c: Likewise.
94243 * sunrpc/publickey.c: Likewise.
94244 * sunrpc/rpc_cmsg.c: Likewise.
94245 * sunrpc/rpc_common.c: Likewise.
94246 * sunrpc/rpc_dtable.c: Likewise.
94247 * sunrpc/rpc_prot.c: Likewise.
94248 * sunrpc/rpc_thread.c: Likewise.
94249 * sunrpc/rtime.c: Likewise.
94250 * sunrpc/svc.c: Likewise.
94251 * sunrpc/svc_auth.c: Likewise.
94252 * sunrpc/svc_authux.c: Likewise.
94253 * sunrpc/svc_raw.c: Likewise.
94254 * sunrpc/svc_run.c: Likewise.
94255 * sunrpc/svc_simple.c: Likewise.
94256 * sunrpc/svc_tcp.c: Likewise.
94257 * sunrpc/svc_udp.c: Likewise.
94258 * sunrpc/svc_unix.c: Likewise.
94259 * sunrpc/svcauth_des.c: Likewise.
94260 * sunrpc/xcrypt.c: Likewise.
94261 * sunrpc/xdr.c: Likewise.
94262 * sunrpc/xdr_array.c: Likewise.
94263 * sunrpc/xdr_float.c: Likewise.
94264 * sunrpc/xdr_intXX_t.c: Likewise.
94265 * sunrpc/xdr_mem.c: Likewise.
94266 * sunrpc/xdr_rec.c: Likewise.
94267 * sunrpc/xdr_ref.c: Likewise.
94268 * sunrpc/xdr_sizeof.c: Likewise.
94269 * sunrpc/xdr_stdio.c: Likewise.
94270
94271 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94272
94273 [BZ #12650]
94274 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94275 * sysdeps/ia64/dl-tls.h: Likewise.
94276 * sysdeps/powerpc/dl-tls.h: Likewise.
94277 * sysdeps/s390/dl-tls.h: Likewise.
94278 * sysdeps/sh/dl-tls.h: Likewise.
94279 * sysdeps/sparc/dl-tls.h: Likewise.
94280 * sysdeps/x86_64/dl-tls.h: Likewise.
94281 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94282
94283 2011-03-14 Andreas Schwab <schwab@redhat.com>
94284
94285 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94286 rpath element also skip the following colon.
94287 (expand_dynamic_string_token): Add is_path parameter and pass
94288 down to DL_DST_REQUIRED and _dl_dst_substitute.
94289 (decompose_rpath): Call expand_dynamic_string_token with
94290 non-zero is_path. Ignore empty rpaths.
94291 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94292 with zero is_path.
94293
94294 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94295
94296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94297 Make cancelable.
94298
94299 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94300
94301 [BZ #12655]
94302 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94303 Patch by Filipe David Manana <fdmanana@apache.org>.
94304
94305 2011-04-07 Andreas Schwab <schwab@redhat.com>
94306
94307 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94308 Maintain aligned stack.
94309 (CHECK_RSP): Remove unused macro.
94310
94311 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94312
94313 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94314 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94315
94316 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94317
94318 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94319
94320 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94321
94322 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94323
94324 [BZ #12518]
94325 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94326 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94327 * sysdeps/x86_64/memmove.c: New file.
94328 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94329 (memcpy): Renamed to ...
94330 (__new_memcpy): This.
94331 (memcpy): Provide GLIBC_2_14 memcpy.
94332 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94333 (memcpy): Provide GLIBC_2_2_5 memcpy.
94334
94335 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94336
94337 [BZ #12631]
94338 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94339
94340 2011-03-30 Andreas Schwab <schwab@redhat.com>
94341
94342 * misc/syncfs.c: New file.
94343 * misc/Makefile (routines): Add syncfs.
94344 * posix/unistd.h: Declare syncfs.
94345 * sysdeps/unix/syscalls.list: Add syncfs.
94346
94347 2011-04-01 Andreas Schwab <schwab@redhat.com>
94348
94349 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94350 open_by_handle_at.
94351 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94354 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94356 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94358
94359 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94360
94361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94362 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94363 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94368
94369 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94370 sync_file_range.c with -fexceptions.
94371 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94372 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94373 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94374 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94375 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94376 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94377 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94378 sync_file_range as cancellation point
94379 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94380 now a wrapper around __call_sync_file_range with cancellation handling.
94381 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94382 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94383 function name to __call_sync_file_range.
94384 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94385 Add call_sync_file_range.
94386
94387 2011-04-01 Andreas Schwab <schwab@redhat.com>
94388
94389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94390 bits/timex.h.
94391
94392 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94393
94394 * iconv/iconv.h: Fix typo in comment.
94395 * io/fcntl.h: Likewise.
94396 * libio/stdio.h: Likewise.
94397 * posix/spawn.h: Likewise.
94398 * posix/unistd.h: Likewise.
94399 * stdlib/stdlib.h: Likewise.
94400 * time/time.h: Likewise.
94401 * wcsmbs/wchar.h: Likewise.
94402
94403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94404 open_by_handle): Add.
94405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94406 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94407 Augment a few comments.
94408 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94410 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94413 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94414 open_by_handle.
94415
94416 * io/fcntl.h (AT_EMPTY_PATH): Define.
94417
94418 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94419
94420 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94421 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94422 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94423 to...
94424 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94425 * Versions.def: Add GLIBC_2.14.
94426 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94427 Export.
94428
94429 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94430
94431 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94432 round counter.
94433 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94434
94435 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94436
94437 [BZ #12597]
94438 * string/test-strncmp.c (do_page_test): New function.
94439 (check2): Likewise.
94440 (test_main): Call check2.
94441 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94442
94443 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94444
94445 [BZ #12587]
94446 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94447 Handle cache information in CPU leaf 4.
94448 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94449
94450 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94451
94452 [BZ #12583]
94453 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94454 character representation.
94455 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94456
94457 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94458
94459 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94460 END(__isnan) to END(__isnanf) to match function entry point/label
94461 EALIGN(__isnanf,...).
94462
94463 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94464
94465 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94466
94467 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94468
94469 [BZ #12510]
94470 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94471 copy from the symbol referenced in the relocation to initialize the
94472 used variable.
94473 Patch by Piotr Bury <pbury@goahead.com>.
94474 * elf/Makefile: Add rules to build and tst-unique3.
94475 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94476 * elf/tst-unique3.cc: New file.
94477 * elf/tst-unique3.h: New file.
94478 * elf/tst-unique3lib.cc: New file.
94479 * elf/tst-unique3lib2.cc: New file.
94480
94481 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94482
94483 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94484
94485 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94486 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94487 to _start.
94488
94489 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94490
94491 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94492 to-be-loaded object along a path to loader is ld.so.
94493
94494 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94495 Ulrich Drepper <drepper@gmail.com>
94496
94497 * sysdeps/x86_64/memset.S: After aligning destination, code
94498 branches to different locations depending on the value of
94499 misalignment, when multiarch is enabled. Fix this.
94500
94501 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94502
94503 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94504 Set _x86_64_preferred_memory_instruction for AMD processsors.
94505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94506 Set bit_Prefer_SSE_for_memop for AMD processors.
94507
94508 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94509
94510 * libio/fmemopen.c (fmemopen): Optimize a bit.
94511
94512 2011-03-03 Andreas Schwab <schwab@redhat.com>
94513
94514 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94515
94516 2011-03-03 Roland McGrath <roland@redhat.com>
94517
94518 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94519
94520 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94521
94522 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94523 __bzero_ultra1 instead of __memset_ultra1.
94524
94525 2011-02-23 Andreas Schwab <schwab@redhat.com>
94526 Ulrich Drepper <drepper@gmail.com>
94527
94528 [BZ #12509]
94529 * include/link.h (struct link_map): Add l_orig_initfini.
94530 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94531 returning unsuccessfully.
94532 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94533 close of a file loaded at startup, restore the original l_initfini
94534 list.
94535 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94536 list, store the pointer.
94537 * elf/Makefile ($(objpfx)noload-mem): New rule.
94538 (noload-ENV): Define.
94539 (tests): Add $(objpfx)noload-mem.
94540 * elf/noload.c: Include <memcheck.h>.
94541 (main): Call mtrace. Close all opened handles.
94542
94543 2011-02-17 Andreas Schwab <schwab@redhat.com>
94544
94545 [BZ #12454]
94546 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94547 dependencies are missing.
94548
94549 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94550
94551 Fix __if_freereq crash: Unlike the generic version which uses free,
94552 Hurd needs munmap.
94553 * sysdeps/mach/hurd/ifreq.h: New file.
94554
94555 2011-01-27 Petr Baudis <pasky@suse.cz>
94556 Ulrich Drepper <drepper@gmail.com>
94557
94558 [BZ 12445]#
94559 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94560 to extend_alloca().
94561 * stdio-common/bug23.c: New file.
94562 * stdio-common/Makefile (tests): Add bug23.
94563
94564 2010-09-28 Andreas Schwab <schwab@redhat.com>
94565 Ulrich Drepper <drepper@gmail.com>
94566
94567 [BZ #12489]
94568 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94569 before performing relro protection. At old place add assertion
94570 to make sure nothing changed.
94571
94572 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94573 Glauber de Oliveira Costa <glommer@gmail.com>
94574
94575 * elf/elf.h: Add new ARM TLS relocs.
94576
94577 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94578
94579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94580 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94581 cast from r3.
94582 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94583 'tests' variable.
94584 * sysdeps/wordsize-64/tst-writev.c: New file.
94585
94586 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94587
94588 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94589 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94590 insns in _dl_start to prevent a TOC reference before relocs are
94591 resolved.
94592
94593 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94594
94595 [BZ #12469]
94596 * Makeconfig: Remove RANLIB definition.
94597 * Makerules: Don't use RANLIB.
94598 * aclocal.m4: Remove ranlib test.
94599 * configure.in: No need to check for ranlib.
94600 * elf/rtld-Rules: Don't use RANLIB.
94601
94602 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94603
94604 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94605 protection macro.
94606 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94607 inclusion protection macro.
94608
94609 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94610 SIGRTMIN and SIGRTMAX and print information in that case only when
94611 SIGRTMIN is defined.
94612
94613 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94614
94615 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94616 arginfo fn returning -1.
94617
94618 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94619 and thousands string is zero terminated.
94620
94621 2011-02-03 Andreas Schwab <schwab@redhat.com>
94622
94623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94624 sysdeps/unix/sysv/linux/bits/socket.h.
94625
94626 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94627
94628 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94629 (__CPU_COUNT): Remove old macros.
94630 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94631 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94632 (__CPU_ALLOC, __CPU_FREE): Add macros.
94633 (__sched_cpualloc, __sched_cpufree): Add declarations.
94634
94635 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94636
94637 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94638 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94639 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94640 (readdhstai): Return value of addhstaiX call.
94641 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94642 (addgrbyX): Return value returned by cache_addgr.
94643 (readdgrbyname): Return value returned by addgrbyX.
94644 (readdgrbygid): Likewise.
94645 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94646 (addpwbyX): Return value returned by cache_addpw.
94647 (readdpwbyname): Return value returned by addhstbyX.
94648 (readdpwbyuid): Likewise.
94649 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94650 (addservbyX): Return value returned by cache_addserv.
94651 (readdservbyname): Return value returned by addservbyX:
94652 (readdservbyport): Likewise.
94653 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94654 (addhstbyX): Return value returned by cache_addhst.
94655 (readdhstbyname): Return value returned by addhstbyX.
94656 (readdhstbyaddr): Likewise.
94657 (readdhstbynamev6): Likewise.
94658 (readdhstbyaddrv6): Likewise.
94659 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94660 (readdinitgroups): Return value returned by addinitgroupsX.
94661 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94662 (prune_cache): Keep track of timeout value of re-added entries.
94663 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94664 * nscd/nscd.h: Adjust prototypes of readd* functions.
94665
94666 2011-02-04 Roland McGrath <roland@redhat.com>
94667
94668 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94669 (nis_stats): Likewise.
94670 * nis/nis_modify.c (nis_modify): Likewise.
94671 * nis/nis_remove.c (nis_remove): Likewise.
94672 * nis/nis_add.c (nis_add): Likewise.
94673
94674 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94675
94676 * posix/fnmatch_loop.c: Add some consts.
94677
94678 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94679
94680 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94681
94682 [BZ #12460]
94683 * config.make.in (config-cflags-novzeroupper): Define.
94684 * configure.in: Substitute libc_cv_cc_novzeroupper.
94685 * elf/Makefile (AVX-CFLAGS): Define.
94686 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94687 (CFLAGS-tst-auditmod4a.c): Likewise.
94688 (CFLAGS-tst-auditmod4b.c): Likewise.
94689 (CFLAGS-tst-auditmod6b.c): Likewise.
94690 (CFLAGS-tst-auditmod6c.c): Likewise.
94691 (CFLAGS-tst-auditmod7b.c): Likewise.
94692 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94693
94694 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94695
94696 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94697 function to the callback.
94698 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94699
94700 2011-02-02 Andreas Schwab <schwab@redhat.com>
94701
94702 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94703 of errno.
94704
94705 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94706
94707 [BZ #11724]
94708 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94709 of constructors.
94710 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94711 of destructors.
94712 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94713
94714 [BZ #11724]
94715 * elf/Makefile: Add rules to build and run new test.
94716 * elf/tst-initorder.c: New file.
94717 * elf/tst-initorder.exp: New file.
94718 * elf/tst-initordera1.c: New file.
94719 * elf/tst-initordera2.c: New file.
94720 * elf/tst-initordera3.c: New file.
94721 * elf/tst-initordera4.c: New file.
94722 * elf/tst-initorderb1.c: New file.
94723 * elf/tst-initorderb2.c: New file.
94724 * elf/tst-order-a1.c: New file.
94725 * elf/tst-order-a2.c: New file.
94726 * elf/tst-order-a3.c: New file.
94727 * elf/tst-order-a4.c: New file.
94728 * elf/tst-order-b1.c: New file.
94729 * elf/tst-order-b2.c: New file.
94730 * elf/tst-order-main.c: New file.
94731 New test case by George Gensure <werkt0@gmail.com>.
94732
94733 2010-10-01 Andreas Schwab <schwab@redhat.com>
94734
94735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94736 decoding ACE if AI_CANONIDN.
94737
94738 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94739
94740 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94741
94742 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94743
94744 * version.h (RELEASE): Bump for 2.13 release.
94745 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94746
94747 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94748
94749 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94750 MADV_NOHUGEPAGE.
94751 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94752 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94753 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94754 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94755 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94757
94758 * posix/getconf.c: Update copyright year.
94759 * catgets/gencat.c: Likewise.
94760 * csu/version.c: Likewise.
94761 * debug/catchsegv.sh: Likewise.
94762 * debug/xtrace.sh: Likewise.
94763 * elf/ldconfig.c: Likewise.
94764 * elf/ldd.bash.in: Likewise.
94765 * elf/sprof.c (print_version): Likewise.
94766 * iconv/iconv_prog.c: Likewise.
94767 * iconv/iconvconfig.c: Likewise.
94768 * locale/programs/locale.c: Likewise.
94769 * locale/programs/localedef.c: Likewise.
94770 * malloc/memusage.sh: Likewise.
94771 * malloc/mtrace.pl: Likewise.
94772 * nscd/nscd.c (print_version): Likewise.
94773 * nss/getent.c: Likewise.
94774
94775 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94776 PF_CAIF, and PF_ALG.
94777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94778
94779 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94780
94781 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94782 (modules-names): Use them.
94783 (ifunc-test-modules, ifunc-pie-tests): Define.
94784 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94785 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94786 (test-extras): Likewise.
94787 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94788 $(compile-command.c).
94789 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94790 (all-built-dso): Define.
94791 (check-textrel.out, check-execstack.out): Depend on it.
94792
94793 * configure.in: Don't override --enable-multi-arch.
94794
94795 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94796
94797 [BZ #6812]
94798 * nscd/hstcache.c (tryagain): Define.
94799 (cache_addhst): Return tryagain not notfound for temporary errors.
94800 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94801 failed.
94802
94803 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94804
94805 [BZ #10563]
94806 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94807 to make the syscall.
94808 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94809
94810 [BZ #12378]
94811 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94812 and fall back to matching as normal character if the string ends before
94813 the matching ']' is found. This is what POSIX requires.
94814 * posix/testfnm.c: Adjust test result.
94815 * posix/globtest.sh: Adjust test result. Add new test.
94816 * posix/tst-fnmatch.input: Likewise.
94817 * posix/tst-fnmatch2.c: Add new test.
94818
94819 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
94820
94821 * elf/Makefile (check-execstack): Revert last change. Depend on
94822 check-execstack.h.
94823 (check-execstack.h): New target.
94824 (generated): Add check-execstack.h.
94825 * elf/check-execstack.c: Include "check-execstack.h".
94826 (main): Revert last change.
94827 (handle_file): Return zero if GNU_STACK is absent and
94828 DEFAULT_STACK_PERMS doesn't include PF_X.
94829
94830 2011-01-13 Ulrich Drepper <drepper@gmail.com>
94831
94832 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94833 in child fails because the descriptor is already closed.
94834 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94835 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94836 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94837
94838 [BZ #12397]
94839 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94840 syscall.
94841
94842 [BZ #10484]
94843 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94844 temporary buffer used to handle multi lookups locally.
94845 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94846
94847 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94848
94849 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94850 loader is ld.so.
94851
94852 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
94853
94854 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94855 alignment for SSE2.
94856
94857 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94858
94859 [BZ #12394]
94860 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94861 characters. When rounding increased number of integer digits recompute
94862 number of groups.
94863 * stdio-common/tst-grouping.c: New file.
94864 * stdio-common/Makefile: Add rules to build and run tst-grouping.
94865
94866 2011-01-09 Ulrich Drepper <drepper@gmail.com>
94867
94868 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94869 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
94870
94871 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94872 void.
94873 * bits/select.h: Likewise.
94874
94875 2011-01-08 Ulrich Drepper <drepper@gmail.com>
94876
94877 * po/ja.po: Update from translation team.
94878
94879 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
94880
94881 [BZ #11155]
94882 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94883 implementation just like for lxstat, fxstatat, et al.
94884
94885 2010-12-27 Jim Meyering <meyering@redhat.com>
94886
94887 [BZ #12348]
94888 * posix/regexec.c (build_trtable): Return failure indication upon
94889 calloc failure. Otherwise, re_search_internal could infloop on OOM.
94890
94891 2010-12-25 Ulrich Drepper <drepper@gmail.com>
94892
94893 [BZ #12201]
94894 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94895 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94896 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94897 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94898
94899 [BZ #12207]
94900 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94901
94902 [BZ #12204]
94903 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94904 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94905
94906 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
94907
94908 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94909 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94910 script has SORT_BY_INIT_PRIORITY.
94911 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94912 NO_CTORS_DTORS_SECTIONS is defined.
94913 * elf/soinit.c: Likewise.
94914 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94915 NO_CTORS_DTORS_SECTIONS is defined.
94916 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94917 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94918 * sysdeps/sh/init-first.c: Likewise.
94919 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94920
94921 2010-12-24 Ulrich Drepper <drepper@gmail.com>
94922
94923 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94924 always use the slow path.
94925
94926 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
94927
94928 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94929 similar rule which adds the sysdep directories to the header search in
94930 order to pick up the correct platform stackinfo.h.
94931 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94932 perform test if it is, otherwise return successfully without testing.
94933 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94934 DEFAULT_STACK_PERMS define in stackinfo.h.
94935 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94936 defined in stackinfo.h.
94937 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94938 DEFAULT_STACK_PERMS defined in stackinfo.h.
94939 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94940 * sysdeps/ia64/stackinfo.h: Likewise.
94941 * sysdeps/s390/stackinfo.h: Likewise.
94942 * sysdeps/sh/stackinfo.h: Likewise.
94943 * sysdeps/sparc/stackinfo.h: Likewise.
94944 * sysdeps/x86_64/stackinfo.h: Likewise.
94945 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94946 PF_X for powerpc64. Retain PF_X for powerpc32.
94947
94948 2010-12-19 Ulrich Drepper <drepper@gmail.com>
94949
94950 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94951 accurately.
94952 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94953 GETDENTS_64BIT_ALIGNED.
94954
94955 2010-12-14 Ulrich Drepper <dreper@gmail.com>
94956
94957 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94958
94959 2010-12-10 Andreas Schwab <schwab@redhat.com>
94960
94961 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94962 _GNU_SOURCE.
94963
94964 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94965 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94966 Remove __restrict.
94967 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94968 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94969
94970 2010-12-09 Ulrich Drepper <drepper@gmail.com>
94971
94972 [BZ #11655]
94973 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94974 are initialized.
94975
94976 2010-12-09 Jakub Jelinek <jakub@redhat.com>
94977
94978 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94979
94980 2010-12-03 Ulrich Drepper <drepper@gmail.com>
94981
94982 * po/it.po: Update from translation team.
94983
94984 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
94985
94986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94987 unused codes.
94988
94989 2010-11-30 Ulrich Drepper <drepper@gmail.com>
94990
94991 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94992
94993 2010-11-24 Andreas Schwab <schwab@redhat.com>
94994
94995 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94996 specially.
94997 (gaih_getanswer_slice): Likewise.
94998
94999 2010-10-20 Jakub Jelinek <jakub@redhat.com>
95000
95001 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95002
95003 2010-05-31 Petr Baudis <pasky@suse.cz>
95004
95005 [BZ #11149]
95006 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95007 silently even in the chroot mode.
95008
95009 2010-11-22 Ulrich Drepper <drepper@gmail.com>
95010
95011 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95012 last patch a bit. Pretty printing
95013
95014 2010-05-31 Petr Baudis <pasky@suse.cz>
95015
95016 [BZ #10085]
95017 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95018 initialization of skip_initgroups_dyn.
95019
95020 2010-11-19 Ulrich Drepper <drepper@gmail.com>
95021
95022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95024
95025 2010-11-16 Ulrich Drepper <drepper@gmail.com>
95026
95027 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95028
95029 2010-11-11 Andreas Schwab <schwab@redhat.com>
95030
95031 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95032 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95033 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95034 ($(objpfx)tst-fnmatch-mem): New rule.
95035 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95036 * posix/tst-fnmatch.c (main): Call mtrace.
95037
95038 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
95039
95040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95041 Support Intel processor model 6 and model 0x2c.
95042
95043 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
95044
95045 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95046 signed comparison.
95047
95048 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
95049
95050 [BZ #12205]
95051 * string/test-strncasecmp.c (check_result): New function.
95052 (do_one_test): Use it.
95053 (check1): New function.
95054 (test_main): Use it.
95055 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95056 Support strcasecmp and strncasecmp.
95057
95058 2010-11-08 Ulrich Drepper <drepper@gmail.com>
95059
95060 [BZ #12194]
95061 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
95063
95064 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
95065
95066 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95067 IFUNC support.
95068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95069 memset-x86-64.
95070 * sysdeps/x86_64/multiarch/bzero.S: New file.
95071 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95072 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95073 * sysdeps/x86_64/multiarch/memset.S: New file.
95074 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95076 Set bit_Prefer_SSE_for_memop for Intel processors.
95077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95078 Define.
95079 (index_Prefer_SSE_for_memop): Define.
95080 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95081
95082 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95083
95084 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95085 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95086
95087 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95088
95089 [BZ #12191]
95090 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95091 (__x86_64_raw_data_cache_size_half): Likewise.
95092 (__x86_64_raw_shared_cache_size): Likewise.
95093 (__x86_64_raw_shared_cache_size_half): Likewise.
95094
95095 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95096 (__x86_64_raw_data_cache_size_half): Likewise.
95097 (__x86_64_raw_shared_cache_size): Likewise.
95098 (__x86_64_raw_shared_cache_size_half): Likewise.
95099 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95100 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95101 and __x86_64_raw_shared_cache_size_half. Round
95102 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95103 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95104 to multiple of 256 bytes.
95105
95106 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95107
95108 [BZ #12167]
95109 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95110 of inacessible symlinks. Verify result of symlink before returning it.
95111 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95112 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95113
95114 2010-10-28 Erich Ritz <erichritz@gmail.com>
95115
95116 * math/math.h (isinf): Fix typo in comment.
95117
95118 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95119
95120 * po/da.po: Update from translation team.
95121
95122 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95123
95124 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95125 is added to the list.
95126
95127 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95128 Ulrich Drepper <drepper@gmail.com>
95129
95130 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95131 the global list here. Move code to...
95132 (_dl_add_to_namespace_list): ...here. New function.
95133 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95134 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95135 * elf/dl-load.c (lose): Don't remove the element from the list.
95136 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95137 (_dl_map_object): Likewise.
95138
95139 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95140
95141 [BZ #12159]
95142 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95143 into all bytes of SSE register.
95144 Patch by Richard Li <richardpku@gmail.com>.
95145
95146 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95147
95148 [BZ #12140]
95149 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95150 perturbing.
95151
95152 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95153
95154 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95155 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95156 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95157 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95159 submachine.
95160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95161
95162 2010-10-22 Andreas Schwab <schwab@redhat.com>
95163
95164 * include/dlfcn.h (__RTLD_SECURE): Define.
95165 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95166 mode & __RTLD_SECURE instead.
95167 (open_path): Rename preloaded parameter to secure.
95168 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95169 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95170 * elf/dl-deps.c (openaux): Likewise.
95171 * elf/rtld.c (struct map_args): Remove is_preloaded.
95172 (map_doit): Don't use it.
95173 (dl_main): Likewise.
95174 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95175 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95176
95177 2010-09-09 Andreas Schwab <schwab@redhat.com>
95178
95179 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95180 (sysd-rules-targets): Remove duplicates.
95181 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95182 rtld-%.$o dependency.
95183
95184 2010-10-18 Andreas Schwab <schwab@redhat.com>
95185
95186 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95187 _dl_map_object do it.
95188
95189 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95190
95191 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95192 fast fma builtins, define the macros in the C99 standard.
95193 (FP_FAST_FMAF): Likewise.
95194 (FP_FAST_FMAL): Likewise.
95195 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95196
95197 * bits/mathdef.h: Update copyright year.
95198 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95199
95200 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95201
95202 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95203 builtins, define the macros in the C99 standard.
95204 (FP_FAST_FMAF): Likewise.
95205 (FP_FAST_FMAL): Likewise.
95206 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95207 multiply/add.
95208 (FP_FAST_FMAF): Likewise.
95209
95210 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95211
95212 [BZ #3268]
95213 * math/libm-test.inc (fma_test): Some new testcases.
95214 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95215 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95216 y and infinite z. Do multiplication by C already in long double.
95217 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95219 y and infinite z. Do bitwise or of inexact bit into u.d.
95220 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95221 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95222 * sysdeps/i386/fpu/s_fma.S: Removed.
95223 * sysdeps/i386/fpu/s_fmal.S: Removed.
95224
95225 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95226
95227 [BZ #3268]
95228 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95230 computation is not scheduled after fetestexcept. Fix value
95231 of minimum denormal long double.
95232
95233 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95234
95235 [BZ #3268]
95236 * math/libm-test.inc (fma_test): Add some more tests.
95237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95238 correctly.
95239
95240 2010-10-15 Andreas Schwab <schwab@redhat.com>
95241
95242 * scripts/data/localplt-s390-linux-gnu.data: New file.
95243 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95244
95245 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95246
95247 [BZ #3268]
95248 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95249 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95250 instead of dbl-64.
95251 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95252 inlines.
95253 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95255 if one of x and y is very large and the other is subnormal.
95256 * sysdeps/s390/fpu/s_fmaf.c: New file.
95257 * sysdeps/s390/fpu/s_fma.c: New file.
95258 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95259 * sysdeps/powerpc/fpu/s_fma.S: New file.
95260 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95261 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95262 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95263
95264 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95265
95266 [BZ #3268]
95267 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95268 fma tests.
95269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95270 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95271 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95272 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95273 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95274 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95275 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95276
95277 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95278
95279 [BZ #12078]
95280 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95281 * posix/bug-regex31.input: Add test case.
95282
95283 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95284
95285 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95286 * posix/bug-regex31.input: New file.
95287
95288 [BZ #12078]
95289 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95290 (parse_sub_exp): Fix last change, use postorder.
95291
95292 * posix/bug-regex31.c: New file.
95293 * posix/Makefile: Add rules to build and run bug-regex31.
95294
95295 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95296
95297 [BZ #12078]
95298 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95299
95300 [BZ #12108]
95301 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95302 to have entries in sys_siglist.
95303
95304 [BZ #12093]
95305 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95306 be NULL.
95307
95308 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95309
95310 [BZ #3268]
95311 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95312 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95313 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95314 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95315 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95316 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95317 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95318 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95319 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95320 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95321 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95322 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95323 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95324 * math/ftestexcept.c (fetestexcept): Likewise.
95325 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95326 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95327 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95328 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95329 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95330 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95331 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95332
95333 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95334
95335 [BZ #12107]
95336 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95337 newline.
95338
95339 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95340
95341 * string/bug-strstr1.c: New file.
95342 * string/Makefile: Add rules to build and run bug-strstr1.
95343
95344 2010-10-05 Eric Blake <eblake@redhat.com>
95345
95346 [BZ #12092]
95347 * string/str-two-way.h (two_way_long_needle): Always clear memory
95348 when skipping input due to the shift table.
95349
95350 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95351
95352 [BZ #12005]
95353 * malloc/mcheck.c: Handle large requests.
95354
95355 [BZ #12077]
95356 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95357 for strncmp and strncasecmp.
95358 * string/stratcliff.c: Add tests for strcmp and strncmp.
95359 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95360
95361 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95362
95363 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95364 __set_fpscr.
95365
95366 2010-09-30 Andreas Jaeger <aj@suse.de>
95367
95368 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95369 (CGROUP_SUPER_MAGIC): Define.
95370 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95371 Handle btrfs and cgroup file systems.
95372 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95373 Likewise.
95374
95375 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95376
95377 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95378 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95379
95380 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95381
95382 [BZ #12067]
95383 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95384 trying to locate the ELF header.
95385
95386 2010-09-27 Andreas Schwab <schwab@redhat.com>
95387
95388 [BZ #11611]
95389 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95390 Mask out sign-bit copies when constructing f_fsid.
95391
95392 2010-09-24 Petr Baudis <pasky@suse.cz>
95393
95394 * debug/stack_chk_fail_local.c: Add missing licence exception.
95395 * debug/warning-nop.c: Likewise.
95396
95397 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95398
95399 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95400 implementing getdents64 using getdents syscall, set d_type if
95401 __ASSUME_GETDENTS32_D_TYPE.
95402
95403 2010-09-16 Andreas Schwab <schwab@redhat.com>
95404
95405 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95406 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95407
95408 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95409
95410 [BZ #12037]
95411 * posix/unistd.h: Undo change of feature selection for ftruncate from
95412 2010-01-11.
95413
95414 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95415
95416 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95417 detection.
95418
95419 2010-09-20 Andreas Schwab <schwab@redhat.com>
95420
95421 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95422 fanotify_mark.
95423 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95424
95425 2010-09-14 Andreas Schwab <schwab@redhat.com>
95426
95427 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95428 variables after CHECK_SP call.
95429 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95430
95431 2010-09-13 Andreas Schwab <schwab@redhat.com>
95432 Ulrich Drepper <drepper@redhat.com>
95433
95434 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95435 re-relocationg ld.so.
95436 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95437 _dl_init_paths call.
95438 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95439 here anymore.
95440
95441 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95442
95443 * resolv/res_init.c (__res_vinit): Count the default server we added.
95444
95445 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95446 Ulrich Drepper <drepper@redhat.com>
95447
95448 [BZ #11968]
95449 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95450 (____longjmp_chk): Use %ebx for saving value across system call.
95451 Add unwind info.
95452
95453 2010-09-06 Andreas Schwab <schwab@redhat.com>
95454
95455 * manual/Makefile: Don't mix pattern rules with normal rules.
95456
95457 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95458
95459 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95460 operation.
95461 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95462 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95463 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95464 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95465 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95466 Likewise.
95467
95468 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95469
95470 [BZ #11979]
95471 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95472 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95473
95474 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95475
95476 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95477 * sysdeps/x86_64/addmul_1.S: Likewise.
95478 * sysdeps/x86_64/lshift.S: Likewise.
95479 * sysdeps/x86_64/mul_1.S: Likewise.
95480 * sysdeps/x86_64/rshift.S: Likewise.
95481 * sysdeps/x86_64/sub_n.S: Likewise.
95482 * sysdeps/x86_64/submul_1.S: Likewise.
95483
95484 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95485
95486 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95487 Define __sched_param instead of SCHED_* and sched_param when
95488 <bits/sched.h> is included with __need_schedparam defined.
95489 * bits/sched.h [__need_schedparam]
95490 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95491 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95492 (__defined_schedparam): Define to 1.
95493 (__sched_param): New structure, identical to sched_param.
95494 (__need_schedparam): Undefine.
95495
95496 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95497
95498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95499 (epoll_create1): Declare.
95500
95501 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95502
95503 2010-08-31 Andreas Schwab <schwab@redhat.com>
95504
95505 [BZ #7066]
95506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95507 shifting retval into place.
95508
95509 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95510
95511 * nis/rpcsvc/nis.h: Update copyright notice.
95512 * nis/rpcsvc/nis.x: Likewise.
95513 * nis/rpcsvc/nis_callback.h: Likewise.
95514 * nis/rpcsvc/nis_callback.x: Likewise.
95515 * nis/rpcsvc/nis_object.x: Likewise.
95516 * nis/rpcsvc/nis_tags.h: Likewise.
95517 * nis/rpcsvc/yp.h: Likewise.
95518 * nis/rpcsvc/yp.x: Likewise.
95519 * nis/rpcsvc/ypupd.h: Likewise.
95520 * nis/yp_xdr.c: Likewise.
95521 * nis/ypupdate_xdr.c: Likewise.
95522
95523 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95524 mainly the body of pmap_getport. Add parameters to specify timeouts.
95525 (pmap_getport): Use __libc_rpc_getport.
95526 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95527 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95528 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95529
95530 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95531
95532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95533 fanotify_mark.
95534
95535 2010-08-27 Roland McGrath <roland@redhat.com>
95536
95537 * sysdeps/i386/i686/multiarch/Makefile
95538 (CFLAGS-varshift.c): New variable.
95539
95540 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95541
95542 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95543 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95544
95545 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95546
95547 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95548
95549 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95550
95551 * sysdeps/x86_64/strlen.S: Unroll the loop.
95552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95553 strlen-sse2 strlen-sse2-bsf.
95554 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95555 __strlen_no_bsf if bit_Slow_BSF is set.
95556 (__strlen_sse42): Removed.
95557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95558 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95559
95560 2010-08-25 Roland McGrath <roland@redhat.com>
95561
95562 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95563 * sysdeps/x86_64/multiarch/varshift.c: New file.
95564 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95565 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95566 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95567 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95568
95569 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95570
95571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95572 strlen-sse2 strlen-sse2-bsf.
95573 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95574 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95575 (__strlen_sse2): Removed.
95576 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95577 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95579 bit_Slow_BSF for Atom.
95580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95581 (index_Slow_BSF): Define.
95582 (HAS_SLOW_BSF): Define.
95583
95584 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95585
95586 [BZ #10851]
95587 * resolv/res_init.c (__res_vinit): When no server address at all
95588 is given default to loopback.
95589
95590 2010-08-24 Roland McGrath <roland@redhat.com>
95591
95592 * configure.in: Remove config-name.h generation.
95593 * configure: Regenerated.
95594 * config-name.in: File removed.
95595 * scripts/config-uname.sh: New file.
95596 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95597 ($(objdir)config-name.h): New target.
95598
95599 * sunrpc/rpc_parse.h: Avoid nested comment.
95600
95601 2010-08-24 Richard Henderson <rth@redhat.com>
95602 Ulrich Drepper <drepper@redhat.com>
95603 H.J. Lu <hongjiu.lu@intel.com>
95604
95605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95607 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95608 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95609 _mm_alignr_epi8 with _mm_loadu_si128.
95610 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95611 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95612 (__m128i_shift_right): Removed.
95613 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95614 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95615 * sysdeps/x86_64/multiarch/varshift.h: New file.
95616 * sysdeps/x86_64/multiarch/varshift.S: New file.
95617
95618 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95619
95620 * configure.in: Move assembler checks to before sysdep dir checking.
95621
95622 2010-08-20 Petr Baudis <pasky@suse.cz>
95623
95624 * LICENSES: Sync the sunrpc license.
95625
95626 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95627
95628 * sunrpc/auth_des.c: Update copyright notice once again.
95629 * sunrpc/auth_none.c: Likewise.
95630 * sunrpc/auth_unix.c: Likewise.
95631 * sunrpc/authdes_prot.c: Likewise.
95632 * sunrpc/authuxprot.c: Likewise.
95633 * sunrpc/bindrsvprt.c: Likewise.
95634 * sunrpc/clnt_gen.c: Likewise.
95635 * sunrpc/clnt_perr.c: Likewise.
95636 * sunrpc/clnt_raw.c: Likewise.
95637 * sunrpc/clnt_simp.c: Likewise.
95638 * sunrpc/clnt_tcp.c: Likewise.
95639 * sunrpc/clnt_udp.c: Likewise.
95640 * sunrpc/clnt_unix.c: Likewise.
95641 * sunrpc/des_crypt.c: Likewise.
95642 * sunrpc/des_soft.c: Likewise.
95643 * sunrpc/get_myaddr.c: Likewise.
95644 * sunrpc/getrpcport.c: Likewise.
95645 * sunrpc/key_call.c: Likewise.
95646 * sunrpc/key_prot.c: Likewise.
95647 * sunrpc/openchild.c: Likewise.
95648 * sunrpc/pm_getmaps.c: Likewise.
95649 * sunrpc/pm_getport.c: Likewise.
95650 * sunrpc/pmap_clnt.c: Likewise.
95651 * sunrpc/pmap_prot.c: Likewise.
95652 * sunrpc/pmap_prot2.c: Likewise.
95653 * sunrpc/pmap_rmt.c: Likewise.
95654 * sunrpc/rpc/auth.h: Likewise.
95655 * sunrpc/rpc/auth_unix.h: Likewise.
95656 * sunrpc/rpc/clnt.h: Likewise.
95657 * sunrpc/rpc/des_crypt.h: Likewise.
95658 * sunrpc/rpc/key_prot.h: Likewise.
95659 * sunrpc/rpc/netdb.h: Likewise.
95660 * sunrpc/rpc/pmap_clnt.h: Likewise.
95661 * sunrpc/rpc/pmap_prot.h: Likewise.
95662 * sunrpc/rpc/pmap_rmt.h: Likewise.
95663 * sunrpc/rpc/rpc.h: Likewise.
95664 * sunrpc/rpc/rpc_des.h: Likewise.
95665 * sunrpc/rpc/rpc_msg.h: Likewise.
95666 * sunrpc/rpc/svc.h: Likewise.
95667 * sunrpc/rpc/svc_auth.h: Likewise.
95668 * sunrpc/rpc/types.h: Likewise.
95669 * sunrpc/rpc/xdr.h: Likewise.
95670 * sunrpc/rpc_clntout.c: Likewise.
95671 * sunrpc/rpc_cmsg.c: Likewise.
95672 * sunrpc/rpc_common.c: Likewise.
95673 * sunrpc/rpc_cout.c: Likewise.
95674 * sunrpc/rpc_dtable.c: Likewise.
95675 * sunrpc/rpc_hout.c: Likewise.
95676 * sunrpc/rpc_main.c: Likewise.
95677 * sunrpc/rpc_parse.c: Likewise.
95678 * sunrpc/rpc_parse.h: Likewise.
95679 * sunrpc/rpc_prot.c: Likewise.
95680 * sunrpc/rpc_sample.c: Likewise.
95681 * sunrpc/rpc_scan.c: Likewise.
95682 * sunrpc/rpc_scan.h: Likewise.
95683 * sunrpc/rpc_svcout.c: Likewise.
95684 * sunrpc/rpc_tblout.c: Likewise.
95685 * sunrpc/rpc_util.c: Likewise.
95686 * sunrpc/rpc_util.h: Likewise.
95687 * sunrpc/rpcinfo.c: Likewise.
95688 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95689 * sunrpc/rpcsvc/key_prot.x: Likewise.
95690 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95691 * sunrpc/rpcsvc/mount.x: Likewise.
95692 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95693 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95694 * sunrpc/rpcsvc/rex.x: Likewise.
95695 * sunrpc/rpcsvc/rstat.x: Likewise.
95696 * sunrpc/rpcsvc/rusers.x: Likewise.
95697 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95698 * sunrpc/rpcsvc/spray.x: Likewise.
95699 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95700 * sunrpc/rtime.c: Likewise.
95701 * sunrpc/svc.c: Likewise.
95702 * sunrpc/svc_auth.c: Likewise.
95703 * sunrpc/svc_authux.c: Likewise.
95704 * sunrpc/svc_raw.c: Likewise.
95705 * sunrpc/svc_run.c: Likewise.
95706 * sunrpc/svc_simple.c: Likewise.
95707 * sunrpc/svc_tcp.c: Likewise.
95708 * sunrpc/svc_udp.c: Likewise.
95709 * sunrpc/svc_unix.c: Likewise.
95710 * sunrpc/svcauth_des.c: Likewise.
95711 * sunrpc/xcrypt.c: Likewise.
95712 * sunrpc/xdr.c: Likewise.
95713 * sunrpc/xdr_array.c: Likewise.
95714 * sunrpc/xdr_float.c: Likewise.
95715 * sunrpc/xdr_mem.c: Likewise.
95716 * sunrpc/xdr_rec.c: Likewise.
95717 * sunrpc/xdr_ref.c: Likewise.
95718 * sunrpc/xdr_sizeof.c: Likewise.
95719 * sunrpc/xdr_stdio.c: Likewise.
95720
95721 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95722 handling.
95723
95724 2010-08-19 Andreas Schwab <schwab@redhat.com>
95725
95726 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95727
95728 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95729
95730 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95731 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95732 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95733 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95734 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95735 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95736 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95737 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95738 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95739 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95740 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95741 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95742 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95743 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95744
95745 2010-07-26 Anton Blanchard <anton@samba.org>
95746
95747 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95748 * malloc/arena.c (heap_trim): Likewise.
95749
95750 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95751
95752 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95753 here. Not...
95754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95755 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95756
95757 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95758
95759 * sysdeps/i386/elf/Makefile: New file.
95760
95761 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95762
95763 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95764 from fanotify_init.
95765 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95767
95768 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95769
95770 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95771 of strncasecmp_l.
95772 * sysdeps/multiarch/strcmp.S: Likewise.
95773
95774 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95775
95776 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95777 strncase_l-nonascii.
95778 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95779 Add strncase_l-ssse3.
95780 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95781 * sysdeps/x86_64/strcmp.S: Likewise.
95782 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95783 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95784 * sysdeps/x86_64/strncase.S: New file.
95785 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95786 * sysdeps/x86_64/strncase_l.S: New file.
95787 * string/Makefile (strop-tests): Add strncasecmp.
95788 * string/test-strncasecmp.c: New file.
95789
95790 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95791 warning.
95792
95793 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95794 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95795
95796 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95797
95798 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95799
95800 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95801
95802 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95803 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95804 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95805
95806 2010-05-01 Alan Modra <amodra@gmail.com>
95807
95808 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95809 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95810 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95811 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95812 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95813 tidying. Don't tail-call __sigjmp_save for static lib.
95814 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95815 save location.
95816 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95817 (CALL_MCOUNT): Add eh info, and nop after bl.
95818 (TAIL_CALL_SYSCALL_ERROR): New macro.
95819 (PSEUDO_RET): Use it.
95820 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95821 Correct save location of integer regs and cr.
95822 (_dl_profile_resolve): Correct cr save location. Delete nops
95823 after bl when SHARED. Reduce cfi size a little by better
95824 placement of cfi directives.
95825 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95826 make a stack frame. Instead use parm save area as a temp.
95827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95828 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
95829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95830 Don't make a stack frame for parent, use parm save area.
95831 Increase child stack frame to 112 bytes. Don't save unused reg,
95832 and adjust reg usage. Set up cfi on error recovery and
95833 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95835 (__makecontext): Add dummy nop after jump to exit.
95836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95837 Use correct parm save area and cr save, reduce stack frame.
95838 Correct cfi for possible PSEUDO_RET frame setup.
95839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95840 Branch to local label emitted by PSEUDO_RET rather than
95841 __syscall_error.
95842
95843 2010-08-12 Andreas Schwab <schwab@redhat.com>
95844
95845 [BZ #11904]
95846 * locale/programs/locale.c (print_assignment): New function.
95847 (show_locale_vars): Use it.
95848
95849 2010-08-11 Ulrich Drepper <drepper@redhat.com>
95850
95851 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95852 field.
95853 (struct statfs64): Likewise.
95854 (_STATFS_F_FLAGS): Define.
95855 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95856 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95857 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95858 (ST_VALID): Define locally.
95859 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95860 __statvfs_getflags, use the provided value.
95861 * sysdeps/unix/sysv/linux/kernel-features.h: Define
95862 __ASSUME_STATFS_F_FLAGS.
95863
95864 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95865
95866 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95867 Add sys/fanotify.h.
95868 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95869 fanotify_mask for GLIBC_2.13.
95870 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95871 fanotify_init and fanotify_mark.
95872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95873 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95874
95875 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95876 Add prlimit.
95877 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95878 prlimit64 for GLIBC_2.13.
95879 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95880 prlimit64.
95881 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95882 syscall.
95883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95884 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95885 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95886 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
95888 add prlimit alias.
95889 * sysdeps/unix/sysv/linux/prlimit.c: New file.
95890
95891 [BZ #11903]
95892 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95893 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95894
95895 * nss/Makefile: Add rules to build and run tst-nss-test1.
95896 * shlib-versions: Add entry for libnss_test1.
95897 * nss/nss_test1.c: New file.
95898 * nss/tst-nss-test1.c: New file.
95899
95900 * nss/nsswitch.c (__nss_database_custom): Define new variable.
95901 (__nss_configure_lookup): Set appropriate entry in
95902 __nss_configure_lookup to true.
95903 * nss/nsswitch.h: Define enum with indeces of databases in
95904 databases and __nss_database_custom arrays. Declare
95905 __nss_database_custom.
95906 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95907 to avoid using nscd when custom rules are installed.
95908 * nss/getXXbyYY_r.c: Likewise.
95909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95910
95911 * nss/nss_files/files-parse.c: Whitespace fixes.
95912
95913 2010-08-09 Ulrich Drepper <drepper@redhat.com>
95914
95915 [BZ #11883]
95916 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95917 * posix/fnmatch_loop.c: Likewise.
95918
95919 2010-07-17 Andi Kleen <ak@linux.intel.com>
95920
95921 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95922 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95923 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95924 * Versions.def [GLIBC_2.13]: Add.
95925
95926 2010-08-06 Ulrich Drepper <drepper@redhat.com>
95927
95928 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95929 Also fail if tpwd after pwuid call is NULL.
95930
95931 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
95932
95933 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95934 when converting to ms.
95935
95936 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
95937
95938 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95939 EOPNOTSUPP errors with ENOTTY.
95940 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95941 EOPNOTSUPP errors with ENOTTY.
95942
95943 2010-07-31 Ulrich Drepper <drepper@redhat.com>
95944
95945 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95946 Add strcasecmp_l-ssse3.
95947 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95948 strcasecmp.
95949 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95950 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95951 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95952
95953 2010-07-30 Ulrich Drepper <drepper@redhat.com>
95954
95955 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95956
95957 * string/Makefile (strop-tests): Add strcasecmp.
95958 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95959 strcasecmp_l-nonascii.
95960 (gen-as-const-headers): Add locale-defines.sym.
95961 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95962 * sysdeps/x86_64/strcasecmp.S: New file.
95963 * sysdeps/x86_64/strcasecmp_l.S: New file.
95964 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95965 * sysdeps/x86_64/locale-defines.sym: New file.
95966 * string/test-strcasecmp.c: New file.
95967
95968 * string/test-strcasestr.c: Test both ends of the range of characters.
95969 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95970
95971 2010-07-29 Roland McGrath <roland@redhat.com>
95972
95973 [BZ #11856]
95974 * manual/locale.texi (Yes-or-No Questions): Fix example code.
95975
95976 2010-07-27 Ulrich Drepper <drepper@redhat.com>
95977
95978 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95979 for ld.so.
95980
95981 2010-07-27 Andreas Schwab <schwab@redhat.com>
95982
95983 * manual/memory.texi (Malloc Tunable Parameters): Document
95984 M_PERTURB.
95985
95986 2010-07-26 Roland McGrath <roland@redhat.com>
95987
95988 [BZ #11840]
95989 * configure.in (-fgnu89-inline check): Set and substitute
95990 gnu89_inline, not libc_cv_gnu89_inline.
95991 * configure: Regenerated.
95992 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95993
95994 2010-07-26 Ulrich Drepper <drepper@redhat.com>
95995
95996 * string/test-strnlen.c: New file.
95997 * string/Makefile (strop-tests): Add strnlen.
95998 * string/tester.c (test_strnlen): Add a few more test cases.
95999 * string/tst-strlen.c: Better error reporting.
96000
96001 * sysdeps/x86_64/strnlen.S: New file.
96002
96003 2010-07-24 Ulrich Drepper <drepper@redhat.com>
96004
96005 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96006 lower-latency instructions.
96007
96008 2010-07-23 Ulrich Drepper <drepper@redhat.com>
96009
96010 * string/test-strcasestr.c: New file.
96011 * string/test-strstr.c: New file.
96012 * string/Makefile (strop-tests): Add strstr and strcasestr.
96013 * string/str-two-way.h: Don't undefine MAX.
96014 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96015
96016 2010-07-21 Andreas Schwab <schwab@redhat.com>
96017
96018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96019 strcasestr-nonascii.
96020 (CFLAGS-strcasestr-nonascii.c): Define.
96021 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96022 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96023 Remove unused attribute.
96024
96025 2010-07-20 Roland McGrath <roland@redhat.com>
96026
96027 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96028 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96029 ld.so.cache was broken. With it, there is no way to disable dsocaps
96030 like LD_HWCAP_MASK can disable hwcaps.
96031
96032 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96033
96034 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96035
96036 2010-07-16 Ulrich Drepper <drepper@redhat.com>
96037
96038 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96039 call in strcasestr.
96040 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96041 __strcasestr_sse42_nonascii.
96042 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96043 strcasestr-nonascii.c.
96044 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96045
96046 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
96047
96048 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96049 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96050 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96051 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96052
96053 2010-07-09 Ulrich Drepper <drepper@redhat.com>
96054
96055 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96056 fcntl.
96057
96058 2010-07-06 Andreas Schwab <schwab@redhat.com>
96059
96060 [BZ #11577]
96061 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96062 dl_signal_cerror.
96063
96064 2010-07-06 Ulrich Drepper <drepper@redhat.com>
96065
96066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96067 _PC_PIPE_BUF using F_GETPIPE_SZ.
96068
96069 2010-07-05 Roland McGrath <roland@redhat.com>
96070
96071 * manual/arith.texi (Rounding Functions): Fix rint description
96072 implicit in round description.
96073
96074 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96075
96076 * elf/Makefile: Fix linking for a few tests to make recent linker
96077 happy.
96078
96079 2010-06-30 Andreas Schwab <schwab@redhat.com>
96080
96081 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96082 $(common-objpfx)libc_nonshared.a.
96083
96084 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96085
96086 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96087 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96088 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96089 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96090 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96091 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96092 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96093 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96108 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96109 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96110 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96111 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96112 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96113 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96114 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96115 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96116 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96117 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96118 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96119 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96134
96135 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96136
96137 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96138 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96139 * string/memmove.c (memmove): Renamed to ...
96140 (MEMMOVE): ...this. Default to memmove.
96141 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96142 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96143 (END_CHK): Define.
96144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96145 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96146 mempcpy-ssse3-back memmove-ssse3-back.
96147 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96148 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96149 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96150 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96151 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96152 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96153 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96154 * sysdeps/x86_64/multiarch/memmove.c: New file.
96155 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96156 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96157 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96158 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96159 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96160 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96161 Define.
96162 (index_Fast_Copy_Backward): Define.
96163 (HAS_ARCH_FEATURE): Define.
96164 (HAS_FAST_REP_STRING): Define.
96165 (HAS_FAST_COPY_BACKWARD): Define.
96166
96167 2010-06-21 Andreas Schwab <schwab@redhat.com>
96168
96169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96170 Restore proper fallback handling.
96171
96172 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96173
96174 [BZ #11701]
96175 * posix/group_member.c (__group_member): Correct checking loop.
96176
96177 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96178 OOM in getpwuid_r correctly. Return error number when the caller
96179 should return, otherwise -1.
96180 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96181 call returning > 0 value.
96182 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96183
96184 2010-06-07 Andreas Schwab <schwab@redhat.com>
96185
96186 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96187 libc_nonshared.a from targets in modules-names.
96188
96189 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96190
96191 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96192 requires it.
96193
96194 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96195
96196 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96197 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96198 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96199 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96200
96201 2010-06-02 Andreas Schwab <schwab@redhat.com>
96202
96203 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96204
96205 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96206
96207 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96208 and F_GETPIPE_SZ.
96209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96215
96216 2010-06-14 Roland McGrath <roland@redhat.com>
96217
96218 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96219
96220 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96221
96222 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96223 __REDIRECT followed by __THROW.
96224 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96225 * posix/getopt.h (getopt): Likewise.
96226
96227 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96228
96229 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96230 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96231 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96232 in AT_FLAGS.
96233 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96234 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96235
96236 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96237
96238 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96239
96240 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96241
96242 [BZ #11640]
96243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96244 Properly check family and model.
96245
96246 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96247
96248 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96249
96250 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96251
96252 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96253
96254 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96255
96256 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96257 symbol reference.
96258
96259 2010-05-19 Andreas Schwab <schwab@redhat.com>
96260
96261 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96262 symbol reference.
96263
96264 2010-05-21 Andreas Schwab <schwab@redhat.com>
96265
96266 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96267 and internal_recvmmsg.
96268 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96269 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96270 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96271 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96272
96273 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96274 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96275 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96276
96277 2010-05-20 Andreas Schwab <schwab@redhat.com>
96278
96279 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96280
96281 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96282
96283 POWER7 optimizations.
96284 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96285 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96286
96287 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96288
96289 * version.h: Update for 2.13 development version.
96290
96291 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96292
96293 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96294 exceptions. Return 0.
96295
96296 2010-05-07 Roland McGrath <roland@redhat.com>
96297
96298 * elf/ldconfig.c (main): Add a const.
96299
96300 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96301
96302 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96303 (args_options): Add no-idn option.
96304 (ahosts_keys_int): Add idn_flags to ai_flags.
96305 (parse_option): Handle 'i' option to clear idn_flags.
96306
96307 * malloc/malloc.c (_int_free): Possible race in the most recently
96308 added check. Only act on the data if no current modification
96309 happened.
96310
96311 See ChangeLog.17 for earlier changes.